util#

This modules does XXX

Functions

assert_never

rtype:

NoReturn

ccf_fun

CCF for a equidistant grid in log wavelength spec1 = spectrum, spec2 = binary mask

doppler_r

Relativistic Doppler.

flux_norm_std

rtype:

Tuple[ndarray, ndarray]

get_phase

rtype:

int

map_rnr

val_max must be strictly larger than all number in the array, n smaller than 10

my_ruler

make a list from mini to maxi with initial step dmini linearly growing to dmaxi

print_box

rtype:

None

print_iter

rtype:

None

ratio_line

index of the grid element ofline 1,2 plus the grid the spectrumand the continuum

sphinx

string_contained_in

param array:

of strings

yarara_artefact_suppressed

rtype:

ndarray