IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 18, 2006, 1:43:28 PM (20 years ago)
Author:
Paul Price
Message:

Extensive changes to FPA reading/writing functions to support mask and weight map reading/writing. Actually, not so much changes as generalisations to the reading/writing functions. Moved the reading/writing functionality into file-static functions, which the higher level functions for reading/writing particular elements (image, mask, weight) call. Added additional pmFPAfile types for mask and weight, with supporting functionality to call the reading/writing functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmHDU.h

    r9983 r10081  
    77/// @author Paul Price, IfA
    88///
    9 /// @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    10 /// @date $Date: 2006-11-15 00:40:02 $
     9/// @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     10/// @date $Date: 2006-11-18 23:43:28 $
    1111///
    1212/// Copyright 2005-2006 Institute for Astronomy, University of Hawaii
     
    5151              );
    5252
     53/// Read the HDU header and mask
     54///
     55/// Moves to the appropriate extension
     56bool pmHDUReadMask(pmHDU *hdu,          ///< HDU to read
     57                   psFits *fits         ///< FITS file to read from
     58                  );
     59
     60/// Read the HDU header and weight map
     61///
     62/// Moves to the appropriate extension
     63bool pmHDUReadWeight(pmHDU *hdu,        ///< HDU to read
     64                     psFits *fits       ///< FITS file to read from
     65                    );
     66
    5367/// Write the HDU header and pixels
    5468bool pmHDUWrite(pmHDU *hdu,             ///< HDU to write
     
    5771
    5872/// Write the HDU header and mask
    59 bool pmHDUWriteMask(pmHDU *hdu,         ///< HDU to write mask
     73bool pmHDUWriteMask(pmHDU *hdu,         ///< HDU to write
    6074                    psFits *fits        ///< FITS file to write to
    6175                   );
    6276
     77/// Write the HDU header and weight map
     78bool pmHDUWriteWeight(pmHDU *hdu,       ///< HDU to write
     79                      psFits *fits      ///< FITS file to write to
     80                     );
     81
    6382#endif
Note: See TracChangeset for help on using the changeset viewer.