exosim.tasks.detector.addDarkCurrentMapNumpy#

Classes#

AddDarkCurrentMapNumpy

It adds a dark current map to the array.

Module Contents#

class AddDarkCurrentMapNumpy[source]#

Bases: exosim.tasks.task.Task

It adds a dark current map to the array. The map must be indicated under the dc_map_filename keyword. The dark current is loaded from a NPY format file (see numpy documentation).

execute()[source]#

Class execution. It runs on call and executes all the task actions returning the outputs. It requires the input with correct keywords

model(subexposures, parameters, integration_times, output=None)[source]#
Parameters:
  • subexposures (Counts) – sub-exposures cached signal

  • parameters (dict) – channel parameters dictionary

  • integration_times (Quantity) – sub-exposures integration times

  • outputs (Output (optional)) – output file

Return type:

None