Functions | |
| cpl_error_code | irplib_wlxcorr_find_1d (cpl_polynomial *self, const cpl_vector *observed, cpl_error_code(*pfmodel)(cpl_vector *, const cpl_vector *, const cpl_table *), double maxshift, const cpl_array *degshift, const cpl_array *subresol) |
| Perform a 1D-wavelength calibration. | |
| int | irplib_wlxcorr_plot_solution (const cpl_polynomial *init, const cpl_polynomial *comp, const cpl_polynomial *sol, int pix_start, int pix_stop) |
| Plot the wavelength solution. | |
| int | irplib_wlxcorr_plot_spc_table (const cpl_table *spc_table, const char *title) |
| Plot the spectral table. | |
| int | irplib_wlxcorr_catalog_plot (const cpl_bivector *cat, double wmin, double wmax) |
| Plot a part of the catalog. | |
| cpl_error_code irplib_wlxcorr_find_1d | ( | cpl_polynomial * | self, | |
| const cpl_vector * | observed, | |||
| cpl_error_code(*)(cpl_vector *, const cpl_vector *, const cpl_table *) | pfmodel, | |||
| double | maxshift, | |||
| const cpl_array * | degshift, | |||
| const cpl_array * | subresol | |||
| ) |
Perform a 1D-wavelength calibration.
| self | 1D-dispersion polynomial (e.g. physical model) to modify | |
| observed | The observed spectrum to calibrate against | |
| pfmodel | A function to generate the model spectrum | |
| maxshift | The maximum shift allowed | |
| degshift | The maximum shift allowed by one power of the polynomial | |
| subresol | The integer sub-pixel resolution per power, at least 1 |
Possible CPL error code set in this function:
Definition at line 75 of file irplib_wlxcorr.c.
| int irplib_wlxcorr_plot_solution | ( | const cpl_polynomial * | init, | |
| const cpl_polynomial * | comp, | |||
| const cpl_polynomial * | sol, | |||
| int | pix_start, | |||
| int | pix_stop | |||
| ) |
Plot the wavelength solution.
| init | The initial guess | |
| comp | The computed solution | |
| sol | The real solution or NULL if not available | |
| pix_start | The first pixel | |
| pix_stop | The last pixel |
Definition at line 124 of file irplib_wlxcorr.c.
| int irplib_wlxcorr_plot_spc_table | ( | const cpl_table * | spc_table, | |
| const char * | title | |||
| ) |
Plot the spectral table.
| spc_table | The spectral table | |
| title | A title |
Definition at line 219 of file irplib_wlxcorr.c.
Referenced by irplib_ppm_engine().
| int irplib_wlxcorr_catalog_plot | ( | const cpl_bivector * | cat, | |
| double | wmin, | |||
| double | wmax | |||
| ) |
Plot a part of the catalog.
| cat | The catalog | |
| wmin | The minimum wavelength | |
| wmax | The maximum wavelength |
Definition at line 325 of file irplib_wlxcorr.c.
1.5.1