Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 583 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 583 Bytes

ztfcosmo

ZTF Cosmo Data Release repo.

Soon be ready for DR2.

Basic usage

access data tables

import ztfcosmo
data = ztfcosmo.get_data() # see options

Plot a lightcurve

lc = ztfcosmo.get_target_lightcurve("ZTF18aaqfziz", as_data=False) # see options
fig = lc.show()

Plot a spectrum

Remark that a target may have several spectra, if so spec is a list.

spec = ztfcosmo.get_target_spectra("ZTF18aaqfziz", as_data=False) 
fig = spec.show()