DETMON Pipeline Reference Manual
1.3.0
|
Functions | |
cpl_table * | irplib_slitpos_analysis (const cpl_image *imslit, int slit_max_width, double *slit_flux) |
Detect the slit position, detect its ends, extract a thin image containing only the slit and find its edges. More... | |
cpl_table* irplib_slitpos_analysis | ( | const cpl_image * | imslit, |
int | slit_max_width, | ||
double * | slit_flux | ||
) |
Detect the slit position, detect its ends, extract a thin image containing only the slit and find its edges.
imslit | Input image with a vertical slit |
slit_max_width | Maximum slit width |
slit_flux | Some of the pixels values of the slit |
On success the created table contains rows of four columns labeled: "SLIT_Y" (int) "SLIT_LEFT" (double) "SLIT_CENTER" (double) "SLIT_RIGHT" (double)
This function returns a table with 3 columns:
Additionally, the slit flux is computed. The passed slit_flux pointer parameter can be NULL. In error case, its value is undefined.
NB: Coordinates use FITS convention.
Definition at line 105 of file irplib_slitpos.c.
References irplib_flat_fit_slope_robust().