IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 15, 2004, 12:58:35 PM (22 years ago)
Author:
harman
Message:

Added mask to psReadout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astronomy/psAstrometry.h

    r1785 r1816  
    11/** @file  psAstrometry.h
    22*
    3 *  @brief This file defines the basic types for astronomical coordinate 
     3*  @brief This file defines the basic types for astronomical coordinate
    44*  transformation
    55*
     
    88*  @author George Gusciora, MHPCC
    99*
    10 *  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
    11 *  @date $Date: 2004-09-10 23:41:45 $
     10*  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
     11*  @date $Date: 2004-09-15 22:57:12 $
    1212*
    1313*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    4040 *  exposure means that subsequent transformations are faster.  For historical
    4141 *  reasons, this structure is known colloquially as "Wallace's Grommit".
    42  * 
     42 *
    4343 */
    4444typedef struct
     
    6363/** Fixed Pattern Corrections
    6464 *
    65  *  The fixed pattern is a correction to the general astrometric solution 
    66  *  formed by summing the residuals from many observations. The intent is to 
    67  *  correct for higher-order distortions in the camera system on a coarse 
    68  *  grid (larger than individual pixels, but smaller than a single cell). 
    69  *  Hence, in addition to the offsets, we need to specify the size and scale 
     65 *  The fixed pattern is a correction to the general astrometric solution
     66 *  formed by summing the residuals from many observations. The intent is to
     67 *  correct for higher-order distortions in the camera system on a coarse
     68 *  grid (larger than individual pixels, but smaller than a single cell).
     69 *  Hence, in addition to the offsets, we need to specify the size and scale
    7070 *  of the grid in x and y as well as the origin of the grid.
    7171 */
     
    9393/** Readout data structure.
    9494 *
    95  *  A readout is the result of a single read of a cell (or a portion thereof). 
    96  *  It contains a pointer to the pixel data, and additional pointers to the 
     95 *  A readout is the result of a single read of a cell (or a portion thereof).
     96 *  It contains a pointer to the pixel data, and additional pointers to the
    9797 *  objects found in the readout, and the readout metadata.  It also contains
    9898 *  the offset from the lower-left corner of the chip, in the case that the
     
    107107    const int row0;                    ///< Offset from the bottom of chip.
    108108
    109     psImage* image;                    ///< imaging area of Readout
    110     psList* objects;                   ///< objects derived from Readout
    111     psMetadata* metadata;              ///< readout-level metadata
     109    psImage* image;                    ///< Imaging area of readout
     110    psImage* mask;                     ///< Mask area for readout
     111    psList* objects;                   ///< Objects derived from Readout
     112    psMetadata* metadata;              ///< Readout-level metadata
    112113}
    113114psReadout;
    114115
    115116/** Cell data structure
    116  * 
     117 *
    117118 *  A cell consists of one or more readouts.  It also contains a pointer to the
    118  *  cell's metadata, and its parent chip.  On the astrometry side, it also 
    119  *  contains coordinate transforms from the cell to chip, from the cell to 
     119 *  cell's metadata, and its parent chip.  On the astrometry side, it also
     120 *  contains coordinate transforms from the cell to chip, from the cell to
    120121 *  focal-plane, as well as a "quick and dirty" tranform from the cell to
    121122 *  sky coordinates.
     
    165166 *  the color the transformation is defined.  We also include some values to
    166167 *  characterize the quality of the transformation: the root square deviation
    167  *  for the x and y transformation fits, and the chi-squared for the 
     168 *  for the x and y transformation fits, and the chi-squared for the
    168169 *  transformation fit.
    169170 *
     
    193194/** Exposure Information
    194195 *
    195  *  Several quantities from the telescope in order to make a first guess at 
    196  *  the astrometric solution.  From these quantities, further quantities can 
     196 *  Several quantities from the telescope in order to make a first guess at
     197 *  the astrometric solution.  From these quantities, further quantities can
    197198 *  be derivedand stored for later use.
    198199 *
     
    226227/** Allocator for psExposure
    227228 *
    228  *  We need several quantities from the telescope in order to make a first 
    229  *  guess at the astrometric solution. From these quantities, further 
     229 *  We need several quantities from the telescope in order to make a first
     230 *  guess at the astrometric solution. From these quantities, further
    230231 *  quantities can be derived and stored for later use.
    231232 *
     
    249250/** Allocator for psFPA
    250251 *
    251  *  This function shall make an empty psFPA, with the nChips allocated 
    252  *  pointers to psChips being set to NULL; all other pointers in the structure 
    253  *  shall be initialized to NULL, apart from the grommit, which shall be 
     252 *  This function shall make an empty psFPA, with the nChips allocated
     253 *  pointers to psChips being set to NULL; all other pointers in the structure
     254 *  shall be initialized to NULL, apart from the grommit, which shall be
    254255 *  constructed on the basis of the exp parameter.
    255256 *
     
    263264/** Allocates a psChip
    264265 *
    265  *  This allocator shall make an empty psChip, with the nCells allocated 
     266 *  This allocator shall make an empty psChip, with the nCells allocated
    266267 *  pointers to psCells being set to NULL; all other pointers in the structure
    267268 *  shall be initialized to NULL.
     
    276277/** Allocates a psCell
    277278 *
    278  *  The constructor shall make an empty psCell, with the nReadouts allocated 
    279  *  pointers to psReadouts being set to NULL; all other pointers in the 
     279 *  The constructor shall make an empty psCell, with the nReadouts allocated
     280 *  pointers to psReadouts being set to NULL; all other pointers in the
    280281 *  structure shall be initialized to NULL.
    281282 *
     
    289290/** Allocates a psReadout
    290291 *
    291  *  All pointers in the structure other than the image shall be initialized 
     292 *  All pointers in the structure other than the image shall be initialized
    292293 *  to NULL.
    293294 *
Note: See TracChangeset for help on using the changeset viewer.