Point pattern matching


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.

Function Documentation

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.

Parameters:
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)
Returns:
the polynomial solution or NULL in error case
The returned table must be deallocated with cpl_table_delete(). The returned polynomial must be deallocated with cpl_polynomial_delete().

Definition at line 84 of file irplib_ppm.c.

References irplib_spectrum_detect_peaks().


Generated on Tue Mar 12 15:19:53 2013 for NACO Pipeline Reference Manual by  doxygen 1.4.7