|
def | getDetector (self, id) |
|
def | readMetadata (self) |
|
def | readImage (self) |
|
|
astro_metadata_translator | translatorClass = astro_metadata_translator.DecamTranslator |
|
DarkEnergyCamera | filterDefinitions = DarkEnergyCamera.filterDefinitions |
|
bool | wcsFlipX = True |
|
◆ _determineHDU()
def lsst.obs.decam.rawFormatter.DarkEnergyCameraRawFormatter._determineHDU |
( |
|
self, |
|
|
|
detectorId |
|
) |
| |
|
protected |
Determine the correct HDU number for a given detector id.
Parameters
----------
detectorId : `int`
The detector id to search for.
Returns
-------
index : `int`
The index of the HDU with the requested data.
metadata : `lsst.daf.base.PropertyList`
The metadata read from the header for that detector id.
Raises
------
ValueError
Raised if detectorId is not found in any of the file HDUs
Reimplemented in lsst.obs.decam.rawFormatter.DarkEnergyCameraCPCalibFormatter.
◆ _scanHdus()
def lsst.obs.decam.rawFormatter.DarkEnergyCameraRawFormatter._scanHdus |
( |
|
self, |
|
|
|
filename, |
|
|
|
detectorId |
|
) |
| |
|
protected |
Scan through a file for the HDU containing data from one detector.
Parameters
----------
filename : `str`
The file to search through.
detectorId : `int`
The detector id to search for.
Returns
-------
index : `int`
The index of the HDU with the requested data.
metadata: `lsst.daf.base.PropertyList`
The metadata read from the header for that detector id.
Raises
------
ValueError
Raised if detectorId is not found in any of the file HDUs
The documentation for this class was generated from the following file:
- python/lsst/obs/decam/rawFormatter.py