exosim.tasks.instrument.loadResponsivity#
Classes#
Returns the channel responsivity (in counts/Joule) from the quantum efficiency (QE) |
Module Contents#
- class LoadResponsivity[source]#
Bases:
exosim.tasks.task.TaskReturns 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:
- Raises:
TypeError: – if the output is not a
SignalclassUnitConversionError – 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.