sdapy.snerun.snobject.calibrate_baseline¶
- snobject.calibrate_baseline(ax=None, key='fcqfid', source='ztffp', xmin=-100, xmax=-20, ax_xlim=None, ax_ylim=None)¶
Calculate ZTF forced photometry baseline from different fields with different filters.
- Parameters
- axmatplotlib.axes
matplotlib subplot, is None will not show
- keystr
which column to distinguish photometry between different fields/ccds
- sourcestr
which source of lc to be corrected
- xminfloat
left side of LC to be used to calibrate the baseline
- xmaxfloat
right side of LC to be used to calibrate the baseline
- ax_xlimrange
x axis range for the plot
- ax_ylimrange
y axis range for the plot
- Returns
- baselinedict
estimated baseline flux levels