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_TWILIGHT_Z_H
00025 #define MUSE_TWILIGHT_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_twilight_params_s {
00050 const char * overscan;
00051
00053 const char * ovscreject;
00054
00056 double ovscsigma;
00057
00059 int ovscignore;
00060
00062 int combine;
00064 const char *combine_s;
00065
00067 int nlow;
00068
00070 int nhigh;
00071
00073 int nkeep;
00074
00076 double lsigma;
00077
00079 double hsigma;
00080
00082 int scale;
00083
00085 int resample;
00087 const char *resample_s;
00088
00090 int crtype;
00092 const char *crtype_s;
00093
00095 double crsigma;
00096
00098 double lambdamin;
00099
00101 double lambdamax;
00102
00104 double dlambda;
00105
00107 int xorder;
00108
00110 int yorder;
00111
00113 double vignmaskedges;
00114
00116 int vignsmooth;
00118 const char *vignsmooth_s;
00119
00121 int vignxpar;
00122
00124 int vignypar;
00125
00126 char __dummy__;
00127 } muse_twilight_params_t;
00128
00129 #define MUSE_TWILIGHT_PARAM_COMBINE_AVERAGE 1
00130 #define MUSE_TWILIGHT_PARAM_COMBINE_MEDIAN 2
00131 #define MUSE_TWILIGHT_PARAM_COMBINE_MINMAX 3
00132 #define MUSE_TWILIGHT_PARAM_COMBINE_SIGCLIP 4
00133 #define MUSE_TWILIGHT_PARAM_COMBINE_INVALID_VALUE -1
00134 #define MUSE_TWILIGHT_PARAM_RESAMPLE_NEAREST 1
00135 #define MUSE_TWILIGHT_PARAM_RESAMPLE_LINEAR 2
00136 #define MUSE_TWILIGHT_PARAM_RESAMPLE_QUADRATIC 3
00137 #define MUSE_TWILIGHT_PARAM_RESAMPLE_RENKA 4
00138 #define MUSE_TWILIGHT_PARAM_RESAMPLE_DRIZZLE 5
00139 #define MUSE_TWILIGHT_PARAM_RESAMPLE_LANCZOS 6
00140 #define MUSE_TWILIGHT_PARAM_RESAMPLE_INVALID_VALUE -1
00141 #define MUSE_TWILIGHT_PARAM_CRTYPE_IRAF 1
00142 #define MUSE_TWILIGHT_PARAM_CRTYPE_MEAN 2
00143 #define MUSE_TWILIGHT_PARAM_CRTYPE_MEDIAN 3
00144 #define MUSE_TWILIGHT_PARAM_CRTYPE_INVALID_VALUE -1
00145 #define MUSE_TWILIGHT_PARAM_VIGNSMOOTH_POLYFIT 1
00146 #define MUSE_TWILIGHT_PARAM_VIGNSMOOTH_GAUSSIAN 2
00147 #define MUSE_TWILIGHT_PARAM_VIGNSMOOTH_MEDIAN 3
00148 #define MUSE_TWILIGHT_PARAM_VIGNSMOOTH_INVALID_VALUE -1
00149
00152
00153
00154
00155 int muse_twilight_compute(muse_processing *, muse_twilight_params_t *);
00156
00157 #endif