LocalPhotometry#

class lsst.pipe.tasks.functors.LocalPhotometry(instFluxCol, instFluxErrCol, photoCalibCol, photoCalibErrCol=None, **kwargs)#

Bases: Functor

Base class for calibrating the specified instrument flux column using the local photometric calibration.

Parameters#

instFluxColstr

Name of the instrument flux column.

instFluxErrColstr

Name of the assocated error columns for instFluxCol.

photoCalibColstr

Name of local calibration column.

photoCalibErrColstr, 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#

instFluxndarray or Series

Array of instrument flux measurements.

instFluxErrndarray or Series

Errors on associated instFlux values.

localCalibndarray or Series

Array of local photometric calibration estimates.

localCalibErrndarray or Series, optional

Errors on associated localCalib values. Ignored and deprecated; will be removed after v29.

Returns#

calibMagErr: ndarray or Series

Error on calibrated AB magnitudes.

instFluxErrToNanojanskyErr(instFlux, instFluxErr, localCalib, localCalibErr=None)#

Convert instrument flux to nanojanskys.

Parameters#

instFluxndarray or Series

Array of instrument flux measurements. Ignored (accepted for backwards compatibility and consistency with magnitude-error calculation methods).

instFluxErrndarray or Series

Errors on associated instFlux values.

localCalibndarray or Series

Array of local photometric calibration estimates.

localCalibErrndarray or Series, optional

Errors on associated localCalib values. Ignored and deprecated; will be removed after v29.

Returns#

calibFluxErrndarray or Series

Errors on calibrated flux measurements.

instFluxToMagnitude(instFlux, localCalib)#

Convert instrument flux to nanojanskys.

Parameters#

instFluxndarray or Series

Array of instrument flux measurements.

localCalibndarray or Series

Array of local photometric calibration estimates.

Returns#

calibMagndarray or Series

Array of calibrated AB magnitudes.

instFluxToNanojansky(instFlux, localCalib)#

Convert instrument flux to nanojanskys.

Parameters#

instFluxndarray or Series

Array of instrument flux measurements.

localCalibndarray or Series

Array of local photometric calibration estimates.

Returns#

calibFluxndarray or Series

Array of calibrated flux measurements.