cross_corr#
- aesop.cross_corr(target_spectrum, model_spectrum, kernel_width)[source]#
Cross correlate an observed spectrum with a model.
Convolve the model with a Gaussian kernel.
- Parameters:
- target_spectrum
Spectrum1D
Observed spectrum of star
- model_spectrum
Spectrum1D
Model spectrum of star
- kernel_widthfloat
Smooth the model spectrum with a kernel of this width, in units of the wavelength step size in the model
- Returns
- ——-
- wavelength_shift
Quantity
Wavelength shift required to shift the target spectrum to the rest-frame
- target_spectrum