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