lsst.pipe.tasks
21.0.0-75-g5d831a8e+5fcad28169
|
Public Member Functions | |
def | __init__ (self, instFluxCol, instFluxErrCol, photoCalibCol, photoCalibErrCol, **kwargs) |
def | instFluxToNanojansky (self, instFlux, localCalib) |
def | instFluxErrToNanojanskyErr (self, instFlux, instFluxErr, localCalib, localCalibErr) |
def | instFluxToMagnitude (self, instFlux, localCalib) |
def | instFluxErrToMagnitudeErr (self, instFlux, instFluxErr, localCalib, localCalibErr) |
def | noDup (self) |
def | columns (self) |
def | multilevelColumns (self, data, columnIndex=None, returnTuple=False) |
def | __call__ (self, data, dropna=False) |
def | difference (self, data1, data2, **kwargs) |
def | fail (self, df) |
def | name (self) |
def | shortname (self) |
Public Attributes | |
instFluxCol | |
instFluxErrCol | |
photoCalibCol | |
photoCalibErrCol | |
filt | |
dataset | |
Static Public Attributes | |
tuple | logNJanskyToAB = (1 * u.nJy).to_value(u.ABmag) |
Base class for calibrating the specified instrument flux column using the local photometric calibration. Parameters ---------- instFluxCol : `str` Name of the instrument flux column. instFluxErrCol : `str` Name of the assocated error columns for ``instFluxCol``. photoCalibCol : `str` Name of local calibration column. photoCalibErrCol : `str` Error associated with ``photoCalibCol`` See also -------- LocalPhotometry LocalNanojansky LocalNanojanskyErr LocalMagnitude LocalMagnitudeErr
Definition at line 1425 of file functors.py.
def lsst.pipe.tasks.functors.LocalPhotometry.__init__ | ( | self, | |
instFluxCol, | |||
instFluxErrCol, | |||
photoCalibCol, | |||
photoCalibErrCol, | |||
** | kwargs | ||
) |
Definition at line 1450 of file functors.py.
|
inherited |
Definition at line 322 of file functors.py.
|
inherited |
Columns required to perform calculation
Reimplemented in lsst.pipe.tasks.functors.Ratio, lsst.pipe.tasks.functors.LocalDipoleDiffFluxErr, lsst.pipe.tasks.functors.LocalDipoleDiffFlux, lsst.pipe.tasks.functors.LocalDipoleMeanFluxErr, lsst.pipe.tasks.functors.LocalDipoleMeanFlux, lsst.pipe.tasks.functors.LocalMagnitudeErr, lsst.pipe.tasks.functors.LocalMagnitude, lsst.pipe.tasks.functors.LocalNanojanskyErr, lsst.pipe.tasks.functors.LocalNanojansky, lsst.pipe.tasks.functors.MagnitudeErr, lsst.pipe.tasks.functors.NanoJanskyErr, lsst.pipe.tasks.functors.Photometry, lsst.pipe.tasks.functors.ReferenceBand, lsst.pipe.tasks.functors.ConvertPixelSqToArcsecondsSq, lsst.pipe.tasks.functors.ConvertPixelToArcseconds, lsst.pipe.tasks.functors.ComputePixelScale, lsst.pipe.tasks.functors.RadiusFromQuadrupole, lsst.pipe.tasks.functors.E2, lsst.pipe.tasks.functors.E1, lsst.pipe.tasks.functors.Color, lsst.pipe.tasks.functors.MagDiff, lsst.pipe.tasks.functors.MagErr, lsst.pipe.tasks.functors.Mag, lsst.pipe.tasks.functors.Column, lsst.pipe.tasks.functors.CustomFunctor, and lsst.pipe.tasks.functors.CompositeFunctor.
Definition at line 131 of file functors.py.
|
inherited |
Computes difference between functor called on two different ParquetTable objects
Definition at line 333 of file functors.py.
|
inherited |
Definition at line 338 of file functors.py.
def lsst.pipe.tasks.functors.LocalPhotometry.instFluxErrToMagnitudeErr | ( | self, | |
instFlux, | |||
instFluxErr, | |||
localCalib, | |||
localCalibErr | |||
) |
Convert instrument flux err to nanojanskys. Parameters ---------- instFlux : `numpy.ndarray` or `pandas.Series` Array of instrument flux measurements instFluxErr : `numpy.ndarray` or `pandas.Series` Errors on associated ``instFlux`` values localCalib : `numpy.ndarray` or `pandas.Series` Array of local photometric calibration estimates. localCalibErr : `numpy.ndarray` or `pandas.Series` Errors on associated ``localCalib`` values Returns ------- calibMagErr: `numpy.ndarray` or `pandas.Series` Error on calibrated AB magnitudes.
Definition at line 1517 of file functors.py.
def lsst.pipe.tasks.functors.LocalPhotometry.instFluxErrToNanojanskyErr | ( | self, | |
instFlux, | |||
instFluxErr, | |||
localCalib, | |||
localCalibErr | |||
) |
Convert instrument flux to nanojanskys. Parameters ---------- instFlux : `numpy.ndarray` or `pandas.Series` Array of instrument flux measurements instFluxErr : `numpy.ndarray` or `pandas.Series` Errors on associated ``instFlux`` values localCalib : `numpy.ndarray` or `pandas.Series` Array of local photometric calibration estimates. localCalibErr : `numpy.ndarray` or `pandas.Series` Errors on associated ``localCalib`` values Returns ------- calibFluxErr : `numpy.ndarray` or `pandas.Series` Errors on calibrated flux measurements.
Definition at line 1479 of file functors.py.
def lsst.pipe.tasks.functors.LocalPhotometry.instFluxToMagnitude | ( | self, | |
instFlux, | |||
localCalib | |||
) |
Convert instrument flux to nanojanskys. Parameters ---------- instFlux : `numpy.ndarray` or `pandas.Series` Array of instrument flux measurements localCalib : `numpy.ndarray` or `pandas.Series` Array of local photometric calibration estimates. Returns ------- calibMag : `numpy.ndarray` or `pandas.Series` Array of calibrated AB magnitudes.
Definition at line 1500 of file functors.py.
def lsst.pipe.tasks.functors.LocalPhotometry.instFluxToNanojansky | ( | self, | |
instFlux, | |||
localCalib | |||
) |
Convert instrument flux to nanojanskys. Parameters ---------- instFlux : `numpy.ndarray` or `pandas.Series` Array of instrument flux measurements localCalib : `numpy.ndarray` or `pandas.Series` Array of local photometric calibration estimates. Returns ------- calibFlux : `numpy.ndarray` or `pandas.Series` Array of calibrated flux measurements.
Definition at line 1462 of file functors.py.
|
inherited |
Returns columns needed by functor from multilevel dataset To access tables with multilevel column structure, the `MultilevelParquetTable` or `DeferredDatasetHandle` need to be passed either a list of tuples or a dictionary. Parameters ---------- data : `MultilevelParquetTable` or `DeferredDatasetHandle` columnIndex (optional): pandas `Index` object either passed or read in from `DeferredDatasetHandle`. `returnTuple` : bool If true, then return a list of tuples rather than the column dictionary specification. This is set to `True` by `CompositeFunctor` in order to be able to combine columns from the various component functors.
Definition at line 205 of file functors.py.
|
inherited |
Full name of functor (suitable for figure labels)
Reimplemented in lsst.pipe.tasks.functors.Ratio, lsst.pipe.tasks.functors.LocalDipoleDiffFluxErr, lsst.pipe.tasks.functors.LocalDipoleDiffFlux, lsst.pipe.tasks.functors.LocalDipoleMeanFluxErr, lsst.pipe.tasks.functors.LocalDipoleMeanFlux, lsst.pipe.tasks.functors.LocalMagnitudeErr, lsst.pipe.tasks.functors.LocalMagnitude, lsst.pipe.tasks.functors.LocalNanojanskyErr, lsst.pipe.tasks.functors.LocalNanojansky, lsst.pipe.tasks.functors.Photometry, lsst.pipe.tasks.functors.ConvertPixelSqToArcsecondsSq, lsst.pipe.tasks.functors.ConvertPixelToArcseconds, lsst.pipe.tasks.functors.Color, lsst.pipe.tasks.functors.MagDiff, lsst.pipe.tasks.functors.MagErr, lsst.pipe.tasks.functors.Mag, lsst.pipe.tasks.functors.Column, and lsst.pipe.tasks.functors.CustomFunctor.
Definition at line 342 of file functors.py.
|
inherited |
Definition at line 124 of file functors.py.
|
inherited |
Short name of functor (suitable for column name/dict key)
Reimplemented in lsst.pipe.tasks.functors.Color, and lsst.pipe.tasks.functors.MagDiff.
Definition at line 348 of file functors.py.
|
inherited |
Definition at line 120 of file functors.py.
|
inherited |
Definition at line 119 of file functors.py.
lsst.pipe.tasks.functors.LocalPhotometry.instFluxCol |
Definition at line 1456 of file functors.py.
lsst.pipe.tasks.functors.LocalPhotometry.instFluxErrCol |
Definition at line 1457 of file functors.py.
|
static |
Definition at line 1448 of file functors.py.
lsst.pipe.tasks.functors.LocalPhotometry.photoCalibCol |
Definition at line 1458 of file functors.py.
lsst.pipe.tasks.functors.LocalPhotometry.photoCalibErrCol |
Definition at line 1459 of file functors.py.