|
lsst.obs.decam g8bbb235e95+4957e062e9
|
Public Member Functions | |
| getDetector (self, id) | |
| readMetadata (self) | |
| readImage (self) | |
Static Public Attributes | |
| translatorClass = astro_metadata_translator.DecamTranslator | |
| filterDefinitions = DarkEnergyCamera.filterDefinitions | |
| bool | wcsFlipX = True |
Protected Member Functions | |
| _scanHdus (self, filename, detectorId) | |
| _determineHDU (self, detectorId) | |
Protected Attributes | |
| _reader_path | |
|
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.
|
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