IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 27, 2007, 4:14:42 PM (19 years ago)
Author:
Paul Price
Message:

Fixing up function to read and interpret orthogonal transfer shifts table. Compiles, but not yet tested.

File:
1 edited

Legend:

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

    r12010 r12098  
    44#include <pslib.h>
    55#include "pmFPA.h"
    6 #include "pmFPAview.h"
    76
    8 /// Read any orthogonal transfer shifts extension in a FITS file
     7/// Read orthogonal transfer shifts table for a cell
    98///
    10 /// Given a FITS file (typically newly opened ready for processing), this function searches for the extension
    11 /// specified by the SHIFTS keyword within the FILE information in the camera format.  If the extension is
    12 /// found, the shifts table is read and translated into kernels which are placed in the analysis metadata of
    13 /// each cell.
    14 bool pmShiftsRead(psFits *fits,         ///< FITS file in which to search for OT shifts extension
    15                   pmFPA *fpa,           ///< FPA containing the cells that own the shifts
    16                   const pmFPAview *phuView ///< View of the PHU; specifies which chip(s) owns the cells
    17     );
     9/// Given a cell, this function searches for the orthogonal transfer shifts for this cell in the supplied FITS
     10/// file.  The FITS extension containing the shifts table is specified by the SHIFTS keyword within the FILE
     11/// information in the camera format.  If the extension is found, the shifts table is read and translated into
     12/// kernels which are placed in the analysis metadata of each cell.  Note that this operation is performed on
     13/// all cells within the FITS file (or at least, those contained within the shifts table), not just the cell
     14/// provided --- if we have to read the whole table, we may as well translate the whole lot.  If a kernel is
     15/// already present in the cell analysis metadata, the function returns true without doing any work.
     16bool pmShiftsRead(pmCell *cell,         ///< Cell for which to search for shifts
     17                  psFits *fits          ///< FITS file in which to search for OT shifts extension
     18                  );
    1819
    1920
Note: See TracChangeset for help on using the changeset viewer.