exosim.tasks.load.loadOpticalElement#
Classes#
Abstract class to load an optical element and returns the element self emission |
Module Contents#
- class LoadOpticalElement[source]#
Bases:
exosim.tasks.task.TaskAbstract class to load an optical element and returns the element self emission and it optical efficiency.
- Returns:
Radiance– optical element radianceDimensionless– optical element efficiency
- Raises:
TypeError: – if the outputs are not the right
Signalsubclasses
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]#
It loads the indicated columns from the data file.
If emissivity and temperature are provided the radiance is estimated as
\[I_{surf}(\lambda) = \epsilon \cdot BB(\lambda, T)\]where \(\epsilon\) is the indicated emissivity and \(BB(\lambda, T)\) is the Planck black body law.
- Parameters:
parameters (dict) – dictionary contained the sources parameters. This is usually parsed from
LoadOptionswavelength (
Quantity) – wavelength grid.time (
Quantity) – time grid.
- Returns:
Radiance– optical element radianceDimensionless– optical element efficiency