|
lsst.pipe.tasks gcae151f86b+6b56d0ebb3
|
Public Member Functions | |
| def | __init__ (self, col, calib=None, **kwargs) |
| def | columns (self) |
| def | name (self) |
Public Attributes | |
| col | |
| calib | |
| fluxMag0 | |
Compute calibrated magnitude
Takes a `calib` argument, which returns the flux at mag=0
as `calib.getFluxMag0()`. If not provided, then the default
`fluxMag0` is 63095734448.0194, which is default for HSC.
This default should be removed in DM-21955
This calculation hides warnings about invalid values and dividing by zero.
As for all functors, a `dataset` and `filt` kwarg should be provided upon
initialization. Unlike the default `Functor`, however, the default dataset
for a `Mag` is `'meas'`, rather than `'ref'`.
Parameters
----------
col : `str`
Name of flux column from which to compute magnitude. Can be parseable
by `lsst.pipe.tasks.functors.fluxName` function---that is, you can pass
`'modelfit_CModel'` instead of `'modelfit_CModel_instFlux'`) and it will
understand.
calib : `lsst.afw.image.calib.Calib` (optional)
Object that knows zero point.
Definition at line 790 of file functors.py.
| def lsst.pipe.tasks.functors.Mag.__init__ | ( | self, | |
| col, | |||
calib = None, |
|||
| ** | kwargs | ||
| ) |
Reimplemented from lsst.pipe.tasks.functors.Functor.
Reimplemented in lsst.pipe.tasks.functors.MagErr.
Definition at line 816 of file functors.py.
| def lsst.pipe.tasks.functors.Mag.columns | ( | self | ) |
Columns required to perform calculation
Reimplemented from lsst.pipe.tasks.functors.Functor.
Reimplemented in lsst.pipe.tasks.functors.MagErr.
Definition at line 828 of file functors.py.
| def lsst.pipe.tasks.functors.Mag.name | ( | self | ) |
Full name of functor (suitable for figure labels)
Reimplemented from lsst.pipe.tasks.functors.Functor.
Reimplemented in lsst.pipe.tasks.functors.MagErr.
Definition at line 838 of file functors.py.
| lsst.pipe.tasks.functors.Mag.calib |
Definition at line 818 of file functors.py.
| lsst.pipe.tasks.functors.Mag.col |
Definition at line 817 of file functors.py.
| lsst.pipe.tasks.functors.Mag.fluxMag0 |
Definition at line 820 of file functors.py.