- Timestamp:
- Jan 28, 2009, 2:33:51 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap_branch_20090128/psModules/src/camera/pmHDU.h
r19385 r21211 4 4 * @author Paul Price, IfA 5 5 * 6 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $7 * @date $Date: 200 8-09-05 08:21:35$6 * @version $Revision: 1.9.22.1 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2009-01-29 00:33:51 $ 8 8 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 9 9 */ … … 20 20 /// An instance of the FITS Header Data Unit 21 21 /// 22 /// Of course, it is not an exact replica of a FITS HDU --- they have no mask and weightdata, but these are22 /// Of course, it is not an exact replica of a FITS HDU --- they have no mask and variance data, but these are 23 23 /// stored here for convenience --- it keeps all the relevant data about the image in one place. 24 24 typedef struct … … 29 29 psMetadata *header; ///< The FITS header, or NULL if primary for FITS; or section info 30 30 psArray *images; ///< The pixel data 31 psArray * weights; ///< The pixel data31 psArray *variances; ///< The pixel data 32 32 psArray *masks; ///< The pixel data 33 33 } … … 60 60 ); 61 61 62 /// Read the HDU header and weightmap62 /// Read the HDU header and variance map 63 63 /// 64 64 /// Moves to the appropriate extension 65 bool pmHDURead Weight(pmHDU *hdu, ///< HDU to read66 psFits *fits ///< FITS file to read from65 bool pmHDUReadVariance(pmHDU *hdu, ///< HDU to read 66 psFits *fits ///< FITS file to read from 67 67 ); 68 68 … … 79 79 ); 80 80 81 /// Write the HDU header and weightmap82 bool pmHDUWrite Weight(pmHDU *hdu, ///< HDU to write83 psFits *fits, ///< FITS file to write to84 const pmConfig *config ///< Configuration81 /// Write the HDU header and variance map 82 bool pmHDUWriteVariance(pmHDU *hdu, ///< HDU to write 83 psFits *fits, ///< FITS file to write to 84 const pmConfig *config ///< Configuration 85 85 ); 86 86
Note:
See TracChangeset
for help on using the changeset viewer.
