SBART.Quality_Control.activity_indicators

SBART.Quality_Control.activity_indicators#

Classes

Indicators

class Indicators#

Bases: object

__init__()#

Features - air wavelength, < lower, higher > lower and higher in angstrom

The feature list uses air wavelengths! When comparing with the spectra the indicator_window property automatically converts to vacuum wavelengths!!!!

add_feature(name, region, vacuum_wavelengths=False)#

Add one extra “indicator” to be removed from the spectra

Parameters:
  • name (str) – Name of the feature. Must not exist in either the ‘air’ or ‘vacuum’ features

  • region (tuple) – Region to be removed: (center of the region; left extension; right_extension). Evrything in angstrong The region can also be a (start, end) tuple. The center of the region will be the mean of the two edges.

  • vacuum_wavelengths (bool, optional) – If True, the region wavelengths are in vacuum, by default False

Raises:
  • Exception – [description]

  • Exception – [description]

  • Exception – [description]

clear_all_features()#

Remove all reasons to mask any wavelength region!

Return type:

None

disabled_indicator(features)#

Receive a list of names that will not be removed from the observations

Return type:

None

disable_all()#
compute_forbidden_wavelengths(stellar_RV)#
Return type:

List[tuple]

property indicator_window#
get_line_information(feature_name, vacuum_wavelength=False)#
property get_formatted_table#