scopesim.detector.detector_array module¶
Contains DetectorArray and aux functions.
- class scopesim.detector.detector_array.DetectorArray(detector_list=None, cmds=None, **kwargs)[source]¶
Bases:
object
Manages the individual Detectors, mostly used for readout.
- readout(image_planes, array_effects=None, dtcr_effects=None, **kwargs) HDUList [source]¶
Read out the detector array into a FITS HDU List.
Select the relevant image plane to extract images from.
Apply detector array effects (apply to the entire image plane)
Make a series of Detectors for each row in a DetectorList object.
Iterate through all Detectors, extract image from image_plane.
Apply all effects (to all Detectors).
Add necessary header keywords (not implemented).
Generate a HDUList with the ImageHDUs and any extras:
add
PrimaryHDU
with meta data regarding observation in headeradd
ImageHDU
objectsadd
ASCIITableHDU
with Effects meta data in final table extension (not implemented)
- Parameters:
- image_planeslist of ImagePlane objects
The correct image plane is automatically chosen from the list
- array_effectslist of Effect objects
A list of effects related to the detector array
- dtcr_effectslist of Effect objects
A list of effects related to the detectors
- Returns:
- latest_exposurefits.HDUList
Output FITS HDU List.