00001 /* $Id: omega_photometry.h,v 1.7 2011/07/06 14:49:38 agabasch Exp $ 00002 * 00003 * This file is part of the OMEGA Pipeline 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00019 */ 00020 00021 /* 00022 * $Author: agabasch $ 00023 * $Date: 2011/07/06 14:49:38 $ 00024 * $Revision: 1.7 $ 00025 * $Name: omega-1_0_2 $ 00026 */ 00027 00028 #ifndef OC_PHOTOM_H 00029 #define OC_PHOTOM_H 00030 00031 #include <cpl.h> 00032 00033 00034 cpl_table *omega_photom_tbl(const char *star, double gain, 00035 const cpl_frame *refcat, cpl_parameterlist *pars, cpl_table **extra); 00036 00037 cpl_table *omega_zeropoints(cpl_table *matches, cpl_table *extra, const cpl_frame *monitfr, 00038 const cpl_frame *extfr, const cpl_frame *colfr); 00039 int omega_basic_param(cpl_table *sources, double scale, double *seeing, 00040 double *ellipticity); 00041 void omega_get_extinction(cpl_table *extra, cpl_table *extinct2, 00042 cpl_table *extinct1, double *extinction, cpl_table *monit2, 00043 double *shift_err, double *extinction_airmass, 00044 double *extinction_error_kwad); 00045 00046 00047 00048 00049 #endif