exosim.tasks.load.loadOpticalElement#

Classes#

LoadOpticalElement

Abstract class to load an optical element and returns the element self emission

Module Contents#

class LoadOpticalElement[source]#

Bases: exosim.tasks.task.Task

Abstract class to load an optical element and returns the element self emission and it optical efficiency.

Returns:

Raises:

TypeError: – if the outputs are not the right Signal subclasses

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 LoadOptions

  • wavelength (Quantity) – wavelength grid.

  • time (Quantity) – time grid.

Returns: