<!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>find_all_wcs — Astropy v0.2.4</title> <link rel="stylesheet" href="../_static/bootstrap-astropy.css" type="text/css" /> <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '../', VERSION: '0.2.4', 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> <script type="text/javascript" src="../_static/sidebar.js"></script> <link rel="shortcut icon" href="../_static/astropy_logo.ico"/> <link rel="top" title="Astropy v0.2.4" href="../index.html" /> <link rel="up" title="World Coordinate System (astropy.wcs)" href="../wcs/index.html" /> <link rel="next" title="DistortionLookupTable" href="astropy.wcs.DistortionLookupTable.html" /> <link rel="prev" title="UnitConverter" href="astropy.wcs.UnitConverter.html" /> </head> <body> <div class="topbar"> <a class="brand" title="Documentation Home" href="../index.html"></a> <ul> <li><a class="homelink" title="AstroPy Homepage" href="http://www.astropy.org"></a></li> <li><a title="General Index" href="../genindex.html">Index</a></li> <li><a title="Python Module Index" href="../py-modindex.html">Modules</a></li> <li> <form action="../search.html" method="get"> <input type="text" name="q" placeholder="Search" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> </li> </ul> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right"> <a href="astropy.wcs.DistortionLookupTable.html" title="DistortionLookupTable"> next » </a> </li> <li class="right"> <a href="astropy.wcs.UnitConverter.html" title="UnitConverter"> « previous </a> | </li> <li> <a href="../index.html">Astropy v0.2.4</a> » </li> <li><a href="../wcs/index.html" accesskey="U">World Coordinate System (<tt class="docutils literal"><span class="pre">astropy.wcs</span></tt>)</a> »</li> <li>find_all_wcs</li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="find-all-wcs"> <h1>find_all_wcs<a class="headerlink" href="#find-all-wcs" title="Permalink to this headline">¶</a></h1> <dl class="function"> <dt id="astropy.wcs.wcs.find_all_wcs"> <tt class="descclassname">astropy.wcs.wcs.</tt><tt class="descname">find_all_wcs</tt><big>(</big><em>header</em>, <em>relax=True</em>, <em>keysel=None</em><big>)</big><a class="reference external" href="http://github.com/astropy/astropy/tree/v0.2.4/astropy/wcs/wcs.py#L1589" title="Push the Edit button on the next page"><span class="edit-on-github viewcode-link"> [edit on github]</span></a><a class="reference internal" href="../_modules/astropy/wcs/wcs.html#find_all_wcs"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#astropy.wcs.wcs.find_all_wcs" title="Permalink to this definition">¶</a></dt> <dd><p>Find all the WCS transformations in the given header.</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Parameters :</th><td class="field-body"><p class="first"><strong>header</strong> : string or astropy.io.fits header object.</p> <p><strong>relax</strong> : bool or int, optional</p> <blockquote> <div><p>Degree of permissiveness:</p> <ul class="simple"> <li><tt class="xref py py-obj docutils literal"><span class="pre">True</span></tt> (default): Admit all recognized informal extensions of the WCS standard.</li> <li><tt class="xref py py-obj docutils literal"><span class="pre">False</span></tt>: Recognize only FITS keywords defined by the published WCS standard.</li> <li><tt class="xref py py-obj docutils literal"><span class="pre">int</span></tt>: a bit field selecting specific extensions to accept. See <a class="reference internal" href="../wcs/relax.html#relaxread"><em>Header-reading relaxation constants</em></a> for details.</li> </ul> </div></blockquote> <p><strong>keysel</strong> : sequence of flags, optional</p> <blockquote> <div><p>A list of flags used to select the keyword types considered by wcslib. When <tt class="docutils literal"><span class="pre">None</span></tt>, only the standard image header keywords are considered (and the underlying wcspih() C function is called). To use binary table image array or pixel list keywords, <em>keysel</em> must be set.</p> <p>Each element in the list should be one of the following strings:</p> <blockquote> <div><ul class="simple"> <li>‘image’: Image header keywords</li> <li>‘binary’: Binary table image array keywords</li> <li>‘pixel’: Pixel list keywords</li> </ul> </div></blockquote> <p>Keywords such as <tt class="docutils literal"><span class="pre">EQUIna</span></tt> or <tt class="docutils literal"><span class="pre">RFRQna</span></tt> that are common to binary table image arrays and pixel lists (including <tt class="docutils literal"><span class="pre">WCSNna</span></tt> and <tt class="docutils literal"><span class="pre">TWCSna</span></tt>) are selected by both ‘binary’ and ‘pixel’.</p> </div></blockquote> </td> </tr> <tr class="field-even field"><th class="field-name">Returns :</th><td class="field-body"><p class="first last"><strong>wcses</strong> : list of <a class="reference internal" href="astropy.wcs.wcs.WCS.html#astropy.wcs.wcs.WCS" title="astropy.wcs.wcs.WCS"><tt class="xref py py-obj docutils literal"><span class="pre">WCS</span></tt></a> objects</p> </td> </tr> </tbody> </table> </dd></dl> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"><h3>Page Contents</h3> <ul> <li><a class="reference internal" href="#">find_all_wcs</a></li> </ul> </div> </div> <div class="clearer"></div> </div> <footer class="footer"> <p class="pull-right"> <a href="../_sources/_generated/astropy.wcs.wcs.find_all_wcs.txt" rel="nofollow">Page Source</a> <a href="#">Back to Top</a></p> <p> © Copyright 2011-2013, The Astropy Developers.<br/> Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3. Last built 22 Oct 2013. <br/> </p> </footer> </body> </html>