00001 /* $Id: fors_tools.h,v 1.7 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.7 $ 00025 * $Name: fors-4_8_6 $ 00026 */ 00027 00028 #ifndef FORS_TOOLS_H 00029 #define FORS_TOOLS_H 00030 00031 #include <fors_star.h> 00032 #include <fors_setting.h> 00033 #include <fors_image.h> 00034 #include <cpl.h> 00035 00036 double 00037 fors_star_ext_corr(fors_star_list *stars, 00038 const fors_setting *setting, 00039 double ext_coeff, 00040 double dext_coeff, 00041 const cpl_frame *raw_frame); 00042 00043 cpl_table * 00044 fors_create_sources_table(fors_star_list *sources); 00045 00046 double 00047 fors_fixed_pattern_noise(const fors_image *master, 00048 double convert_ADU, 00049 double master_noise); 00050 double 00051 fors_fixed_pattern_noise_bias(const fors_image *first_raw, 00052 const fors_image *second_raw, 00053 double ron); 00054 double 00055 fors_get_airmass(const cpl_propertylist *header); 00056 00057 #endif