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_SCIBASIC_Z_H 00025 #define MUSE_SCIBASIC_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_scibasic_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 crop; 00066 00068 int cr; 00070 const char *cr_s; 00071 00073 int xbox; 00074 00076 int ybox; 00077 00079 int passes; 00080 00082 double thres; 00083 00085 int combine; 00087 const char *combine_s; 00088 00090 int nlow; 00091 00093 int nhigh; 00094 00096 int nkeep; 00097 00099 double lsigma; 00100 00102 double hsigma; 00103 00105 int scale; 00106 00108 int saveimage; 00109 00111 const char * skylines; 00112 00114 double skyhalfwidth; 00115 00117 double skybinsize; 00118 00120 const char * skyreject; 00121 00123 int resample; 00124 00126 double dlambda; 00127 00129 int merge; 00130 00131 char __dummy__; /* quieten compiler warning about possibly empty struct */ 00132 } muse_scibasic_params_t; 00133 00134 #define MUSE_SCIBASIC_PARAM_CR_NONE 1 00135 #define MUSE_SCIBASIC_PARAM_CR_DCR 2 00136 #define MUSE_SCIBASIC_PARAM_CR_INVALID_VALUE -1 00137 #define MUSE_SCIBASIC_PARAM_COMBINE_NONE 1 00138 #define MUSE_SCIBASIC_PARAM_COMBINE_AVERAGE 2 00139 #define MUSE_SCIBASIC_PARAM_COMBINE_MEDIAN 3 00140 #define MUSE_SCIBASIC_PARAM_COMBINE_MINMAX 4 00141 #define MUSE_SCIBASIC_PARAM_COMBINE_SIGCLIP 5 00142 #define MUSE_SCIBASIC_PARAM_COMBINE_INVALID_VALUE -1 00143 00146 /*----------------------------------------------------------------------------* 00147 * Function prototypes * 00148 *----------------------------------------------------------------------------*/ 00149 int muse_scibasic_compute(muse_processing *, muse_scibasic_params_t *); 00150 00151 #endif /* MUSE_SCIBASIC_Z_H */
1.6.1