IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 5, 2016, 4:55:19 PM (10 years ago)
Author:
eugene
Message:

update calibration text

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/release.2015/ps1.calibration/calibration.tex

    r39834 r39835  
    283283{\bf WCS Keywords} When this polynomial representation is written to
    284284the output files, a set of WCS keywords are used to define the
    285 astrometric transformation elements.  It is necessary to
     285astrometric transformation elements.  It is necessary to transform the
     286simply polynomials above into an alternate form:
    286287\begin{eqnarray}
    287288P & = & \sum_{i,j} C^P_{i,j} (X_{\rm chip} - X_0)^i (Y_{\rm chip} - Y_0)^j \\
    288289Q & = & \sum_{i,j} C^Q_{i,j} (X_{\rm chip} - X_0)^i (Y_{\rm chip} - Y_0)^j
    289290\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}
     296CTYPE1,2 : RA---WRP, DEC--WRP & RA---DIS, DEC--DIS (ill-defined since the WRP entries do not generate RA,DEC)
     297CRVAL1,2 : C^{L,M}_{0,0}
     298CRPIX1,2 : X_0, Y_0
     299PC001001 : C^{L}_{1,0}
     300PC001002 : C^{L}_{0,1}
     301PC002001 : C^{M}_{1,0}
     302PC002002 : C^{M}_{0,1}
     303PCA1XiYj : C^{L}_{i,j}
     304PCA2XiYj : C^{M}_{i,j}
     305\end{verbatim}
    291306
    292307\section{Real-time Calibration}
     308
     309\subsection{Overview}
    293310
    294311As images are processed by the data analysis system, every exposure is
     
    333350under the single common focal plane to tangent plane transformation. 
    334351
     352\subsection{Cross-Correlation Search}
     353
    335354The 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}
     355the reference stars and the detected objects.  \code{psastro} uses 2D
     356cross correlation to search for the match.  The guess astrometry
     357calibration is used to define a predicted set of $X^{\rm ref}_{\rm
     358  chip}, Y^{\rm ref}_{\rm chip}$ values for the reference catalog
     359stars.  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\]
     364are generated.  The collection of $\Delta X, \Delta Y$ values are
     365collected in a 2D histogram with sampling of \note{XXX} pixels and the
     366peak pixel is identified.  If the astrometry guess were perfect, this
     367peak pixel would be expected to lie at (0,0) and contain all of the
     368matched stars.  However, the astrometric guess may be wrong in
     369several ways.  An error in the constant term above, $C^P_{0,0},
     370C^Q_{0,0}$ shifts the peak to another pixel, from which $C^P_{0,0},
     371C^Q_{0,0}$ can easily be determined.  An error in the plate scale or a
     372rotation will smear out the peak pixel potentially across many pixels
     373in the 2D histogram. 
     374
     375To find a good match in the face of plate scale and rotation errors,
     376the cross correlation analysis above is performed for a series of
     377trials in which the scale and rotation are perturbed from the nominal
     378value by a small amount.  For each trial, the peak pixel is found and
     379a 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
     381second moment of $\Delta X,Y$ for the star pairs associated with the
     382peak pixel, and $N_p$ is the number of star pairs in the peak.  This
     383figure of merit is thus most sensitive to a narrow distribution with
     384many 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
     386the nominal plate scale are tested.  The best match among these 15
     387cross-correlation tests is selected and used to generate a better
     388astrometry guess for the chip.
     389
     390\subsection{Chip Polynomial Fits}
     391
     392The astrometry solution from the cross correlation step above is again
     393used to selected matches between the reference stars and observed
     394stars in the image.  The matching radius starts off quite large, and a
     395series of fits is performed to generate the transformation between
     396chip and tangent plane coordinates.  Three clipping iterations are
     397performed, with outliers $> 3 \sigma$ rejected on each pass, where
     398here $\sigma$ is determined from the distribution of the residuals in
     399each dimension (X,Y) independently.  After each fit cycle, the matches
     400are redetermined using a smaller radius and the fit re-tried. 
     401
     402\subsection{Mosaic Astrometry Polynomial Fits}
     403
     404The astrometry solutions from the independent chip fits are used to
     405generate a single model for the camera-wide distortion terms.  The
     406goal is to determine the two stage fit (chip $\rtarrow$ focal plane
     407$\rtarrow$ tangent plane).  There are a number of degenerate terms
     408between these two levels of transformation, most obviously between the
     409parameters 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
     411to tangent plane ($C^{P,Q}_{0,0}$).  We limit ($C^{P,Q}_{0,0}$) to be
     4120,0 to remove this degeneracy.  \note{disucss the measurement of the
     413  camera distortion via the gradient}
     414
     415Once the common distortion coming from the optics and atmosphere have
     416been modeled, \code{psastro} determines polynomial transformations
     417from the 60 chips to the focal plane coordinate system.  In this
     418stage, \note{NN} iterations of the chip fits are performed.  Before
     419each iteration, the reference stars and detected objects are matched
     420using the current best set of transformations.  These fits start with
     421low order (1) and large matching radius (\note{XX}) and reduced the
     422radius while allowing the order to increaes, up to 3rd order for the
     423final iterations.  \note{quality of the fits as a result of this stage}.
     424
     425\note{describe the output smf file?}
    339426
    340427\section{DVO Description}
    341 
    342 
    343428
    344429\section{Photometry Calibration}
Note: See TracChangeset for help on using the changeset viewer.