IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 5, 2015, 10:34:35 AM (11 years ago)
Author:
eugene
Message:

minor edits

File:
1 edited

Legend:

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

    r37893 r37897  
    282282\begin{itemize}
    283283\item {\bf Image preparation} Load data, characterize the image
    284   background, load or construct noise and mask images.
     284  background, load or construct variance and mask images.
    285285
    286286\item {\bf Initial object detection} Smooth, find peaks, measure basic
     
    301301
    302302\item {\bf Output} Write out objects in selected format, write out
    303   difference image, noise image, etc, as selected.
     303  difference image, variance image, etc, as selected.
    304304\end{itemize}
    305305
     
    317317defining which pixels are valid and which should be ignored.  The
    318318signal and variance images are represented internally as 32-bit
    319 floating point values.  The noise and mask images may either
     319floating point values.  The variance and mask images may either
    320320be provided by the user, or they may be automatically generated from
    321321the input image, based on configuration-defined values for the image
    322322gain, read-noise, saturation, and so forth.  For the function-call
    323323form of the program, the flux image is provided in the API, and
    324 references to the mask and noise are provided in the configuration
    325 information.  As in the stand-alone C-program, the noise and mask may
     324references to the mask and variance are provided in the configuration
     325information.  As in the stand-alone C-program, the variance and mask may
    326326be constructed automatically by PSPhot.
    327 
    328 \note{describe the use of the covariance image}
    329 \note{describe the difference between 'bad' and 'suspect' pixels}
    330327
    331328The mask is represented as 16-bit integer image in which a value of 0
     
    347344\code{XMIN}, \code{XMAX}, \code{YMIN}, \code{YMAX}.
    348345
    349 The noise image, if not supplied is constructed by default from the
     346PSPhot (and other IPP) functions understand two types of masked
     347pixels: ``bad'' and ``suspect''.  Bad pixels are those which should
     348not be used in any operations, while suspect pixels are those for
     349which the reported signal may be contaminated or biased, but may be
     350useable in some contexts.  For example, a pixel with poor charge
     351transfer efficiency is likely to be too untrustworthy to use in any
     352circumstance, while a pixel in which persistence ghosts have been
     353subtracted might be useful for detection or even analysis of brighter
     354sources.  \note{can I identify which functions respect which sets of masks}
     355
     356The variance image, if not supplied is constructed by default from the
    350357flux image using the configuration supplied values of \code{GAIN} and
    351358\code{READ\_NOISE} to calculate the appropriate Poisson statistics for
     
    355362if the input flux image is the result of an image stack with a
    356363variable number of input measurements per pixel (due to masking and
    357 dithering), it will be necessary to supply a noise image which
    358 accurately represents the noise as a function of position in the
     364dithering), the variance cannot be calculated from the signal image
     365alone.  It is necessary in such a case to supply a variance image which
     366accurately represents the variance as a function of position in the
    359367image.
     368
     369Some image processing steps introduce cross-correlation between pixel
     370fluxes.  An obvious case is smoothing, but geometric transformations
     371which redistibute fractional flux between neighboring pixels also
     372introduces cross-correlations.  In the noise model, it is necessary to
     373track the impact of the cross correlations on the per-pixel variance.
     374In the general case, this would require a complete covariance image,
     375consisting of the set of cross-correlated pixels for each image pixel.
     376Since a typical smoothing or warping operation may introduce
     377correlation between 25 - 100 neighboring pixels, the size of such a
     378covariance image is prohibitive.  In practice, however, there are two
     379extreme cases which generally are relevant.  \note{talk about the
     380  covar matrix for a PSF}
     381
     382\subsection{Background (Sky) Model}
    360383
    361384\subsection{Initial Object Detection}
     
    635658make a good guess for the centroid and shape parameters for the PSF
    636659models.  \note{still true? In order to minimize the impact of close
    637   neighbors, the noise values used in the fit are enhanced by a
     660  neighbors, the variance values used in the fit are enhanced by a
    638661  fraction of the deviation of the particular pixel value from the
    639662  model guess.}  Any objects which fail to converge in the fit are
    640663flagged as invalid.
    641664
    642 \note{does the noise enhancement introduce too much bias?}
     665\note{does the variance enhancement introduce too much bias?}
    643666
    644667\note{discuss the convergence criteria, model parameter guesses}
     
    813836process modifies the image pixels (removing the fitted flux, though
    814837not the locally fitted background) but does not modify the mask or the
    815 noise images.  The signal-to-noise ratio in the image after
     838variance images.  The signal-to-noise ratio in the image after
    816839subtraction represents the significance of the remaining flux.  If the
    817840subtractions are sufficiently accurate models of the PSF flux
     
    819842significance.  In practice the cores of bright stars are poorly
    820843represented and may have larger residual significance. \note{in future
    821 work, we may choose to enhance the noise to minimize detection of
     844work, we may choose to enhance the variance to minimize detection of
    822845objects in the residuals of brighter objects}.
    823846
     
    880903the image as is done for the successful PSF model fits.  Of course,
    881904the background flux is retained, with the result that only the object
    882 is subtracted from the image.  Again, the noise image is (currently)
     905is subtracted from the image.  Again, the variance image is (currently)
    883906not modified. 
    884907
     
    897920this stage, the new peaks are detected on the image with the bright
    898921objects subtracted.  In this pass, the peak detection process uses the
    899 noise image to test the validity of the individual peaks.  All peaks
     922variance image to test the validity of the individual peaks.  All peaks
    900923with a significance greater than a user-defined minimum threshold are
    901924accepted as objects of potential interest. 
     
    943966\note{In the ideal case, if we were only interested in detecting PSFs,
    944967and we had a good model for the PSF, we could optimally find the
    945 sources by smoothing the image and the noise image with the PSF model.
     968sources by smoothing the image and the variance image with the PSF model.
    946969\em write out the description of Nick's optimal PSF finding}.
    947970
     
    10751098\subsection{Difference Images}
    10761099
    1077 The noise map for a difference image must be generated from the two
     1100The variance map for a difference image must be generated from the two
    10781101images use to construct the difference.  Otherwise, the low sky level
    1079 will automatically result in inconsistent interpretation of the noise.
     1102will automatically result in inconsistent interpretation of the variance.
    10801103
    10811104For a difference image, both positive and negative objects will be
Note: See TracChangeset for help on using the changeset viewer.