00001 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 00002 /* vim:set sw=2 sts=2 et cin: */ 00003 /* 00004 * This file is part of the MUSE Instrument Pipeline 00005 * Copyright (C) 2005-2015 European Southern Observatory 00006 * 00007 * This program is free software; you can redistribute it and/or modify 00008 * it under the terms of the GNU General Public License as published by 00009 * the Free Software Foundation; either version 2 of the License, or 00010 * (at your option) any later version. 00011 * 00012 * This program is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU General Public License 00018 * along with this program; if not, write to the Free Software 00019 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00020 */ 00021 00022 /* This file was automatically generated */ 00023 00024 #ifndef MUSE_WAVECAL_Z_H 00025 #define MUSE_WAVECAL_Z_H 00026 00027 /*----------------------------------------------------------------------------* 00028 * Includes * 00029 *----------------------------------------------------------------------------*/ 00030 #include <muse.h> 00031 #include <muse_instrument.h> 00032 00033 /*----------------------------------------------------------------------------* 00034 * Special variable types * 00035 *----------------------------------------------------------------------------*/ 00036 00040 /*----------------------------------------------------------------------------*/ 00047 /*----------------------------------------------------------------------------*/ 00048 typedef struct muse_wavecal_params_s { 00050 int nifu; 00051 00053 const char * overscan; 00054 00056 const char * ovscreject; 00057 00059 double ovscsigma; 00060 00062 int ovscignore; 00063 00065 int combine; 00067 const char *combine_s; 00068 00070 int lampwise; 00071 00073 double sigma; 00074 00076 double dres; 00077 00079 double tolerance; 00080 00082 int xorder; 00083 00085 int yorder; 00086 00088 double linesigma; 00089 00091 int residuals; 00092 00094 double fitsigma; 00095 00097 int fitweighting; 00099 const char *fitweighting_s; 00100 00102 int resample; 00103 00105 int wavemap; 00106 00108 int merge; 00109 00110 char __dummy__; /* quieten compiler warning about possibly empty struct */ 00111 } muse_wavecal_params_t; 00112 00113 #define MUSE_WAVECAL_PARAM_COMBINE_AVERAGE 1 00114 #define MUSE_WAVECAL_PARAM_COMBINE_MEDIAN 2 00115 #define MUSE_WAVECAL_PARAM_COMBINE_MINMAX 3 00116 #define MUSE_WAVECAL_PARAM_COMBINE_SIGCLIP 4 00117 #define MUSE_WAVECAL_PARAM_COMBINE_INVALID_VALUE -1 00118 #define MUSE_WAVECAL_PARAM_FITWEIGHTING_UNIFORM 1 00119 #define MUSE_WAVECAL_PARAM_FITWEIGHTING_CERR 2 00120 #define MUSE_WAVECAL_PARAM_FITWEIGHTING_SCATTER 3 00121 #define MUSE_WAVECAL_PARAM_FITWEIGHTING_CERRSCATTER 4 00122 #define MUSE_WAVECAL_PARAM_FITWEIGHTING_INVALID_VALUE -1 00123 00126 /*----------------------------------------------------------------------------* 00127 * Function prototypes * 00128 *----------------------------------------------------------------------------*/ 00129 int muse_wavecal_compute(muse_processing *, muse_wavecal_params_t *); 00130 00131 #endif /* MUSE_WAVECAL_Z_H */
1.6.1