Prediction

class nsb2.core.dtypes.Prediction[source]

Bases: object

Predicted pixel rates from one source along one light path.

Variables:
  • rates (astropy.units.Quantity) – Per-pixel rates, shape (N_pix, 3). The trailing axis holds the minimum, median and maximum of the spectral component variants, which bracket the model uncertainty.

  • indirect (bool) – True if the rates come from a scattering path, False for direct light.

  • source_name (str, optional) – Name of the source that produced the prediction. Default is "".

  • path_name (str, optional) – Name of the light path that produced the prediction. Default is "".

Attributes Summary

Attributes Documentation

indirect = <dataclasses._MISSING_TYPE object>
path_name = ''
rates = <dataclasses._MISSING_TYPE object>
source_name = ''
__init__(rates, indirect, source_name='', path_name='')
classmethod __new__(*args, **kwargs)