function fxcor

Compute the cross-correlation of two spectra. The spectra will be rebinned to the lowest dispersion, continuum subtracted and normalised prior to the cross-correlation.

Syntax
result = fxcor(template, spectrum)

Arguments
template:   The template spectrum
spectrum:   The object spectrum


Returns
The cross-correlation of the two spectra

See also
function correlmap