00001 /* $Id: irplib_cat.h,v 1.5 2009/12/16 14:49:52 cgarcia Exp $ 00002 * 00003 * This file is part of the irplib package 00004 * Copyright (C) 2002,2003 European Southern Observatory 00005 * 00006 * This program is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation; either version 2 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA 00019 */ 00020 00021 /* 00022 * $Author: cgarcia $ 00023 * $Date: 2009/12/16 14:49:52 $ 00024 * $Revision: 1.5 $ 00025 * $Name: naco-4_3_3 $ 00026 */ 00027 00028 #ifndef IRPLIB_CAT_H 00029 #define IRPLIB_CAT_H 00030 00031 /*----------------------------------------------------------------------------- 00032 Includes 00033 -----------------------------------------------------------------------------*/ 00034 00035 #include <cpl.h> 00036 00037 int irplib_2mass_get_catpars 00038 (const cpl_frame *master_index, 00039 char **catpath, 00040 char **catname); 00041 00042 cpl_table * irplib_2mass_extract 00043 (char *path, 00044 float ramin, 00045 float ramax, 00046 float decmin, 00047 float decmax); 00048 00049 cpl_error_code irplib_cat_get_image_limits 00050 (const cpl_wcs * wcs, 00051 float ext_search, 00052 double * ra1, 00053 double * ra2, 00054 double * dec1, 00055 double * dec2); 00056 00057 #endif