LocalPhotometry#
- class lsst.pipe.tasks.functors.LocalPhotometry(instFluxCol, instFluxErrCol, photoCalibCol, photoCalibErrCol=None, **kwargs)#
Bases:
FunctorBase 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, optional Error associated with
photoCalibCol. Ignored and deprecated; will be removed after v29.
See Also#
LocalNanojansky LocalNanojanskyErr
Attributes Summary
Methods Summary
instFluxErrToMagnitudeErr(instFlux, ...[, ...])Convert instrument flux err to nanojanskys.
instFluxErrToNanojanskyErr(instFlux, ...[, ...])Convert instrument flux to nanojanskys.
instFluxToMagnitude(instFlux, localCalib)Convert instrument flux to nanojanskys.
instFluxToNanojansky(instFlux, localCalib)Convert instrument flux to nanojanskys.
Attributes Documentation
- logNJanskyToAB = 31.399999999999999#
Methods Documentation
- instFluxErrToMagnitudeErr(instFlux, instFluxErr, localCalib, localCalibErr=None)#
Convert instrument flux err to nanojanskys.
Parameters#
- instFlux
ndarrayorSeries Array of instrument flux measurements.
- instFluxErr
ndarrayorSeries Errors on associated
instFluxvalues.- localCalib
ndarrayorSeries Array of local photometric calibration estimates.
- localCalibErr
ndarrayorSeries, optional Errors on associated
localCalibvalues. Ignored and deprecated; will be removed after v29.
Returns#
- calibMagErr:
ndarrayorSeries Error on calibrated AB magnitudes.
- instFlux
- instFluxErrToNanojanskyErr(instFlux, instFluxErr, localCalib, localCalibErr=None)#
Convert instrument flux to nanojanskys.
Parameters#
- instFlux
ndarrayorSeries Array of instrument flux measurements. Ignored (accepted for backwards compatibility and consistency with magnitude-error calculation methods).
- instFluxErr
ndarrayorSeries Errors on associated
instFluxvalues.- localCalib
ndarrayorSeries Array of local photometric calibration estimates.
- localCalibErr
ndarrayorSeries, optional Errors on associated
localCalibvalues. Ignored and deprecated; will be removed after v29.
Returns#
- calibFluxErr
ndarrayorSeries Errors on calibrated flux measurements.
- instFlux
- instFluxToMagnitude(instFlux, localCalib)#
Convert instrument flux to nanojanskys.
Parameters#
- instFlux
ndarrayorSeries Array of instrument flux measurements.
- localCalib
ndarrayorSeries Array of local photometric calibration estimates.
Returns#
- calibMag
ndarrayorSeries Array of calibrated AB magnitudes.
- instFlux
- instFluxToNanojansky(instFlux, localCalib)#
Convert instrument flux to nanojanskys.
Parameters#
- instFlux
ndarrayorSeries Array of instrument flux measurements.
- localCalib
ndarrayorSeries Array of local photometric calibration estimates.
Returns#
- calibFlux
ndarrayorSeries Array of calibrated flux measurements.
- instFlux
- instFluxCol