exosim.tasks.instrument.loadResponsivity#

Classes#

LoadResponsivity

Returns the channel responsivity (in counts/Joule) from the quantum efficiency (QE)

Module Contents#

class LoadResponsivity[source]#

Bases: exosim.tasks.task.Task

Returns the channel responsivity (in counts/Joule) from the quantum efficiency (QE)

This default implementation loads the quantum efficiency from the input parameters, then converts it to responsivity using the relation:

R(λ) = QE(λ) × λ / (h × c)

where λ is the wavelength, h is Planck’s constant and c is the speed of light.

Returns:

channel responsivity

Return type:

Signal

Raises:
  • TypeError: – if the output is not a Signal class

  • UnitConversionError – if the output has not the right units (counts/Joule)

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(parameters, wavelength, time)[source]#
Parameters:
  • parameters (dict) – dictionary contained the channel parameters. This is usually parsed from LoadOptions

  • wavelength (Quantity) – wavelength grid.

  • time (Quantity) – time grid.

Returns:

channel responsivity

Return type:

Signal