|
MOONS Pipeline Reference Manual 0.13.2
|
Functions | |
| moo_loc_single * | moo_loc_single_new (void) |
| Create a new moo_loc_single. | |
| moo_loc_single * | moo_loc_single_create (const char *filename, const char *extname) |
| Create a new moo_loc_single from the given LOC filename. | |
| void | moo_loc_single_delete (moo_loc_single *self) |
| Delete a moo_loc_single. | |
| void | moo_loc_single_save (const moo_loc_single *self, const char *filename, int keep_points) |
| Save a moo_loc_single to a FITS file. | |
| cpl_error_code | moo_loc_single_dump (const moo_loc_single *self, FILE *stream) |
| Dump structural information of LOC_SINGLE. | |
| cpl_propertylist * | moo_loc_single_get_header (moo_loc_single *self) |
| Get header of loc single. | |
| cpl_image * | moo_loc_single_get_f_centroids (moo_loc_single *self) |
| Get image of fit centroids. | |
| double | moo_loc_single_eval_f_centroids (moo_loc_single *self, double x, int indexext, int *rej) |
| Get the Y fit centroid for a x value. | |
| cpl_image * | moo_loc_single_get_m_centroids (moo_loc_single *self) |
| Get image of measured centroids. | |
| cpl_image * | moo_loc_single_get_f_wlo (moo_loc_single *self) |
| Get image of width low. | |
| cpl_image * | moo_loc_single_get_f_wup (moo_loc_single *self) |
| Get image of width low. | |
| cpl_image * | moo_loc_single_get_flags (moo_loc_single *self) |
| Get image of flags. | |
| cpl_mask * | moo_loc_single_get_ODR (moo_loc_single *self, int size_y) |
| Get outside data range mask far a DET single. | |
This module provides functions to create, use, and destroy a moo_loc_single
Functionality include:
| moo_loc_single * moo_loc_single_create | ( | const char * | filename, |
| const char * | extname | ||
| ) |
Create a new moo_loc_single from the given LOC filename.
| filename | the LOC filename |
| extname | the LOC det name |
The returned object must be deallocated using moo_loc_single_delete(). Possible cpl_error_code set in this function:
Definition at line 89 of file moo_loc_single.c.
References moo_loc_single_new().
Referenced by moo_loc_load().
| void moo_loc_single_delete | ( | moo_loc_single * | self | ) |
Delete a moo_loc_single.
| self | moo_loc to delete |
If the moo_loc_single self is NULL, nothing is done and no error is set.
Definition at line 117 of file moo_loc_single.c.
Referenced by moo_loc_delete().
| cpl_error_code moo_loc_single_dump | ( | const moo_loc_single * | self, |
| FILE * | stream | ||
| ) |
Dump structural information of LOC_SINGLE.
| self | LOC_SINGLE to dump |
| stream | Output stream, accepts stdout or stderr |
Possible cpl_error_code set in this function:
Definition at line 206 of file moo_loc_single.c.
Referenced by moo_loc_dump().
| double moo_loc_single_eval_f_centroids | ( | moo_loc_single * | self, |
| double | x, | ||
| int | indexext, | ||
| int * | rej | ||
| ) |
Get the Y fit centroid for a x value.
| self | LOC_SINGLE |
| x | x position |
| indexext | index in EXT |
| rej | rejected flag |
Possible cpl_error_code set in this function:
Definition at line 291 of file moo_loc_single.c.
References moo_loc_single_get_f_centroids().
| cpl_image * moo_loc_single_get_f_centroids | ( | moo_loc_single * | self | ) |
Get image of fit centroids.
| self | LOC_SINGLE |
Possible cpl_error_code set in this function:
Definition at line 260 of file moo_loc_single.c.
References moo_fits_load_extension_image().
Referenced by moo_loc_single_eval_f_centroids(), and moo_loc_single_get_ODR().
| cpl_image * moo_loc_single_get_f_wlo | ( | moo_loc_single * | self | ) |
Get image of width low.
| self | LOC_SINGLE |
Possible cpl_error_code set in this function:
Definition at line 349 of file moo_loc_single.c.
References moo_fits_load_extension_image().
Referenced by moo_loc_single_get_ODR().
| cpl_image * moo_loc_single_get_f_wup | ( | moo_loc_single * | self | ) |
Get image of width low.
| self | LOC_SINGLE |
Possible cpl_error_code set in this function:
Definition at line 375 of file moo_loc_single.c.
References moo_fits_load_extension_image().
Referenced by moo_loc_single_get_ODR().
| cpl_image * moo_loc_single_get_flags | ( | moo_loc_single * | self | ) |
Get image of flags.
| self | LOC_SINGLE |
Possible cpl_error_code set in this function:
Definition at line 401 of file moo_loc_single.c.
References moo_fits_load_extension_image().
| cpl_propertylist * moo_loc_single_get_header | ( | moo_loc_single * | self | ) |
Get header of loc single.
| self | LOC_SINGLE |
Possible cpl_error_code set in this function:
Definition at line 231 of file moo_loc_single.c.
| cpl_image * moo_loc_single_get_m_centroids | ( | moo_loc_single * | self | ) |
Get image of measured centroids.
| self | LOC_SINGLE |
Possible cpl_error_code set in this function:
Definition at line 321 of file moo_loc_single.c.
References moo_fits_load_extension_image().
| cpl_mask * moo_loc_single_get_ODR | ( | moo_loc_single * | self, |
| int | size_y | ||
| ) |
Get outside data range mask far a DET single.
| self | LOC_SINGLE |
| size_y | DET size in Y |
Possible cpl_error_code set in this function:
Definition at line 561 of file moo_loc_single.c.
References moo_loc_single_get_f_centroids(), moo_loc_single_get_f_wlo(), and moo_loc_single_get_f_wup().
| moo_loc_single * moo_loc_single_new | ( | void | ) |
Create a new moo_loc_single.
The returned object must be deallocated using moo_det_delete().
Definition at line 70 of file moo_loc_single.c.
Referenced by moo_loc_single_create().
| void moo_loc_single_save | ( | const moo_loc_single * | self, |
| const char * | filename, | ||
| int | keep_points | ||
| ) |
Save a moo_loc_single to a FITS file.
| self | moo_loc to write to disk or NULL |
| filename | Name of the file to write |
| keep_points | 1 if you want to save measured and flags |
This function saves a moo_loc_single to a FITS file, using cfitsio. Only not NULL extensions are written.
Definition at line 160 of file moo_loc_single.c.
References moo_fits_write_extension_image().
Referenced by moo_loc_add_single(), and moo_loc_save().