SBART.template_creation.stellar_templates.OBS_stellar#
Classes
Stellar template from the observation with the highest SNR (computed as a sum over all spectral orders) |
- class OBS_Stellar#
Bases:
StellarTemplateStellar 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 createduser_configs (
Optional[dict]) – Dictionary with the keys and values of the user parameters that have been described aboveloaded (
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) – Dataconditions (
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