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: not supported by cvs2svn $
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 CPL_BEGIN_DECLS
00046 
00047 void
00048 fors_std_star_list_apply_wcs(               fors_std_star_list      *stars,
00049                                             const cpl_propertylist  *header);
00050 
00051 void fors_phot_table_load(const cpl_frame *phot_table_frame,
00052               const fors_setting *setting,
00053               double *color_term,
00054               double *dcolor_term,
00055               double *ext_coeff,
00056               double *dext_coeff,
00057               double *expected_zeropoint,
00058               double *dexpected_zeropoint);
00059 
00060 cpl_table *fors_phot_coeff_create(const fors_setting *,
00061                                   double color_term,
00062                                   double dcolor_term,
00063                                   double ext_coeff,
00064                                   double dext_coeff,
00065                                   double zeropoint,
00066                                   double dzeropoint);
00067 
00068 CPL_END_DECLS
00069 #endif

Generated on 12 Feb 2016 for FORS Pipeline Reference Manual by  doxygen 1.6.1