exosim.tasks.detector.applySimpleSaturation#

Classes#

ApplySimpleSaturation

This Task applies a simple model of saturation to pixel counts.

Module Contents#

class ApplySimpleSaturation[source]#

Bases: exosim.tasks.task.Task

This Task applies a simple model of saturation to pixel counts. If the counts in a pixel are higher than the well depth, the counts are set to the well capacity.

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)[source]#

Applies the saturation model to the subexposures.

Parameters:
  • subexposures (Counts) – The subexposures to be saturated.

  • parameters (dict) – Dictionary containing saturation parameters like ‘detector’ and ‘well_depth’.

Return type:

None