IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 1, 2005, 2:21:14 PM (21 years ago)
Author:
Paul Price
Message:

Rough draft of pmFPAMorph working

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/scripts/src/papFocalPlane.h

    r4386 r4694  
    1818    const psMetadata *camera;           // Camera configuration
    1919    psDB *db;                           // Database
    20     psMetadata *chips;                  // The chips (referred to by name)
     20    psArray *chips;                     // The chips
    2121    // FITS data
     22    const char *extname;                // Extension name, if it corresponds to this level
    2223    psArray *pixels;                    // The pixel data, if it corresponds to this level
    2324    psMetadata *header;                 // The FITS header, if it corresponds to this level
     
    3334    // Information
    3435    psMetadata *values;                 // Important values (cached)
    35     psMetadata *cells;                  // The cells (referred to by name)
     36    psArray *cells;                     // The cells (referred to by name)
     37    papFPA *parent;                     // Parent FPA
    3638    // FITS data
     39    const char *extname;                // Extension name, if it corresponds to this level
    3740    psArray *pixels;                    // The pixel data, if it corresponds to this level
    3841    psMetadata *header;                 // The FITS header, if it corresponds to this level
     
    5255    psMetadata *values;                 // Important values (cached)
    5356    psArray *readouts;                  // The readouts (referred to by number)
     57    papChip *parent;                    // Parent chip
    5458    // FITS data
     59    const char *extname;                // Extension name, if it corresponds to this level
    5560    psArray *pixels;                    // The pixel data, if it corresponds to this level
    5661    psMetadata *header;                 // The FITS header, if it corresponds to this level
     
    7479
    7580// Look for a particular value for a given cell (referred to by FPA+chip+cell)
    76 psMetadataItem *psCellGetValue(papFPA *fpa, // The FPA that contains the cell
    77                                const char *chipName, // The name of the chip
    78                                const char *cellName, // The name of the cell
     81psMetadataItem *psCellGetValue(papCell *cell, // The cell
    7982                               const char *valueName // Name of value
    8083    );
    8184
    8285// Type-specific functions provided as a convenience to the user
    83 float psCellGetValueF32(papFPA *fpa, // The FPA that contains the cell
    84                         const char *chipName, // The name of the chip
    85                         const char *cellName, // The name of the cell
     86float psCellGetValueF32(papCell *cell, // The cell
    8687                        const char *valueName // Name of value
    8788                        );
    88 int psCellGetValueS32(papFPA *fpa, // The FPA that contains the cell
    89                       const char *chipName, // The name of the chip
    90                       const char *cellName, // The name of the cell
     89int psCellGetValueS32(papCell *cell, // The cell
    9190                      const char *valueName // Name of value
    9291                      );
    93 double psCellGetValueF64(papFPA *fpa, // The FPA that contains the cell
    94                          const char *chipName, // The name of the chip
    95                          const char *cellName, // The name of the cell
     92double psCellGetValueF64(papCell *cell, // The cell
    9693                         const char *valueName // Name of value
    9794                         );
    98 psString psCellGetValueString(papFPA *fpa, // The FPA that contains the cell
    99                               const char *chipName, // The name of the chip
    100                               const char *cellName, // The name of the cell
     95psString psCellGetValueString(papCell *cell, // The cell
    10196                              const char *valueName // Name of value
    10297                              );
     
    110105
    111106papChip *papChipAlloc(papFPA *fpa,      // FPA to which the chip belongs
    112                     const char *name    // Name of the chip
     107                      psString name     // Name of chip
    113108    );
    114109void p_papChipFree(papChip *chip);
    115110
    116111papCell *papCellAlloc(papChip *chip,    // Chip to which the cell belongs
    117                       const char *name, // Name of the cell
    118                       int nReadouts     // Number of readouts contained
     112                      psString name     // Name of cell
    119113    );
    120114void p_papCellFree(papCell *cell);
Note: See TracChangeset for help on using the changeset viewer.