exosim.tasks.detector.applyPixelsNonLinearity#

Classes#

ApplyPixelsNonLinearity

Given the pixel non-linearity parameters,

Module Contents#

class ApplyPixelsNonLinearity[source]#

Bases: exosim.tasks.task.Task

Given the pixel non-linearity parameters, this Task correct the ideal measured signal rate to the pixel linearity.

\[Q_{det} = Q \cdot (a + b \cdot Q + c \cdot Q^2 + d \cdot Q^3 + e \cdot Q^4)\]

The input is a dictionary with a map keyword containg an array with the coefficients for each pixel. The map shape is (n_pixels_x, n_pixels_y, coefficient order).

The user can list any number of coefficients, that will be parsed in the following model

\[Q_{det} = Q \cdot (a_0 + \sum_i a_i \cdot Q^i)\]
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]#
Parameters:
Return type:

None