Photometry#

class lsst.pipe.tasks.functors.Photometry(colFlux, colFluxErr=None, **kwargs)#

Bases: Functor

Base class for Object table calibrated fluxes and magnitudes.

Attributes Summary

AB_FLUX_SCALE

COADD_ZP

FIVE_OVER_2LOG10

LOG_AB_FLUX_SCALE

columns

Columns required to perform calculation.

name

Full name of functor (suitable for figure labels).

Methods Summary

dn2MagErr(dn, dnErr, fluxMag0, fluxMag0Err)

Convert instrumental flux error to AB magnitude error.

dn2flux(dn, fluxMag0)

Convert instrumental flux to nanojanskys.

dn2fluxErr(dn, dnErr, fluxMag0, fluxMag0Err)

Convert instrumental flux error to nanojanskys.

dn2mag(dn, fluxMag0)

Convert instrumental flux to AB magnitude.

hypot(a, b)

Compute sqrt(a^2 + b^2) without under/overflow.

Attributes Documentation

AB_FLUX_SCALE = 3630780547701.0029#
COADD_ZP = 27#
FIVE_OVER_2LOG10 = 1.0857362047581296#
LOG_AB_FLUX_SCALE = 12.56#
columns#
name#

Methods Documentation

dn2MagErr(dn, dnErr, fluxMag0, fluxMag0Err)#

Convert instrumental flux error to AB magnitude error.

dn2flux(dn, fluxMag0)#

Convert instrumental flux to nanojanskys.

dn2fluxErr(dn, dnErr, fluxMag0, fluxMag0Err)#

Convert instrumental flux error to nanojanskys.

dn2mag(dn, fluxMag0)#

Convert instrumental flux to AB magnitude.

classmethod hypot(a, b)#

Compute sqrt(a^2 + b^2) without under/overflow.