lsst.pipe.tasks gcd254cd47f+f294241241
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, calib=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
 
 calib
 
 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 1466 of file functors.py.

Constructor & Destructor Documentation

◆ __init__()

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

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

Definition at line 1475 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 1490 of file functors.py.

◆ dn2flux()

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

Definition at line 1507 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 1518 of file functors.py.

◆ dn2mag()

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

Definition at line 1511 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 1524 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 1498 of file functors.py.

◆ name()

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

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

Definition at line 1494 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 1469 of file functors.py.

◆ calib

lsst.pipe.tasks.functors.Photometry.calib

Definition at line 1480 of file functors.py.

◆ COADD_ZP

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

Definition at line 1473 of file functors.py.

◆ col

lsst.pipe.tasks.functors.Photometry.col

Definition at line 1477 of file functors.py.

◆ colFluxErr

lsst.pipe.tasks.functors.Photometry.colFluxErr

Definition at line 1478 of file functors.py.

◆ FIVE_OVER_2LOG10

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

Definition at line 1471 of file functors.py.

◆ fluxMag0

lsst.pipe.tasks.functors.Photometry.fluxMag0

Definition at line 1482 of file functors.py.

◆ fluxMag0Err

lsst.pipe.tasks.functors.Photometry.fluxMag0Err

Definition at line 1482 of file functors.py.

◆ LOG_AB_FLUX_SCALE

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

Definition at line 1470 of file functors.py.

◆ vhypot

lsst.pipe.tasks.functors.Photometry.vhypot

Definition at line 1476 of file functors.py.


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