yarara_correct_frog
yarara_correct_frog¶
- yarara_correct_frog(self, sub_dico='matching_diff', continuum='linear', correction='stitching', berv_shift=False, wave_min=3800, wave_max=3975, wave_min_train=3700, wave_max_train=6000, complete_analysis=False, reference='median', equal_weight=True, nb_pca_comp=10, pca_comp_kept=None, rcorr_min=0, treshold_contam=0.5, algo_pca='empca')[source]¶
Correction of the stitching/ghost on the spectrum by PCA fitting
- Parameters
sub_dico (The sub_dictionnary used to select the continuum) –
continuum (The continuum to select (either linear or cubic)) –
reference ('median', 'snr' or 'master' to select the reference normalised spectrum used in the difference) –
extended (extension of the cluster size) –
- Return type