Changeset 39814
- Timestamp:
- Nov 17, 2016, 9:39:32 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/doc/release.2015/ps1.analysis/analysis.tex (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/release.2015/ps1.analysis/analysis.tex
r38591 r39814 1 \documentclass[iop,floatfix ]{emulateapj}1 \documentclass[iop,floatfix,onecolumn]{emulateapj} 2 2 % \pdfoutput=1 3 3 … … 93 93 \keywords{Surveys:\PSONE } 94 94 95 \section{OUTLINE}96 \begin{verbatim}97 Intro98 Pan-STARRS background99 Scope: Source Detection \& Characterization, Galaxy modeling100 Requirements / Goals101 Comparable programs102 PSPhot103 \end{verbatim}104 105 95 \section{INTRODUCTION}\label{sec:intro} 106 96 … … 441 431 \subsubsection{Determination of the Peak Coordinates and Errors} 442 432 443 \note{this section is wrong: it is a poor estimator of the source444 position errors. we gave up a reverted to using the FWHM / (S/N)}445 446 433 We use the 9 pixels which include the source peak to fit for the 447 434 position and position errors. We model the peak of the sources as a … … 478 465 \end{verbatim} 479 466 480 which can be used to determine the errors on the coefficients:481 482 \begin{eqnarray}483 \sigma^2_{00} & = & \sigma^2 (5/9) \\484 \sigma^2_{10} & = & \sigma^2 (1/6) \\485 \sigma^2_{01} & = & \sigma^2 (1/6) \\486 \sigma^2_{11} & = & \sigma^2 (1/6) \\487 \sigma^2_{20} & = & \sigma^2 (1/2) \\488 \sigma^2_{02} & = & \sigma^2 (1/2) \\489 \end{eqnarray}490 491 467 The location of the peak is determined from the minimum of the 492 468 bi-quadratic function above, and is given by: … … 498 474 \end{eqnarray} 499 475 500 Applying error propagation to the above, we find: 501 502 \begin{eqnarray} 503 \sigma_{Det}^2 & = & \sigma_{11}^2 (4 C_{11}^2) + \sigma_{20}^2 (16 C_{02}^2) + \sigma_{02}^2 (16 C_{20}^2) \\ 504 \sigma_{xn}^2 & = & \sigma_{11}^2 C_{01}^2 + \sigma_{01}^2 C_{11}^2 + \sigma_{02}^2 (4 C_{10}^2) + \sigma_{10}^2 (4 C_{02}^2) \\ 505 \sigma_{yn}^2 & = & \sigma_{11}^2 C_{10}^2 + \sigma_{10}^2 C_{11}^2 + \sigma_{20}^2 (4 C_{01}^2) + \sigma_{01}^2 (4 C_{20}^2) \\ 506 \sigma_{x}^2 & = & x^2 (\sigma_{xn}^2 / xn^2 + \sigma_{Det}^2 / Det^2) \\ 507 \sigma_{y}^2 & = & y^2 (\sigma_{yn}^2 / yn^2 + \sigma_{Det}^2 / Det^2) \\ 508 \end{eqnarray} 476 \note{error on the peak position} 509 477 510 478 \subsection{PSF Determination} … … 652 620 All candidate PSF objects are then fitted with the selected object 653 621 model, allowing all of the parameters (PSF and independent) to vary in 654 the fit. PSPhot uses the Levenberg-Marqardt process for the655 non-linear fitting. Non-linear fitting can be very computationally 656 intensive, particularly for if the starting parameters are far from 657 the minimization values. PSPhot uses the first and second moments to 658 make a good guess for the centroid and shape parameters for the PSF 659 models. \note{still true? In order to minimize the impact of close 660 neighbors, the variance values used in the fit are enhanced by a661 fraction of the deviation of the particular pixel value fromthe662 model guess.} Any objects which fail to converge in the fit are663 f lagged as invalid.622 the fit. PSPhot uses the Levenberg-Marqardt method \note{REF, link to 623 psLibADD} for the non-linear fitting. Non-linear fitting can be 624 very computationally intensive, particularly for if the starting 625 parameters are far from the minimization values. PSPhot uses the 626 first and second moments to make a good guess for the centroid and 627 shape parameters for the PSF models. \note{still true? In order to 628 minimize the impact of close neighbors, the variance values used in 629 the fit are enhanced by a fraction of the deviation of the 630 particular pixel value from the model guess.} Any objects which 631 fail to converge in the fit are flagged as invalid. 664 632 665 633 \note{does the variance enhancement introduce too much bias?} … … 698 666 correction is judged to be the best model. 699 667 700 \subsubsection{Basic Deblending} 701 702 The collection of identified peaks is examined to find peaks which are 703 'blended', that is, they are close enough together to make the 704 analysis of one of the sources difficult if performed in isolation. 705 Saturated stars also result in additional peaks which are likely to be 706 invalid; it is useful to restrict a saturated star to a single primary 707 position with associated neighboring peaks. 708 709 The deblending process first searches for any peaks which are within 710 the image cell of another peak. All such groups are examined, 711 starting with the brightest source. An isophot is found about the 712 primary peak which is at least \code{DEBLEND\_SKY\_NSIGMA} times the sky 713 sigma above the local background and which is otherwise 714 \code{DEBLEND\_PEAK\_FRACTION} of the primary peak central pixel flux. 715 Any secondary sources which are contained within this isophot are 716 considered to be blended peaks associated with the primary peak. 668 \subsection{Very Bright Stars} 669 \note{flesh out} 670 671 The PSF modeling code fails to fit the wings of highly saturated stars 672 if the core of the star is too contaminated by saturated pixels. For 673 stars with estimated instrumental magnitudes brighter than XXX, we fit 674 and subtract a radial profile modeled with a spline (?). 675 676 \subsection{PSF vs CR vs Extended} 717 677 718 678 \subsection{Bright Source Analysis} … … 1071 1031 tested. 1072 1032 1073 \subsubsection{Types of Object / PSF models currently available} 1033 \subsection{Radial Profiles} 1034 1035 Galaxies with regular profiles, such as elliptical galaxies and 1036 regular spiral galaxies, may be described as primarily a radial 1037 surface brightness profile, with additional structure acting as a 1038 perturbation on that profile. For many galaxies, the azimuthal shape 1039 at a given isophotal level may be described as an elliptical contour. 1040 To first order, a galaxy may be well decribed with a single elliptical 1041 contour and radial profile. 1042 1043 In order to facilitate the Petrosian photometry analysis below, PSPhot 1044 generates a radial profile for each suspected galaxy. This analysis 1045 starts by generating a radial profile in 24 azimuthal segments. Near 1046 the center of the galaxy, the profile is defined for radial 1047 coordinates in steps of 1 pixel, with the closest pixel values 1048 interpolated to that radial position. Further from the center, 1049 profile is defined using the median of the pixels landing in an 1050 annular segment of size $\delta R = r \sin \theta$, rounded up to the 1051 nearest integer pixel value. The median of all pixels within a 1052 rectangular approximation to the radial wedge is used. 1053 1054 The resulting 24 radial profiles are subject to contamination from 1055 neighboring sources or to NAN values from masked pixels. To clean the 1056 profiles, pairs of radial profiles from opposite sides of the source 1057 are compared. Any masked values are replaced by the corresponding 1058 value in the other profile. The minimum of both profiles is the kept 1059 for both profiles. The result of this analysis is a set of profiles 1060 of the form $f_i(r_i)$. In this case, $f_i$ is effectively the 1061 surface brightness for each radius in instrumental counts per pixel. 1062 1063 The surface brightness profiles are then used to define the radial 1064 contour at a specific isophotal level. This contour will be used to 1065 rescale the radial profiles into a single set of profiles normalized 1066 by the elliptical contour. This contour is defined by determining the 1067 median radius for profile bins with surface brightness in the range 1068 $F_{\rm min} + 0.1 F_{\rm range}$ to $F_{\rm min} + 0.5 F_{\rm 1069 range}$. The result of this analysis is a value for the radius as a 1070 function of the angle for a well-defined surface brightness regime. 1071 We then determine the elliptical shape parameters for this elliptical 1072 contour: $R_{\rm major}, R_{\rm minor}, \theta$. This ellipse is then 1073 used to redefine a single radial profile normalized by the elliptical 1074 contour: 1075 \[ 1076 \rho = \sqrt{\frac{x^2}{S^2_{xx}} + \frac{y^2}{S^2_{yy}} + x y S_{xy} \\ 1077 \] 1078 1079 The surface brightness values are sampled at a number of radial 1080 annuli, with the radii defined in the configuration ({\tt 1081 RADIAL.ANNULAR.BINS.LOWER \& RADIAL.ANNULAR.BINS.UPPER}). For each 1082 source, the resulting surface brightness profile is saved in the 1083 output cmf-file as an N-element value in the FITS table ({\tt 1084 PROF\_SB}). The flux at each radial position and the fill-factor 1085 (fraction of pixels used to the total possible) as also saved as 1086 equal-length vectors in the FITS table ({\tt PROF\_FLUX and 1087 PROF\_FILL}). The values of the radial bins are saved in the cmf 1088 header ({\tt RMIN\_NN, RMAX\_NN}). 1089 1090 \note{these profiles are not saved in PSPS} 1091 1092 \subsection{Petrosian Radii and Magnitudes} 1093 1094 Petrosian (REF) defined an adaptive aperture based on a ratio of 1095 surface brightnesses. The motivation is to define an aperture which 1096 can be determined for galaxies without significant biases as a 1097 function of distance. Since surface brightness in a resolved object 1098 is conserved, using a ratio of surface brightness to define a spatial 1099 scale results in a spatial scale which is constant regardless of 1100 galaxy distance. 1101 1102 In the classic definition, a reference radius, R90 1103 is specified as the radius at which the flux 1104 1105 To measure the Petrosian radius and flux, we start by defining a 1106 series of radial apertures with power-law spacing: $r_{i + 1} = 1.25 1107 r_i$. We calculate the surface brightness for the annulus from $r_i - 1108 r_{i+1}$ by calculating the median of the values in the range $r_i / 1109 \sqrt{1.25}$ to $r_{i+1} \sqrt{1.25}$ and dividing the the effective 1110 area of the annulus corresponding to $r_i - r_{i+1}$. 1111 1112 For any annulus $i$ spanning the radii $r_{\rm min}$ to $r_{\rm max} = 1113 \Beta r_{\rm min}$, the 1114 Petrosian Ratio for that annulus is defined as the ratio of the 1115 surface brightness in the annulus to the average surface brigthness 1116 within $r_{\rm max}$. The Petrosian Radius is defined to be $r_{\rm 1117 max}$ for the annulus for which the Petrosian Ratio = 0.2, i.e., the 1118 point on the galaxy radial profile at which the surface brightness is 1119 20\% of the average surface brightness at that point. 1120 1121 We determine the Petrosian Radius for the galaxy by quadratic 1122 interpolation between the last two of the fixed annuli with Petrosian 1123 Ratio $> 0.2$ and the first annulus with Petrosian Ratio $< 0.2$. In 1124 general, the Petrosian Ratio for a galaxy with a regular morphology 1125 (spiral or elliptical) is falling monotonically, so this interpolation 1126 is unambiguous. However, irregular galaxy morphologies, noise, and/or 1127 significant masking can cause the Petrosian Ratio to have rises as 1128 well as drops. We track the Petrosian Ratio until the value is no 1129 longer significant ($\sigma_{\rm Ratio} < 2 {\rm Ratio}$). If the 1130 Petrosian Ratio drops below 0.2 for more than one radius, we choose 1131 the largest such radius. 1132 1133 Once the Petrosian Radius has been determined, we can now measure the 1134 Petrosian Flux : this is defined to be the total flux within an 1135 aperture corresponding to 2 $\times$ the Petrosian Radius. Using the 1136 Petrosian Flux, we can calculate two other interesting radii: $R_{50}$ 1137 and $R_{90}$, the radii inside which 50\% and 90\% of the total 1138 Petrosian flux is contained. 1139 1140 \subsection{Kron Magnitudes} 1141 1142 1143 1144 \subsection{Convolved Galaxy Model Fits} 1145 1146 In the galaxy model fittting stage, sources which meet certain 1147 criteria are fitted with analytical models for galaxies. The 1148 available models for the PV3 analysis were: 1149 \begin{itemize} 1150 \item Exponential profile : $f = I_0 e^{\frac{-r}{r_0}}$ 1151 \item DeVaucouleur profile : $f = I_0 e^{\frac{-r^{1/4}}{r_0}}$ 1152 \item Sersic : $f = I_0 e^{\frac{-r^{1/n}}{r_0}}$ 1153 \end{itemize} 1154 1155 In this stage, the galaxy model is convolved with our best guess for 1156 the PSF model at the location of the galaxy. For the PV3 analysis, 1157 all sources detected in the 'bright source' analysis step (S/N > 20 ?) 1158 were fitted with all three galaxy models, unless (a) the morphological 1159 test identified the source as a likely cosmic ray (\ref{CR}) 1160 or (b) the peak of the PSF profile was above the saturation limit 1161 \note{for the chip? cell?}. Sources in the denser portions of the 1162 Galactic plane and bulge were not included in the analysis. This 1163 restriction limited the total time spent on the galaxy modeling 1164 analysis at the expense of galaxy photometry in the plane (though Kron 1165 photometry is available for those objects). 1166 1167 The Galactic Plane region was defined by $|b| > b_{\rm min}$ where 1168 $b_{\rm min} = b_0 + r_b e^{\frac{-l^2}{2 \sigma_b^2}}$. For the PV3 1169 analysis, $b_0 = XX$, $r_b = XX$, $\sigma_b = XX$. 1170 1171 The galaxy models are fitted using the same Levenberg-Marquart 1172 minimization code use for the other non-linear fitting stages. In the 1173 convolved galaxy fit, the galaxy model image and the model derivative 1174 images are convolved with the psf at each iteration. WRITE out the 1175 chi-square and show how this is separated out as a set of images. For 1176 the Exponential and DeVaucouleur fits, all parameters are fitted in 1177 the non-linear minimization stage. For the Sersic model fits, there 1178 is too much degeneracy (yes?) between ???. We determine the Sersic 1179 index using a grid search, using the non-linear minimization for the 1180 remaining parameters on each grid search step. The index is fitted in 1181 the following values (XXXXX). 1182 1183 With XXXM galaxies to It is important to make an initial guess for the model parameters 1184 which is reasonably close to the best fit value, 1185 1186 \subsection{Convolved Radial Aperture Photometry} 1187 1188 \subsection{Forced Photometry : PSFs} 1189 1190 \subsection{Forced Photometry : galaxies} 1191 1192 \subsection{Types of Object / PSF models currently available} 1074 1193 1075 1194 \note{the discussion of the model types needs to be extended}
Note:
See TracChangeset
for help on using the changeset viewer.
