Changeset 39835 for trunk/doc/release.2015/ps1.calibration/calibration.tex
- Timestamp:
- Dec 5, 2016, 4:55:19 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/release.2015/ps1.calibration/calibration.tex
r39834 r39835 283 283 {\bf WCS Keywords} When this polynomial representation is written to 284 284 the output files, a set of WCS keywords are used to define the 285 astrometric transformation elements. It is necessary to 285 astrometric transformation elements. It is necessary to transform the 286 simply polynomials above into an alternate form: 286 287 \begin{eqnarray} 287 288 P & = & \sum_{i,j} C^P_{i,j} (X_{\rm chip} - X_0)^i (Y_{\rm chip} - Y_0)^j \\ 288 289 Q & = & \sum_{i,j} C^Q_{i,j} (X_{\rm chip} - X_0)^i (Y_{\rm chip} - Y_0)^j 289 290 \end{eqnarray} 290 where $X_0, Y_0$ is the reference pixel, represented in the header as 291 292 \note{need to discuss the WCS keywords, both standard and 293 non-standard, used to represent these polynomial transformations} 294 295 \begin{verbatim} 296 CTYPE1,2 : RA---WRP, DEC--WRP & RA---DIS, DEC--DIS (ill-defined since the WRP entries do not generate RA,DEC) 297 CRVAL1,2 : C^{L,M}_{0,0} 298 CRPIX1,2 : X_0, Y_0 299 PC001001 : C^{L}_{1,0} 300 PC001002 : C^{L}_{0,1} 301 PC002001 : C^{M}_{1,0} 302 PC002002 : C^{M}_{0,1} 303 PCA1XiYj : C^{L}_{i,j} 304 PCA2XiYj : C^{M}_{i,j} 305 \end{verbatim} 291 306 292 307 \section{Real-time Calibration} 308 309 \subsection{Overview} 293 310 294 311 As images are processed by the data analysis system, every exposure is … … 333 350 under the single common focal plane to tangent plane transformation. 334 351 352 \subsection{Cross-Correlation Search} 353 335 354 The first step of the analysis is to attempt to find the match between 336 the reference stars and the detected objects. \code{psastro} uses a 337 338 \code{smf} 355 the reference stars and the detected objects. \code{psastro} uses 2D 356 cross correlation to search for the match. The guess astrometry 357 calibration is used to define a predicted set of $X^{\rm ref}_{\rm 358 chip}, Y^{\rm ref}_{\rm chip}$ values for the reference catalog 359 stars. For all possible pairs between the two lists, the values of 360 \[ 361 $\Delta X = X^{\rm ref}_{\rm chip} - X^{\rm obs}_{\rm chip}\\ 362 $\Delta Y = Y^{\rm ref}_{\rm chip} - Y^{\rm obs}_{\rm chip} 363 \] 364 are generated. The collection of $\Delta X, \Delta Y$ values are 365 collected in a 2D histogram with sampling of \note{XXX} pixels and the 366 peak pixel is identified. If the astrometry guess were perfect, this 367 peak pixel would be expected to lie at (0,0) and contain all of the 368 matched stars. However, the astrometric guess may be wrong in 369 several ways. An error in the constant term above, $C^P_{0,0}, 370 C^Q_{0,0}$ shifts the peak to another pixel, from which $C^P_{0,0}, 371 C^Q_{0,0}$ can easily be determined. An error in the plate scale or a 372 rotation will smear out the peak pixel potentially across many pixels 373 in the 2D histogram. 374 375 To find a good match in the face of plate scale and rotation errors, 376 the cross correlation analysis above is performed for a series of 377 trials in which the scale and rotation are perturbed from the nominal 378 value by a small amount. For each trial, the peak pixel is found and 379 a figure of merit is measured. The figure of merit is defined as 380 $\frac{\sigma^2_x + \sigma^2_y}{N_p^4}$ where $\sigma^2_{x,y}$ are the 381 second moment of $\Delta X,Y$ for the star pairs associated with the 382 peak pixel, and $N_p$ is the number of star pairs in the peak. This 383 figure of merit is thus most sensitive to a narrow distribution with 384 many matched pairs. For the PS1 exposures, rotation offsets of (-1.0, 385 -0.5, 0.0, 0.5, 1.0) degrees, and plate scales of (+1\%, 0, -1\%) of 386 the nominal plate scale are tested. The best match among these 15 387 cross-correlation tests is selected and used to generate a better 388 astrometry guess for the chip. 389 390 \subsection{Chip Polynomial Fits} 391 392 The astrometry solution from the cross correlation step above is again 393 used to selected matches between the reference stars and observed 394 stars in the image. The matching radius starts off quite large, and a 395 series of fits is performed to generate the transformation between 396 chip and tangent plane coordinates. Three clipping iterations are 397 performed, with outliers $> 3 \sigma$ rejected on each pass, where 398 here $\sigma$ is determined from the distribution of the residuals in 399 each dimension (X,Y) independently. After each fit cycle, the matches 400 are redetermined using a smaller radius and the fit re-tried. 401 402 \subsection{Mosaic Astrometry Polynomial Fits} 403 404 The astrometry solutions from the independent chip fits are used to 405 generate a single model for the camera-wide distortion terms. The 406 goal is to determine the two stage fit (chip $\rtarrow$ focal plane 407 $\rtarrow$ tangent plane). There are a number of degenerate terms 408 between these two levels of transformation, most obviously between the 409 parameters which define the constant offset from chip to focal plane 410 ($C^{L,M}_{0,0}$) and those which define the offset from focal plane 411 to tangent plane ($C^{P,Q}_{0,0}$). We limit ($C^{P,Q}_{0,0}$) to be 412 0,0 to remove this degeneracy. \note{disucss the measurement of the 413 camera distortion via the gradient} 414 415 Once the common distortion coming from the optics and atmosphere have 416 been modeled, \code{psastro} determines polynomial transformations 417 from the 60 chips to the focal plane coordinate system. In this 418 stage, \note{NN} iterations of the chip fits are performed. Before 419 each iteration, the reference stars and detected objects are matched 420 using the current best set of transformations. These fits start with 421 low order (1) and large matching radius (\note{XX}) and reduced the 422 radius while allowing the order to increaes, up to 3rd order for the 423 final iterations. \note{quality of the fits as a result of this stage}. 424 425 \note{describe the output smf file?} 339 426 340 427 \section{DVO Description} 341 342 343 428 344 429 \section{Photometry Calibration}
Note:
See TracChangeset
for help on using the changeset viewer.
