fors_data.h

00001 /* $Id: fors_data.h,v 1.10 2007/11/26 15:25:01 jmlarsen Exp $
00002  *
00003  * This file is part of the FORS Library
00004  * Copyright (C) 2002-2006 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  02110-1301 USA
00019  */
00020 
00021 /*
00022  * $Author: jmlarsen $
00023  * $Date: 2007/11/26 15:25:01 $
00024  * $Revision: 1.10 $
00025  * $Name:  $
00026  */
00027 
00028 #ifndef FORS_DATA_H
00029 #define FORS_DATA_H
00030 
00031 #include <fors_std_star.h>
00032 #include <fors_setting.h>
00033 
00034 #include <cpl.h>
00035 
00036 /* Std flux table column names */
00037 extern const char *const FORS_DATA_STD_MAG[FORS_NUM_FILTER];
00038 extern const char *const FORS_DATA_STD_DMAG[FORS_NUM_FILTER];
00039 extern const char *const FORS_DATA_STD_COL[FORS_NUM_FILTER];
00040 extern const char *const FORS_DATA_STD_RA;
00041 extern const char *const FORS_DATA_STD_DEC;
00042 extern const char *const FORS_DATA_STD_NAME;
00043 
00044 /* Photometry table column names */
00045 extern const char *const FORS_DATA_PHOT_FILTER;
00046 extern const char *const FORS_DATA_PHOT_EXTCOEFF;
00047 extern const char *const FORS_DATA_PHOT_DEXTCOEFF;
00048 extern const char *const FORS_DATA_PHOT_ZEROPOINT;
00049 extern const char *const FORS_DATA_PHOT_DZEROPOINT;
00050 extern const char *const FORS_DATA_PHOT_COLORTERM;
00051 extern const char *const FORS_DATA_PHOT_DCOLORTERM;
00052 
00053 void fors_phot_table_load(const cpl_frame *phot_table_frame,
00054               const fors_setting *setting,
00055               double *color_term,
00056               double *dcolor_term,
00057               double *ext_coeff,
00058               double *dext_coeff,
00059               double *expected_zeropoint,
00060               double *dexpected_zeropoint);
00061 fors_std_star_list *
00062 fors_std_cat_load(const cpl_frameset *cat_frames,
00063           const cpl_frame *raw_frame,
00064           const fors_setting *setting,
00065           double color_term, double dcolor_term);
00066 
00067 #endif

Generated on Wed Sep 10 07:31:51 2008 for FORS Pipeline Reference Manual by  doxygen 1.4.6