lsst.pipe.tasks  21.0.0-65-g9ea87ca1+87d0d175cc
Public Member Functions | Public Attributes | List of all members
lsst.pipe.tasks.functors.MagErr Class Reference
Inheritance diagram for lsst.pipe.tasks.functors.MagErr:
lsst.pipe.tasks.functors.Mag lsst.pipe.tasks.functors.Functor

Public Member Functions

def __init__ (self, *args, **kwargs)
 
def columns (self)
 
def name (self)
 
def noDup (self)
 
def multilevelColumns (self, data, columnIndex=None, returnTuple=False)
 
def __call__ (self, data, dropna=False)
 
def difference (self, data1, data2, **kwargs)
 
def fail (self, df)
 
def shortname (self)
 

Public Attributes

 fluxMag0Err
 
 col
 
 calib
 
 fluxMag0
 
 filt
 
 dataset
 

Detailed Description

Compute calibrated magnitude uncertainty

Takes the same `calib` object as `lsst.pipe.tasks.functors.Mag`.

Parameters
col : `str`
    Name of flux column
calib : `lsst.afw.image.calib.Calib` (optional)
    Object that knows zero point.

Definition at line 748 of file functors.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.pipe.tasks.functors.MagErr.__init__ (   self,
args,
**  kwargs 
)

Definition at line 760 of file functors.py.

Member Function Documentation

◆ __call__()

def lsst.pipe.tasks.functors.Functor.__call__ (   self,
  data,
  dropna = False 
)
inherited

Definition at line 322 of file functors.py.

◆ columns()

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

Reimplemented from lsst.pipe.tasks.functors.Mag.

Definition at line 768 of file functors.py.

◆ difference()

def lsst.pipe.tasks.functors.Functor.difference (   self,
  data1,
  data2,
**  kwargs 
)
inherited
Computes difference between functor called on two different ParquetTable objects

Definition at line 333 of file functors.py.

◆ fail()

def lsst.pipe.tasks.functors.Functor.fail (   self,
  df 
)
inherited

Definition at line 338 of file functors.py.

◆ multilevelColumns()

def lsst.pipe.tasks.functors.Functor.multilevelColumns (   self,
  data,
  columnIndex = None,
  returnTuple = False 
)
inherited
Returns columns needed by functor from multilevel dataset

To access tables with multilevel column structure, the `MultilevelParquetTable`
or `DeferredDatasetHandle` need to be passed either a list of tuples or a
dictionary.

Parameters
----------
data : `MultilevelParquetTable` or `DeferredDatasetHandle`

columnIndex (optional): pandas `Index` object
    either passed or read in from `DeferredDatasetHandle`.

`returnTuple` : bool
    If true, then return a list of tuples rather than the column dictionary
    specification.  This is set to `True` by `CompositeFunctor` in order to be able to
    combine columns from the various component functors.

Definition at line 205 of file functors.py.

◆ name()

def lsst.pipe.tasks.functors.MagErr.name (   self)
Full name of functor (suitable for figure labels)

Reimplemented from lsst.pipe.tasks.functors.Mag.

Definition at line 782 of file functors.py.

◆ noDup()

def lsst.pipe.tasks.functors.Functor.noDup (   self)
inherited

Definition at line 124 of file functors.py.

◆ shortname()

def lsst.pipe.tasks.functors.Functor.shortname (   self)
inherited
Short name of functor (suitable for column name/dict key)

Reimplemented in lsst.pipe.tasks.functors.Color, and lsst.pipe.tasks.functors.MagDiff.

Definition at line 348 of file functors.py.

Member Data Documentation

◆ calib

lsst.pipe.tasks.functors.Mag.calib
inherited

Definition at line 724 of file functors.py.

◆ col

lsst.pipe.tasks.functors.Mag.col
inherited

Definition at line 723 of file functors.py.

◆ dataset

lsst.pipe.tasks.functors.Functor.dataset
inherited

Definition at line 120 of file functors.py.

◆ filt

lsst.pipe.tasks.functors.Functor.filt
inherited

Definition at line 119 of file functors.py.

◆ fluxMag0

lsst.pipe.tasks.functors.Mag.fluxMag0
inherited

Definition at line 726 of file functors.py.

◆ fluxMag0Err

lsst.pipe.tasks.functors.MagErr.fluxMag0Err

Definition at line 763 of file functors.py.


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