Index: trunk/psLib/src/astronomy/psAstrometry.h
===================================================================
--- trunk/psLib/src/astronomy/psAstrometry.h	(revision 1530)
+++ trunk/psLib/src/astronomy/psAstrometry.h	(revision 1665)
@@ -8,6 +8,6 @@
 *  @author George Gusciora, MHPCC
 *
-*  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-08-13 22:41:24 $
+*  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2004-09-01 00:57:48 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -239,4 +239,57 @@
 );
 
+/** Allocator for psFPA
+ *
+ *  This function shall make an empty psFPA, with the nChips allocated 
+ *  pointers to psChips being set to NULL; all other pointers in the structure 
+ *  shall be initialized to NULL, apart from the grommit, which shall be 
+ *  constructed on the basis of the exp parameter.
+ *
+ *  @return psFPA*    a newly allocated psFPA
+ */
+psFPA* psFPAAlloc(
+    int nChips,                        ///< number of chips in the FPA
+    const psExposure* exp              ///< the exposure information
+);
+
+/** Allocates a psChip
+ *
+ *  This allocator shall make an empty psChip, with the nCells allocated 
+ *  pointers to psCells being set to NULL; all other pointers in the structure
+ *  shall be initialized to NULL.
+ *
+ *  @return psChip*    newly allocated psChip
+ */
+psChip* psChipAlloc(
+    int nCells,                        ///< number of cells in Chip
+    psFPA* parentFPA                   ///< parent FPA
+);
+
+/** Allocates a psCell
+ *
+ *  The constructor shall make an empty psCell, with the nReadouts allocated 
+ *  pointers to psReadouts being set to NULL; all other pointers in the 
+ *  structure shall be initialized to NULL.
+ *
+ *  @return psCell*    newly allocated psCell
+ */
+psCell* psCellAlloc(
+    int nReadouts,                     ///< number of readouts in cell
+    psChip* parentChip                 ///< parent Chip
+);
+
+/** Allocates a psReadout
+ *
+ *  All pointers in the structure other than the image shall be initialized 
+ *  to NULL.
+ *
+ *  @return psReadout*    newly allocated psReadout
+ */
+psReadout* psReadoutAlloc(
+    int col0,                          ///< offset from the left of the cell
+    int row0,                          ///< offset from the bottom of the cell
+    const psImage* image               ///< image of the readout
+);
+
 /** Allocates a Wallace's Grommit structure.
  *
@@ -246,7 +299,4 @@
  *  @return psGrommit* New grommit structure.
  */
-psGrommit* psGrommitAlloc(const psExposure* exp        ///< the cooresponding exposure structure.
-                         );
-void p_psGrommitFree(psGrommit *grommit);
 psGrommit* psGrommitAlloc(
     const psExposure* exp              ///< the cooresponding exposure structure.
