IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 2, 2009, 8:05:38 AM (17 years ago)
Author:
Paul Price
Message:

Adding work on integrating covariances into the read/write system. Not sure I like this framework (putting covariances for an HDU into a common table); might rework to write a covariance image for each cell. I think I started doing that and ran into problems, but I can't remember what they were and how they stopped me.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap_branch_20090128/psModules/src/camera/pmHDU.h

    r21211 r21264  
    44 * @author Paul Price, IfA
    55 *
    6  * @version $Revision: 1.9.22.1 $ $Name: not supported by cvs2svn $
    7  * @date $Date: 2009-01-29 00:33:51 $
     6 * @version $Revision: 1.9.22.2 $ $Name: not supported by cvs2svn $
     7 * @date $Date: 2009-02-02 18:05:38 $
    88 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii
    99 */
     
    2222/// Of course, it is not an exact replica of a FITS HDU --- they have no mask and variance data, but these are
    2323/// stored here for convenience --- it keeps all the relevant data about the image in one place.
    24 typedef struct
    25 {
     24typedef struct {
    2625    psString extname;                   ///< The extension name
    2726    bool blankPHU;                      ///< Is this a blank FITS Primary Header Unit, i.e., no data?
    2827    psMetadata *format;                 ///< The camera format
    2928    psMetadata *header;                 ///< The FITS header, or NULL if primary for FITS; or section info
    30     psArray *images;                    ///< The pixel data
    31     psArray *variances;                   ///< The pixel data
    32     psArray *masks;                     ///< The pixel data
    33 }
    34 pmHDU;
     29    psArray *images;                    ///< Pixel data
     30    psArray *variances;                 ///< Variance in the pixel data, or NULL
     31    psArray *masks;                     ///< Mask for the pixel data, or NULL
     32    psArray *covariances;               ///< Covariance matrices (pmHDUCovariance), or NULL
     33} pmHDU;
    3534
    3635
Note: See TracChangeset for help on using the changeset viewer.