Index: trunk/Ohana/src/uniphot/include/setphot.h
===================================================================
--- trunk/Ohana/src/uniphot/include/setphot.h	(revision 39138)
+++ trunk/Ohana/src/uniphot/include/setphot.h	(revision 39262)
@@ -17,4 +17,25 @@
   unsigned int flags;
 } ImageSubset;
+
+// we have one correction (an image) for each filter and chip
+typedef struct {
+  int Nx;       // number of chips in x
+  int Ny;       // number of chips in y
+  int Nfilter;  // number of filters
+  int Nseason;  // number of correction peridos
+
+  int Nchips;	// chip offset (Nx*Ny)
+  int Nflats;	// season offset (Nx*Ny*Nfilters)
+  int Nvalues;  // Nx*Ny*Nfilters*Nseason
+
+  int dX;       // superpixel size
+  int dY;	// superpixel size
+
+  int NxCCD;	// number of pixels
+  int NyCCD;	// number of pixels
+
+  Matrix **matrix; // allocate an array of pointers
+  // index = ix + iy*Nx + filter*Nchips + dir*Ngroup
+} CamCorrection;
 
 /* global variables set in parameter file */
