detector_lookup
∞
The purpose of the detector_lookup
utility is to act as reference in the code for the various characteristics of the soxs detectors.
When initiated detector_lookup
reads the detector characteristics from a Detector Parameters file and can later serve these parameters to the soxspipe code when requested.
-
class
detector_lookup
(log, settings=False)[source] ∞ return a dictionary of detector characteristics and parameters
- Key Arguments:
log
– loggersettings
– the settings dictionary
Usage:
To initiate a detector_lookup object, use the following:
from soxspipe.commonutils import detector_lookup detector = detector_lookup( log=log, settings=settings ).get("NIR") print(detector["science-pixels"])