hispecdrp.primitives.utils.ccf

Cross-correlation (CCF) and radial-velocity utilities.

Package layout (implementation modules under hispecdrp.primitives.utils.ccf):

  • ccf_common - velocity grids, z_b, shared stats

  • ccf_rv_content - photon-limited RV content, Doppler lambda map

  • cubic_spline - Numba not-a-knot cubic spline on spectra

  • ccf_spline - delta-mask CCF via spline spectrum sampling (alternate / research path)

  • ccf_tophat - finite-width top-hat mask CCF

  • ccf_bisector - Queloz BIS + NEID weighted-percentile bisector RV

  • ccf_peak - sub-pixel raw CCF peak location (seeds / scouts)

  • ccf_fitting - Gaussian line metrics on a CCF (CCFMetrics)

  • ccf_line_mask_spline - alternate spline + calc_ccf_metrics() line-mask path

  • ccf_gauss_fit_numba - Numba prange Gaussian+fixed-baseline CCF centroids (line-mask hot path)

  • ccf_utils - template/mask CCF orchestration (Numba Lanczos ccf_line_mask), Gaussian CCF fit, previews

See hispecdrp.primitives.utils for the stable re-export surface.

Modules

ccf_bisector

CCF bisector utilities: Queloz BIS (Numba) and NEID-style weighted percentile RV.

ccf_common

Shared CCF constants and small helpers used across mask / fit / grid modules.

ccf_fitting

ccf_gauss_fit_numba

Numba-parallel Gaussian (+ fixed baseline) CCF centroid for line-mask chunk RVs.

ccf_line_mask_spline

Line-mask stellar RV via cubic-spline mask CCF and calc_ccf_metrics().

ccf_peak

Sub-pixel CCF peak location on a coarse velocity grid (seeding / scout only).

ccf_rv_content

Photon-limited RV content and Doppler wavelength mapping for spectra.

ccf_spline

Cubic-spline mask CCF utilities (point-sampled delta lines on the spectrum).

ccf_tophat

Top-hat (finite-width) mask CCF utilities.

ccf_utils

Cross-correlation (CCF) and radial-velocity utilities.