IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 13, 2006, 12:19:52 PM (20 years ago)
Author:
Paul Price
Message:

Changing pmFringesReadFits and pmFringesWriteFits into pmFringesFormat and pmFringesParse. Fringe data is read from FITS file, placed into the analysis metadata as FRINGE and FRINGE.HEADER using the pmFPAfile framework. pmFringeParse parses this into an array of pmFringeStats. pmFringeFormat formats the array of pmFringeStats into the analysis metadata for writing out by the pmFPAfile framework.

File:
1 edited

Legend:

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

    r9855 r9951  
    88/// @author Paul Price, IfA
    99///
    10 /// @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
    11 /// @date $Date: 2006-11-04 02:34:30 $
     10/// @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
     11/// @date $Date: 2006-11-13 22:19:52 $
    1212///
    1313/// Copyright 2004-2006 Institute for Astronomy, University of Hawaii
     
    7878                                        );
    7979
    80 
    81 
    8280//////////////////////////////////////////////////////////////////////////////////////////////////////////////
    8381// pmFringeStats
     
    147145/// Write an array of fringes measurements to a FITS table.
    148146///
    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).
    154 bool 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
     147/// Writes an array of fringe measurements for a cell as a FITS table in the analysis metadata.  The array of
     148/// fringe statistics must all use the same fringe regions (or there is no point in storing them all
     149/// together).  The header is supplemented with scalar values dX, dY, nX and nY (as PSFRNGDX, PSFRNGDY,
     150/// PSFRNGNX, PSFRNGNY) from the fringe regions, while the fringe coordinates and mask are written as a FITS
     151/// table (as x, y, mask, f, df; f and df are vectors).
     152bool pmFringesFormat(pmCell *cell,   ///< Cell for which to write
     153                     psMetadata *header, ///< Header, or NULL
     154                     const psArray *fringes ///< Array of pmFringeStats, all for the same pmFringeRegion
     155                    );
     156
     157/// Parses an array of fringes measurements from a FITS table.
     158///
     159/// The fringes for the cell are read from the FITS table in the analysis metadata.  The table provides the
     160/// region and the (possibly multiple) fringe statistics for that region.  The current extension is used if
     161/// the extension name is not provided.
     162psArray *pmFringesParse(pmCell *cell ///< Cell for which to read fringes
    158163                       );
    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.
    165 psArray *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                           );
    169164
    170165
Note: See TracChangeset for help on using the changeset viewer.