exosim.tasks.instrument.loadPsf#
Classes#
It loads the PSFs from files. |
Module Contents#
- class LoadPsf[source]#
Bases:
exosim.tasks.task.TaskIt loads the PSFs from files.
- Returns:
- execute()[source]#
Class execution. It runs on call and executes all the task actions returning the outputs. It requires the input with correct keywords
- abstract model(filename, parameters, wavelength, time)[source]#
- Parameters:
filename (str) – PSF input file
parameters (dict) – dictionary containing the parameters. This is usually parsed from
LoadOptionswavelength (
Quantity) – wavelength grid.
- Returns:
cube of psfs. axis=0 is time, axis=1 is wavelength, axis=2 is spatial direction, axis=3 is spectral direction.
- Return type: