UVES Pipeline Reference Manual  5.4.6
irplib_cat.h
1 /* $Id: irplib_cat.h,v 1.5 2009-12-16 14:49:52 cgarcia Exp $
2  *
3  * This file is part of the irplib package
4  * Copyright (C) 2002,2003 European Southern Observatory
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA
19  */
20 
21 /*
22  * $Author: cgarcia $
23  * $Date: 2009-12-16 14:49:52 $
24  * $Revision: 1.5 $
25  * $Name: not supported by cvs2svn $
26  */
27 
28 #ifndef IRPLIB_CAT_H
29 #define IRPLIB_CAT_H
30 
31 /*-----------------------------------------------------------------------------
32  Includes
33  -----------------------------------------------------------------------------*/
34 
35 #include <cpl.h>
36 
38 (const cpl_frame *master_index,
39  char **catpath,
40  char **catname);
41 
42 cpl_table * irplib_2mass_extract
43 (char *path,
44  float ramin,
45  float ramax,
46  float decmin,
47  float decmax);
48 
49 cpl_error_code irplib_cat_get_image_limits
50 (const cpl_wcs * wcs,
51  float ext_search,
52  double * ra1,
53  double * ra2,
54  double * dec1,
55  double * dec2);
56 
57 #endif
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.
Definition: irplib_cat.c:154
cpl_table * irplib_2mass_extract(char *path, float ramin, float ramax, float decmin, float decmax)
Extract standards from the 2mass catalogue.
Definition: irplib_cat.c:276
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.
Definition: irplib_cat.c:75