IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 27, 2006, 7:12:19 PM (20 years ago)
Author:
Paul Price
Message:

Changes to pmHDU and pmFPAWrite to (hopefully) fix for the last time
this horrible problem of when we write that annoying blank PHU. When
we want to write something out, there are four usage cases for the
pm{FPA,Chip,Cell}Write functions:

(1) Write the blank PHU only: blank=true, recurse=false;
(2) Write an image HDU only: blank=false, recurse=false;
(3) Write an entire file: blank=true, recurse=true; and
(4) Write only image HDUs within the file: blank=false, recurse=true.

So here, the "blank" boolean indicates whether we should write a
"blank" HDU (which consists of a header only, i.e., no pixels) when we
come across it. "recurse" is self-explanatory.

File:
1 edited

Legend:

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

    r7017 r7717  
    66{
    77    psString extname;                   // The extension name
    8     bool phu;                           // Is this the FITS Primary Header Unit
     8    bool blankPHU;                      // Is this a blank FITS Primary Header Unit, i.e., no data?
    99    psMetadata *format;                 // The camera format
    1010    psMetadata *header;                 // The FITS header, or NULL if primary for FITS; or section info
Note: See TracChangeset for help on using the changeset viewer.