|
lsst.pipe.tasks gfb5511b3f7+6fc9c088ec
|
Public Member Functions | |
| __init__ (self, col, **kwargs) | |
| columns (self) | |
| name (self) | |
Public Attributes | |
| col | |
| fluxMag0 | |
Protected Member Functions | |
| _func (self, df) | |
Static Protected Attributes | |
| str | _defaultDataset = 'meas' |
Compute calibrated magnitude.
Returns the flux at mag=0.
The default ``fluxMag0`` is 63095734448.0194, which is default for HSC.
TO DO: This default should be made configurable in DM-21955.
This calculation hides warnings about invalid values and dividing by zero.
As with 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 the `~lsst.pipe.tasks.functors.fluxName` function;
that is, you can pass ``'modelfit_CModel'`` instead of
``'modelfit_CModel_instFlux'``, and it will understand.
Definition at line 796 of file functors.py.
| lsst.pipe.tasks.functors.Mag.__init__ | ( | self, | |
| col, | |||
| ** | kwargs ) |
Reimplemented from lsst.pipe.tasks.functors.Functor.
Reimplemented in lsst.pipe.tasks.functors.MagErr.
Definition at line 820 of file functors.py.
|
protected |
Reimplemented from lsst.pipe.tasks.functors.Functor.
Reimplemented in lsst.pipe.tasks.functors.MagErr.
Definition at line 831 of file functors.py.
| 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.
| lsst.pipe.tasks.functors.Mag.name | ( | self | ) |
Reimplemented from lsst.pipe.tasks.functors.Functor.
Reimplemented in lsst.pipe.tasks.functors.MagErr.
Definition at line 838 of file functors.py.
|
staticprotected |
Definition at line 818 of file functors.py.
| lsst.pipe.tasks.functors.Mag.col |
Definition at line 821 of file functors.py.
| lsst.pipe.tasks.functors.Mag.fluxMag0 |
Definition at line 823 of file functors.py.