Changeset 41307
- Timestamp:
- Mar 17, 2020, 3:42:22 PM (6 years ago)
- Location:
- trunk/doc/release.2015/ps1.analysis
- Files:
-
- 1 added
- 2 edited
-
Makefile (modified) (1 diff)
-
analysis.tex (modified) (60 diffs)
-
response.txt (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/release.2015/ps1.analysis/Makefile
r40719 r41307 4 4 # 5 5 DO_PDFLATEX = 1 6 DO_BIBTEX = 06 DO_BIBTEX = 1 7 7 8 8 help: -
trunk/doc/release.2015/ps1.analysis/analysis.tex
r41129 r41307 29 29 30 30 %\def\picdir{/home/eugene/chipresid.20140404} 31 %\def\picdir{pics}32 \def\picdir{.}31 \def\picdir{pics} 32 %\def\picdir{.} 33 33 34 34 % Pick a terse version of the title here; … … 98 98 images from other telescopes. We describe the analysis of the 99 99 astronomical sources by \ippprog{psphot} in general as well as for the 100 specific case of the 3rd processing version used for the first public101 release of the Pan-STARRS $3\pi$ survey data.100 specific case of the 3rd processing version used for the first \textmod{two public 101 releases} of the Pan-STARRS $3\pi$ survey data. 102 102 \end{abstract} 103 103 … … 155 155 Pan-STARRS produced its first large-scale public data release, Data 156 156 Release 1 (DR1) on 16 December 2016. DR1 contains the results of the 157 third full reduction of the Pan-STARRS $3\pi$ Survey archival data,157 third full reduction of the Pan-STARRS $3\pi$ Surveyo archival data, 158 158 identified as PV3. Previous reductions \citep[PV0, PV1, PV2; 159 159 see][]{magnier2017.datasystem} were used internally for pipeline … … 166 166 images obtained by the $3\pi$ Survey observations. A second data 167 167 release, DR2, was made available 28 January 2019. DR2 provides 168 measurements from all of the individual exposures, and include an 169 improved calibration of the PV3 processing of that dataset. 168 measurements from all of the individual exposures, and includes an 169 improved \textmod{astrometric calibration as well as improvements to the 170 photometric calibration of the stack and 'forced warp' measurements 171 from} the PV3 processing of that dataset. 170 172 171 173 This is the fourth in a series of seven papers describing the … … 174 176 source detection and photometry, including point-spread-function and 175 177 extended source model fitting, and the techniques for ``forced'' 176 photometry measurements. The software described here was used with a 178 photometry measurements. \textadd{The same analysis software is used 179 for individual images, image stacks, and difference images.} 180 The software described here was used with a 177 181 single consistent set of parameters for the complete PV3 analysis, 178 used for both DR1 and DR2. 182 used for both DR1 and DR2. \textadd{The software was also used for the 183 analysis of the Medium Deep Survey data, though with a different 184 software version and some modifications of 185 the analysis parameters to better suite the longer exposures.} 179 186 180 187 %Chambers et al. 2017 (Paper I) … … 190 197 \citet[][Paper II]{magnier2017.datasystem} 191 198 describe how the various data processing stages are organized and implemented 192 in the Imaging Processing Pipeline(IPP), including details of the199 in the \textmod{Image Processing Pipeline} (IPP), including details of the 193 200 the processing database which is a critical element in the IPP infrastructure . 194 201 … … 231 238 %% submission and refereeing process.}} 232 239 240 \textadd{In this article, we use the following type-faces to distinguish 241 different concepts:} 242 \begin{itemize} 243 \item \ippstage{Small caps} for the analysis stages. 244 \item \ippdbtable{Italics} for database tables and columns. 245 \item \ippprog{Fixed-width} font for program names, variables, and 246 miscellaneous constants. 247 \end{itemize} 248 249 \textadd{ 250 The latter catagory includes a number of configuration parameters used 251 to define the \ippprog{psphot} analysis. In those cases, unless the 252 values used for the PV3 analysis are explicitly discussed, we include 253 the PV3 value immediately after the configuration variable name in parenthesis.} 254 233 255 \section{Background} 234 256 235 257 The photometric and astrometric precision goals for the Pan-STARRS\,1 236 surveys were quite stringent: photometric accuracy of 10 237 millimagnitudes, relative astrometric accuracy of 10 milliarcseconds 258 surveys were quite stringent. The astrometric goals were relative astrometric accuracy of 10 milliarcseconds 238 259 and absolute astrometric accuracy of 100 milliarcseconds with respect 239 to the ICRS reference stars. 260 to the ICRS reference stars. For photometry, the goal was 10 261 millimagnitudes accuracy within the internal photometric system across 262 the sky, though the tie to an absolute standard was not required to 263 meet this standard. 240 264 241 265 An additional constraint on the Pan-STARRS analysis system comes from … … 311 335 Several variants of \ippprog{psphot} have been used in the PS1 PV3 312 336 analysis. The main variant of \ippprog{psphot} operates on a single 313 image, or a group of related images representing the data read from a 314 camera in a single exposure. The images are expected to have already 337 image, or a group of related images representing the data read from 338 \textmod{the multiple chips of a mosaic 339 camera from} a single exposure. \textadd{In the IPP sequencing, this step is 340 called the \ippstage{chip} stage.} The images are expected to have already 315 341 been detrended so that pixel values are linearly related to the flux. 316 342 The gain may be specified by the configuration system, or a variance … … 322 348 323 349 The variant called \ippprog{psphotStack} accepts a set of images, each 324 representing the same patch of sky in a different filter, nominally 325 the full $grizy$ filter set for the analysis of the PS1 PV3 stack 350 representing the same patch of sky \textadd{(with pixels aligned)} in 351 a different \textmod{filter. This version was used for the analysis 352 of the deep ``stacks'' (co-added images combining multiple 353 observations of the same field) produced by the IPP \ippstage{stack} 354 stage. Nominally, 355 the full $grizy$ filter set was used for the analysis} of the PS1 PV3 stack 326 356 images, though where insufficient data were available in a given 327 357 filter, a subset of these filters was processed as a group. As … … 329 359 capability of measuring forced PSF photometry in some filter images 330 360 based on the position of sources detected in the other filters. It 331 also include an option to convolve the set of images to a single,361 also includes an option to convolve the set of images to a single, 332 362 common PSF size across the filters for the purpose of fixed aperture 333 363 photometry. … … 335 365 Another variant of \ippprog{psphot} used in the PV3 analysis is called 336 366 \ippprog{psphotFullForce}. In this variant, a set of images all representing the 337 same pixels are processed together, with the positions of sources to367 same \textadd{co-aligned} pixels are processed together, with the positions of sources to 338 368 be analyzed loaded from a supplied file. In this variant of the 339 369 analysis, sources are not discovered -- only the supplied sources are … … 348 378 % \subsection{Astronomy Measurement Goals} 349 379 350 \ippprog{psphot} has a number of important requirements that it must 351 meet, and a number of design goals which we believe will help to make 352 it usable in a wide range of circumstances. The critical 353 astronomy-driven measurement goals of the Pan-STARRS project, which 354 drive the design of \ippprog{psphot}, are the photometric accuracy 355 goal (10 millimagntudes) and the astrometric accuracy goal (10 356 milliarcseconds). For \ippprog{psphot}, the photometry accuracy goal 357 implies that the measured photometry of stellar sources must be 358 substantially better than this 10 mmag goal since the photometry error 359 per image is combined with an error in the flat-field calibration and 360 an error in measuring the atmospheric effects. We have set a goal for 380 \textadd{The top-level design goals of \ippprog{psphot} are to detect and 381 determine the instrumental positions and fluxes of astronomical 382 sources in the images. For extended sources, the goals also include 383 the measurement of a variety of morphological information, including 384 galaxy model parameters and non-parametric measurements of the sizes 385 and profiles of the galaxies to aid in classification and for 386 weak-lensing analysis. For trailed asteroids, the goal also includes 387 the measurement of the length and direction of the trail.} 388 389 \textmod{Beyond these basic elements, \ippprog{psphot} has a number of 390 design goals} which we believe will help to make it usable in a wide 391 range of circumstances. The critical astronomy-driven measurement 392 goals of the Pan-STARRS project, which drive the design of 393 \ippprog{psphot}, are the photometric accuracy goal (10 394 millimagnitudes) and the \textadd{relative} astrometric accuracy goal 395 (10 milliarcseconds) \textadd{for bright stars for which the photon 396 shot-noise is small compared to the systematic errors.} 397 398 For \ippprog{psphot}, the photometry accuracy goal implies that the 399 measured photometry of stellar sources must be substantially better 400 than this 10 mmag goal since the photometry error per image is 401 combined with an error in the flat-field calibration and an error in 402 measuring the atmospheric effects. We have set a goal for 361 403 \ippprog{psphot} of 3 mmag photometric consistency for bright stars 362 404 between pairs of images obtained in photometric conditions at the same 363 405 pointing, ie to remove sensitivity to flat-field errors. This goal 364 406 splits the difference between the three main contributors and still 365 allows some leeway. This requirementmust be met for well-sampled407 allows some leeway. This goal must be met for well-sampled 366 408 images and images with only modest undersampling. 367 409 … … 420 462 \end{itemize} 421 463 464 \note{get a better example of the psphot accuracy achieved} 465 466 \textadd{The success of the \ippprog{psphot} implementation is meeting 467 the photometry and astrometry design requirements is demonstrated by 468 the achieved accuracy for the Pan-STARRS $3\pi$ Survey data. 469 } 470 422 471 \section{Basic Analysis} 423 472 … … 480 529 \hline 481 530 \hline 482 {\bf Measurement} & {\bf Camera} & {\bf Stack} & {\bf Forced Warp} & {\bf Diff} & {\bf Section} & {\bf Which} \\ 531 {\bf Measurement} & {\sc \bf CHIP} & {\sc \bf STACK} & {\sc \bf FORCED 532 WARP} & {\sc \bf DIFF} & {\bf Section} & {\bf Which} \\ 483 533 \hline 484 534 Background Subtraction & Y & Y & Y & N$^1$ & \ref{sec:image.preparation} & N/A \\ … … 524 574 field \ippmisc{FLAGS}. When data from \ippprog{psphot} is loaded into 525 575 a DVO database \citep{magnier2017.calibration}, these values are 526 stored in the field \ code{Measure.photFlags} and exposed in the public576 stored in the field \ippdbtable{Measure.photFlags} and exposed in the public 527 577 database \citep[PSPS][]{flewelling2017} in the fields 528 \ code{Detection.infoFlag}, \code{StackObjectThin.XinfoFlag} (where529 \ code{X} is one of {$grizy$}), and530 \ code{ForcedWarpMeasurement.FinfoFlag}.578 \ippdbtable{Detection.infoFlag}, \ippdbtable{StackObjectThin.XinfoFlag} (where 579 \ippdbtable{X} is one of {$grizy$}), and 580 \ippdbtable{ForcedWarpMeasurement.FinfoFlag}. 531 581 % 532 582 Table~\ref{tab:det_flag2_values} lists the flags recorded in the … … 534 584 loaded into a DVO database \citep{magnier2017.calibration}, these 535 585 values are not currently loaded, but they are exposed in PSPS in the fields 536 \ code{Detection.infoFlag2}, \code{StackObjectThin.XinfoFlag2} (where537 \ code{X} is one of {$grizy$}), and538 \ code{ForcedWarpMeasurement.FinfoFlag2}.586 \ippdbtable{Detection.infoFlag2}, \ippdbtable{StackObjectThin.XinfoFlag2} (where 587 \ippdbtable{X} is one of {$grizy$}), and 588 \ippdbtable{ForcedWarpMeasurement.FinfoFlag2}. 539 589 540 590 \begin{table*} … … 635 685 be provided by the user, or they may be automatically generated from 636 686 the input image, based on configuration-defined values for the image 637 gain, read-noise, saturation, and so forth. For the function-call 687 gain, read-noise, saturation, and so forth. \textadd{Within the IPP analysis, 688 we normally use images which are equivalent to the digital numbers 689 (scaled by the detrend images), but as long as the variance image is 690 constructed in a consistent fashion, \ippprog{psphot} can use images 691 in electron, calibrated flux units or other conventions (though this would 692 require some tuning of configuration parameters).} For the function-call 638 693 form of the program, the flux image is provided in the API, and 639 694 references to the mask and variance are provided in the configuration … … 643 698 The mask is represented as a 16-bit integer image in which a value of 644 699 0 represents a valid pixel. Each of the 16 bits define different 645 reasons a pixel should be ignored. This allows us to optionally 700 reasons a pixel should be ignored, \textadd{listed in 701 Table~\ref{tab:mask_values}}. 702 This allows us to optionally 646 703 respect or ignore the mask depending on the circumstance. For 647 704 example, in some cases, we ignore saturated pixels completely while in … … 658 715 case of PS1 PV3, the header keyword \code{MAXLIN} specifies the 659 716 saturation level for each chip \citep[see][]{waters2017}. 2) Pixels 660 which are below a user-defined value are considered unresponsive and 661 masked as dead. (camera format keyword \code{CELL.BAD} = 0 for PS1 662 PV3). 3) Pixels which lie outside of a user-defined coordinate window 717 which are below a user-defined value (\code{CELL.BAD} = 0 for PV3) are considered unresponsive and 718 masked as dead. 3) Pixels which lie outside of a user-defined coordinate window 663 719 are considered non-data pixels (\eg, overscan) and are marked as 664 720 invalid. (\ippprog{psphot} recipe keywords \code{XMIN}, \code{XMAX}, … … 744 800 subtracted. The image is divided into a grid of background points 745 801 with a spacing defined by the \ippprog{psphot} recipe values 746 \code{BACKGROUND.XBIN, BACKGROUND.YBIN}, set to 400 pixels for PS1747 PV3. Superpixels of size \code{BACKGROUND.XSAMPLE, BACKGROUND.YSAMPLE} 748 ($2 \times 2$ for PS1 PV3) times larger than 749 t his spacing are used to measure the local background for each750 background grid point, thus over-sampling the background spatial751 variations. In the interest of speed, a subset of \code{IMSTATS_NPIX} 752 (10,000 for PS1 PV3) randomly selected {\em unmasked} pixels in these 753 regions are used to determine the background. The background value754 for each superpixel is determined by fitting a Gaussian distribution 755 to the histogram of pixels values.802 \code{BACKGROUND.XBIN, BACKGROUND.YBIN}, set to 400 pixels 803 \textadd{($\sim 100$ arcseconds)} for PV3. Superpixels of size 804 \code{BACKGROUND.XSAMPLE, BACKGROUND.YSAMPLE} ($2 \times 2$ for PV3) 805 times larger than this spacing are used to measure the local 806 background for each background grid point, thus over-sampling the 807 background spatial variations. In the interest of speed, a subset of 808 \code{IMSTATS_NPIX} (10,000 for PV3) randomly selected {\em unmasked} 809 pixels in these regions are used to determine the background. The 810 background value for each superpixel is determined by fitting a 811 Gaussian distribution to the histogram of pixels values. 756 812 757 813 If the image were empty of stars and only contained flux from a … … 788 844 the discussion in Section~3.11 of \cite{waters2017}. 789 845 846 \textadd{Since the subtraction of the sky model supresses larger-scale 847 structures, features such as large galaxies which are comparable to 848 the superpixel size are adversely affected by the subtraction. 849 Photometry for galaxies larger than $\sim 30$ arcseconds is 850 unreliable as a result. The superpixel size used for the sky model 851 in the PV3 analysis was chosen as compromise between the need to 852 follow bright features with small spatial scales and the desire to 853 measure photometry of galaxies of sizes up to at least 30 854 arcseconds. Features which we wished to suppress include both 855 astronomical sources, such as bright nebulosity and the wings of 856 bright stars, and non-astronomical sources, such as moonlight and 857 other scattered light sources. In some contexts, we have used a 858 finer spacing for the background model, such as in the dedicated 859 analysis of the photometry of the Andromeda Galaxy, where we are 860 only interested in stellar sources and the analysis is otherwise 861 badly affected by the background from this galaxy.} 862 790 863 \subsection{Initial Source Detection} 791 864 … … 801 874 significance image in signal-to-noise units, including correction for 802 875 the covariance, if known. At this stage, the goal is only to detect 803 the brighter sources, above a user defined S/N limit (configuration 804 keyword: \code{PEAKS_NSIGMA_LIMIT} = 20.0 for PS1 PV3). A maximum of 805 \code{PEAKS_NMAX} (5000 of PS1 PV3) are found at this stage. The 876 the brighter sources, above a user defined S/N limit 877 (\code{PEAKS_NSIGMA_LIMIT} = 20.0 for PV3). A maximum of 878 \code{PEAKS_NMAX} (5000 for PV3) are found at this stage. 879 880 \textadd{For an image with a Gaussian PSF of the same size, this method 881 would represent the optimal detection algorithm, equivalent to a 882 matched filter \note{add ref}. At this stage, our goal is simply to 883 detect the brighter sources, so the exact size and shape of the PSF 884 is not critical. } 885 The 806 886 detection efficiency for the brighter sources is not strongly 807 dependent on the form of this smoothing function. 887 dependent on the form of this smoothing function. \textadd{Instead, 888 our goal with the smoothing kernel is to reduce our sensitivity to 889 pixel-to-pixel fluctuations in the location of the peak of the 890 sources in the image.}. 808 891 809 892 The local peaks in the smoothed image are found by first detecting 810 893 local peaks in each row. For each peak, the neighboring pixels are 811 894 then examined and the peak is accepted or rejected depending on a set 812 of simple rules. First, any peak which is greater than all 8 895 of simple rules. \textadd{The rules are defined so that we choose a unique set 896 of peaks which are not immediately adjacent to other peaks.} First, any peak which is greater than all 8 813 897 neighboring pixels is kept. Any peak which is lower than any of the 8 814 898 neighboring pixels is rejected. Any peak which has the same value as 815 any of the other 8 pixels is kept ifthe pixel $X$ and $Y$ coordinates816 are greater than or equal to the other equal value pixels.This817 simple rule set means that a flat-topped region will resultpeaks at818 the maximum $X$ and $Y$ corners of the region. 899 any of the other 8 pixels is kept {\em if} the pixel $X$ and $Y$ coordinates 900 are greater than or equal to the other equal-value pixels. \textmod{This 901 last rule means that a flat-topped region will result in peaks at 902 the maximum $X$ and $Y$ corners of the region.} 819 903 820 904 We use the 9 pixels which include the source peak to fit for the … … 882 966 \caption{\label{fig:peaks} Illustration of peak finding and culling peaks within a 883 967 footprint. Insignificant peaks within the footprint of a brighter 884 peak are ignored in further processing. } 968 peak are ignored in further processing. \note{NOTE that the 969 diagram is a 1D rep of a 2D path.}} 885 970 \end{center} 886 971 \end{figure} … … 897 982 (\code{PEAKS_NSIGMA_LIMIT}). These regions are grown by a small 898 983 amount to avoid errors on rough edges -- an image of the footprints is 899 convolved with a disk of radius \code{FOOTPRINT_GROW_RADIUS} ( =3900 pixels for P S1 PV3). Peaks are assigned to the footprints in which984 convolved with a disk of radius \code{FOOTPRINT_GROW_RADIUS} (3 985 pixels for PV3). Peaks are assigned to the footprints in which 901 986 they are contained (note by construction all peaks must be located in 902 987 a footprint since the peaks must be above the detection threshold). 903 988 904 989 For any peak which is not the brightest peak in that footprint it is 905 possible to reach the brightest peak by following the highest valued 906 pixels between the two peaks. The lowest pixel along this path is the 990 possible to reach the brightest peak by following a sequence of the highest valued 991 pixels between the two peaks. The lowest pixel along this 992 \textadd{(potentially meandering)} path is the 907 993 {\em key col} for this peak (as used in topographic descriptions of a 908 994 mountain). If the key col for a given peak is less than 909 \code{FOOTPRINT_CULL_NSIGMA_DELTA} (4.0 for P S1 PV3) sigmas below the995 \code{FOOTPRINT_CULL_NSIGMA_DELTA} (4.0 for PV3) sigmas below the 910 996 peak of interest, the peak is considered to be {\em locally 911 997 insignificant} and removed from the list of possible detections (see 912 Figure~\ref{fig:peaks}). In the vicinity of a saturated star, the 998 Figure~\ref{fig:peaks}). \textadd{If more than one such path is possible, the 999 path with the highest key col is used for this test.} In the vicinity of a saturated star, the 913 1000 rule is somewhat more aggressive as the flat-topped or structured 914 1001 saturated top of a bright star may appear as multiple peaks with … … 976 1063 and the aperture is an iterative process: for a given value of 977 1064 $\sigma_w$, the PSF stars will have a measured value of the PSF size, 978 $\sigma^{\prime}_{\rm PSF}$ which differentfrom the true value due to1065 $\sigma^{\prime}_{\rm PSF}$ \textmod{which is different} from the true value due to 979 1066 the effect of the window function. The measured value of the PSF size 980 1067 will be biased high or low depending on both the signal-to-noise of … … 992 1079 FWHM for faint stars rises, and then over-shoots the truth value, 993 1080 while the scatter increases. Thus, for large values of $\sigma_w$, 994 the result is both a poorly estimated FWHM for the image and a trend995 this thesignal-to-noise of the star. We attempt to minimize the1081 the result is both a poorly estimated FWHM for the image and a \textmod{trend 1082 with the} signal-to-noise of the star. We attempt to minimize the 996 1083 scatter and trends with instrumental magnitude at the cost of overall 997 1084 bias. … … 1057 1144 $S = \sum_i (f_i - s_i) w_i$ is the window-weighted sum of the source 1058 1145 flux, used to re-normalize the moments; $r_i$ is the radius of a 1059 pixel, $\sqrt{(x_i - x_0)^2 + (y_i - y_0)^2}$ ;The sums are performed1146 pixel, $\sqrt{(x_i - x_0)^2 + (y_i - y_0)^2}$. The sums are performed 1060 1147 over all (unmasked) pixels in the aperture. For the centroid calculation ($x_0, 1061 1148 y_0$), the peak coordinate (see~\ref{sec:peaks}) is used to define the … … 1076 1163 1077 1164 If the measured centroid coordinates ($x_0, y_0$) differ from the peak 1078 coordinates bea large amount (1.5$\sigma_w$), then the peak is1165 coordinates \textmod{by} a large amount (1.5$\sigma_w$), then the peak is 1079 1166 identified as being of poor quality and is skipped in further 1080 1167 analyses; the flag bit … … 1161 1248 parameters would be the shape terms ($\sigma_x, \sigma_y, \sigma_{\rm 1162 1249 xy}$) while the independent parameters would be the centroid, 1163 normalization and local sky values ($x_o, y_o, I_o, S$). Thus the 1250 normalization and local sky values ($x_o, y_o, I_o, S$). \note{we do 1251 not fit sky as a free parametery, right?} Thus the 1164 1252 shape parameters are each a function of the source centroid 1165 1253 coordinates: … … 1169 1257 \sigma_{xy} & = & f_3(x_{\rm ccd},y_{\rm ccd}). 1170 1258 \end{eqnarray} 1171 \ippprog{psphot} represents the variation in the PSF parameters as a function of 1172 position in the image in two possible ways, specified by the 1173 configuration. The first option is to use a 2-D polynomial which is 1174 fitted to the measured parameter values across the image. The second 1175 option is to use a grid of values which are measured for sources 1176 within a subregion of the image. In the latter case, the value at a 1177 specific coordinate in the image is determined by interpolation 1178 between the nearest grid points. The order of the polynomial or the 1179 sampling size of the grid is dynamically determined depending on the 1180 number of available of PSF stars. In the case of the PV3 analysis, 1181 the grid of values was used, with a maximum of $6\times 6$ samples per 1182 GPC1 chip image. For the earlier PV2 analysis, the maximum grid 1183 sampling was $3\times 3$ per GPC1 chip image. For the PV1 analysis, 1184 the polynomial representation was used, with up to 3rd order terms. 1185 The higher order representation was used for PV3 in order to follow 1186 some of the observed PSF variations in the images 1259 \ippprog{psphot} represents the variation in the PSF parameters as a 1260 function of position in the image in two possible ways, specified by 1261 the configuration. The first option is to use a 2-D polynomial which 1262 is fitted to the measured parameter values across the image. The 1263 second option is to use a grid of values which are measured for 1264 sources within a subregion of the image. In the latter case, the 1265 value at a specific coordinate in the image is determined \textmod{via 1266 bi-linear} interpolation between the nearest grid points. The order 1267 of the polynomial or the sampling size of the grid is dynamically 1268 determined depending on the number of available of PSF stars. In the 1269 case of the PV3 analysis, the grid of values was used, with a maximum 1270 of $6\times 6$ samples per GPC1 chip image \textadd{(grid cells of 1271 size $\sim 3.4$ arcminutes)}. For the earlier PV2 analysis, the 1272 maximum grid sampling was $3\times 3$ per GPC1 chip image 1273 \textadd{(grid cells of size $\sim 6.9$ arcminutes)}. For the PV1 1274 analysis, the polynomial representation was used, with up to 3rd order 1275 terms. The higher order representation was used for PV3 in order to 1276 follow some of the observed PSF variations in the images. 1187 1277 1188 1278 % \note{write up the fitting process to define the grid?} … … 1193 1283 \item Gaussian : $f = I_0 e^{-z}$ 1194 1284 \item Pseudo-Gaussian : $f = I_0 (1 + z + \frac{1}{2} z^2 + \frac{1}{6} z^3)^{-1}$ \code{[PGAUSS]} 1195 \item Variable Power-Law : $f = I_0 (1 + z + z^{\alpha})^{-1}$ \code{[RGAUSS]} 1285 \item Variable Power-Law : $f = I_0 (1 + z + z^{\alpha})^{-1}$ \code{[RGAUSS]}, $\alpha > 1.25$ 1196 1286 \item Steep Power-Law : $f = I_0 (1 + \kappa z + z^{2.25})^{-1}$ \code{[QGAUSS]} 1197 1287 \item PS1 Power-Law : $f = I_0 (1 + \kappa z + z^{1.67})^{-1}$ \code{[PS1_V1]} … … 1201 1291 similar to the Moffat profile form 1202 1292 \citep{1969AA.....3..455M,1983AA...126..278B}, with small differences. 1293 \textadd{For these PSF models, the functions are evaluated at the pixel center. 1294 Unlike some galaxy model representations (see 1295 Section~\label{sec:galaxy.conv.fit} ), the first derivatives of these 1296 functions approach zero as the radius approaches zero, so sub-pixel 1297 integration is not necessary.} 1203 1298 A user may choose to try more than one analytical function for a given 1204 1299 image. As discussed below (Section~\ref{sec:psf.model.choice}), … … 1245 1340 renormalized by the flux of the star to put them on a consistent flux 1246 1341 scale. For each PSF star, all pixels within a user-specified radius 1247 (\code{PSF.RESIDUALS.RADIUS = 9}) are selected for the measurement. For a1248 given pixel in the model, the pixel values from the PSF stars are1249 interpolated to the center of the model pixel.Pixels may be used in1342 (\code{PSF.RESIDUALS.RADIUS = 9}) are selected for the measurement. \textmod{For a 1343 given pixel in the model, the value is calculated from the 4 closest 1344 pixels in the PSF stars via bi-linear interpolation.} Pixels may be used in 1250 1345 this analysis if their signal-to-noise exceeds a user-defined limit. 1251 1346 For the PV3 $3\pi$ analysis, we allowed all pixels within the … … 1271 1366 \] 1272 1367 where $R[(x_{\rm mod},y_{\rm mod})][(x_{\rm ccd},y_{\rm ccd})]$ is the 1273 value for modelpixel $(x_{\rm mod},y_{\rm mod})$ for a star with1274 centroid at image pixel $(x_{\rm ccd},y_{\rm ccd})$. The parameters1275 $R_o, R_x, R_y$ are determined for each pixel in the model $[(x_{\rm1276 mod},y_{\rm mod})]$. 1368 \textmod{value of the residual for model} pixel $(x_{\rm mod},y_{\rm mod})$ for a star with 1369 centroid at image pixel $(x_{\rm ccd},y_{\rm ccd})$. \textmod{The parameters 1370 $R_o, R_x, R_y$ are the elements of the 2-D linear fit for each pixel $(x_{\rm mod},y_{\rm mod})$ 1371 in the model. } 1277 1372 1278 1373 \subsubsection{Candidate PSF Source Selection} … … 1355 1450 For the resulting collection of source model parameters, the 1356 1451 PSF-dependent parameters of the models are all fitted as a function of 1357 position using either the 2-D polynomial or the gridded superpixel1358 representation . The maximum order of these fits depends on the number1452 position using either the 2-D polynomial or the gridded 1453 representation described above. The maximum order of these fits depends on the number 1359 1454 of PSF sources (see Table~\ref{tab:psf.order.nstars}). The fitting process for 1360 1455 these polynomials is iterative, and rejects the $3\sigma$ outliers in … … 1380 1475 for a given order of the PSF 2D variations.} % \vspace{-0.5cm} 1381 1476 \begin{center} 1382 \begin{tabular}{lll }1477 \begin{tabular}{llll} 1383 1478 \hline 1384 1479 \hline 1385 {\bf Minimum Number} & {\bf Order} & {\bf Number of} \\1386 {\bf of Stars} & & {\bf Grid Cells} \\1480 {\bf Minimum } & {\bf Order} & {\bf Number of} & {\bf Cell Size} \\ 1481 {\bf \# of Stars} & & {\bf Grid Cells} & {\bf (arcmin) } \\ 1387 1482 \hline 1388 16 & 1 & 4 \\1389 54 & 2 & 9 \\1390 128 & 3 & 16 \\1391 300 & 4 & 25 \\1392 576 & 5 & 36 \\1483 16 & 1 & 4 & 10.3 \\ 1484 54 & 2 & 9 & 6.9 \\ 1485 128 & 3 & 16 & 5.1 \\ 1486 300 & 4 & 25 & 4.1 \\ 1487 576 & 5 & 36 & 3.4 \\ 1393 1488 \hline 1394 1489 \end{tabular} … … 1405 1500 the PSF model for this particular image. 1406 1501 1407 The metric used by \ippprog{psphot} to assess the PSF model is the 1408 scatter in the differences between the aperture and fit magnitudes for 1409 the PSF sources. This difference is a critical parameter for any PSF 1410 modeling software as it is a measurement of how well the PSF model 1411 captures the flux of the star. Aperture photometry is measured for a 1412 circular aperture with a radius of \code{PSF_APERTURE_SCALE} (= 4.5 1413 for the PV3 $3\pi$ analysis) times $\sigma_w$ 1502 % For each model test, the above 1503 % corrected ApResid scatter is measured. The PSF model function with 1504 % the smallest value for the ApResid scatter is then used by 1505 % \ippprog{psphot} as the best PSF model for this image. 1506 1507 {\bf \ippprog{psphot} allows a collection of PSF model functions to be 1508 tried on all PSF candidate sources. The number of models to be tested 1509 is specified by the configuration keyword \code{PSF_MODEL_N}. The 1510 configuration variables \code{PSF_MODEL_0}, \code{PSF_MODEL_1}, 1511 through \code{PSF_MODEL_N - 1} specify the names of the models which 1512 should be tested. The metric used by \ippprog{psphot} to assess the 1513 PSF model is the scatter in the differences between the aperture and 1514 fit magnitudes for the PSF sources. This difference is a critical 1515 parameter for any PSF modeling software as it is a measurement of how 1516 well the PSF model captures the flux of the star. Aperture photometry 1517 is measured for a circular aperture with a radius of 1518 \code{PSF_APERTURE_SCALE} (4.5 for PV3) times $\sigma_w$ 1414 1519 (Section~\ref{sec:moments}). The average aperture correction ($m_{\rm 1415 1520 AP} - m_{\rm PSF}$) is measured and, if multiple PSF model types are 1416 1521 selected, the PSF model with the minimum clipped scatter in this 1417 statistic is chosen for the image. An approximate aperture correction 1418 is measured here, with a more detailed correction measured after all 1419 source analysis is performed (see 1420 Section~\ref{sec:aperture.correction}). Sources for which the 1421 aperture magnitude is measured have the flag bit 1522 statistic is chosen for the image. For the PV3 analysis, however, only the 1523 \code{PS1_V1} model function was used.} 1524 1525 An approximate aperture correction is measured at this stage, with a 1526 more detailed correction measured after all source analysis is 1527 performed (see Section~\ref{sec:aperture.correction}). Sources for 1528 which the aperture magnitude is measured have the flag bit 1422 1529 \code{PM_SOURCE_MODE_AP_MAGS} set. These aperture magnitudes are 1423 stored in the DVO field \ code{Measure.Map} and exported to the PSPS as1424 a flux in Janskies in the field \code{Detection.apFlux}. The radius 1425 (in arcseconds) 1426 of the aperture used for each exposure is reported in PSPS as 1427 \code{Detection.apRadius}, while the unmasked fraction of the aperture 1428 is reported in PSPS as \code{Detection.apFillF}.1530 stored in the DVO field \ippdbtable{Measure.Map} and exported to the 1531 PSPS as a flux in Janskies in the field \ippdbtable{Detection.apFlux}. 1532 The radius (in arcseconds) of the aperture used for each exposure is 1533 reported in PSPS as \ippdbtable{Detection.apRadius}, while the 1534 unmasked fraction of the aperture is reported in PSPS as 1535 \ippdbtable{Detection.apFillF}. 1429 1536 1430 1537 When the PSF and aperture photometry for a source is measured, two … … 1486 1593 % maybe drop this discussion? too much detail? 1487 1594 In order to allow for multiple threads to process a single image, the 1488 pixels in an image are divided into a grid of superpixels. The 1595 pixels in an image are divided into a grid of superpixels \textadd{(note that 1596 these superpixels are not the same as those used for either the 1597 background model or the PSF parameter variations)}. The 1489 1598 superpixels are assigned to one of four groups so that each superpixel 1490 1599 in a group is well separated from the other superpixels of that group. … … 1498 1607 considering the nearby pixels from neighboring superpixel (guaranteed 1499 1608 not to be in the current thread group). 1609 1610 \note{explain number of superpixels (psphotThreadTools.c)} 1500 1611 1501 1612 As the threads complete their analysis, they are assigned the next … … 1589 1700 one annulus to the next is less than a user-defined limit, then the 1590 1701 annulus at which the slope reaches this limit is used to define the 1591 sky radius. These values are saved in the output smf / cmf files, but1702 sky radius. These values are saved in the \textmod{output FITS catalog files}, but 1592 1703 not sent to the PSPS. The sky radius value is used below in the 1593 1704 calculation of the Kron magnitude. … … 1625 1736 surface brightness. The aperture is constrained to be less than a 1626 1737 maximum value defined such that the minimum surface brightness is 1627 1/2$ times$ the effective surface brightness of a point source detected at the1738 1/2$\times$ the effective surface brightness of a point source detected at the 1628 1739 $5\sigma$ limit. 1629 1740 … … 1636 1747 suppressed by the matched pixel on the other side. This trick has the 1637 1748 effect of reducing the impact of pixels which include flux from near 1638 neighbors. 1749 neighbors. \textadd{We found it necessary to apply this filter because, 1750 although the source models have been subtracted, at this point in the 1751 analysis, only PSF models have been used. Thus extended objects 1752 (galaxies) can leave behind significant amounts of flux to contaminate 1753 the neighbors.} 1639 1754 1640 1755 % \note{give a test example} … … 1645 1760 After the PSF model has been fitted to all sources, and the Kron flux 1646 1761 has been measured for all sources, \ippprog{psphot} uses these two 1647 measurements, along with some additional pixel-level analysis, to1648 determine the size class of the source.Sources identified as1762 measurements, along with some additional pixel-level analysis, \textmod{for 1763 classification based on source size.} Sources identified as 1649 1764 extended will be fitted with a galaxy model (or possibly another type 1650 of extended source model in special cases). If the source is small1765 of extended source model in special cases). \textadd{If the source is small 1651 1766 compared to a PSF, it is considered to be a {\em cosmic ray} and 1652 masked. 1767 masked.} 1653 1768 1654 1769 Extended sources are identified as those for which the Kron magnitude … … 1660 1775 star. The result is divided by the quadrature error of the PSF and 1661 1776 Kron magnitudes and called \code{extNsigma}. If \code{extNsigma} is 1662 larger than \code{PSPHOT.EXT.NSIGMA.LIMIT} (3.0), the source is1777 larger than the configuration value \code{PSPHOT.EXT.NSIGMA.LIMIT} (3.0 for PV3), the source is 1663 1778 considered to be extended and the flag bit 1664 1779 \code{PM_SOURCE_MODE_EXT_LIMIT} is set for the source. … … 1830 1945 exclusion stage are subtracted from the image. The subtraction 1831 1946 process modifies the image pixels (removing the fitted flux, though 1832 not the locally fitted background) but does not modify the mask or the 1833 variance images. The signal-to-noise ratio in the image after 1834 subtraction represents the significance of the remaining flux. If the 1947 not the locally fitted background)\note{is the background actually 1948 fitted locally?} but does not modify the mask or the variance 1949 images. The signal-to-noise ratio in the image after subtraction 1950 represents the significance of the remaining flux. If the 1835 1951 subtractions are sufficiently accurate models of the PSF flux 1836 distribution, the remaining flux should be below 1 $\sigma$ 1837 significance. In practice the cores of bright stars are poorly 1838 represented and may have larger residual significance. 1952 distribution, \textmod{the remaining flux should be normally distributed about 1953 zero with a standard deviation of 1 $\sigma$}. In practice the cores 1954 of bright stars are poorly represented and may have larger residual 1955 significance. 1839 1956 1840 1957 For sources in groups of blended stars, the resulting fits are … … 1895 2012 image is not modified. 1896 2013 1897 For the single exposure (\ippstage{c amera}) and \ippstage{stack} image2014 For the single exposure (\ippstage{chip}) and \ippstage{stack} image 1898 2015 analysis, these galaxy model fits are only used internally to generate 1899 2016 a clean object-subtracted residual image. For the PV3 analysis of the … … 1949 2066 on one image based on detections in other images have the flag bit 1950 2067 \code{PM_SOURCE_MODE2_MATCHED} set. 2068 2069 \note{need to discuss the injection \& recovery analysis of the completeness} 1951 2070 1952 2071 \subsection{Aperture Correction and Total Aperture Fluxes} … … 1979 2098 fraction of the total source flux. Even more importantly, as the 1980 2099 image conditions change, the amount lost will change by an even 1981 smaller fraction, at least for a large aperture. This can be seen by 1982 the fact that the dominant variations in the image quality are in the 1983 focus, tracking and seeing. All of these errors initially affect the 1984 cores of the stellar images, rather than the wide wings. The wide 1985 wings are largely dominated by scattering in the optics and scattering 1986 in the atmosphere. The amplitude and distribution of these two 1987 scattering functions do not change significantly or quickly for a 1988 single telescope and site. Aperture photometry can then be used to 2100 smaller fraction, at least for a large aperture. 2101 % 2102 % This can be seen by 2103 % the fact that the dominant variations in the image quality are in the 2104 % focus, tracking and seeing. All of these errors initially affect the 2105 % cores of the stellar images, rather than the wide wings. The wide 2106 % wings are largely dominated by scattering in the optics and scattering 2107 % in the atmosphere. The amplitude and distribution of these two 2108 % scattering functions do not change significantly or quickly for a 2109 % single telescope and site. 2110 % 2111 Aperture photometry can then be used to 1989 2112 correct the PSF photometry. 1990 2113 … … 2111 2234 %%% term. 2112 2235 2113 \ippprog{psphot} allows a collection of PSF model functions to be tried on all2114 PSF candidate sources. For each model test, the above corrected2115 ApResid scatter is measured. The PSF model function with the smallest2116 value for the ApResid scatter is then used by \ippprog{psphot} as the best PSF2117 model for this image. The number of models to be tested is specified2118 by the configuration keyword \code{PSF_MODEL_N}. The configuration2119 variables \code{PSF_MODEL_0}, \code{PSF_MODEL_1}, through2120 \code{PSF_MODEL_N - 1} specify the names of the models which should be2121 tested.2122 2123 2236 \subsection{Stellar Photometry Example} 2124 2237 … … 2191 2304 %% step ($S/N > 20$, Section~\ref{sec:xxxx}). 2192 2305 2193 The extended source analysis is not applied to all objectwhich may be2306 The extended source analysis is not applied to all \textmod{objects} which may be 2194 2307 galaxies. Several restrictions are possible within the software. For 2195 2308 example, it is possible to limit which objects are processed by their … … 2311 2424 output file FITS header (\code{RMIN_NN}, \code{RMAX_NN}). 2312 2425 2426 \note{specify PV3 config values?} 2427 2313 2428 % \note{these profiles are not saved in PSPS} 2314 2429 … … 2319 2434 ratio of surface brightnesses. The motivation is to define an 2320 2435 aperture which can be determined for galaxies without significant 2321 biases as a function of distance from the observer. Since surface2322 brightness in a resolved source is conserved as a function of2436 biases as a function of distance from the observer. \textmod{Since the surface 2437 brightness profile} in a resolved source is conserved as a function of 2323 2438 distance, using a ratio of surface brightness to define a spatial 2324 2439 scale results in a spatial scale which is constant regardless of … … 2421 2536 fewer. The 1st radial moment (see 2422 2537 \ref{sec:moments}) is used to estimate the effective radius of the 2423 model based on the results of Graham \& Driver (2005, Table 1). They2538 model based on the results of \cite[][Table1]{2005PASA...22..118G}. They 2424 2539 quantify the relationships between the first radial moment used to 2425 2540 calculated a Kron Magnitude and the effective radius for different … … 2447 2562 with the PSF model. 2448 2563 2449 We simplify this by defining:2450 \begin{eqnarray}2451 f_p (a_m) & = & \frac{1}{\sigma_p} (I_p - M_p \otimes \mbox{PSF}) \\2452 \end{eqnarray}2453 2454 2564 To determine the minimization, we need the gradient and laplacian of 2455 2565 $\chi^2$ with respect to the model parameters, $a_m$: … … 2460 2570 2 H_{m,n} & = & \sum_p \frac{\partial f_p}{\partial a_m} \frac{\partial f_p}{\partial a_n} 2461 2571 \end{eqnarray} 2462 where we have approximated the Laplacian with the Hessian matrix, 2572 where we define 2573 \begin{eqnarray} 2574 f_p (a_m) & = & \frac{1}{\sigma_p} (I_p - M_p \otimes \mbox{PSF}) 2575 \end{eqnarray} 2576 and we have approximated the Laplacian with the Hessian matrix, 2463 2577 $H_{m,n}$ by dropping the second-derivatives (which are assumed to be 2464 a small perturbation). Since 2578 a small perturbation). 2579 2580 Since 2465 2581 \[ 2466 2582 \frac{\partial f_p}{\partial a_m} = -\frac{1}{\sigma_p}\frac{\partial M_p \otimes \mbox{PSF}}{\partial a_m} … … 2486 2602 parameters compared to the local-linear expectation and small when the 2487 2603 last change was small. The iteration ends when the change in the 2488 parameters is small and/or the change in the $\chi^2$ value is small.2489 2490 In the analysis, convolved galaxy fit , the galaxy model image and the2604 parameters is small or the change in the $\chi^2$ value is small. 2605 2606 In the analysis, convolved galaxy fits, the galaxy model image and the 2491 2607 model derivative images must be convolved with the PSF at each 2492 2608 iteration step. To save computation time, this convolution is … … 2577 2693 additions, or up to $6 \times$ that number if we interpolate between 2578 2694 any of the parameters. 2695 2696 \note{how much error does this approximation introduce?} 2579 2697 2580 2698 \subsection{Fixed Aperture Photometry} … … 3162 3280 negative (minuend) images. We identify the closest source in both the 3163 3281 positive and negative images to the detection in the difference image, 3164 out to a maximum of \code{INPUT.MATCH.RADIUS} ( = 50 pixels), but only3282 out to a maximum of \code{INPUT.MATCH.RADIUS} (50 pixels for PV3), but only 3165 3283 if the source in those images has a signal-to-noise greater than 3166 \code{INPUT.MATCH.MIN.SN} ( = 10). If there is a close neighbor in the3284 \code{INPUT.MATCH.MIN.SN} (10 for PV3). If there is a close neighbor in the 3167 3285 positive image, and the difference in the magnitudes of the source in 3168 3286 that image and the source in the difference image is less than 5 … … 3206 3324 \section{Conclusions} 3207 3325 3208 The Pan-STARRS Image Processing Pipeline has used the \ code{psphot}3326 The Pan-STARRS Image Processing Pipeline has used the \ippprog{psphot} 3209 3327 software to detect and characterize astronomical sources in images 3210 3328 from both the PS\,1 and PS\,2 telescopes since 2008. This software … … 3238 3356 3239 3357 \bibliographystyle{apj} 3240 %\bibliography{lib}{}3241 \input{analysis.bbl}3358 \bibliography{lib}{} 3359 %\input{analysis.bbl} 3242 3360 3243 3361 \end{document}
Note:
See TracChangeset
for help on using the changeset viewer.
