diff options
author | dencheva <dencheva@stsci.edu> | 2010-09-30 15:06:39 -0400 |
---|---|---|
committer | dencheva <dencheva@stsci.edu> | 2010-09-30 15:06:39 -0400 |
commit | 006537f7a7607130a2c6fa0eaedb8c62b7590101 (patch) | |
tree | 3570cedc939c3fde9da13b6fa77e6bc1bd6ff743 /doc/source/updatewcs.rst | |
parent | fac076e7c94e199a684a6e606b4e7cc88116785c (diff) | |
download | stwcs_hcf-006537f7a7607130a2c6fa0eaedb8c62b7590101.tar.gz |
Adding documentation
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@10439 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'doc/source/updatewcs.rst')
-rw-r--r-- | doc/source/updatewcs.rst | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/doc/source/updatewcs.rst b/doc/source/updatewcs.rst new file mode 100644 index 0000000..73b3840 --- /dev/null +++ b/doc/source/updatewcs.rst @@ -0,0 +1,68 @@ +.. _updatewcs: + +************************************** +UPDATEWCS +************************************** +UPDATEWCS applies corrections to the WCS of a science file +and adds reference information as header keywords and fits +file extensions so that a science file contains all necessary +information to represent astrometrically precise positions. +The order in which the corrections are applied is important +and is as follows: + +- Detector to Image Correction + +- Apply Time dependent distortion (if applciable) + +- Recomputing the basic WCS + +- Apply Velocity Aberration Correction + +- Apply polynomial distortion through the SIP coefficients + +- Apply non-polynomial distortion + +Mathematicall the entire transformation from detector to sky +coordinates is described by: + +.. math:: (x',y') &= DET2IM(x,y) + +.. math:: \binom{u'}{v'} &= \binom{x' - CRPIX1}{y' - CRPIX2} + +.. math:: \left( \begin{array}{ll} + \alpha \\ + \delta \\ + \end{array} \right) &= + \left( \begin{array}{ll} + CRVAL1 \\ + CRVAL2\\ + \end{array} \right) + + \left( \begin{array}{cc} + CD11 & CD12 \\ + CD21 & CD22\\ + \end{array} \right) + \left( \begin{array}{ll} + u' + f(u',v') + LT_x(x',y') \\ + v' + g(u',v') + LT_y(x',y') \\ + \end{array} \right) + +where f(u',v') and g(u',v') represent the polynomial distortion correction specified as + +.. math:: f(u',v') = \sum_{p+q=2}^{AORDER} A_{pq} {u'}^{p} {v'}^{q} + \\ + g(u',v') = \sum_{p+q=2}^{BORDER} B_{pq} {u'}^{p} {v'}^{q} + + +where + +* x', y' are the initial coordinates x,y with the 68th column correction applied through the DET2IM convention +* u',v' are the DET2IM-corrected coordinates relative to CRPIX1,CRPIX2 +* LT<sub>x</sub>, LT<sub>y</sub> is the residual distortion in the lookup tables written to the header using the Paper IV lookup table convention +* A, B are the SIP coefficients specified using the SIP convention + +.. toctree:: + :maxdepth: 2 + + updatewcs_ui + apply_corrections + wcs_corrections
\ No newline at end of file |