IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 1, 2006, 12:39:53 PM (20 years ago)
Author:
Paul Price
Message:

Adding functions to read/write an array of fringe statistics to a single table. This allows us to use multiple readouts as the different fringe components, and then add a table containing the fringe measurements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/detrend/pmFringeStats.h

    r9615 r9822  
    88/// @author Paul Price, IfA
    99///
    10 /// @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
    11 /// @date $Date: 2006-10-17 22:03:32 $
     10/// @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
     11/// @date $Date: 2006-11-01 22:39:53 $
    1212///
    1313/// Copyright 2004-2006 Institute for Astronomy, University of Hawaii
     
    142142
    143143//////////////////////////////////////////////////////////////////////////////////////////////////////////////
     144// Input/output for multiple pmFringeStats
     145//////////////////////////////////////////////////////////////////////////////////////////////////////////////
     146
     147/// Write an array of fringes measurements to a FITS table.
     148///
     149/// Writes an array of fringe measurements for the same FPA component as a FITS table.  The array of fringe
     150/// statistics must all use the same fringe regions (or there is no point in storing them all together).  The
     151/// header is supplemented with scalar values dX, dY, nX and nY (as PSFRNGDX, PSFRNGDY, PSFRNGNX, PSFRNGNY)
     152/// from the fringe regions, while the fringe coordinates and mask are written as a FITS table (as x, y,
     153/// mask, f, df; f and df are vectors).
     154bool pmFringesWriteFits(psFits *fits,    ///< FITS file to which to write
     155                        psMetadata *header, ///< Header, or NULL
     156                        const psArray *fringes, ///< Array of pmFringeStats, all for the same pmFringeRegion
     157                        const char *extname ///< Extension name for table
     158                       );
     159
     160/// Reads an array of fringes measurements from a FITS table.
     161///
     162/// The fringes are read from the FITS file, at the given extension name.  The table provides the region and
     163/// the (possibly multiple) fringe statistics for that region.  The current extension is used if the extension
     164/// name is not provided.
     165psArray *pmFringesReadFits(psMetadata *header, ///< Header to read, or NULL
     166                           psFits *fits,///< FITS file from which to read
     167                           const char *extname ///< Extension name to read, or NULL
     168                          );
     169
     170
     171//////////////////////////////////////////////////////////////////////////////////////////////////////////////
    144172// pmFringeScale
    145173//////////////////////////////////////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.