Index: /trunk/Ohana/src/imregister/include/detrend.h
===================================================================
--- /trunk/Ohana/src/imregister/include/detrend.h	(revision 27)
+++ /trunk/Ohana/src/imregister/include/detrend.h	(revision 28)
@@ -12,4 +12,5 @@
   int order;
   int type;
+  char mode;
   int CCDSelect;     int CCD;
   int ExptimeSelect; float Exptime;
@@ -19,4 +20,5 @@
 /* MosaicSelect & ImageSelect define these values */
 typedef struct {
+  int ModeSelect;    int Mode;
   int TypeSelect;    int Type;
   int CCDSelect;     int CCD;
@@ -57,12 +59,12 @@
 # define DEBUG 0
 
-# define NTYPE 10
-enum {T_NONE, T_OBJECT, T_DARK, T_BIAS, T_FLAT, T_MASK, T_FRINGE, T_SCATTER, T_MODES, T_ANY};
-static char typename[NTYPE][32] = {"none", "object", "dark", "bias", "flat", "mask", "fringe", "scatter", "modes", "any"};
-static char typecode[NTYPE] = {'x', 'o', 'd', 'b', 'f', 'm', 'r', 's'};
+# define NTYPE 11
+enum {T_NONE, T_OBJECT, T_DARK, T_BIAS, T_FLAT, T_MASK, T_FRINGE, T_SCATTER, T_MODES, T_FRINGEPTS, T_ANY};
+static char typename[NTYPE][32] = {"none", "object", "dark", "bias", "flat", "mask", "fringe", "scatter", "modes", "frpts", "any"};
+static char typecode[NTYPE]     = {'x',    'o',      'd',    'b',    'f',    'm',    'r',      's',       'M',     'F'};
 
-# define NMODE 6
-enum {M_NONE, M_MEG, M_SPLIT, M_SINGLE, M_CUBE, M_SLICE};
-static char modename[6][32] = {"none", "MEF", "SPLIT", "SINGLE", "CUBE", "SLICE"};
+# define NMODE 7
+enum {M_NONE, M_MEF, M_SPLIT, M_SINGLE, M_CUBE, M_SLICE, M_MODES};
+static char modename[NMODE][32] = {"none", "MEF", "SPLIT", "SINGLE", "CUBE", "SLICE", "MODES"};
 
 char **RecipeType;
