|
lsst.fgcmcal g5ec818987f+4ea614f49a
|
Public Member Functions | |
| __init__ (self, initInputs=None, **kwargs) | |
| runQuantum (self, butlerQC, inputRefs, outputRefs) | |
Public Attributes | |
| fgcmLutMaker | |
Static Public Attributes | |
| ConfigClass = FgcmMakeLutConfig | |
Protected Member Functions | |
| _fgcmMakeLut (self, camera, opticsHandle, sensorHandleDict, filterHandleDict) | |
| _getStdPhysicalFilterList (self) | |
| _createLutConfig (self, nCcd) | |
| _loadThroughputs (self, camera, opticsHandle, sensorHandleDict, filterHandleDict) | |
| _getThroughputDetector (self, detector, physicalFilter, throughputLambda) | |
| _makeLutSchema (self, physicalFilterString, stdPhysicalFilterString, atmosphereTableName) | |
| _makeLutCat (self, lutSchema, physicalFilterString, stdPhysicalFilterString, atmosphereTableName) | |
Protected Attributes | |
| _opticsTransmission | |
| _sensorsTransmission | |
| _filtersTransmission | |
Static Protected Attributes | |
| str | _DefaultName = "fgcmMakeLut" |
Make Look-Up Table for FGCM. This task computes a look-up-table for the range in expected atmosphere variation and variation in instrumental throughput (as tracked by the transmission_filter products). By pre-computing linearized integrals, the FGCM fit is orders of magnitude faster for stars with a broad range of colors and observing bands, yielding precision at the 1-2 mmag level. Computing a LUT requires running MODTRAN or with a pre-generated atmosphere table packaged with fgcm.
Definition at line 324 of file fgcmMakeLut.py.
| lsst.fgcmcal.fgcmMakeLut.FgcmMakeLutTask.__init__ | ( | self, | |
| initInputs = None, | |||
| ** | kwargs ) |
Definition at line 341 of file fgcmMakeLut.py.
|
protected |
Create the fgcmLut config dictionary Parameters ---------- nCcd: `int` Number of CCDs in the camera
Definition at line 505 of file fgcmMakeLut.py.
|
protected |
Make a FGCM Look-up Table
Parameters
----------
camera : `lsst.afw.cameraGeom.Camera`
Camera from the butler.
opticsHandle : `lsst.daf.butler.DeferredDatasetHandle`
Reference to optics transmission curve.
sensorHandleDict : `dict` of [`int`, `lsst.daf.butler.DeferredDatasetHandle`]
Dictionary of references to sensor transmission curves. Key will
be detector id.
filterHandleDict : `dict` of [`str`, `lsst.daf.butler.DeferredDatasetHandle`]
Dictionary of references to filter transmission curves. Key will
be physical filter label.
Returns
-------
retStruct : `lsst.pipe.base.Struct`
Output structure with keys:
fgcmLookUpTable : `BaseCatalog`
The FGCM look-up table.
fgcmStandardAtmosphere : `lsst.afw.image.TransmissionCurve`
Transmission curve for the FGCM standard atmosphere.
fgcmStandardPassbands : `dict` [`str`, `lsst.afw.image.TransmissionCurve`]
Dictionary of standard passbands, with the key as the
physical filter name.
Definition at line 376 of file fgcmMakeLut.py.
|
protected |
Get the standard physical filter lists from config.physicalFilters and config.stdPhysicalFilterOverrideMap Returns ------- stdPhysicalFilters : `list`
Definition at line 493 of file fgcmMakeLut.py.
|
protected |
Internal method to get throughput for a detector. Returns the throughput at the center of the detector for a given filter. Parameters ---------- detector: `lsst.afw.cameraGeom._detector.Detector` Detector on camera physicalFilter: `str` Physical filter label throughputLambda: `np.array(dtype=np.float64)` Wavelength steps (Angstrom) Returns ------- throughput: `np.array(dtype=np.float64)` Throughput (max 1.0) at throughputLambda
Definition at line 617 of file fgcmMakeLut.py.
|
protected |
Internal method to load throughput data for filters
Parameters
----------
camera: `lsst.afw.cameraGeom.Camera`
Camera from the butler
opticsHandle : `lsst.daf.butler.DeferredDatasetHandle`
Reference to optics transmission curve.
sensorHandleDict : `dict` of [`int`, `lsst.daf.butler.DeferredDatasetHandle`]
Dictionary of references to sensor transmission curves. Key will
be detector id.
filterHandleDict : `dict` of [`str`, `lsst.daf.butler.DeferredDatasetHandle`]
Dictionary of references to filter transmission curves. Key will
be physical filter label.
Raises
------
ValueError : Raised if configured filter name does not match any of the
available filter transmission curves.
Definition at line 562 of file fgcmMakeLut.py.
|
protected |
Make the LUT schema Parameters ---------- lutSchema: `afwTable.schema` Lut catalog schema physicalFilterString: `str` Combined string of all the physicalFilters stdPhysicalFilterString: `str` Combined string of all the standard physicalFilters atmosphereTableName: `str` Name of the atmosphere table used to generate LUT Returns ------- lutCat: `afwTable.BaseCatalog` Look-up table catalog for persistence.
Definition at line 736 of file fgcmMakeLut.py.
|
protected |
Make the LUT schema Parameters ---------- physicalFilterString: `str` Combined string of all the physicalFilters stdPhysicalFilterString: `str` Combined string of all the standard physicalFilters atmosphereTableName: `str` Name of the atmosphere table used to generate LUT Returns ------- lutSchema: `afwTable.schema`
Definition at line 654 of file fgcmMakeLut.py.
| lsst.fgcmcal.fgcmMakeLut.FgcmMakeLutTask.runQuantum | ( | self, | |
| butlerQC, | |||
| inputRefs, | |||
| outputRefs ) |
Definition at line 344 of file fgcmMakeLut.py.
|
staticprotected |
Definition at line 339 of file fgcmMakeLut.py.
|
protected |
Definition at line 613 of file fgcmMakeLut.py.
|
protected |
Definition at line 584 of file fgcmMakeLut.py.
|
protected |
Definition at line 597 of file fgcmMakeLut.py.
|
static |
Definition at line 338 of file fgcmMakeLut.py.
| lsst.fgcmcal.fgcmMakeLut.FgcmMakeLutTask.fgcmLutMaker |
Definition at line 421 of file fgcmMakeLut.py.