irplib_stdstar.h

00001 /* $Id: irplib_stdstar.h,v 1.8 2007/10/16 02:16:09 yjung 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: yjung $
00023  * $Date: 2007/10/16 02:16:09 $
00024  * $Revision: 1.8 $
00025  * $Name: uves-3_4_5 $
00026  */
00027 
00028 #ifndef IRPLIB_STDSTAR_H
00029 #define IRPLIB_STDSTAR_H
00030 
00031 /*-----------------------------------------------------------------------------
00032                                 Includes
00033  -----------------------------------------------------------------------------*/
00034 
00035 #include <cpl.h>
00036 
00037 /*-----------------------------------------------------------------------------
00038                                 Defines
00039  -----------------------------------------------------------------------------*/
00040 
00041 #define     IRPLIB_STDSTAR_STAR_COL     "STARS"
00042 #define     IRPLIB_STDSTAR_TYPE_COL     "SP_TYPE"
00043 #define     IRPLIB_STDSTAR_RA_COL       "RA"
00044 #define     IRPLIB_STDSTAR_DEC_COL      "DEC"
00045 
00046 /*-----------------------------------------------------------------------------
00047                                    Function prototypes
00048  -----------------------------------------------------------------------------*/
00049 
00050 int irplib_stdstar_write_catalogs(cpl_frameset *, const cpl_frameset *, 
00051         const char *, const char *, const char *, const char *,
00052         cpl_table * (*convert_ascii_table)(const char *)) ;
00053 cpl_table * irplib_stdstar_load_catalog(const char *, const char *) ;
00054 int irplib_stdstar_select_stars_dist(cpl_table *, double, double, double) ;
00055 int irplib_stdstar_select_stars_mag(cpl_table *, const char *) ;
00056 int irplib_stdstar_find_closest(const cpl_table *, double, double) ;
00057 int irplib_stdstar_get_mag(const char *, double, double, const char *, 
00058         const char *, double *, char *, char *, double) ;
00059 cpl_vector * irplib_stdstar_get_conversion(const cpl_bivector *, double, double,
00060         double, double);
00061 cpl_vector * irplib_stdstar_get_mag_zero(const cpl_bivector *,
00062         const cpl_vector *, double);
00063 cpl_bivector * irplib_stdstar_get_sed(const char *, const char *);
00064 
00065 #endif

Generated on Thu Nov 15 14:32:26 2007 for UVES Pipeline Reference Manual by  doxygen 1.5.1