lezargus.data._make.make_detectors module#
Make functions to create the detectors and detector simulators.
This module contains functions which, provided a specific detector specification, outputs a detector simulator.
- lezargus.data._make.make_detectors.make_detector() hint.DetectorArray[source]#
Load a detector generator file to make the detector object.
Note, the format of the detector generator file is very specific. User usage of the this function is discouraged.
- Parameters:
basename (str) – The basename of the internal data file of the detector generator. The paths are handled automatically.
- Returns:
detector – The detector simulation object.
- Return type: