IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3745


Ignore:
Timestamp:
Apr 21, 2005, 2:00:43 PM (21 years ago)
Author:
Paul Price
Message:

Restoring back to version 1.35 --- psPixels revised back.

Location:
trunk/doc/modules
Files:
2 edited

Legend:

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

    r3734 r3745  
    1 %%% $Id: ChangeLogSDRS.tex,v 1.16 2005-04-21 03:30:12 price Exp $
     1%%% $Id: ChangeLogSDRS.tex,v 1.17 2005-04-21 23:57:12 price Exp $
    22
    33\subsection{Changes from version 00 to version 01}
     
    5959
    6060\begin{itemize}
    61 \item Updated \code{psPixels} to \code{psArray} of \code{psPixelCoord}.
    6261\end{itemize}
  • trunk/doc/modules/ModulesSDRS.tex

    r3734 r3745  
    1 %%% $Id: ModulesSDRS.tex,v 1.36 2005-04-21 03:30:12 price Exp $
     1%%% $Id: ModulesSDRS.tex,v 1.37 2005-04-22 00:00:43 price Exp $
    22\documentclass[panstarrs]{panstarrs}
    33
     
    16351635\end{enumerate}
    16361636
    1637 The 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
    1640 rays according to the above criteria.
     1637The function shall return an array of \code{psPixels}, one for each of
     1638the input \code{images}, containing pixels that have been identified
     1639as cosmic rays according to the above criteria.
    16411640
    16421641If any of the input pointers are \code{NULL}, then the function shall
     
    16701669
    16711670    for (int i = 0; i < nImages; i++) {
    1672         psArray *blanks = NULL;        // List of blank pixels
     1671        psPixels *blanks = NULL;        // List of blank pixels
    16731672        transformed->data[i] = psImageTransform(NULL, &blanks, inputs->data[i],
    16741673                                                inputMask->data[i], inputMaskVal, NAN, skyToDetector,
     
    16911690                                        NULL, numIter, sigmaClip, combineStats); // Combined image
    16921691    psArray *bad = pmRejectPixels(inputs, rejected, NULL, skyToDetector, rejThreshold, gradLimit); // Bad pix
    1693     psArray *combinePixels = NULL;     // Pixels to combine
     1692    psPixels *combinePixels = NULL;     // Pixels to combine
    16941693    for (int i = 0; i < nImages; i++) {
    1695         psArray *badSource = psPixelsTransform(NULL, bad->data[i], skyToDetector); // Bad pixels on the input
     1694        psPixels *badSource = psPixelsTransform(NULL, bad->data[i], skyToDetector); // Bad pixels on the input
    16961695        psImage *badMask = psPixelsToMask(NULL, badSource, PS_MASK_COSMICRAY); // Mask image for the input
    16971696        (void)psBinaryOp(inputMask->data[i], inputMask->data[i], "|", badMask); // Put CRs into original mask
Note: See TracChangeset for help on using the changeset viewer.