sdapy.snerun.snobject.get_fp_ztf¶
- snobject.get_fp_ztf(seeing_cut=7.0, **kwargs)¶
Parse and add local ZTF forced photometic data to
snobject.lc.- Parameters
- seeing_cutfloat
there’s a
seeingcolumn in ztf forced photometry file, which can be used to remove epochs with quite poor observing conditions.- zpfloat
zeropoint to convert flux to magnitude. zp = 23.9 for micro Jansky to AB mag zp = 48.6 for ergs/s/cm2/Hz to AB mag e.g. mab = -2.5 * log10(fv[Jy]/3631) = -2.5 * log10(fv[mJy]) + 2.5*log10(3631*1e6)
- snrtfloat
SNR threshold to distinguish detection/limit
Notes
Download ZTF forced photometry in advance, with snobject.query_fp_ztf.
The ZTF forced photometry service is open public, however in order to use it, one need to register first. And the user information should be put correctly in the auth.txt file.
The ZTF forced photometry file will be read as
pandas.dataframe, and added tosnobject.lcwithsnobject.add_lc. Thensnobject.add_fluxorsnobject.add_magwill be called ifmagorfluxitems are missing.