lsst.pipe.tasks gb2522980b2+793639e996
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
lsst.pipe.tasks.functors.Photometry Class Reference
Inheritance diagram for lsst.pipe.tasks.functors.Photometry:
lsst.pipe.tasks.functors.Functor lsst.pipe.tasks.functors.NanoJansky lsst.pipe.tasks.functors.NanoJanskyErr

Public Member Functions

 __init__ (self, colFlux, colFluxErr=None, **kwargs)
 
 columns (self)
 
 name (self)
 
 hypot (cls, a, b)
 
 dn2flux (self, dn, fluxMag0)
 
 dn2mag (self, dn, fluxMag0)
 
 dn2fluxErr (self, dn, dnErr, fluxMag0, fluxMag0Err)
 
 dn2MagErr (self, dn, dnErr, fluxMag0, fluxMag0Err)
 

Public Attributes

 vhypot
 
 col
 
 colFluxErr
 
 fluxMag0
 
 fluxMag0Err
 

Static Public Attributes

tuple AB_FLUX_SCALE = (0 * u.ABmag).to_value(u.nJy)
 
float LOG_AB_FLUX_SCALE = 12.56
 
float FIVE_OVER_2LOG10 = 1.085736204758129569
 
int COADD_ZP = 27
 

Detailed Description

Base class for Object table calibrated fluxes and magnitudes.

Definition at line 1448 of file functors.py.

Constructor & Destructor Documentation

◆ __init__()

lsst.pipe.tasks.functors.Photometry.__init__ ( self,
colFlux,
colFluxErr = None,
** kwargs )

Reimplemented from lsst.pipe.tasks.functors.Functor.

Definition at line 1457 of file functors.py.

Member Function Documentation

◆ columns()

lsst.pipe.tasks.functors.Photometry.columns ( self)
Columns required to perform calculation.

Reimplemented from lsst.pipe.tasks.functors.Functor.

Reimplemented in lsst.pipe.tasks.functors.NanoJanskyErr.

Definition at line 1468 of file functors.py.

◆ dn2flux()

lsst.pipe.tasks.functors.Photometry.dn2flux ( self,
dn,
fluxMag0 )
Convert instrumental flux to nanojanskys.

Definition at line 1485 of file functors.py.

◆ dn2fluxErr()

lsst.pipe.tasks.functors.Photometry.dn2fluxErr ( self,
dn,
dnErr,
fluxMag0,
fluxMag0Err )
Convert instrumental flux error to nanojanskys.

Definition at line 1496 of file functors.py.

◆ dn2mag()

lsst.pipe.tasks.functors.Photometry.dn2mag ( self,
dn,
fluxMag0 )
Convert instrumental flux to AB magnitude.

Definition at line 1489 of file functors.py.

◆ dn2MagErr()

lsst.pipe.tasks.functors.Photometry.dn2MagErr ( self,
dn,
dnErr,
fluxMag0,
fluxMag0Err )
Convert instrumental flux error to AB magnitude error.

Definition at line 1502 of file functors.py.

◆ hypot()

lsst.pipe.tasks.functors.Photometry.hypot ( cls,
a,
b )
Compute sqrt(a^2 + b^2) without under/overflow.

Definition at line 1476 of file functors.py.

◆ name()

lsst.pipe.tasks.functors.Photometry.name ( self)

Reimplemented from lsst.pipe.tasks.functors.Functor.

Definition at line 1472 of file functors.py.

Member Data Documentation

◆ AB_FLUX_SCALE

tuple lsst.pipe.tasks.functors.Photometry.AB_FLUX_SCALE = (0 * u.ABmag).to_value(u.nJy)
static

Definition at line 1451 of file functors.py.

◆ COADD_ZP

int lsst.pipe.tasks.functors.Photometry.COADD_ZP = 27
static

Definition at line 1455 of file functors.py.

◆ col

lsst.pipe.tasks.functors.Photometry.col

Definition at line 1459 of file functors.py.

◆ colFluxErr

lsst.pipe.tasks.functors.Photometry.colFluxErr

Definition at line 1460 of file functors.py.

◆ FIVE_OVER_2LOG10

float lsst.pipe.tasks.functors.Photometry.FIVE_OVER_2LOG10 = 1.085736204758129569
static

Definition at line 1453 of file functors.py.

◆ fluxMag0

lsst.pipe.tasks.functors.Photometry.fluxMag0

Definition at line 1462 of file functors.py.

◆ fluxMag0Err

lsst.pipe.tasks.functors.Photometry.fluxMag0Err

Definition at line 1463 of file functors.py.

◆ LOG_AB_FLUX_SCALE

float lsst.pipe.tasks.functors.Photometry.LOG_AB_FLUX_SCALE = 12.56
static

Definition at line 1452 of file functors.py.

◆ vhypot

lsst.pipe.tasks.functors.Photometry.vhypot

Definition at line 1458 of file functors.py.


The documentation for this class was generated from the following file: