|
LSSTApplications
8.0.0.0+107,8.0.0.1+13,9.1+18,9.2,master-g084aeec0a4,master-g0aced2eed8+6,master-g15627eb03c,master-g28afc54ef9,master-g3391ba5ea0,master-g3d0fb8ae5f,master-g4432ae2e89+36,master-g5c3c32f3ec+17,master-g60f1e072bb+1,master-g6a3ac32d1b,master-g76a88a4307+1,master-g7bce1f4e06+57,master-g8ff4092549+31,master-g98e65bf68e,master-ga6b77976b1+53,master-gae20e2b580+3,master-gb584cd3397+53,master-gc5448b162b+1,master-gc54cf9771d,master-gc69578ece6+1,master-gcbf758c456+22,master-gcec1da163f+63,master-gcf15f11bcc,master-gd167108223,master-gf44c96c709
LSSTDataManagementBasePackage
|
Public Member Functions | |
| def | __init__ |
| def | __str__ |
Static Public Member Functions | |
| def | setColorterms |
| def | setActiveDevice |
| def | getColorterm |
| def | transformSource |
| def | transformMags |
| def | propagateFluxErrors |
Public Attributes | |
| primary | |
| secondary | |
| c0 | |
| c1 | |
| c2 | |
Static Private Attributes | |
| dictionary | _colorterms = {} |
| _activeColorterms = None | |
A class to describe colour terms between photometric bands
Definition at line 24 of file colorterms.py.
| def lsst.meas.photocal.colorterms.Colorterm.__init__ | ( | self, | |
| primary, | |||
| secondary, | |||
| c0, | |||
c1 = 0.0, |
|||
c2 = 0.0 |
|||
| ) |
The transformed magnitude p' is given by p' = primary + c0 + c1*(primary - secondary) + c2*(primary - secondary)**2
Definition at line 30 of file colorterms.py.
| def lsst.meas.photocal.colorterms.Colorterm.__str__ | ( | self | ) |
Definition at line 40 of file colorterms.py.
|
static |
Return the Colorterm for the specified band (or None if unknown)
Definition at line 67 of file colorterms.py.
|
static |
Definition at line 112 of file colorterms.py.
|
static |
Set the default colour terms to those appropriate for <device>
Definition at line 56 of file colorterms.py.
|
static |
Set the cached Colorterms dict for <device> to <colorterms> If device is omitted, set the dictionary of known devices' Colorterms
Definition at line 44 of file colorterms.py.
|
static |
Transform the magnitudes <primary> and <secondary> to the specified <band> and return it. Use the colorterms (or the cached set if colorterms is None); if no set is available, return the <band> flux If reverse is True, return the inverse transformed magnitude
Definition at line 90 of file colorterms.py.
|
static |
Transform the magnitudes in <source> to the specified <band> and return it. The <source> must
support a get(band) (e.g. source.get("r")) method, as do afw::Source and dicts.
Use the colorterms (or the cached set if colorterms is None); if no set is available, return the <band> flux
If reverse is True, return the inverse transformed magnitude
Definition at line 72 of file colorterms.py.
|
staticprivate |
Definition at line 28 of file colorterms.py.
|
staticprivate |
Definition at line 27 of file colorterms.py.
| lsst.meas.photocal.colorterms.Colorterm.c0 |
Definition at line 36 of file colorterms.py.
| lsst.meas.photocal.colorterms.Colorterm.c1 |
Definition at line 37 of file colorterms.py.
| lsst.meas.photocal.colorterms.Colorterm.c2 |
Definition at line 38 of file colorterms.py.
| lsst.meas.photocal.colorterms.Colorterm.primary |
Definition at line 34 of file colorterms.py.
| lsst.meas.photocal.colorterms.Colorterm.secondary |
Definition at line 35 of file colorterms.py.
1.8.5