fit_1d_fringes_bayes_evidence_1d

jwst.residual_fringe.utils.fit_1d_fringes_bayes_evidence_1d(res_fringes, weights, wavenum, ffreq, dffreq, max_nfringes, pgram_res)[source]

Fit the residual fringe signal in 1D.

Takes an input 1D array of residual fringes and fits them using the supplied mode in the BayesicFitting package.

Parameters:
res_fringesndarray

The 1D array with residual fringes.

weightsndarray

The 1D array of weights.

wavenumndarray

The 1D array of wavenum.

ffreqfloat

The central scan frequency.

dffreqfloat

The one-sided interval of scan frequencies.

max_nfringesint

The maximum number of fringes to check.

pgram_resfloat

Resolution of the periodogram scan in cm-1.

Returns:
res_fringe_fitndarray

The residual fringe fit data.