exosim.tasks.detector.addConstantDarkCurrent#

Classes#

AddConstantDarkCurrent

It adds constant dark current to all the pixel in the array.

Module Contents#

class AddConstantDarkCurrent[source]#

Bases: exosim.tasks.task.Task

It adds constant dark current to all the pixel in the array. The dark current is loaded from the parameters

Notes

This is a default class with standardised inputs and outputs. The user can load this class and overwrite the “model” method to implement a custom Task to replace this.

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