Functions | |
cpl_polynomial * | irplib_ppm_engine (const cpl_vector *spectrum, const cpl_bivector *lines_catalog, const cpl_polynomial *poly_init, double slitw, double fwhm, double thresh, int degree, int doplot, cpl_table **tab_infos) |
The Wavelength Calibration using PPM. |
cpl_polynomial* irplib_ppm_engine | ( | const cpl_vector * | spectrum, | |
const cpl_bivector * | lines_catalog, | |||
const cpl_polynomial * | poly_init, | |||
double | slitw, | |||
double | fwhm, | |||
double | thresh, | |||
int | degree, | |||
int | doplot, | |||
cpl_table ** | tab_infos | |||
) |
The Wavelength Calibration using PPM.
spectrum | The spectrum vector | |
lines_catalog | The lines catalog | |
poly_init | Polynomial with the initial guess | |
slitw | The slit width | |
fwhm | The spectral FWHM [pixel] | |
thresh | The threshold for lines detection | |
degree | The polynomial degree | |
doplot | Plotting level (zero for none) | |
tab_infos | The computed solution table or NULL (computed) |
Definition at line 84 of file irplib_ppm.c.
References irplib_spectrum_detect_peaks().