00001 /* $Id: sinfo_skycor.h,v 1.9 2007/01/08 14:00:01 amodigli Exp $ 00002 * 00003 * This file is part of the SINFONI 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: amodigli $ 00023 * $Date: 2007/01/08 14:00:01 $ 00024 * $Revision: 1.9 $ 00025 * $Name: $ 00026 */ 00027 00028 #ifdef HAVE_CONFIG_H 00029 #include <config.h> 00030 #endif 00031 00032 #ifndef SINFO_SKYCOR_H 00033 #define SINFO_SKYCOR_H 00034 #include <cpl.h> 00035 00036 #define SINFO_MASK_WAVE_MIN 1.4 00037 #define SINFO_MASK_WAVE_MAX 2.5 00038 #define SINFO_MIN_FRAC 0.8 00039 #define SINFO_LINE_HALF_WIDTH 4.0 00040 00041 struct sinfo_skycor_qc_ { 00042 int th_fit; 00043 }; 00044 typedef struct sinfo_skycor_qc_ sinfo_skycor_qc; 00045 00046 sinfo_skycor_qc* sinfo_skycor_qc_new(void); 00047 void sinfo_skycor_qc_delete(sinfo_skycor_qc** s); 00048 00049 00050 int 00051 sinfo_skycor(cpl_parameterlist * config, 00052 cpl_frame* obj_frm, 00053 cpl_frame* sky_frm, 00054 sinfo_skycor_qc* sqc, 00055 cpl_imagelist** obj_cor, 00056 cpl_table** int_obj); 00057 00058 00059 00060 #endif
1.4.4