sdapy.snerun.snobject.get_fp_atlas

snobject.get_fp_atlas(**kwargs)

Parse and add local ATLAS forced (binned or not binned) photometric data to snobject.lc (with source name as atlasfp).

Parameters
tdbinint

days bin

clobberbool

if cached file exists, redo or read the cache

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 ATLAS forced photometry file in advance, with snobject.query_fp_atlas.

  • The ATLAS 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 ATLAS photometry file will be read as pandas.dataframe, and added to snobject.lc with snobject.add_lc. Then snobject.add_flux or snobject.add_mag will be called if mag or flux items are missing.