|
CR2RE Pipeline Reference Manual 1.6.8
|
Generic functions. More...
Functions | |
| hdrl_casu_tfits * | hdrl_casu_tfits_wrap (cpl_table *tab, cpl_propertylist *ehu) |
| Wrap an table in a hdrl_casu_tfits wrapper. | |
| cpl_propertylist * | hdrl_casu_tfits_get_ehu (hdrl_casu_tfits *p) |
| Get the propertylist for the extension header for a given hdrl_casu_tfits image. | |
| cpl_table * | hdrl_casu_tfits_get_table (hdrl_casu_tfits *p) |
| Get the CPL table from the hdrl_casu_tfits object. | |
| void | hdrl_casu_tfits_delete (hdrl_casu_tfits *p) |
| Free all the workspace associated with a hdrl_casu_fits object. | |
| hdrl_casu_fits * | hdrl_casu_fits_wrap (cpl_image *im) |
| Wrap an image in a hdrl_casu_fits wrapper. | |
| hdrl_casu_fits * | hdrl_casu_fits_duplicate (hdrl_casu_fits *in) |
| Copy a hdrl_casu_fits structure into another one. | |
| cpl_propertylist * | hdrl_casu_fits_get_ehu (hdrl_casu_fits *p) |
| Get the propertylist for the extension header for a given hdrl_casu_fits image. | |
| cpl_image * | hdrl_casu_fits_get_image (hdrl_casu_fits *p) |
| Get the CPL image from the hdrl_casu_fits object. | |
| void | hdrl_casu_fits_delete (hdrl_casu_fits *p) |
| Free all the workspace associated with a hdrl_casu_fits object. | |
| cpl_error_code | hdrl_casu_catalogue (hdrl_casu_fits *infile, hdrl_casu_fits *conf, const cpl_wcs *wcs, cpl_size ipix, double threshold, cpl_size icrowd, double rcore, cpl_size bkg_subtr, cpl_size nbsize, hdrl_catalogue_options cattype, double filtfwhm, double gainloc, double saturation, hdrl_casu_result *res) |
| Generate object catalogues from input images. | |
Generic functions.
| cpl_error_code hdrl_casu_catalogue | ( | hdrl_casu_fits * | infile, |
| hdrl_casu_fits * | conf, | ||
| const cpl_wcs * | wcs, | ||
| cpl_size | ipix, | ||
| double | threshold, | ||
| cpl_size | icrowd, | ||
| double | rcore, | ||
| cpl_size | bkg_subtr, | ||
| cpl_size | nbsize, | ||
| hdrl_catalogue_options | cattype, | ||
| double | filtfwhm, | ||
| double | gainloc, | ||
| double | saturation, | ||
| hdrl_casu_result * | res | ||
| ) |
Generate object catalogues from input images.
| infile | The input frame with the image to be analysed |
| conf | The input frame with the confidence map |
| wcs | Input WCS structure |
| ipix | The minimum allowable size of an object |
| threshold | The detection threshold in sigma above sky |
| icrowd | If set then the deblending software will be used |
| rcore | The core radius in pixels |
| bkg_subtr | The background subtraction switch |
| nbsize | The smoothing box size for background map estimation |
| cattype | The type of catalogue to be produced |
| filtfwhm | The FWHM of the smoothing kernel in the detection algorithm |
| gainloc | The detector gain in e-/ADU |
| saturation | The saturation level |
| res |
Description: A frame and its confidence map are given. Detection thresholds and various other parameters are also given. Output is a table with all the extracted objects with object classifications included.
Definition at line 321 of file hdrl_cat_casu.c.
References hdrl_casu_fits_delete(), hdrl_casu_fits_duplicate(), hdrl_casu_tfits_get_ehu(), hdrl_casu_tfits_get_table(), hdrl_catalogue_conf(), and hdrl_classify().
Referenced by hdrl_catalogue_compute().
| void hdrl_casu_fits_delete | ( | hdrl_casu_fits * | p | ) |
Free all the workspace associated with a hdrl_casu_fits object.
| p | The input hdrl_casu_tfits object |
Definition at line 267 of file hdrl_cat_casu.c.
Referenced by hdrl_casu_catalogue(), and hdrl_catalogue_compute().
| hdrl_casu_fits * hdrl_casu_fits_duplicate | ( | hdrl_casu_fits * | in | ) |
Copy a hdrl_casu_fits structure into another one.
| in | The input hdrl_casu_fits object |
Description: An input hdrl_casu_fits structure is duplcated and returned
Definition at line 194 of file hdrl_cat_casu.c.
References hdrl_casu_fits_get_ehu().
Referenced by hdrl_casu_catalogue().
| cpl_propertylist * hdrl_casu_fits_get_ehu | ( | hdrl_casu_fits * | p | ) |
Get the propertylist for the extension header for a given hdrl_casu_fits image.
| p | The input hdrl_casu_fits object |
Description: Get the propertylist for the extension header for a given hdrl_casu_fits image. This is the extension that is relevant of the image. This should only need to be read once and then can be used to add things to the primary header.
Definition at line 226 of file hdrl_cat_casu.c.
Referenced by hdrl_casu_fits_duplicate(), and hdrl_catalogue_conf().
| cpl_image * hdrl_casu_fits_get_image | ( | hdrl_casu_fits * | p | ) |
Get the CPL image from the hdrl_casu_fits object.
| p | The input hdrl_casu_tfits object |
Description: Return the CPL image from the input hdrl_casu_fits object. This image is suitable for use in all cpl_image routines.
Definition at line 249 of file hdrl_cat_casu.c.
Referenced by hdrl_catalogue_conf().
| hdrl_casu_fits * hdrl_casu_fits_wrap | ( | cpl_image * | im | ) |
Wrap an image in a hdrl_casu_fits wrapper.
| im | The input cpl_image |
Description: The input image is inserted into a hdrl_casu_fits wrapper. A model hdrl_casu_fits object may be provided to give the new object header.
Definition at line 165 of file hdrl_cat_casu.c.
Referenced by hdrl_catalogue_compute().
| void hdrl_casu_tfits_delete | ( | hdrl_casu_tfits * | p | ) |
Free all the workspace associated with a hdrl_casu_fits object.
| p | The input hdrl_casu_tfits object |
Definition at line 139 of file hdrl_cat_casu.c.
Referenced by hdrl_catalogue_compute().
| cpl_propertylist * hdrl_casu_tfits_get_ehu | ( | hdrl_casu_tfits * | p | ) |
Get the propertylist for the extension header for a given hdrl_casu_tfits image.
| p | The input hdrl_casu_tfits object |
Description: Get the propertylist for the extension header for a given hdrl_casu_tfits image. This is the extension that is relevant of the image. This should only need to be read once and then can be used to add things to the primary header.
Definition at line 98 of file hdrl_cat_casu.c.
Referenced by hdrl_casu_catalogue(), hdrl_catalogue_compute(), and hdrl_classify().
| cpl_table * hdrl_casu_tfits_get_table | ( | hdrl_casu_tfits * | p | ) |
Get the CPL table from the hdrl_casu_tfits object.
| p | The input hdrl_casu_tfits object |
Description: Return the CPL table from the input hdrl_casu_tfits object. This table is suitable for use in all cpl_table routines.
Definition at line 121 of file hdrl_cat_casu.c.
Referenced by hdrl_casu_catalogue(), hdrl_catalogue_compute(), and hdrl_classify().
| hdrl_casu_tfits * hdrl_casu_tfits_wrap | ( | cpl_table * | tab, |
| cpl_propertylist * | ehu | ||
| ) |
Wrap an table in a hdrl_casu_tfits wrapper.
| tab | The input cpl_table |
| ehu | The input propertylist for the extension header for the new object. |
Description: The input table is inserted into a hdrl_casu_tfits wrapper. A model hdrl_casu_tfits object may be provided to give the new object headers. If the ehu parameters are not null then they will be used as the propertylists for the new object. If not, then an attempt will be made to copy the propertylists from the model.
Definition at line 59 of file hdrl_cat_casu.c.
Referenced by hdrl_catalogue_conf().