Changeset 39960
- Timestamp:
- Jan 28, 2017, 2:55:27 PM (9 years ago)
- Location:
- trunk/doc/release.2015/ps1.analysis
- Files:
-
- 2 edited
-
Makefile (modified) (1 diff)
-
analysis.tex (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/release.2015/ps1.analysis/Makefile
r39883 r39960 9 9 @echo "USAGE: make (target)" 10 10 @echo " targets: all pdf tgz" 11 12 test: test.pdf 11 13 12 14 all: pdf tgz -
trunk/doc/release.2015/ps1.analysis/analysis.tex
r39948 r39960 103 103 \section{INTRODUCTION}\label{sec:intro} 104 104 105 \begin{verbatim} 106 here is a list of things to do: 107 * clear out \note entries 108 * explain use of covariance 109 * add example for sky model 110 * Kaiser optimal detection reference 111 * find a brighter-fatter reference 112 * define more tests and generate examples 113 * simulation example of background subtraction at different densities 114 * real example of oversubtracted galaxy 115 * check all references 116 * fix the \code macro to work with alternate concepts 117 * DONE : the use of \textbf style formats was a problem : expects \textbf{foobar} 118 \end{verbatim} 119 105 120 This is the fourth in a series of seven papers describing the 106 121 Pan-STARRS1 Surveys, the data reduction techiques and the resulting … … 163 178 from early users of the data products are welcome during the 164 179 submission and refereeing process.}} 180 181 \end{document} 165 182 166 183 \section{Background} … … 227 244 228 245 When the IPP development was starting, the existing photometry 229 packages either did not meet the accuracy requirements or 230 required too much human intervention to be considered for the needs of 231 PS1. In the case of the SDSS Photo tool, the software was judged to 232 be too tightly integrated to the architecture of SDSS to be easily 233 re-integrated into the Pan-STARRS pipeline. A new photometry analysis234 package was developed using lessons learned from the existing 235 photometry systems. In the process, the source analysis software was 236 written using the data analysis C-code library written for the IPP, 237 \c ode{psLib}. Components of the photometry code were integrated into246 packages either did not meet the accuracy requirements or required too 247 much human intervention to be considered for the needs of PS1. In the 248 case of the SDSS Photo tool, the software was judged to be too tightly 249 integrated to the architecture of SDSS to be easily re-integrated into 250 the Pan-STARRS pipeline. A new photometry analysis package was 251 developed using lessons learned from the existing photometry systems. 252 In the process, the source analysis software was written using the 253 data analysis C-code library written for the IPP, \code{psLib} 254 \citep{psLib}. Components of the photometry code were integrated into 238 255 the IPP's mid-level astronomy data analysis toolkit called 239 \code{psModules}. The resulting software, `\code{psphot}', can be used either 240 as a stand-alone C program, or as a set of library functions which may 241 be integrated into other programs 242 243 \note{add refs to the psLib and psModules ADDs} 244 245 The main version of \code{psphot} is a stand-alone program which is run on a 246 single image, or a group of related images representing the data read 247 from a camera in a single exposure. The images are expected to have 248 already been detrended so that pixel values are linearly related to 249 the flux. The gain may be specified by the configuration system, or a 250 variance image may be supplied. A mask may also be supplied to mark 251 good, bad, and suspect pixels. Several variants of psphot have also 252 been used in the PS1 PV3 analysis. \note{ppImage version is an 253 integrated library call} 254 255 The version called \code{psphotStack} accepts a set of images, each 256 \code{psModules} \citep{psModules}. The resulting software, 257 `\code{psphot}', can be used either as a stand-alone C program, or as 258 a set of library functions which may be integrated into other programs 259 260 % \note{add refs to the psLib and psModules ADDs} : ref to online docs? 261 262 Several variants of \code{psphot} have been used in the PS1 PV3 263 analysis. The main variant of \code{psphot} operates on a single 264 image, or a group of related images representing the data read from a 265 camera in a single exposure. The images are expected to have already 266 been detrended so that pixel values are linearly related to the flux. 267 The gain may be specified by the configuration system, or a variance 268 image may be supplied. A mask may also be supplied to mark good, bad, 269 and suspect pixels. This variant of \code{psphot} can be called as a 270 stand-alone program, also called \code{psphot}. In standard IPP 271 operations, this variant is used as a library call within the analysis 272 program \code{ppImage} during the \ippstage{chip} analysis stage. 273 274 The variant called \code{psphotStack} accepts a set of images, each 256 275 representing the same patch of sky in a different filter, nominally 257 276 the full $grizy$ filter set for the analysis of the PS1 PV3 stack … … 265 284 photometry. 266 285 267 Another v ersionof \code{psphot} used in the PV3 analysis is called268 \code{psphotFullForce}. In this v ersion, a set of image all representing the286 Another variant of \code{psphot} used in the PV3 analysis is called 287 \code{psphotFullForce}. In this variant, a set of image all representing the 269 288 same pixels are processed together, with the positions of sources to 270 be analysed loaded from a supplied file. In this v ersionof the289 be analysed loaded from a supplied file. In this variant of the 271 290 analysis, sources are not discovered -- only the supplied sources are 272 291 considered. PSF models are determined for each exposure and the … … 389 408 case the PSF modeling stage can be skipped. 390 409 391 {\bf A note on nomenclature:}410 % {\bf A note on nomenclature: ???} 392 411 393 412 \subsection{Image Preparation} … … 415 434 saturated pixel. In addition, the mask pixels are used to define the 416 435 pixels available during a model fit, and which should be ignored for 417 that specific fit (\code{MARK = 0x8000}). The initial mask, if not 418 supplied by the user, is constructed by default from the image by 419 applying three rules: 1) Pixels which are above a specified saturation 420 level are marked as saturated. The level is specified by the camera 421 format keyword \code{CELL.SATURATION}, which may specify a value or 422 define a header keyword which in turn specifies the value in the image 423 header. In the case of PS1 PV3, the header keyword \code{MAXLIN} 424 specifies the saturation level for each chip. \note{refer to detrend 425 paper here? what are GPC1 saturation levels?}. 2) Pixels which are 426 below a user-defined value are considered unresponsive and masked as 427 dead. (camera format keyword \code{CELL.BAD} = 0 for PS1 PV3). 3) 428 Pixels which lie outside of a user-defined coordinate window are 429 considered non-data pixels (eg, overscan) and are marked as invalid. 430 (psphot recipe keywords \code{XMIN}, \code{XMAX}, \code{YMIN}, 431 \code{YMAX}, all set to 0 for PS1 PV3 -- invalid pixels were specified 432 for PS1 PV3 with a supplied mask image, see \cite{waters2017}. 436 that specific fit by setting a special bit (\code{MARK = 0x8000}). 437 The initial mask, if not supplied by the user or library calls, is 438 constructed by default from the image by applying three rules: 1) 439 Pixels which are above a specified saturation level are marked as 440 saturated. The level is specified by the camera format keyword 441 \code{CELL.SATURATION}, which may specify a value or define a header 442 keyword which in turn specifies the value in the image header. In the 443 case of PS1 PV3, the header keyword \code{MAXLIN} specifies the 444 saturation level for each chip (see \cite{waters2017}). 2) Pixels 445 which are below a user-defined value are considered unresponsive and 446 masked as dead. (camera format keyword \code{CELL.BAD} = 0 for PS1 447 PV3). 3) Pixels which lie outside of a user-defined coordinate window 448 are considered non-data pixels (eg, overscan) and are marked as 449 invalid. (psphot recipe keywords \code{XMIN}, \code{XMAX}, 450 \code{YMIN}, \code{YMAX}, all set to 0 for PS1 PV3 -- invalid pixels 451 were specified for PS1 PV3 with a supplied mask image, see 452 \cite{waters2017}. 433 453 434 454 The library functions used by \code{psphot} understand two types of … … 888 908 some of the observed PSF variations in the images 889 909 890 \note{need to describe fitting the pixel residual image}891 892 910 \note{write up the fitting process to define the grid?} 893 894 \notespecify the rule for the polynomial order and grid scale}895 896 \note{discuss the improvements in the astrometric modeling PV1 - PV3}897 911 898 912 Several analytical functions which are likely candidates to describe … … 940 954 \end{center} 941 955 \end{figure} 956 957 Once the smooth component of the PSF has been fitted with an 958 analytical model, a pixel representation of the residuals is 959 generated. This representation is constructed as an image of the 960 expected residuals for any position in the image. The value of each 961 pixel in the image model is determined from 2D fits to the measured 962 residuals of the PSF stars. Pixel values in this model are only 963 defined for pixels with 964 965 The residual model is calculated using the residuals for all PSF 966 stars. The residuals (and their errors) for each star are 967 renormalized by the flux of the star to put them on a consistent flux 968 scale. For each PSF star, all pixels within a user-specified radius 969 (PSF.RESIDUALS.RADIUS = 9) are selected for the measurement. For a 970 given pixel in the model, the pixel values from the PSF stars are 971 interpolated to the center of the model pixel. 972 973 Pixels for a given star which are more than XX sigma 974 (PSF.RESIDUALS.NSIGMA = 3.0) deviant from the median value of the 975 pixels from all stars are rejected. 976 977 If no spatial variation is allowed, the mean or median value is 978 calculated for the model pixel based on the user-specified mean 979 statistic (\code{PSF.RESIDUALS.STATISTIC = ROBUST_MEDIAN}). 980 981 If spatial variation is requested, then the pixel values are fitted to 982 a linear model: 983 \[ 984 R[(x_{\rm mod},y_{\rm mod})][(x_{\rm ccd},y_{\rm ccd})] = R_o[(x_{\rm 985 mod},y_{\rm mod})] + R_x[(x_{\rm 986 mod},y_{\rm mod})] x_{\rm ccd} + R_y[(x_{\rm 987 mod},y_{\rm mod})] y_{\rm ccd} 988 \] 989 where $R[(x_{\rm mod},y_{\rm mod})][(x_{\rm ccd},y_{\rm ccd})]$ is the 990 value for model pixel $(x_{\rm mod},y_{\rm mod})$ for a star with 991 centroid at image pixel $(x_{\rm ccd},y_{\rm ccd})$. The parameters 992 $R_o, R_x, R_y$ are determined for each pixel in the model $[(x_{\rm 993 mod},y_{\rm mod})]$. 942 994 943 995 \subsubsection{Candidate PSF Source Selection} … … 969 1021 ignored. 970 1022 1023 % \note{is the pixel scale $0.1 \sigma_w$ or PSF_CLUMP_GRID_SCALE = 0.2?} 1024 % psphotSourceStats sets PSF_CLUMP_GRID_SCALE to 0.1 \sigma_w^2, set 1025 % to 0.2 by default (before \sigma_w is known). 1026 % pmSource uses PSF_CLUMP_GRID_SCALE. note that the image is in Mxx 1027 % (\sigma_x^2) not \sigma_x,\sigma_y) 1028 1029 \note{re-work wording above reflecting comment above} 1030 971 1031 Once a peak has been detected in this plane, the centroid and second 972 moments of this peak are measured. All sources which land within XXX 973 $\sigma$ of this centroid are selected as likely PSF-like sources in 974 the image. 975 976 \note{work out the logic for selecting the PSF stars} 1032 moments of this peak are measured. All sources which land within 2 1033 pixels of this centroid are selected as candidate PSF sources in the 1034 image. 977 1035 978 1036 \begin{figure}[htbp] … … 1021 1079 sources and ignored in the later PSF model fitting stages. 1022 1080 1023 %% table of orders: 1024 %% N stars | max order | max Ncells 1025 %% 16 | 1; // 4 cells, 4 per cell 1026 %% 54 | 2; // 9 cells, 6 per cell 1027 %% 128 | 3; // 16 cells, 8 per cell 1028 %% 300 | 4; // 25 cells, 12 per cell 1029 %% 576 | 5; // 36 cells, 16 per cell 1081 The order of the fit or number of grid samples is modified if the 1082 number of stars available for the fit is insufficient to justify the 1083 highest value. Regardness of the requested order, if the number of 1084 stars is below the following limits, the order is limited as shown in 1085 Table~\ref{tab:psf.order.nstars}. Note that the number of grid cells 1086 in one dimension is one greater than the equivalent polynomial order. 1087 1088 \begin{table} 1089 \caption{\label{tab:psf.order.nstars} Minimum number of stars required 1090 for a given order of the PSF 2D variations.}\vspace{-0.5cm} 1091 \begin{center} 1092 \begin{tabular}{lcl} 1093 \hline 1094 \hline 1095 {\bf Minimum Number of Stars} & {\bf Order} & {\bf Number of Grid Cells} \\ 1096 \hline 1097 16 & 1 & 4 & 4 \\ 1098 54 & 2 & 9 & 6 \\ 1099 128 & 3 & 16 & 8 \\ 1100 300 & 4 & 25 & 12 \\ 1101 576 & 5 & 36 & 16 \\ 1102 \hline 1103 \end{tabular} 1104 \end{center} 1105 \end{table} 1106 1030 1107 1031 1108 All of the PSF-candidate sources are then re-fitted using the PSF
Note:
See TracChangeset
for help on using the changeset viewer.
