Separate Stellar Component Spectra and Calculate Radial Velocities in SB2 Binary Systems
spectral_separation_routine
returns one of two sets of results. If options.return_unbuffered
is True, every flux and wavelength returned will be the unbuffered version, where no padding was introduced. Otherwise, the buffer zones will not be removed in the arrays returned by the function. In both cases, 5 arrays are returned:
spectral_separation_routine_multiple_intervals
returns instead a list of the same results as spectral_separation_routine
, with one tuple of results for each interval.
By specifying a save_path and setting save_all_results to True in the options argument to one of the two functions, it is possible to save a much higher wealth of raw information from the routine. These will be labelled by either the RoutineOptions.filename_bulk parameter, or the min_max wavelengths of the data-set, and includes
These outputs are designed to be conveniently used with the diagnostic plotting functions in the module evaluate_ssr_results.py
.