Definition at line 310 of file ExposureFitsReader.cc.
◆ Component
Enumerator |
---|
PSF | |
WCS | |
COADD_INPUTS | |
AP_CORR_MAP | |
VALID_POLYGON | |
TRANSMISSION_CURVE | |
DETECTOR | |
PHOTOCALIB | |
N_ARCHIVE_COMPONENTS | |
Definition at line 312 of file ExposureFitsReader.cc.
◆ ArchiveReader()
◆ readComponent() [1/2]
Read a known component, if available.
- Parameters
-
fitsFile | The file from which to read the component. Must match the metadata used to construct this object. |
c | The component to read. Must be convertible to T . |
- Returns
- The desired component, or
nullptr
if the file could not be read.
Definition at line 386 of file ExposureFitsReader.cc.
◆ readComponent() [2/2]
Read an arbitrary component, if available.
- Parameters
-
fitsFile | The file from which to read the component. Must match the metadata used to construct this object. |
c | The archive ID of the component to read. |
- Returns
- The desired component, or
nullptr
if the file could not be read.
- Exceptions
-
- Note
- When accessing from python, components with derived subclasses, such as
TransmissionCurve
, are not properly type converted and thus the specialized reader must be used instead of readComponent
.
Definition at line 413 of file ExposureFitsReader.cc.
◆ readExtraComponents()
Read the components that are stored using arbitrary-component support.
- Parameters
-
fitsFile | The file from which to read the components. Must match the metadata used to construct this object. |
- Returns
- a map from string IDs to components, or an empty map if the file could not be read.
Definition at line 435 of file ExposureFitsReader.cc.
The documentation for this class was generated from the following file: