sdapy.snerun.snobject._add_mag¶
- snobject._add_mag(df, zp, sigma)¶
(static) add mag and/or limmag/emag column, based on flux, eflux column.
- Parameters
- dfpanda.dataframe
lightcurve data
- zpfloat
zeropoint to convert flux to magnitude
- sigmafloat
SNR threshold to distinguish detection/limit