Spectral cross-correlation (source code)

= Spectral cross-correlation

Comparison of an observed spectrum with a shifted template or line mask as a function of trial Doppler velocity. The fitted correlation centre combines the position information from many spectral lines; its sign convention can produce a peak or a dip.