Miscellaneous Utilities
Functions | |
| void | irplib_reset (void) |
| Reset IRPLIB state. | |
| int | irplib_compare_tags (cpl_frame *frame1, cpl_frame *frame2) |
| Comparison function to identify different input frames. | |
| const char * | irplib_frameset_find_file (const cpl_frameset *self, const char *tag) |
| Find the filename with the given tag in a frame set. | |
| cpl_frame * | irplib_frameset_get_first_from_group (const cpl_frameset *self, cpl_frame_group group) |
| Find the first frame belonging to the given group. | |
| cpl_error_code | irplib_apertures_find_max_flux (const cpl_apertures *self, int *ind, int nfind) |
| Find the aperture(s) with the greatest flux. | |
| int | irplib_isinf (double value) |
| portable isinf | |
| int | irplib_isnan (double value) |
| portable isnan | |
| void | irplib_errorstate_warning (unsigned self, unsigned first, unsigned last) |
| Dump a single CPL error. | |
Function Documentation
|
||||||||||||||||
|
Find the aperture(s) with the greatest flux.
The ind array must be able to hold (at least) nfind integers. On success the first nfind elements of ind point to indices of the aperture object. To find the single ind of the aperture with the maximum flux use simply: int ind; irplib_apertures_find_max_flux(self, &ind, 1); Definition at line 190 of file irplib_utils.c. |
|
||||||||||||
|
Comparison function to identify different input frames.
Definition at line 90 of file irplib_utils.c. |
|
||||||||||||||||
|
Dump a single CPL error.
Definition at line 271 of file irplib_utils.c. |
|
||||||||||||
|
Find the filename with the given tag in a frame set.
If the file is not unique, the name of the first one is returned and with a warning. Definition at line 126 of file irplib_utils.c. |
|
||||||||||||
|
Find the first frame belonging to the given group.
Definition at line 156 of file irplib_utils.c. |
|
|
Reset IRPLIB state. This function resets all static memory used by IRPLIB to a well-defined, initial state. The function should be called (during initialization) by any application using static memory facilities in IRPLIB. Currently, this function does nothing. Definition at line 77 of file irplib_utils.c. |
