sdapy.snerun.snobject.add_flux

snobject.add_flux(source=None, **kwargs)

add flux and eflux column, based on mag, emag, and/or limmag column.

Parameters
sourcestr

source name, if None will add flux column for all data

zpfloat

zeropoint to convert magnitude to flux. 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