IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

Documenting pmFPAWrite.[ch]

File:
1 edited

Legend:

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

    r7249 r9602  
     1/// @file pmFPAWrite.h
     2///
     3/// @brief Write FPA components to a FITS file
     4///
     5/// @ingroup Camera
     6///
     7/// @author Paul Price, IfA
     8///
     9/// @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     10/// @date $Date: 2006-10-17 03:16:59 $
     11///
     12/// Copyright 2005-2006 Institute for Astronomy, University of Hawaii
     13///
     14
    115#ifndef PM_FPA_WRITE_H
    216#define PM_FPA_WRITE_H
    317
    4 #include "pslib.h"
     18#include <pslib.h>
    519#include "pmFPA.h"
    620
    7 bool pmReadoutWriteNext(pmReadout *readout, // Readout to write
    8                         psFits *fits,   // FITS file to which to write
    9                         int z           // Image plane to write
     21
     22/// Write a readout incrementally
     23///
     24/// Writes a readout to a FITS file, perhaps incrementally (if it has been read in using pmReadoutReadNext).
     25/// Relies on the FITS header to specify how many image planes there are, and the width and height.
     26bool pmReadoutWriteNext(pmReadout *readout, ///< Readout to write
     27                        psFits *fits,   ///<  FITS file to which to write
     28                        int z           ///<  Image plane to write
    1029                       );
    1130
    12 bool pmCellWrite(pmCell *cell,          // Cell to write
    13                  psFits *fits,          // FITS file to which to write
    14                  psDB *db,              // Database handle for "concepts" update
    15                  bool pixels            // Write the pixels, or only the PHU header?
     31/// Write a cell to a FITS file
     32///
     33/// Generates CELL.TRIMSEC, CELL.BIASSEC and the HDU pixels if required.  A blank (i.e., image-less header) is
     34/// written only if specifically requested.  Writes the concepts to the various locations, and then the HDU to
     35/// the FITS file.  This function should be called at the beginning of the output cell loop with blank=true in
     36/// order to produce the correct file structure.
     37bool pmCellWrite(pmCell *cell,          ///<  Cell to write
     38                 psFits *fits,          ///<  FITS file to which to write
     39                 psDB *db,              ///<  Database handle for "concepts" update
     40                 bool blank             ///<  Write a blank PHU?
    1641                );
    17 bool pmChipWrite(pmChip *chip,          // Chip to write
    18                  psFits *fits,          // FITS file to which to write
    19                  psDB *db,              // Database handle for "concepts" update
    20                  bool pixels,           // Write the pixels, or only the PHU header?
    21                  bool recurse           // Recurse to lower levels?
     42
     43/// Write a chip to a FITS file
     44///
     45/// Generates CELL.TRIMSEC, CELL.BIASSEC and the HDU pixels if required.  A blank (i.e., image-less header) is
     46/// written only if specifically requested.  Writes the concepts to the various locations, and then the HDU to
     47/// the FITS file, optionally recursing to lower levels.  This function should be called at the beginning of
     48/// the output chip loop with blank=true and recurse=false in order to produce the correct file structure.
     49bool pmChipWrite(pmChip *chip,          ///<  Chip to write
     50                 psFits *fits,          ///<  FITS file to which to write
     51                 psDB *db,              ///<  Database handle for "concepts" update
     52                 bool blank,            ///<  Write a blank PHU?
     53                 bool recurse           ///<  Recurse to lower levels?
    2254                );
    23 bool pmFPAWrite(pmFPA *fpa,             // FPA to write
    24                 psFits *fits,           // FITS file to which to write
    25                 psDB *db,               // Database handle for "concepts" update
    26                 bool pixels,            // Write the pixels, or only the PHU header?
    27                 bool recurse            // Recurse to lower levels?
     55/// Write a cell to a FITS file
     56///
     57/// Generates CELL.TRIMSEC, CELL.BIASSEC and the HDU pixels if required.  A blank (i.e., image-less header) is
     58/// written only if specifically requested.  Writes the concepts to the various locations, and then the HDU to
     59/// the FITS file, optionally recursing to lower levels.  This function should be called at the beginning of
     60/// the output FPA loop with blank=true and recurse=false in order to produce the correct file structure.
     61bool pmFPAWrite(pmFPA *fpa,             ///<  FPA to write
     62                psFits *fits,           ///<  FITS file to which to write
     63                psDB *db,               ///<  Database handle for "concepts" update
     64                bool blank,             ///<  Write a blank PHU?
     65                bool recurse            ///<  Recurse to lower levels?
    2866               );
    2967
Note: See TracChangeset for help on using the changeset viewer.