Changeset 9608 for trunk/psModules/src/camera/pmHDUUtils.h
- Timestamp:
- Oct 16, 2006, 5:42:55 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmHDUUtils.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmHDUUtils.h
r7609 r9608 1 /// @file pmHDUUtils.h 2 /// 3 /// @brief Utility functions for working with an HDU 4 /// 5 /// @ingroup Camera 6 /// 7 /// @author Paul Price, IfA 8 /// 9 /// @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 10 /// @date $Date: 2006-10-17 03:42:55 $ 11 /// 12 /// Copyright 2005-2006 Institute for Astronomy, University of Hawaii 13 /// 14 1 15 #ifndef PM_HDU_UTILS_H 2 16 #define PM_HDU_UTILS_H … … 5 19 #include "pmHDU.h" 6 20 7 // Get the lowest HDU in the hierarchy, as supplied 8 pmHDU *pmHDUGetLowest(const pmFPA *fpa, // The FPA 9 const pmChip *chip, // The chip, or NULL 10 const pmCell *cell // The cell, or NULL 21 /// Get the lowest HDU in the hierarchy 22 /// 23 /// The lowest HDU in the hierarchy will be the one with the actual pixels (if all levels are supplied). 24 pmHDU *pmHDUGetLowest(const pmFPA *fpa, ///< The FPA 25 const pmChip *chip, ///< The chip, or NULL 26 const pmCell *cell ///< The cell, or NULL 11 27 ); 12 28 13 // Get the highest HDU in the hierarchy, as supplied 14 pmHDU *pmHDUGetHighest(const pmFPA *fpa, // The FPA 15 const pmChip *chip, // The chip, or NULL 16 const pmCell *cell // The cell, or NULL 29 /// Get the highest HDU in the hierarchy 30 /// 31 /// The highest HDU in the hierarchy will be the PHU (might get NULL if not all levels are supplied) 32 pmHDU *pmHDUGetHighest(const pmFPA *fpa, ///< The FPA 33 const pmChip *chip, ///< The chip, or NULL 34 const pmCell *cell ///< The cell, or NULL 17 35 ); 18 36 19 // Find the HDU in the FPA hierarchy20 pmHDU *pmHDUFromFPA(const pmFPA *fpa // FPA for which to find HDU37 /// Given an FPA, return the HDU (or NULL if all HDUs reside below the FPA) 38 pmHDU *pmHDUFromFPA(const pmFPA *fpa ///< FPA for which to find HDU 21 39 ); 22 pmHDU *pmHDUFromChip(const pmChip *chip // Chip for which to find HDU 40 41 /// Given a chip, return the HDU (or NULL if it resides below the chip) 42 pmHDU *pmHDUFromChip(const pmChip *chip ///< Chip for which to find HDU 23 43 ); 24 pmHDU *pmHDUFromCell(const pmCell *cell // Cell for which to find HDU 44 45 /// Given a cell, return the HDU 46 pmHDU *pmHDUFromCell(const pmCell *cell ///< Cell for which to find HDU 25 47 ); 26 pmHDU *pmHDUFromReadout(const pmReadout *readout // Readout for which to find HDU 48 49 /// Given a readout, return the HDU 50 pmHDU *pmHDUFromReadout(const pmReadout *readout ///< Readout for which to find HDU 27 51 ); 28 52 29 // Print details about an HDU 30 void pmHDUPrint(FILE *fd, // File descriptor to which to print 31 const pmHDU *hdu, // HDU to print 32 int level, // Level at which to print 33 bool header // Print header? 53 /// Print details about an HDU 54 /// 55 /// This is intended for testing or development use. Only works if tracing is enabled. 56 void pmHDUPrint(FILE *fd, ///< File descriptor to which to print 57 const pmHDU *hdu, ///< HDU to print 58 int level, ///< Level at which to print 59 bool header ///< Print header? 34 60 ); 35 61
Note:
See TracChangeset
for help on using the changeset viewer.
