IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40592


Ignore:
Timestamp:
Jan 2, 2019, 12:26:30 PM (8 years ago)
Author:
eugene
Message:

various text updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/release.2015/ps1.analysis/analysis.tex

    r40591 r40592  
    623623\label{sec:peaks}
    624624
    625 \note{add a ref to the Kaiser paper}
     625%% is there a ref I can use for the optimal detection? see SDSS docs?
    626626
    627627The sources are initially detected by finding the location of local
     
    12761276
    12771277\subsubsection{Radial Profile Wings}
     1278\label{sec:radial.profile}
    12781279
    12791280We attempt to measure the radial profile of sources in order to find
     
    13351336neighbors.
    13361337
    1337 \note{give a test example}
     1338% \note{give a test example}
    13381339
    13391340\subsubsection{Source Size Assessment}
     
    13791380
    13801381\subsubsection{Full PSF Model Fitting}
    1381 
    1382 % \note{review the discussion below}
    13831382
    13841383% gaussSigma = MOMENTS_GAUSS_SIGMA from recipe (initially)
     
    16091608%% In order for a source to be included in the extended source
    16101609%% analysis, it much have been detected in the 'bright source' analysis
    1611 %% step ($S/N > 20$, Section~\ref{sec:xxxx}).  \note{is this restriction
    1612 %% more or less severe than the mag limits?} 
     1610%% step ($S/N > 20$, Section~\ref{sec:xxxx}). 
    16131611
    16141612The extended source analysis is not applied to all object which may be
     
    18001798  in][regarding the masking of saturated pixels]{waters2017}. 
    18011799
    1802 % \note{need a discussion of the detector saturation behavior
    1803 
    1804 % \note{more detail below?} 
     1800% \note{need a discussion of the detector saturation behavior?}
    18051801
    18061802Before the non-linear fitting may be performed, it is necessary to
     
    18991895using an FFT-based convolution.
    19001896
    1901 \note{examples?  show timing comparisons?}
     1897% \note{examples?  show timing comparisons?}
    19021898
    19031899For the Exponential and DeVaucouleur fits, all parameters are fitted
     
    19781974minimize the impact of the stack image quality variations.
    19791975
    1980 In \code{psphotStack}, the stack analysis version of \code{psphot}, the 5 filter
    1981 images are processed together.  After the PSF models have been fitted
    1982 and a best set of galaxy models have been determined, three sets of
    1983 radial apertures are measured.  In the first set, the fluxes in the
    1984 radial apertures are measured using the raw stack images.  The centers
    1985 of the apertures for each source across the 5 filters are fixed so
    1986 that the pixels represent the equivalent portions of the same galaxy
    1987 for all 5 filters.  In this analysis, the best model for each source
    1988 is subtracted from the image pixels for all sources excluding the
    1989 source in consideration.  The 'best model' is determined based on the
    1990 minimum $\chi^2$ value for the model fits.
     1976In \code{psphotStack}, the stack analysis version of \code{psphot},
     1977the 5 filter images are processed together.  After the PSF models have
     1978been fitted and a best set of galaxy models have been determined,
     1979three sets of fixed circular apertures are measured.  In the first
     1980set, the fluxes in the apertures are measured using the raw stack
     1981images.  The centers of the apertures for each source across the 5
     1982filters are fixed so that the pixels represent the equivalent portions
     1983of the same galaxy for all 5 filters.  In this analysis, the best
     1984model for each source is subtracted from the image pixels for all
     1985sources excluding the source in consideration.  The 'best model' is
     1986determined based on the minimum $\chi^2$ value for the model fits.
     1987
     1988In addition to the raw fixed circular apertures, the stack images are
     1989each convolved with a circular Gaussian with $\sigma$ chosen to yield
     1990an image with a typical FWHM of 6 pixels (1.5\arcsec).  The full set
     1991of circular apertures are again measured on these convolved images.
     1992Again, the best source models are subtracted from the image for
     1993sources not being measured.  This subtraction includes the convolution
     1994to smooth the model to the effective FWHM of the convolved image.  The
     1995entire procedure is then repeated with a target FWHM of 8 pixels
     1996(2\arcsec).
    19911997
    19921998For the PV3 analysis of the $3\pi$ survey data, the fluxes are
    1993 measured for a set of 9 circular apertures with sizes chosen to match
    1994 the similar circular apertures measured by the SDSS analysis.   are measured
     1999measured for a set of up to 9 circular apertures with sizes chosen to
     2000match the similar circular apertures measured by the SDSS analysis.
     2001These apertures have radii of (4.16, 7.04, 12.0, 18.56, 29.76, 45.68,
     200272.80, 112.80, 176.88) pixels = (1.04, 1.76, 3.00, 4.64, 7.44, 11.42,
     200318.20, 28.20, 44.22) arcseconds.  If the object is too faint, the
     2004larger apertures will be largely noise and the computation is
     2005wasteful.  We only calculate the circular apertures out to the second
     2006aperture larger than the ``sky radius'' (defined in
     2007Section~\label{sec:radial.profile}), but we calculate photometry for
     2008at least the smallest 4 apertures.
    19952009
    19962010% at least out to aperture # RADIAL_AP_MIN (= 4), but no further than
    19972011% the aperture with radius > skyRadius
    19982012% last bin is first with inner radius >= skyRadius
    1999 
    2000 % \note{more discussion of the selection of the best model}. 
    2001 
    2002 In addition to the raw radial apertures, the stack images are each
    2003 convolved with a circular Gaussian with $\sigma$ chosen to yield an
    2004 image with a typical FWHM of 6\arcsec.  The full set of radial
    2005 apertures are again measured on these convolved images.  Again, the
    2006 best source models are subtracted from the image for sources not being
    2007 measured.  This subtraction includes the convolution to smooth the
    2008 model to the effective FWHM of the convolved image.  The entire
    2009 procedure is then repeated with a target FWHM of 8\arcsec. 
    2010 
    2011 % \note{is the first convolution done with the Alard-Lupton technique?}
    20122013
    20132014\subsection{Aperture Correction and Total Aperture Fluxes}
     
    21862187\end{table*}
    21872188
    2188 \subsection{Output Formats}
     2189% \subsection{Output Formats}
    21892190
    21902191\section{Forced Photometry Modes}
     
    23702371types of sources.  This model is fitted in the same portion of the
    23712372code which performs the unconvolved galaxy model analysis.
    2372 \note{describe the trailed analytical model}.
     2373% \note{describe the trailed analytical model}.
    23732374
    23742375In some cases, the stars in the two images may be somewhat offset.
     
    23812382negative images will have stellar profiles, but they will be offset
    23822383and will not subtract well.  The two components may not have the same
    2383 amplitude.  In theory, a PSF-dipole model could be used to fit these types of
    2384 sources, with free parameters of the two centroids and the two
    2385 fluxes.  In practice in \ippprog{psphot}, we use a number of non-parametric
    2386 pixel-level statistics in an attempt to detect these cases. 
    2387 
    2388 \note{list the parameters}
     2384amplitude.  In theory, a PSF-dipole model could be used to fit these
     2385types of sources, with free parameters of the two centroids and the
     2386two fluxes.  In practice in \ippprog{psphot}, we use a number of
     2387non-parametric pixel-level statistics in an attempt to detect these
     2388cases.
     2389
     2390For the difference images, we measure the following quantities for
     2391each of the detections, using only pixels within the photometry
     2392aperture.  First, we count the number of masked pixels (\code{nMask}),
     2393the number of pixels with positive flux (\code{nGood}), and the number
     2394of pixels with negative flux (\code{nBad}).  We also add the total
     2395flux in positive pixels (\code{fGood}) and total absolute value of the
     2396flux in negative pixels (\code{fBad}).  Using these values, We report
     2397the following quantities:
     2398\begin{itemize}
     2399\item \code{nGood}
     2400\item \code{fRatio} = \code{fGood} / (\code{fGood} + \code{fBad})
     2401\item \code{nRatioBad} = \code{nGood} / (\code{nGood} + \code{nBad})
     2402\item \code{nRatioMask} = \code{nGood} / (\code{nGood} + \code{nMask})
     2403\item \code{nRatioAll} = \code{nGood} / (\code{nGood} + \code{nMask} + \code{nBad})
     2404\end{itemize}
     2405
     2406We also attempt to place the difference image detections in the
     2407context of the input images, both the positive (subtrahend) and
     2408negative (minuend) images.  We identify the closest source in both the
     2409postive and negative images to the detection in the difference image,
     2410out to a maximum of \code{INPUT.MATCH.RADIUS} (= 50 pixels), but only
     2411if the source in those images has a signal-to-noise greater than
     2412\code{INPUT.MATCH.MIN.SN} (= 10).  If there is a close neighbor in the
     2413positive image, and the difference in the magnitudes of the source in
     2414that image and the source in the difference image is less than 5
     2415$\sigma$, then the bit \code{PM_SOURCE_MODE2_DIFF_SELF_MATCH =
     2416  0x00000800} is raised in \code{mask2} as these two detections are
     2417likely the same flux (\ie, detection of an isolated source). 
     2418
     2419If the difference image detection is matched to a nearby source in the
     2420positive image, then the signal-to-noise of the neighbor is saved as
     2421\code{DIFF_SN_P} and the distance in pixels between the difference
     2422detection and positive detection is saved as \code{DIFF_R_P}.
     2423Similarly, for a neighbor in the negative image, these values are
     2424saved as \code{DIFF_SN_M} and \code{DIFF_R_M}.  Additional
     2425\code{mask2} bits are also raised: if the difference detection is only
     2426associated with one of the two input images, then the bit
     2427\code{PM_SOURCE_MODE2_DIFF_WITH_SINGLE = 0x00000001} is raised, while
     2428a difference detection which has a match in both input images has
     2429\code{PM_SOURCE_MODE2_DIFF_WITH_DOUBLE = 0x00000002} raised.
    23892430
    23902431Comets appear in the difference images as a non-PSF sources.  Their
     
    24362477\end{document}
    24372478
    2438 \subsection{Output Options}
    2439 
    2440 % \note{need to discuss tests}
    2441 
    2442 % \note{need to discuss failings and holes}
    2443 
    24442479\begin{verbatim}
    24452480Configuration variables affecting the peak detection process:
Note: See TracChangeset for help on using the changeset viewer.