Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > 99559aae0ebc42ad42fe119ca2937bc6 > files > 188

python-stwcs-1.1.0-3.mga4.noarch.rpm



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>FITS Distortion Proposal &mdash; SSB TSR 2012-01 documentation</title>
    
    <link rel="stylesheet" href="_static/stsci_sphinx.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '',
        VERSION:     'TSR 2012-01',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="top" title="SSB TSR 2012-01 documentation" href="index.html" />
    <link rel="next" title="Non-polynomial Residual Correction" href="npolcorr.html" />
    <link rel="prev" title="SIP Convention" href="sip.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="npolcorr.html" title="Non-polynomial Residual Correction"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="sip.html" title="SIP Convention"
             accesskey="P">previous</a> |</li>
        <li><a href="index.html">SSB TSR 2012-01 documentation</a> &raquo;</li> 
      </ul>
    </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
            <p class="logo"><a href="index.html">
              <img class="logo" src="_static/stsci_logo.png" alt="Logo"/>
            </a></p>
  <h4>Previous topic</h4>
  <p class="topless"><a href="sip.html"
                        title="previous chapter">SIP Convention</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="npolcorr.html"
                        title="next chapter">Non-polynomial Residual Correction</a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="_sources/convention.txt"
           rel="nofollow">Show Source</a></li>
  </ul>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="fits-distortion-proposal">
<h1>FITS Distortion Proposal<a class="headerlink" href="#fits-distortion-proposal" title="Permalink to this headline">ΒΆ</a></h1>
<p>The current FITS Distortion Paper conventions <a class="reference internal" href="appendix3.html#distortionpaper">[DistortionPaper]</a> provide a mechanism for specifying either a lookup table
or polynomial model for the distortion of each axis. The standard states in Section 2.1:</p>
<blockquote>
<div>Note that the prior distortion functions, <span class="math">\delta_p(p)</span>, operate on pixel coordinates (i.e.
<span class="math">p</span> rather than <span class="math">p-r</span>), and that the independent variables of the distortion functions
are the <em>uncorrected</em> pixel or intermediate pixel coordinates. That is, for example,
we do not allow the possibility of</div></blockquote>
<div class="math" id="equation-Equation 1">
<p><span class="eqno">(1)</span><span class="math">q'_{3} = q_{3} + \delta_{q_{3}}(q'_{1},q'_{2})</span></p>
</div><p>The keywords used for describing these corrections use the syntax given in Table 2 of the FITS Distortion Paper.
For our purposes, the keywords of interest are those related to lookup tables; namely,</p>
<div class="highlight-python"><pre>CPDISja        string    2.4.1 distortion code new Prior distortion function type.
DPja           record    2.4.2 distortion parameter new Parameter for a prior distortion
                                 function, for use in an image header</pre>
</div>
<p>This syntax only provides the option to specify one correction at a time for each
axis of the image. This precludes being able to use this convention to specify both
a lookup table and a polynomial model at the same time for the same axis. It does not
state what should be done if the polynomial has been specified using a different
convention, for example, the SIP convention. Thus, SIP and FITS Distortion Paper should not be
seen as mutually exclusive. In fact, they may work together rather naturally since the
SIP and FITS Distortion Paper conventions both assume the corrections will work on the input pixel
and add to the output frame.</p>
<p>The sample header in <a class="reference internal" href="appendix1.html#appendix1"><em>Appendix 1 - Sample ACS/WFC Image</em></a> shows how these keywords get populated for
an actual reference file; specifically, an NPOLFILE as described in the next section.</p>
</div>


          </div>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="npolcorr.html" title="Non-polynomial Residual Correction"
             >next</a> |</li>
        <li class="right" >
          <a href="sip.html" title="SIP Convention"
             >previous</a> |</li>
        <li><a href="index.html">SSB TSR 2012-01 documentation</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2012, Nadia Dencheva, Warren Hack.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
    </div>
  </body>
</html>