megaradrp.validators
— MEGARA validators¶
Validators for Observing modes
- class megaradrp.validators.CheckAsDatatype¶
Collection of schemas for validation
- megaradrp.validators.check_header_additional(values_primary, values_fibers)¶
Additional checks than can’t be done with schema
- megaradrp.validators.validate_arc(mode, obresult)¶
Validate ARC_CALIBRATION
- megaradrp.validators.validate_flat(mode, obresult)¶
Validate FLAT
- megaradrp.validators.validate_focus(mode, obresult)¶
Validate FOCUS_SPECTROGRAPH
- megaradrp.validators.validate_key(mode, obresult, key)¶
Validate key
- megaradrp.validators.validate_keyword_any_value(header, key, any_expected)¶
Validate that keyword has any of allowed values
- megaradrp.validators.validate_keyword_exists(header, key)¶
Verify that the keyword exists