cross_corr¶
-
hipparchus.cross_corr(spectrum, template, start_lam=-2, end_lam=2, n_steps=1000, sigma=None, spread_factor=10)[source]¶ Cross-correlation of the spectrum and template.
- Parameters
- spectrum
Spectrum Spectrum object (may be an order of an echelle spectrum).
- template
Template Template object to correlate against the spectrum.
- start_lamfloat
Start wavelength relative to mean wavelength
- end_lamfloat
End wavelength relative to mean wavelength
- n_stepsint
Number of steps to compute the CCF over between
start_lamandend_lam- sigmafloat
Gaussian smoothing filter width (standard deviation)
- spread_factorfloat
Gaussian smoothing filter width spread scaling factor
- spectrum
- Returns
- ccf
CCF Cross-correlation object.
- ccf