Changeset 3745
- Timestamp:
- Apr 21, 2005, 2:00:43 PM (21 years ago)
- Location:
- trunk/doc/modules
- Files:
-
- 2 edited
-
ChangeLogSDRS.tex (modified) (2 diffs)
-
ModulesSDRS.tex (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/modules/ChangeLogSDRS.tex
r3734 r3745 1 %%% $Id: ChangeLogSDRS.tex,v 1.1 6 2005-04-21 03:30:12 price Exp $1 %%% $Id: ChangeLogSDRS.tex,v 1.17 2005-04-21 23:57:12 price Exp $ 2 2 3 3 \subsection{Changes from version 00 to version 01} … … 59 59 60 60 \begin{itemize} 61 \item Updated \code{psPixels} to \code{psArray} of \code{psPixelCoord}.62 61 \end{itemize} -
trunk/doc/modules/ModulesSDRS.tex
r3734 r3745 1 %%% $Id: ModulesSDRS.tex,v 1.3 6 2005-04-21 03:30:12price Exp $1 %%% $Id: ModulesSDRS.tex,v 1.37 2005-04-22 00:00:43 price Exp $ 2 2 \documentclass[panstarrs]{panstarrs} 3 3 … … 1635 1635 \end{enumerate} 1636 1636 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. 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. 1641 1640 1642 1641 If any of the input pointers are \code{NULL}, then the function shall … … 1670 1669 1671 1670 for (int i = 0; i < nImages; i++) { 1672 ps Array*blanks = NULL; // List of blank pixels1671 psPixels *blanks = NULL; // List of blank pixels 1673 1672 transformed->data[i] = psImageTransform(NULL, &blanks, inputs->data[i], 1674 1673 inputMask->data[i], inputMaskVal, NAN, skyToDetector, … … 1691 1690 NULL, numIter, sigmaClip, combineStats); // Combined image 1692 1691 psArray *bad = pmRejectPixels(inputs, rejected, NULL, skyToDetector, rejThreshold, gradLimit); // Bad pix 1693 ps Array*combinePixels = NULL; // Pixels to combine1692 psPixels *combinePixels = NULL; // Pixels to combine 1694 1693 for (int i = 0; i < nImages; i++) { 1695 ps Array*badSource = psPixelsTransform(NULL, bad->data[i], skyToDetector); // Bad pixels on the input1694 psPixels *badSource = psPixelsTransform(NULL, bad->data[i], skyToDetector); // Bad pixels on the input 1696 1695 psImage *badMask = psPixelsToMask(NULL, badSource, PS_MASK_COSMICRAY); // Mask image for the input 1697 1696 (void)psBinaryOp(inputMask->data[i], inputMask->data[i], "|", badMask); // Put CRs into original mask
Note:
See TracChangeset
for help on using the changeset viewer.
