Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

pmHDU.h

Go to the documentation of this file.
00001 #ifndef PM_HDU_H
00002 #define PM_HDU_H
00003 
00004 // An instance of the FITS Header Data Unit
00005 typedef struct
00006 {
00007     psString extname;                   // The extension name
00008     bool blankPHU;                      // Is this a blank FITS Primary Header Unit, i.e., no data?
00009     psMetadata *format;                 // The camera format
00010     psMetadata *header;                 // The FITS header, or NULL if primary for FITS; or section info
00011     psArray *images;                    // The pixel data
00012     psArray *weights;                   // The pixel data
00013     psArray *masks;                     // The pixel data
00014     psArray *table;                     // The table data
00015 }
00016 pmHDU;
00017 
00018 
00019 // Allocators
00020 pmHDU *pmHDUAlloc(const char *extname);
00021 
00022 // Read the header
00023 bool pmHDUReadHeader(pmHDU *hdu,        // HDU for which to read header
00024                      psFits *fits       // FITS file from which to read
00025                     );
00026 
00027 // Read the HDU
00028 bool pmHDURead(pmHDU *hdu,              // HDU to read
00029                psFits *fits             // FITS file to read from
00030               );
00031 
00032 // Write the HDU
00033 bool pmHDUWrite(pmHDU *hdu,             // HDU to write
00034                 psFits *fits            // FITS file to write to
00035                );
00036 
00037 #endif

Generated on Mon Jul 3 14:24:27 2006 for Pan-STARRS Module Library by  doxygen 1.4.4