function correlmap

Compute the cross-correlation maximum of a datacube and a template spectrum.

Syntax
result = correlmap(cube, template)

Arguments
cube:   The datacube to be cross-correlated
template:   The template spectrum


Returns
A 2D-map with the maximum of the cross-correlation

See also
function fxcor