SBART.template_creation.stellar_templates.OBS_stellar

SBART.template_creation.stellar_templates.OBS_stellar#

Classes

OBS_Stellar

Stellar template from the observation with the highest SNR (computed as a sum over all spectral orders)

class OBS_Stellar#

Bases: StellarTemplate

Stellar template from the observation with the highest SNR (computed as a sum over all spectral orders)

method_name = 'OBSERVATION'#
__init__(subInst, user_configs=None, loaded=False)#
Parameters:
  • subInst (str) – sub-Instrument for which the template is going to be created

  • user_configs (Optional[dict]) – Dictionary with the keys and values of the user parameters that have been described above

  • loaded (bool) – True if the template was loaded from disk.

create_stellar_template(*args, **kwargs)#

Trigger the start of the creatoin of the stellar template

Parameters:
  • dataClass (DataClass) – Data

  • conditions (spectral_conditions) – Apply conditions over the frames that will be used to create the stellar template

Raises:

StopComputationError – If the computations is triggered by some event