rassine_process#

rassine_process(output_filename, row, data, synthetic_spectrum, random_seed, par_stretching, par_vicinity, par_smoothing_box, par_smoothing_kernel, par_fwhm_, CCF_mask, mask_telluric, par_R_, par_Rmax_, par_reg_nu, denoising_dist, count_cut_lim, count_out_lim, interpol)[source]#

Runs the RASSINE processing

Parameters:
  • output_filename (str) – Output filename, used only to populate the returned dict

  • data (Union[MasterPickle, StackedPickle]) – Input spectrum

  • synthetic_spectrum (bool) – See config

  • random_seed (int) – Random seed used for synthetic spectrum

  • par_stretching (Union[float, Auto]) – See config

  • par_vicinity (int) – See config

  • par_smoothing_box (Union[Literal[‘auto’], int]) – See config

  • par_smoothing_kernel (Literal[‘rectangular’, ‘gaussian’, ‘savgol’, ‘erf’, ‘hat_exp’]) – See config

  • par_fwhm – See config

  • CCF_mask (str) – See config

  • mask_telluric (Sequence[Tuple[float, float]]) – See config

  • par_R – See config

  • par_Rmax – See config

  • par_reg_nu (Union[RegPoly, RegSigmoid]) – See config

  • denoising_dist (int) – See config

  • count_cut_lim (int) – v

  • count_out_lim (int) – See config

  • interpol (Literal[‘cubic’, ‘linear’]) – See config

Return type:

Tuple[RassinePickle, ExtraPlotData]

Returns:

The processed result