antaress.ANTARESS_conversions.ANTARESS_sp_cont module#
- process_spectral_cont(vis_mode, data_type_gen, inst, data_dic, gen_dic, vis)[source]#
Stellar continuum: main routine.
Returns generic stellar continuum from binned master spectrum.
- Parameters:
TBD
- Returns:
TBD
- calc_spectral_cont(nord, iord_proc_list, flux_mast_in, cen_bins_mast, edge_bins_mast, cond_def_mast, flux_Earth_all_in, cond_def_all_in, inst, roll_win, smooth_win, locmax_win, par_stretch, contin_pinR, min_edge_ord, dic_sav, nthreads)[source]#
Stellar continuum: wrap-up for calculation.
Calls direct calculation or multi-threaded one.
- Parameters:
TBD
- Returns:
TBD
- sub_spectral_cont(iord_proc_list, cond_def_mast, cen_bins_mast, flux_mast, edge_bins_mast, flux_Earth_all, cond_def_all, inst, roll_win, smooth_win, locmax_win, par_stretch, contin_pinR, min_edge_ord)[source]#
Stellar continuum: direct calculation.
Estimates stellar continuum from master spectrum.
- Parameters:
TBD
- Returns:
TBD
- para_sub_spectral_cont(func_input, nthreads, n_elem, y_inputs, common_args)[source]#
Multithreading routine for sub_spectral_cont().
- Parameters:
func_input (function) – multi-threaded function
nthreads (int) – number of threads
n_elem (int) – number of elements to thread
y_inputs (list) – threadable function inputs
common_args (tuple) – common function inputs
- Returns:
y_output (None or specific to func_input) – function outputs