IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 15, 2005, 3:56:17 PM (21 years ago)
Author:
eugene
Message:

minor changes

File:
1 edited

Legend:

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

    r4537 r5059  
    1 %%% $Id: psLibADD.tex,v 1.85 2005-07-12 04:18:56 eugene Exp $
     1%%% $Id: psLibADD.tex,v 1.86 2005-09-16 01:56:17 eugene Exp $
    22\documentclass[panstarrs]{panstarrs}
    33
     
    324324
    325325\begin{itemize}
    326 \item Perform the Robust Histogram Statistics algorithm above
    327 \item Smooth the resulting histogram with a Gaussian with $\sigma_s$ =
    328   1 bin.
     326\item Perform the Robust Histogram Statistics algorithm above,
     327  yielding an estimated standard deviation, $\sigma$.
     328
     329\item Generate a new histogram for the data sample setting a bin size,
     330  $d\sigma$, based on the estimated standard deviation and the number
     331  of data points in the inner 50 percentile ($N_{\rm 50}$) as follows:
     332
     333\begin{itemize}
     334\item let $dN = (\sigma / d\sigma) = 0.017 N_{50}$
     335\item limit $dN$ to the range 1 to 5.
     336\item set the bin size $d\sigma = \sigma / dN$
     337\end{itemize}
     338
     339\item Smooth the resulting histogram with a Gaussian with $\sigma_x$ =
     340  1 bin in this new histogram.
    329341\item Find the bin with the peak value in the range $\pm 2 \sigma$ of
    330342  the robust histogram median.
    331 \item Fit a Gaussian to the bins in the range $\pm 2 \sigma$ of
    332   the robust histogram median.
     343
     344\item Fit a Gaussian to the bins in the range $\pm 20 \sigma$ of the
     345  robust histogram median. Limit the fit range to the data range, if
     346  the latter is less then $\pm 20 \sigma$.  If the data range is small
     347  compared to the estimated $\sigma$, fit at least 4 bins of the
     348  hisgram centered on the robust histogram median.
     349
    333350\item The robust mean $\mbox{mean}_r$ is derived directly from the
    334351  fitted Gaussian mean. 
    335352\item The robust standard deviation, $\sigma_r$, is determined by
    336353  subtracting the smoothing scale in quadrature: $\sigma_r^2 =
    337   \sigma^2 - \sigma_s^2$
     354  \sigma_{\rm fit}^2 - \sigma_s^2$
    338355\end{itemize}
    339356
     357To explain the choice of the histogram bin size: a histogram of a
     358Gaussian distribution with bin size $d\sigma$ will have approximately
     359$(2.35 \sigma/d\sigma)$ bins covering the range LQ to UQ.  Thus, the
     360average number of points per bin ($N_{\rm bin}$) in that interval will
     361be $N_{50} / (2.35 \sigma/d\sigma)$.  The value of $d\sigma$ should be
     362no larger than $\sigma$, regardless of the number of points, to avoid
     363too much undersampling.  The value of $d\sigma$ should also be no
     364smaller than $5\sigma$, again regardless of the number of points, to
     365avoid excessive oversample.  Intermediate to those two values, the bin
     366size is choosen to keep about 25 points per bin.  Thus, the bin size
     367($d\sigma$) is set to about:
     368\[
     369d\sigma = 2.35 \sigma (N_{\rm bin}/N_{50}) = (25 \times 2.35) (\sigma/N_{50})
     370\]
     371With the limitation that $\sigma/d\sigma$ should be limited on one end
     372to the value 1, and the other to the value 5.  The easiest way to set
     373this limit is to define dN to be:
     374\[
     375dN = (\sigma / d\sigma) = (N_{50} / N_{\rm bin}) / 2.35 = 0.017 * N_{50}
     376\]
    340377\subsubsection{Histograms}
    341378
Note: See TracChangeset for help on using the changeset viewer.