IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 20, 2005, 5:30:12 PM (21 years ago)
Author:
Paul Price
Message:

Changed psPixels to psArrays of psPixelCoord

File:
1 edited

Legend:

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

    r3427 r3734  
    1 %%% $Id: ModulesSDRS.tex,v 1.35 2005-03-15 23:19:36 price Exp $
     1%%% $Id: ModulesSDRS.tex,v 1.36 2005-04-21 03:30:12 price Exp $
    22\documentclass[panstarrs]{panstarrs}
    33
     
    16351635\end{enumerate}
    16361636
    1637 The function shall return an array of \code{psPixels}, one for each of
    1638 the input \code{images}, containing pixels that have been identified
    1639 as cosmic rays according to the above criteria.
     1637The function shall return a \code{psArray} of \code{psArray}s of
     1638\code{psPixelCoord}, one \code{psArray} for each of the input
     1639\code{images}, containing pixels that have been identified as cosmic
     1640rays according to the above criteria.
    16401641
    16411642If any of the input pointers are \code{NULL}, then the function shall
     
    16691670
    16701671    for (int i = 0; i < nImages; i++) {
    1671         psPixels *blanks = NULL;        // List of blank pixels
     1672        psArray *blanks = NULL;        // List of blank pixels
    16721673        transformed->data[i] = psImageTransform(NULL, &blanks, inputs->data[i],
    16731674                                                inputMask->data[i], inputMaskVal, NAN, skyToDetector,
     
    16901691                                        NULL, numIter, sigmaClip, combineStats); // Combined image
    16911692    psArray *bad = pmRejectPixels(inputs, rejected, NULL, skyToDetector, rejThreshold, gradLimit); // Bad pix
    1692     psPixels *combinePixels = NULL;     // Pixels to combine
     1693    psArray *combinePixels = NULL;     // Pixels to combine
    16931694    for (int i = 0; i < nImages; i++) {
    1694         psPixels *badSource = psPixelsTransform(NULL, bad->data[i], skyToDetector); // Bad pixels on the input
     1695        psArray *badSource = psPixelsTransform(NULL, bad->data[i], skyToDetector); // Bad pixels on the input
    16951696        psImage *badMask = psPixelsToMask(NULL, badSource, PS_MASK_COSMICRAY); // Mask image for the input
    16961697        (void)psBinaryOp(inputMask->data[i], inputMask->data[i], "|", badMask); // Put CRs into original mask
Note: See TracChangeset for help on using the changeset viewer.