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_spectrumSpectrum1D

Observed spectrum of star

model_spectrumSpectrum1D

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_shiftQuantity

Wavelength shift required to shift the target spectrum to the rest-frame