fors_data.h

00001 /* $Id: fors_data.h,v 1.16 2010/09/14 07:49:30 cizzo Exp $
00002  *
00003  * This file is part of the FORS Library
00004  * Copyright (C) 2002-2010 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: cizzo $
00023  * $Date: 2010/09/14 07:49:30 $
00024  * $Revision: 1.16 $
00025  * $Name: fors-4_8_6 $
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 /* Photometry table column names */
00037 extern const char *const FORS_DATA_PHOT_FILTER;
00038 extern const char *const FORS_DATA_PHOT_EXTCOEFF;
00039 extern const char *const FORS_DATA_PHOT_DEXTCOEFF;
00040 extern const char *const FORS_DATA_PHOT_ZEROPOINT;
00041 extern const char *const FORS_DATA_PHOT_DZEROPOINT;
00042 extern const char *const FORS_DATA_PHOT_COLORTERM;
00043 extern const char *const FORS_DATA_PHOT_DCOLORTERM;
00044 
00045 void
00046 fors_std_star_list_apply_wcs(               fors_std_star_list      *stars,
00047                                             const cpl_propertylist  *header);
00048 
00049 void fors_phot_table_load(const cpl_frame *phot_table_frame,
00050               const fors_setting *setting,
00051               double *color_term,
00052               double *dcolor_term,
00053               double *ext_coeff,
00054               double *dext_coeff,
00055               double *expected_zeropoint,
00056               double *dexpected_zeropoint);
00057 
00058 cpl_table *fors_phot_coeff_create(const fors_setting *,
00059                                   double color_term,
00060                                   double dcolor_term,
00061                                   double ext_coeff,
00062                                   double dext_coeff,
00063                                   double zeropoint,
00064                                   double dzeropoint);
00065 
00066 #endif

Generated on Fri Mar 4 09:46:00 2011 for FORS Pipeline Reference Manual by  doxygen 1.4.7