Functions | |
int | irplib_2mass_get_catpars (const cpl_frame *master_index, char **catpath, char **catname) |
Find the name of the standard catalogue being used and its location. | |
cpl_error_code | irplib_cat_get_image_limits (const cpl_wcs *wcs, float ext_search, double *ra1, double *ra2, double *dec1, double *dec2) |
Get coverage in ra, dec of a frame. | |
cpl_table * | irplib_2mass_extract (char *path, float ramin, float ramax, float decmin, float decmax) |
Extract standards from the 2mass catalogue. | |
cpl_table * | irplib_match_cat_pairs (cpl_table **catalogues, int ncats, int(*binary_match_condition)(cpl_table *catalogue1, cpl_table *catalogue2, intiobj1, intiobj2)) |
Finds all the objects that appear at least in some of the catalogues. | |
cpl_error_code | irplib_match_cats_get_all_matching_pairs (cpl_table **catalogues, int ncats, cpl_table *matching_sets, int(*binary_match_condition)(cpl_table *catalogue1, cpl_table *catalogue2, intiobj1, intiobj2)) |
int irplib_2mass_get_catpars | ( | const cpl_frame * | master_index, | |
char ** | catpath, | |||
char ** | catname | |||
) |
Find the name of the standard catalogue being used and its location.
index | The frame for the index FITS file | |
catpath | The full path to the catalgoue FITS files | |
catname | The name of the catalogue |
Definition at line 75 of file irplib_cat.c.
cpl_error_code irplib_cat_get_image_limits | ( | const cpl_wcs * | wcs, | |
float | ext_search, | |||
double * | ra1, | |||
double * | ra2, | |||
double * | dec1, | |||
double * | dec2 | |||
) |
Get coverage in ra, dec of a frame.
plist | Input property list | |
ext_search | Factor for an extra box search. | |
ra1 | Lower RA | |
ra2 | Upper RA | |
dec1 | Lower Dec | |
dec2 | Upper Dec |
Definition at line 154 of file irplib_cat.c.
cpl_table* irplib_2mass_extract | ( | char * | path, | |
float | ramin, | |||
float | ramax, | |||
float | decmin, | |||
float | decmax | |||
) |
Extract standards from the 2mass catalogue.
path | The full path to the catalogue FITS files and index. | |
ramin1 | The minimum RA, this can be negative in the case the area wraps around the equinox. | |
ramax1 | The maximum RA | |
decmin | The minimum Declination | |
decmax | The maximum Declination |
Definition at line 280 of file irplib_cat.c.
cpl_table* irplib_match_cat_pairs | ( | cpl_table ** | catalogues, | |
int | ncats, | |||
int(*)(cpl_table *catalogue1, cpl_table *catalogue2, intiobj1, intiobj2) | binary_match_condition | |||
) |
Finds all the objects that appear at least in some of the catalogues.
catalogues | All the catalogues | |
ncats | Number of catalogues |
cat_indexing_order tells you in which order the catalogues are being iterated. For example cat_indexing_order[2] gives the index of the catalogue that is being iterated in the 3rd postion.
Definition at line 126 of file irplib_match_cats.c.