00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef MUSE_SCIPOST_Z_H
00025 #define MUSE_SCIPOST_Z_H
00026
00027
00028
00029
00030 #include <muse.h>
00031 #include <muse_instrument.h>
00032
00033
00034
00035
00036
00040
00047
00048 typedef struct muse_scipost_params_s {
00057 const char * save;
00058
00060 int resample;
00062 const char *resample_s;
00063
00065 double dx;
00066
00068 double dy;
00069
00071 double dlambda;
00072
00074 int crtype;
00076 const char *crtype_s;
00077
00079 double crsigma;
00080
00082 double rc;
00083
00085 double pixfrac;
00086
00088 int ld;
00089
00091 int format;
00093 const char *format_s;
00094
00096 int weight;
00098 const char *weight_s;
00099
00101 const char * filter;
00102
00104 int skymethod;
00106 const char *skymethod_s;
00107
00109 double lambdamin;
00110
00112 double lambdamax;
00113
00115 double lambdaref;
00116
00118 int darcheck;
00120 const char *darcheck_s;
00121
00123 double skymodel_fraction;
00124
00126 double skymodel_ignore;
00127
00129 double skymodel_sampling;
00130
00132 double skymodel_csampling;
00133
00135 const char * sky_crsigma;
00136
00138 int rvcorr;
00140 const char *rvcorr_s;
00141
00143 int astrometry;
00144
00145 char __dummy__;
00146 } muse_scipost_params_t;
00147
00148 #define MUSE_SCIPOST_PARAM_RESAMPLE_NEAREST 1
00149 #define MUSE_SCIPOST_PARAM_RESAMPLE_LINEAR 2
00150 #define MUSE_SCIPOST_PARAM_RESAMPLE_QUADRATIC 3
00151 #define MUSE_SCIPOST_PARAM_RESAMPLE_RENKA 4
00152 #define MUSE_SCIPOST_PARAM_RESAMPLE_DRIZZLE 5
00153 #define MUSE_SCIPOST_PARAM_RESAMPLE_LANCZOS 6
00154 #define MUSE_SCIPOST_PARAM_RESAMPLE_INVALID_VALUE -1
00155 #define MUSE_SCIPOST_PARAM_CRTYPE_IRAF 1
00156 #define MUSE_SCIPOST_PARAM_CRTYPE_MEAN 2
00157 #define MUSE_SCIPOST_PARAM_CRTYPE_MEDIAN 3
00158 #define MUSE_SCIPOST_PARAM_CRTYPE_INVALID_VALUE -1
00159 #define MUSE_SCIPOST_PARAM_FORMAT_CUBE 1
00160 #define MUSE_SCIPOST_PARAM_FORMAT_EURO3D 2
00161 #define MUSE_SCIPOST_PARAM_FORMAT_XCUBE 3
00162 #define MUSE_SCIPOST_PARAM_FORMAT_XEURO3D 4
00163 #define MUSE_SCIPOST_PARAM_FORMAT_SDPCUBE 5
00164 #define MUSE_SCIPOST_PARAM_FORMAT_INVALID_VALUE -1
00165 #define MUSE_SCIPOST_PARAM_WEIGHT_EXPTIME 1
00166 #define MUSE_SCIPOST_PARAM_WEIGHT_FWHM 2
00167 #define MUSE_SCIPOST_PARAM_WEIGHT_NONE 3
00168 #define MUSE_SCIPOST_PARAM_WEIGHT_INVALID_VALUE -1
00169 #define MUSE_SCIPOST_PARAM_SKYMETHOD_NONE 1
00170 #define MUSE_SCIPOST_PARAM_SKYMETHOD_SUBTRACT_MODEL 2
00171 #define MUSE_SCIPOST_PARAM_SKYMETHOD_MODEL 3
00172 #define MUSE_SCIPOST_PARAM_SKYMETHOD_SIMPLE 4
00173 #define MUSE_SCIPOST_PARAM_SKYMETHOD_INVALID_VALUE -1
00174 #define MUSE_SCIPOST_PARAM_DARCHECK_NONE 1
00175 #define MUSE_SCIPOST_PARAM_DARCHECK_CHECK 2
00176 #define MUSE_SCIPOST_PARAM_DARCHECK_CORRECT 3
00177 #define MUSE_SCIPOST_PARAM_DARCHECK_INVALID_VALUE -1
00178 #define MUSE_SCIPOST_PARAM_RVCORR_BARY 1
00179 #define MUSE_SCIPOST_PARAM_RVCORR_HELIO 2
00180 #define MUSE_SCIPOST_PARAM_RVCORR_GEO 3
00181 #define MUSE_SCIPOST_PARAM_RVCORR_NONE 4
00182 #define MUSE_SCIPOST_PARAM_RVCORR_INVALID_VALUE -1
00183
00186
00187
00188
00189 int muse_scipost_compute(muse_processing *, muse_scipost_params_t *);
00190
00191 #endif