Index: trunk/Ohana/src/mosastro/include/mosastro.h
===================================================================
--- trunk/Ohana/src/mosastro/include/mosastro.h	(revision 3294)
+++ trunk/Ohana/src/mosastro/include/mosastro.h	(revision 3323)
@@ -8,5 +8,5 @@
   double X, Y;  /* Chip Coords   - pixels  */
   double Mag, dMag;
-  int type;
+  int mask;
 } StarData;
 
@@ -20,5 +20,9 @@
   char *file;
   int Nstars;
+  int NX, NY;
   StarData *stars;
+  Header header;
+  char *buffer;
+  int Nbuffer;
 
   int Nmatch;
@@ -60,13 +64,18 @@
 } Stars;
 
+int  ChipOrder;
 int  Nchip;
 Chip *chip;
 Field field;
 double Year;  /** carried for precession - probably put this in chip data **/
-double RADIUS; /** raw / ref matching radius (units?) **/
+double RADIUS; /** raw / ref matching radius (pixels on Focal Plane) **/
+double SIGMA;
+double SIGMA_LIM;
 
+char StoneRegions[256];
 char CDROM[256];
 char REFCAT[256];
 char CATDIR[256];
+char ExptimeKeyword[256];
 char DateKeyword[256];
 char DateMode[256];
@@ -76,7 +85,14 @@
 char TWO_MASS_DIR[256];
 int VERBOSE;
+int NO_CHIPS;
 
 char GSCFILE[256];
 char GSC_DIR[256];
+
+char *FIELD;
+char *CHIPS;
+char *OUTPUT;
+char *DUMP;
+char *FOCAL_PLANE;
 
 StarData *getusno (CatStats *catstats, int *Nstars);
@@ -103,2 +119,7 @@
 int fake_field (double RA, double DEC);
 Gradients *GetGradients ();
+void FitChips (int Norder);
+void FitChipLinear (StarData *raw, StarData *ref, int Nmatch, Coords *coords);
+void FitChipResid (StarData *raw, StarData *ref, int Nmatch, Coords *coords);
+double GetScatter ();
+Header *mkmosaic (int Nx, int Ny, int Nstars, Coords *coords);
