InstrumentModel¶
- class nyx.core.protocols.InstrumentModel[source]¶
Bases:
ModuleSensor that maps sky radiance to detector counts.
Trainable quantities are the
Parameterfields a subclass declares, withper_obs=Truefor those carrying an observation axis.Attributes Summary
Spectral transmission curve, shape
(n_wvl,), excluding efficiency.Methods Summary
corrected_pm(pm)Pointing matrix corrected for detector shift and rotation.
prepare(obs)Batch for multi-observation rendering; the default tiles
per_obsfields.project_catalog(source_coords, source_fluxes)Point sources to pixel rates; the default is no contribution.
project_diffuse(hp_values, pm)HEALPix sky values to pixel rates.
project_scattered(eval_grid_values)Scattering eval grid to pixel rates; the default is no contribution.
Attributes Documentation
- bandpass¶
Spectral transmission curve, shape
(n_wvl,), excluding efficiency.
- efficiency = <dataclasses._MISSING_TYPE object>¶
Methods Documentation
- prepare(obs)[source]¶
Batch for multi-observation rendering; the default tiles
per_obsfields.- Parameters:
obs (Observation)
- Return type:
- project_catalog(source_coords, source_fluxes)[source]¶
Point sources to pixel rates; the default is no contribution.
- project_scattered(eval_grid_values)[source]¶
Scattering eval grid to pixel rates; the default is no contribution.
- __init__(efficiency)¶
- static __new__(cls, *args, **kwargs)¶