exosim.tasks.radiometric.computeSignalsChannel#

Classes#

ComputeSignalsChannel

It estimates the radiometric signals on the input focal plane..

Module Contents#

class ComputeSignalsChannel[source]#

Bases: exosim.tasks.task.Task

It estimates the radiometric signals on the input focal plane..

Returns:

photometry

Return type:

astropy.units.Quantity

Raises:
  • TypeError: – if the output is not Quantity

  • UnitsError: – wrong output units

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(table, focal_plane, parameters)[source]#

It estimates the radiometric signals on the input focal plane.. It uses photutils.aperture.aperture_photometry with the apertures from EstimateApertures.

Parameters:
  • table (astropy.table.QTable) – apertures table

  • plane (focal) – focal plane in the HDF5 file

  • parameters (dict) – dictionary contained the channel parameters. This is usually parsed from LoadOptions

Returns:

photometry

Return type:

astropy.units.Quantity