Changeset 40077
- Timestamp:
- Jul 5, 2017, 5:19:05 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/doc/release.2015/ps1.analysis/analysis.tex (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/release.2015/ps1.analysis/analysis.tex
r40069 r40077 1878 1878 \section{Forced Photometry Modes} 1879 1879 1880 \note{too much detail in this section; balance relative to psphot} 1881 1882 Traditionally, projects which use multiple exposures to increase the 1883 depth and sensitivity of the observations have generated something 1884 equivalent to the \ippstage{stack} images produced by the IPP analysis 1885 (c.f, CFHT Legacy survey, COSMOS, etc). In theory, the photometry of 1886 the \ippstage{stack} images produces the ``best'' photometry catalog, 1887 with best sensitivity and the best data quality at all magnitudes. In 1888 practice, these images have some significant limitations due to the 1889 difficulty of modelling the PSF variations. This difficulty is 1890 particularly severe for the Pan-STARRS $3\pi$ survey stacks due to the 1891 combination of the substantial mask fraction of the individual input 1892 exposures, the large instrinsic image quality variations within a 1893 single exposure, and the wide range of image quality conditions under 1894 which data were obtained and used to generate the $3\pi$ PV3 stacks. 1895 1896 For any specific stack, the point spread function at a particular 1897 location is the result of the combination of the point spread 1898 functions for those individual exposures which went into the stack at 1899 that point. Because of the high mask fraction, the exposures which 1900 contributed to pixels at one location may be somewhat different just a 1901 few tens of pixels away. In the end, the \ippstage{stack} images have 1902 a effective point spread function which is not just variable, but 1903 changing significantly on small scales in a highly textured fashion. 1904 1905 Any measurement which relies on a good knowledge of the PSF at the 1906 location of an object either needs to determine the PSF variations 1907 present in the \ippstage{stack} image, or the measurement will be 1908 somewhat degraded. The highly textured PSF variations make this a 1909 very challenging problem: not only would such a PSF model require an 1910 unusually fine-grained PSF model, there would likely not be enough PSF 1911 stars in a given \ippstage{stack} image to determine the model at the 1912 resolution required. The IPP photometry analysis code uses a PSF 1913 model with 2D variations using a grid of at most $6\times 6$ samples 1914 per skycell, a number reasonably well-matched to the density of stars 1915 at most moderate Galactic latitudes. This scale is far too large to 1916 track the fine-grained changes apparent in the stack images. 1917 1918 Thus PSF photometry as well as convolved galaxy models in the stack 1919 are degraded by the PSF variations. Aperture-like measurements are in 1920 general not as affected by the PSF variations, as long as the aperture 1921 in question is large compared to the FWHM of the PSF. 1922 1923 %% The IPP team initially explored the option of convolving each input 1924 %% warp to a single target PSF chosen to match the worst of the input 1925 %% images for a given stack. 1926 1927 The PV3 $3\pi$ analysis solves this problem by using the sources 1928 detected in the stack images and performing forced photometry on the 1929 individual warp images used to generate the stack. This 1930 \ippstage{fullforce} analysis is performed on all warps for a single 1931 skycell and filter as a single unit, as this matches the arrangement 1932 of the input source catalog from the \ippstage{skycal} stage. When 1933 processing is queued for this stage, an entry is added to the 1934 \ippdbtable{fullForceRun} primary database table linking to the 1935 specific \ippdbcolumn{skycal\_id} entry that will be used as the 1936 catalog for the photometry. The \ippdbcolumn{warp\_id} values for the 1937 input \ippstage{warp} stage images that contributed to the 1938 \ippstage{stack} associated with that \ippdbcolumn{skycal\_id} are 1939 then added to the \ippdbtable{fullForceInput} table, linked to the 1940 primary table by the \ippdbcolumn{ff\_id} identifier. The individual 1941 jobs for each warp are then run, which passes the \ippstage{warp} 1942 stage image products along with the \ippstage{skycal} catalog to the 1943 \ippprog{psphotFullForce} program. 1944 1945 In this program, the positions of sources are loaded from the input 1946 catalog. PSF stars are pre-identified \note{how?} and a PSF model 1947 generated for each \ippstage{warp} image based on those stars, using 1948 the same stars for all warps to the extent possible (PSF stars which 1949 are excessively masked on a particular image are not used to model the 1950 PSF). \note{this doesn't seem correct, as each warp is run 1951 independently. EAM: not true!} The PSF model is fitted to all of the known source 1952 positions in the warp images. Aperture magnitudes, Kron magnitudes, 1953 and moments are also measured at this stage for each warp. Note that 1954 the flux measurement for a faint, but significant, source from the 1955 stack image may be at a low significance (less than the $5\sigma$ 1956 criterion used when the photometry is not run in this forced mode) in 1957 any individual warp image; the flux may even be negative for specific 1958 warps. When combined together, these low-significance measurements 1959 will result in a signficant measurement as the signal-to-noise 1960 increases by the square root of the number of measurements. 1961 1962 Upon completion of the forced photometry (for point sources as well as 1963 galaxies, discussed below), an entry is added to the 1964 \ippdbtable{fullForceResult} table with the processing statistics for 1965 that combination of \ippdbcolumn{ff\_id} and \ippdbcolumn{warp\_id}. 1966 Once all of the entries in the \ippdbtable{fullForceInput} table have 1967 finished, a summary operation is run to generate an appropriate 1968 average value for each measurement, by combining the measurements from 1969 each of the inputs. The output catalogs listed in the 1970 \ippdbtable{fullForceResult} table are passed to the 1971 \ippprog{psphotFullForceSummary} to do this averaging. \note{describe 1972 what is done} When this completes, an entry is added to the 1973 \ippdbtable{fullForceSummary}, and the \ippdbtable{fullForceRun} entry 1974 is marked as completed. 1975 1880 1976 \subsection{Forced Photometry : PSFs} 1881 1977 1882 1978 \subsection{Forced Photometry : galaxies} 1979 1980 The convolved galaxy models are also re-measured on the 1981 \ippstage{warp} images by the \ippstage{fullforce} stage analysis. In 1982 this analysis, the galaxy models determined by the 1983 \ippstage{staticsky} photometry analysis are used to seed the analysis 1984 in the individual \ippstage{warp} images. The purpose of this 1985 analysis is the same as the \ippstage{fullforce} PSF photometry: the 1986 PSF of the \ippstage{stack} image is poorly determined due to the 1987 masking and PSF variations in the inputs. Without a good PSF model, 1988 the PSF-convolved galaxy models are of limited accuracy. 1989 1990 In the \ippstage{fullforce} galaxy model analysis, we assume that the 1991 galaxy position and position angle, along with the Sersic index if 1992 appropriate, have been sufficiently well determined in the 1993 \ippstage{staticsky} analysis. In this case, the goal is to determine 1994 the best values for the major and minor axis of the elliptical contour 1995 and at the same time the best normalization corresponding to the best 1996 elliptical shape, and thus the best galaxy magnitude value. 1997 1998 For each \ippstage{warp} image, the \ippstage{staticsky} value for the 1999 major and minor axis are used as the center of a $7\times{} 7$ grid 2000 search of the major and minor axis parameter values. The grid spacing 2001 is defined as a function of the signal-to-noise of the galaxy in the 2002 stack image so that bright galaxies are measured with a much finer 2003 grid spacing that faint galaxies \note{need to quantify this}. For 2004 each grid point, the major and minor axis values at that point are 2005 determined for the model. The model is then generated and convolved 2006 with the PSF model for the \ippstage{warp} image at that point. The 2007 resulting model is then compared to the \ippstage{warp} pixel data 2008 values and the best fit normalization value is defined. The 2009 normalization and the $\chi^2$ value for each grid point is recorded. 2010 2011 For a given galaxy, the result is a collection of $\chi^2$ values for 2012 each of the grid points spanning all \ippstage{warp} images. A single 2013 $\chi^2$ grid can then be made by combining each grid point across the 2014 inputs. The combined $\chi^2$ for a single grid point is simply the 2015 sum of all $\chi^2$ values at that point. If, for a single \ippstage{warp} 2016 image, the galaxy model is excessively masked, then that image will be 2017 dropped for all grid points for that galaxy. The reduced $\chi^2$ 2018 values can be determined by tracking the total number of pixels 2019 used across all inputs to generate the combined $\chi^2$ values. From 2020 the combined grid of $\chi^2$ values, the point in the grid with the 2021 minimum $\chi^2$ is found. Quadratic interpolation is used to 2022 determine the major, minor axis values for the interpolated minimum 2023 $\chi^2$ value. The errors on these two parameters is then found by 2024 determining the contour at which the \note{reduced?} $\chi^2$ 2025 increases by 1. 2026 2027 Thus the \ippstage{fullforce} galaxy analysis uses the PSF information 2028 from each \ippstage{warp} to determine a best set of convovled galaxy 2029 models for each object in the \ippstage{skycal} catalog. 2030 \note{discuss the subset of galaxy models and objects}. 1883 2031 1884 2032 \section{Difference Image Photometry} … … 2013 2161 * put engineering docs (psLib, psModules) on public website 2014 2162 2163
Note:
See TracChangeset
for help on using the changeset viewer.
