ZTF Cosmo Data Release repo.
Soon be ready for DR2.
import ztfcosmo
data = ztfcosmo.get_data() # see options
lc = ztfcosmo.get_target_lightcurve("ZTF18aaqfziz", as_data=False) # see options
fig = lc.show()
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()