yarara_ccf
yarara_ccf¶
- yarara_ccf(self, sub_dico='matching_diff', continuum='linear', mask=None, mask_name=None, ccf_name=None, mask_col='weight_rv', treshold_telluric=1, ratio=False, element=None, reference=True, weighted=True, plot=False, display_ccf=False, save=True, save_ccf_profile=False, normalisation='left', del_outside_max=False, bis_analysis=False, ccf_oversampling=1, rv_range=None, rv_borders=None, delta_window=5, debug=False, rv_sys=None, rv_shift=None, speed_up=True, force_brute=False, wave_min=None, wave_max=None, squared=True, p_noise=1 / np.inf, substract_map=[], add_map=[])[source]¶
Compute the CCF of a spectrum, reference to use always the same continuum (matching_anchors highest SNR). Display_ccf to plot all the individual CCF. Plot to plot the FWHM, contrast and RV.
- Parameters
sub_dico (The sub_dictionnary used to select the continuum) –
continuum (The continuum to select (either linear or cubic)) –
mask (The line mask used to cross correlate with the spectrum (mask should be located in MASK_CCF otherwise KITCAT dico)) –
mask_col (Column of the KitCat column to use for the weight) –
threshold_telluric (Maximum telluric contamination to keep a stellar line in the mask) –
reference (True/False or 'norm', True use the matching anchors of reference, False use the continuum of each spectrum, norm use the continuum normalised spectrum (not )) –
plot (True/False to plot the RV time-series) –
display_ccf (display all the ccf subproduct) –
save (True/False to save the informations iun summary table) –
normalisation ('left' or 'slope'. if left normalise the CCF by the most left value, otherwise fit a line between the two highest point) –
maximam (del_outside) –
speed_up (remove region from the CCF not crossed by a line in the mask to speed up the code) –
force_brute (force to remove the region excluded by the brute mask) –
- Return type