IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 22, 2004, 3:13:17 PM (22 years ago)
Author:
eugene
Message:

clarification of clipped and sample statistics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/pslib/psLibADD.tex

    r1028 r1070  
    1 %%% $Id: psLibADD.tex,v 1.18 2004-06-14 21:19:36 price Exp $
     1%%% $Id: psLibADD.tex,v 1.19 2004-06-23 01:13:17 eugene Exp $
    22\documentclass[panstarrs]{panstarrs}
    33
     
    3333
    3434\DocumentsInternal
    35 PSCD-430-xxx  &   PS-1 Design Reference Mission \\ \hline
    36 PSCD-430-004  &   Pan-STARRS IPP C Code Conventions \\ \hline
    37 PSCD-430-005  &   Pan-STARRS IPP SRS \\ \hline
    38 PSCD-430-006  &   Pan-STARRS IPP ADD \\ \hline
    39 PSCD-430-008  &   Pan-STARRS IPP Architecture SDR \\
     35PSDC-430-xxx  &   PS-1 Design Reference Mission \\ \hline
     36PSDC-430-004  &   Pan-STARRS IPP C Code Conventions \\ \hline
     37PSDC-430-005  &   Pan-STARRS IPP SRS \\ \hline
     38PSDC-430-006  &   Pan-STARRS IPP ADD \\ \hline
     39PSDC-430-008  &   Pan-STARRS IPP Architecture SDR \\
    4040\DocumentsExternal
    4141Posix Standard                      & Open Group Based Specifications Issue 6, IEEE Std 1003.1, 2003 \\ \hline
     
    193193
    194194\begin{enumerate}
    195 \item Compute the sample median.
     195\item Compute the sample median. The number of data points must be
     196      limited to 10000; the input dataset must be randomly subsampled
     197      if more data points are used.
    196198\item Compute the sample standard deviation.
    197199\item Use the sample median as the first estimator of the mean, $\bar{x}$.
     
    640642%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    641643
     644\subsubsection{Astronomical Image Manipulations}
     645
     646\paragraph{Image Cuts and Slices}
     647
     648Several functions specify operations which manipulate a collection of
     649pixels to return a statistic on the pixel collection.  In the simplest
     650case, these are trivial to define: if the boundaries of the region of
     651interest are specified along integral pixel coordinates, then the
     652pixels used to measure the statistic are always an exact integer.
     653This is the case for the function \code{psImageSlice} which requires a
     654starting coordinate which is an integer and a width in both dimensions
     655which is an integer.  For the case of the functions \code{psImageCut}
     656and \code{psImageRadialCut}, the situation is a bit more subtle.  In
     657both of these cases, the region is unlikely to contain only whole
     658pixels and some choices must be made.
     659
     660One posibility which we reject is to identify the fractional pixels
     661which are overlapped by the region of interest and add that fraction
     662of the pixel's flux when calculating the statistic of interest.  This
     663is computationally intensive, and not necessarily well defined for all
     664statistics. 
     665
     666In PSLib, we instead identify the pixels overlapped by the region, use
     667the complete set of pixel values, treating all pixels equally, and
     668renormalize as needed.  To perform this, the region of interest is
     669laid on top of the image pixels.  Any pixels which overlap the region
     670are identified as part of the input sample.  The statistic (ie, sample
     671mean, robust mode, etc), is then calculated on this collection of
     672pixels.  If the output statistic is an average value, the measured
     673value is reported.  If the output statistic is a sum value (sum of
     674counts, sum of pixels), then the value is renormalized by the ratio of
     675pixels used in the calculation to the pixel area of the region of
     676interest.  For example, if the sum within a radial aperture is
     677requested, the circle of the specified radius and center is placed on
     678the pixel grid.  Any pixels which touch the circle are then placed in
     679a list to be analysed.  The statistic of interest is the measured for
     680this collection of pixels.  In the case of a circular aperture which
     681is centered at the coordinate (2,2) and has a radius of 2, the number
     682of pixels which are touched by the circle is 16, while the total pixel
     683area of the circle is 12.57 square pixels.  In this case, the pixel
     684sum is renormalized by the ratio (12.57/16.00).
     685
    642686\subsubsection{Celestial Coordinate Conversions}
    643687
Note: See TracChangeset for help on using the changeset viewer.