IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 16, 2006, 5:42:55 PM (20 years ago)
Author:
Paul Price
Message:

Documenting pmHDUUtils.[ch]

File:
1 edited

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
    115#ifndef PM_HDU_UTILS_H
    216#define PM_HDU_UTILS_H
     
    519#include "pmHDU.h"
    620
    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).
     24pmHDU *pmHDUGetLowest(const pmFPA *fpa, ///< The FPA
     25                      const pmChip *chip, ///< The chip, or NULL
     26                      const pmCell *cell ///< The cell, or NULL
    1127                     );
    1228
    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)
     32pmHDU *pmHDUGetHighest(const pmFPA *fpa, ///< The FPA
     33                       const pmChip *chip, ///< The chip, or NULL
     34                       const pmCell *cell ///< The cell, or NULL
    1735                      );
    1836
    19 // Find the HDU in the FPA hierarchy
    20 pmHDU *pmHDUFromFPA(const pmFPA *fpa    // FPA for which to find HDU
     37/// Given an FPA, return the HDU (or NULL if all HDUs reside below the FPA)
     38pmHDU *pmHDUFromFPA(const pmFPA *fpa    ///< FPA for which to find HDU
    2139                   );
    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)
     42pmHDU *pmHDUFromChip(const pmChip *chip ///< Chip for which to find HDU
    2343                    );
    24 pmHDU *pmHDUFromCell(const pmCell *cell // Cell for which to find HDU
     44
     45/// Given a cell, return the HDU
     46pmHDU *pmHDUFromCell(const pmCell *cell ///< Cell for which to find HDU
    2547                    );
    26 pmHDU *pmHDUFromReadout(const pmReadout *readout // Readout for which to find HDU
     48
     49/// Given a readout, return the HDU
     50pmHDU *pmHDUFromReadout(const pmReadout *readout ///< Readout for which to find HDU
    2751                       );
    2852
    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.
     56void 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?
    3460               );
    3561
Note: See TracChangeset for help on using the changeset viewer.