IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 254


Ignore:
Timestamp:
Mar 18, 2004, 2:17:23 PM (22 years ago)
Author:
Paul Price
Message:
  • A cell now consists of one or more frames, each of which consists of an image, its own overscan and objects on the frame.
  • Better definition of the fixed pattern residuals.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/include/psAstrom.h

    r253 r254  
    6161} psExposure;
    6262
     63
     64/** The fixed pattern residual offsets.  These are specified via a coarse grid of x and y offsets. */
     65typedef struct {
     66    int nX, nY;                         //!< Number of elements in x and y
     67    double x0, y0;                      //!< Position of the lower-left corner of the grid on the focal plane
     68    double xScale, yScale;              //!< Scale of the grid
     69    double **x, **y;                    //!< The grid of offsets in x and y
     70} psFixedPattern;
     71
     72
    6373/** a Focal plane array: a collection of chips.  Not all chips in a camera need to be listed in an instance of
    6474 *  psFPA.
     
    7282    psDistortion *TPtoFP;               ///< Transformation term from
    7383    psDistortion *FPtoTP;               ///< Transformation term from
     84    psFixedPattern *pattern;            //!< Fixed pattern residual offsets
    7485    psExposure *exp;                    ///< information about this exposure
    75     psMatrix *dx, *dy;                  //!< Focal Plane fixed pattern residual offsets
    7686    psPhotSystem colorPlus, colorMinus; ///< Colour reference
    7787    float rmsX, rmsY;                   //!< Dispersion in astrometric solution
     
    8898    psMetaDataSet *md;                  ///< Chip-level metadata
    8999    psCoordXform *chipToFPA;            ///< Transformations from chip coordinates to FPA coordinates
    90     psCoordXform *FPAtoChip;            ///< Transformations from chip coordinates to FPA coordinates
     100    psCoordXform *FPAtoChip;            //!< Transformations from FPA coordinates to chip
    91101
    92102    struct psFPA *parentFPA;            ///< FPA which contains this chip
    93103} psChip;
    94104
    95 /** a Cell: a collection of pixels.
    96  */
    97 typedef struct {
    98     int nImage;                         ///< number of images in this cell realization
     105/** a Cell: a collection of frames.
     106 */
     107typedef struct {
     108    int nFrames;                        ///< number of frames in this cell realization; each may have its own
     109                                        ///< image, objects and overscan.
     110    struct psFrame *frames;             //!< Frames from the cell
     111    psMetaDataSet *md;                  ///< Cell-level metadata
     112
     113    psCoordXform *cellToChip;           ///< Transformations from cell coordinates to chip coordinates
     114    psCoordXform *cellToFPA;            ///< Transformations from cell coordinates to FPA coordinates
     115
     116    struct psChip  *parentChip;         ///< chip which contains this cell
     117} psCell;
     118
     119/** a Frame: a collection of pixels */
     120typedef struct {
     121    int x0, y0;                         //!< Offset from the lower-left corner
    99122    psImage *image;                     ///< imaging area of cell
    100123    psDlist *objects;                   ///< objects derived from cell
    101124    psImage *overscan;                  ///< bias region (subimage) of cell
    102     psMetaDataSet *md;                  ///< Cell-level metadata
    103 
    104     psCoordXform *cellToChip;           ///< Transformations from cell coordinates to chip coordinates
    105     psCoordXform *cellToFPA;            ///< Transformations from cell coordinates to FPA coordinates
    106 
    107     struct psChip  *parentChip;         ///< chip which contains this cell
    108 } psCell;
     125    psMetaDataSet *md;                  //!< Frame-level metadata
     126} psFrame;
     127   
    109128
    110129/*** Functions ***********************************************************************/
Note: See TracChangeset for help on using the changeset viewer.