sb2sep

Separate Stellar Component Spectra and Calculate Radial Velocities in SB2 Binary Systems

View the Project on GitHub jsinkbaek/sb2sep

Routine options

spectral_separation_routine requires that you create 3 custom objects from the module storage_classes that holds options and extra parameters for the parent and two child routines.

These are:

While these objects can be initialized directly in your python script by supplying the inputs shown below, they can also be initialized through configuration files with the function storage_classes.load_configuration_files(). It requires input arguments:

The example script with KIC8430105 shows how to initialize these objects either by using configuration files or directly in the script.

Below, ALL parameters in the objects are described. Some parameters are accessible from multiple objects, making it possible to give different values for each. This is discouraged. Many of the parameters can be kept at their default values without loss of quality in the output.

RoutineOptions:

SeparateComponentsOptions:

Best results are usually obtained by manually specifying which spectra to use with the two use_for_spectral_separation_X parameters. If these are supplied, rv_lower_limit and rv_proximity_limit will be ignored for this purpose. The weights parameter can serve a similar purpose if values 0 and 1 are used to indicate which spectra to use.

If the use_for_spectral_separation_X parameter is not supplied for a component, and both rv_lower_limit and rv_proximity_limit are given, the latter parameter will be ignored.

RadialVelocityOptions:

Next Page: Accessing outputs