IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6853


Ignore:
Timestamp:
Apr 13, 2006, 5:01:25 PM (20 years ago)
Author:
Paul Price
Message:

Adding pmReadoutReadNext demonstration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/modules/CameraImages.tex

    r6423 r6853  
    455455components is used for the output.  The \code{fpa} should contain
    456456sufficient information with which to write the FITS images.
     457
     458\tbd{Following the reworking of the focal plane hierarchy in April
     4592006, much of this document needs to be updated.  I'm including the below
     460before I forget them --- PAP.}
     461
     462\begin{prototype}
     463bool pmReadoutReadNext(pmReadout *readout, psFits *fits, int z, int numRows);
     464bool pmCellRead(pmCell *cell, psFits *fits, psDB *db);
     465bool pmChipRead(pmChip *chip, psFits *fits, psDB *db);
     466bool pmFPARead(pmFPA *fpa, psFits *fits, psDB *db);
     467\end{prototype}
     468
     469\tbd{Explanation here.}
     470
     471Here's a demonstration of the use of \code{pmReadoutReadNext}:
     472\begin{verbatim}
     473    pmReadout *readout = pmReadoutAlloc(cell);
     474    for (int z = 0; pmReadoutReadNext(readout, inFile, z, 100); z++) {
     475        do {
     476            somethingWithTheReadout(readout);
     477        } while (pmReadoutReadNext(readout, inFile, z, 2048));
     478    }
     479    psFree(readout);
     480\end{verbatim}
     481
    457482
    458483\subsubsection{Mask and weight input/output}
Note: See TracChangeset for help on using the changeset viewer.