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_STANDARD_Z_H 00025 #define MUSE_STANDARD_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_standard_params_s { 00050 int profile; 00052 const char *profile_s; 00053 00055 int select; 00057 const char *select_s; 00058 00060 int smooth; 00062 const char *smooth_s; 00063 00065 double lambdamin; 00066 00068 double lambdamax; 00069 00071 double lambdaref; 00072 00074 int darcheck; 00076 const char *darcheck_s; 00077 00079 const char * filter; 00080 00081 char __dummy__; /* quieten compiler warning about possibly empty struct */ 00082 } muse_standard_params_t; 00083 00084 #define MUSE_STANDARD_PARAM_PROFILE_GAUSSIAN 1 00085 #define MUSE_STANDARD_PARAM_PROFILE_MOFFAT 2 00086 #define MUSE_STANDARD_PARAM_PROFILE_CIRCLE 3 00087 #define MUSE_STANDARD_PARAM_PROFILE_SQUARE 4 00088 #define MUSE_STANDARD_PARAM_PROFILE_INVALID_VALUE -1 00089 #define MUSE_STANDARD_PARAM_SELECT_FLUX 1 00090 #define MUSE_STANDARD_PARAM_SELECT_DISTANCE 2 00091 #define MUSE_STANDARD_PARAM_SELECT_INVALID_VALUE -1 00092 #define MUSE_STANDARD_PARAM_SMOOTH_NONE 1 00093 #define MUSE_STANDARD_PARAM_SMOOTH_MEDIAN 2 00094 #define MUSE_STANDARD_PARAM_SMOOTH_PPOLY 3 00095 #define MUSE_STANDARD_PARAM_SMOOTH_INVALID_VALUE -1 00096 #define MUSE_STANDARD_PARAM_DARCHECK_NONE 1 00097 #define MUSE_STANDARD_PARAM_DARCHECK_CHECK 2 00098 #define MUSE_STANDARD_PARAM_DARCHECK_CORRECT 3 00099 #define MUSE_STANDARD_PARAM_DARCHECK_INVALID_VALUE -1 00100 00103 /*----------------------------------------------------------------------------* 00104 * Function prototypes * 00105 *----------------------------------------------------------------------------*/ 00106 int muse_standard_compute(muse_processing *, muse_standard_params_t *); 00107 00108 #endif /* MUSE_STANDARD_Z_H */
1.6.1