IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 31, 2004, 10:29:31 PM (22 years ago)
Author:
eugene
Message:

cleaned up the cover pages

File:
1 edited

Legend:

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

    r347 r356  
    1 %%% $Id: psLibADD.tex,v 1.9 2004-04-01 04:40:14 eugene Exp $
     1%%% $Id: psLibADD.tex,v 1.10 2004-04-01 08:29:31 eugene Exp $
    22\documentclass[panstarrs]{panstarrs}
    33
     
    1818\maketitle
    1919
    20 
    2120% -- Revision History --
    2221% provide explicit values for the old versions
     
    2827\RevisionsEnd
    2928
    30 \pagebreak
     29%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     30
     31\DocumentsInternal
     32PSCD-430-xxx  &   PS-1 Design Reference Mission \\ \hline
     33PSCD-430-004  &   Pan-STARRS IPP C Code Conventions \\ \hline
     34PSCD-430-005  &   Pan-STARRS IPP SRS \\ \hline
     35PSCD-430-006  &   Pan-STARRS IPP ADD \\ \hline
     36PSCD-430-008  &   Pan-STARRS IPP Architecture SDR \\
     37\DocumentsExternal
     38Posix Standard & Open Group Based Specifications Issue 6, IEEE Std 1003.1, 2003 \\
     39\DocumentsEnd
     40
    3141\tableofcontents
    32 
    3342\pagebreak
    3443\pagenumbering{arabic}
    3544
    36 \section{PanSTARRS Library PSLib}
     45\section{Pan-STARRS Library PSLib}
    3746
    3847\subsection{Math Utilities}
    3948
    40 \subsection{Sorting}
     49\subsubsection{Sorting}
    4150
    4251A variety of sorting algorithms exist, with a wide range in speed for
     
    6170function \code{psSortIndex} shall return an integer index to the
    6271sequence of the input array without overwriting the input array.
    63 Given the following line of code, \code{out = psSortIndex (NULL,
    64 &in);}, the elements of the array \code{out} are in the sequence
    65 \code{in.arr[out->arr[0]]} to \code{in.arr[out->arr[in.n - 1]]}.
    66 
    67 \subsection{Smoothing: Boxcar and Gaussian}
     72Given the following line of code:
     73\begin{verbatim}
     74out = psSortIndex (NULL,&in);}
     75\end{verbatim}
     76the elements of the array \code{out} are in the sequence
     77\code{in.arr[out->arr[0]]} to \code{in.arr[out->arr[in.n - 1]]}.
     78
     79\subsubsection{Smoothing: Boxcar and Gaussian}
    6880\label{smooth}
    6981
     
    92104\end{equation}
    93105
    94 \subsection{Statistics}
     106\subsubsection{Statistics}
    95107
    96108The general statistics function \code{psStats} performs a variety of
     
    105117sample and robust estimators.
    106118
    107 \subsubsection{Sample Statistics}
     119\paragraph{Sample Statistics}
    108120
    109121We define the following statistical terms, assuming there is a set of
    110122data elements $x_i$.
    111123
    112 \paragraph{Mean}
     124\subparagraph{Mean}
    113125
    114126The mean is defined as:
     
    117129\end{equation}
    118130
    119 \paragraph{Median}
     131\subparagraph{Median}
    120132
    121133The median is defined as the value for which 50\% of the data values
     
    127139robust median is quicker and more accurate. 
    128140
    129 \paragraph{Upper and Lower Quartiles}
     141\subparagraph{Upper and Lower Quartiles}
    130142
    131143The upper and lower quartiles ($U_{\frac{1}{4}}$ and
     
    141153are quicker and more accurate.
    142154
    143 \paragraph{Standard Deviation}
     155\subparagraph{Standard Deviation}
    144156
    145157The standard deviation of the sample is given by:
     
    156168\end{equation}
    157169
    158 \subsubsection{Clipped Statistics}
     170\paragraph{Clipped Statistics}
    159171
    160172The clipped statistics are used to determine the mean and standard
     
    186198\end{enumerate}
    187199
    188 \subsubsection{Robust Statistics}
     200\paragraph{Robust Statistics}
    189201
    190202The robust version of the statistics provides estimators of basic
     
    232244
    233245
    234 \subsection{Matrix Operations}
     246\subsubsection{Matrix Operations}
    235247
    236248In this section, we define the linear algebra operations performed on
     
    251263\code{gsl_linalg_LU_decomp}.
    252264
    253 \subsubsection{LU Decomposition}
     265\paragraph{LU Decomposition}
    254266\label{LUdecomp}
    255267
     
    292304\end{equation}
    293305
    294 \subsubsection{Calculate a matrix determinant}
     306\paragraph{Calculate a matrix determinant}
    295307
    296308The determinant $D$ of a matrix $a_{ij}$ is calculated from the
     
    308320shall be used.
    309321
    310 \subsubsection{Solving a Linear Equation}
     322\paragraph{Solving a Linear Equation}
    311323
    312324The LU decomposition of a matrix may be used to solve the
     
    328340\end{eqnarray}
    329341
    330 \subsubsection{Invert a matrix}
     342\paragraph{Invert a matrix}
    331343
    332344Inversion of a matrix using the LU decomposition is performed by
     
    337349operation shall be implemented using the GSL function \code{gsl_linalg_LU_invert}.
    338350
    339 \subsubsection{Perform matrix addition, subtraction and multiplication}
     351\paragraph{Perform matrix addition, subtraction and multiplication}
    340352
    341353Matrix binary arithmetic operations differ from image binary
     
    361373\times$.
    362374
    363 \subsubsection{Transpose a matrix}
     375\paragraph{Transpose a matrix}
    364376
    365377The transpose of a matrix is simply the reorganization of the matrix
     
    374386where $M_{ij}$ is the matrix to be transposed.
    375387
    376 \subsubsection{Convert a matrix to a vector}
     388\paragraph{Convert a matrix to a vector}
    377389
    378390Matrix-to-vector conversion is only defined for a matrix that has a
     
    383395matrix is converted to a \code{PS_DIMEN_TRANV}-type vector.
    384396
    385 \subsection{Fitting}
    386 
    387 \subsubsection{Chi-squared}
     397\subsubsection{Fitting}
     398
     399\paragraph{Chi-squared}
    388400\label{chisq}
    389401
     
    396408\end{equation}
    397409
    398 \subsubsection{General Polynomial Fitting}
     410\paragraph{General Polynomial Fitting}
    399411
    400412Given a set of data values $y_i$ with errors $\sigma_i$, related to
     
    421433(section~\ref{LUdecomp}).
    422434
    423 \subsubsection{Non-linear Fitting: Levenberg-Marquardt Method}
     435\paragraph{Non-linear Fitting: Levenberg-Marquardt Method}
    424436
    425437\TBD{describe LMM for psMinimize and psMinimizeChi2}
     
    497509%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    498510
    499 \subsection{Polynomials}
     511\subsubsection{Polynomials}
    500512
    501513We will employ Chebyshev polynomials (NR \S 5.8) to approximate functions:
     
    534546$-1 < x < 1$.
    535547
    536 \subsubsection{Multi-dimensional polynomials}
     548\paragraph{Multi-dimensional polynomials}
    537549
    538550Multi-dimensional polynomials shall be composed of multiplications of
     
    540552the appropriate rank.
    541553
    542 
    543 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    544 
    545 \subsection{(Fast) Fourier Transforms}
     554%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     555
     556\subsubsection{(Fast) Fourier Transforms}
    546557
    547558(Fast) Fourier Transforms (FFTs) shall be implemented using the
     
    549560library}.
    550561
    551 \subsubsection{FFTW Plans}
     562\paragraph{FFTW Plans}
    552563
    553564FFTW requires the user to create a ``plan'' for each transform size,
     
    566577saved at the conclusion (\code{psFFTDone()}).
    567578
    568 \subsubsection{Function mapping}
     579\paragraph{Function mapping}
    569580
    570581The forward and reverse transforms call the corresponding
     
    583594place to avoid the need to pad the input array to hold the output.
    584595
    585 \subsubsection{More Complicated Functions}
     596\paragraph{More Complicated Functions}
    586597
    587598The \code{psFFTFilter()} and \code{psFFTFilterComplex()} functions provide
     
    665676\end{eqnarray}
    666677
    667 \subsubsubsection{Gnomonic}
     678\paragraph{Gnomonic}
    668679
    669680The Gnomonic projection (``TAN'') is a zenithal projection.
     
    674685\end{eqnarray}
    675686
    676 \subsubsubsection{Orthographic}
     687\paragraph{Orthographic}
    677688
    678689The Orthographic projection (``SIN'') is a zenithal projection.
     
    683694\end{eqnarray}
    684695
    685 \subsubsubsection{Cartesian}
     696\paragraph{Cartesian}
    686697
    687698The Cartesian projection (``CAR'') is a very simple cylindrical projection.
     
    692703\end{eqnarray}
    693704
    694 \subsubsubsection{Mercator}
     705\paragraph{Mercator}
    695706
    696707The Mercator projection (``MER'') is a cylindrical projection.
     
    702713\end{eqnarray}
    703714
    704 \subsubsubsection{Hammer-Aitoff}
     715\paragraph{Hammer-Aitoff}
    705716
    706717The Hammer-Aitoff projection is a general projection, and is defined:
     
    722733%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    723734
    724 \subsection{Tangent Plane to Sky}
     735\subsubsection{Tangent Plane to Sky}
    725736
    726737Mappings between the tangent plane and the sky will be implemented
     
    755766%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    756767
    757 \subsection{The One-to-Many Problem with Mosaic Cameras}
     768\subsubsection{The One-to-Many Problem with Mosaic Cameras}
    758769
    759770The \PS{} focal plane consists of several chips, so we will often want
     
    777788%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    778789
    779 \subsection{General Astronomy Functions}
     790\subsubsection{General Astronomy Functions}
    780791
    781792The airmass is calculated using the SLALIB function \code{sla_AIRMAS}.
     
    807818%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    808819
    809 \subsection{Positions of Major Solar System Objects}
     820\subsubsection{Positions of Major Solar System Objects}
    810821
    811822The SLALIB function \code{SLA_RDPLAN} returns the apparent position of
     
    818829\rightarrow \alpha + 12 {\rm hrs}$ and $\delta \rightarrow -\delta$).
    819830
    820 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    821 
    822 \subsection{Offsets}
    823 
    824 
    825 
    826 
    827 
    828 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    829 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    830 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    831 
     831%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     832
     833\subsubsection{Offsets}
     834
     835
     836
     837
     838
     839%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     840%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     841%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     842
     843
     844\end{document}
    832845
    833846\section{Modules}
     
    866879\section{Architectual Components}
    867880
    868 \end{document}
Note: See TracChangeset for help on using the changeset viewer.