UVES Pipeline Reference Manual
5.4.6
|
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. More... | |
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) |
The returned table must be deallocated with cpl_table_delete(). The returned polynomial must be deallocated with cpl_polynomial_delete().
Definition at line 69 of file irplib_ppm.c.
References irplib_spectrum_detect_peaks().