PageRenderTime 42ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

/docs/1.1.8/generated/cf.Field.equivalent_domain.html

https://bitbucket.org/cfpython/cfpython.bitbucket.org
HTML | 199 lines | 155 code | 14 blank | 30 comment | 0 complexity | 5515b8dab42e8cc8c4623a425695e244 MD5 | raw file
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>cf.Field.equivalent_domain &mdash; Documentation</title>
  7. <link rel="stylesheet" href="../_static/classic.css" type="text/css" />
  8. <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
  9. <script type="text/javascript">
  10. var DOCUMENTATION_OPTIONS = {
  11. URL_ROOT: '../',
  12. VERSION: '1.1.8',
  13. COLLAPSE_INDEX: false,
  14. FILE_SUFFIX: '.html',
  15. HAS_SOURCE: true
  16. };
  17. </script>
  18. <script type="text/javascript" src="../_static/jquery.js"></script>
  19. <script type="text/javascript" src="../_static/underscore.js"></script>
  20. <script type="text/javascript" src="../_static/doctools.js"></script>
  21. <script type="text/javascript" src="../_static/copybutton.js"></script>
  22. <script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
  23. <link rel="top" title="Documentation" href="../index.html" />
  24. <link rel="up" title="cf.Field" href="../classes/cf.Field.html" />
  25. <link rel="next" title="cf.Field.close" href="cf.Field.close.html" />
  26. <link rel="prev" title="cf.Field.equivalent_data" href="cf.Field.equivalent_data.html" />
  27. </head>
  28. <body role="document">
  29. <div class="related" role="navigation" aria-label="related navigation">
  30. <h3>Navigation</h3>
  31. <ul>
  32. <li class="right" style="margin-right: 10px">
  33. <a href="../genindex.html" title="General Index"
  34. accesskey="I">index</a></li>
  35. <li class="right" >
  36. <a href="cf.Field.close.html" title="cf.Field.close"
  37. accesskey="N">next</a> |</li>
  38. <li class="right" >
  39. <a href="cf.Field.equivalent_data.html" title="cf.Field.equivalent_data"
  40. accesskey="P">previous</a> |</li>
  41. <li><a target="_blank" href="http://cfpython.bitbucket.org">cf-python 1.1.8</a> &raquo;</li>
  42. <!--
  43. <li><a target="_blank" href="http://cfpython.bitbucket.org">cf-python</a> &raquo;</li>
  44. <li><select onchange="location = this.options[this.selectedIndex].value;">
  45. <option value="../../1.0/index.html">1.0
  46. <option value="../../0.9.9/index.html">0.9.9
  47. <option value="../../0.9.8.3/index.html">0.9.8.3
  48. <option value="../../archive.html">Archive
  49. </select>
  50. </li>
  51. -->
  52. <li class="nav-item nav-item-0"><a href="../index.html">Documentation</a> &raquo;</li>
  53. <li class="nav-item nav-item-1"><a href="../reference.html" >Reference manual</a> &raquo;</li>
  54. <li class="nav-item nav-item-2"><a href="../class.html" >Classes of the <code class="docutils literal"><span class="pre">cf</span></code> module</a> &raquo;</li>
  55. <li class="nav-item nav-item-3"><a href="../classes/cf.Field.html" accesskey="U">cf.Field</a> &raquo;</li>
  56. </ul>
  57. </div>
  58. <div class="document">
  59. <div class="documentwrapper">
  60. <div class="bodywrapper">
  61. <div class="body" role="main">
  62. <div class="section" id="cf-field-equivalent-domain">
  63. <h1>cf.Field.equivalent_domain<a class="headerlink" href="#cf-field-equivalent-domain" title="Permalink to this headline">Âś</a></h1>
  64. <dl class="method">
  65. <dt id="cf.Field.equivalent_domain">
  66. <code class="descclassname">Field.</code><code class="descname">equivalent_domain</code><span class="sig-paren">(</span><em>other</em>, <em>rtol=None</em>, <em>atol=None</em>, <em>traceback=False</em><span class="sig-paren">)</span><a class="reference external" href="https://bitbucket.org/cfpython/cf-python/src/v1.1.8/cf/field.py#field.py-5653"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#cf.Field.equivalent_domain" title="Permalink to this definition">Âś</a></dt>
  67. <dd><p>Return True if two fields have equivalent data domains.</p>
  68. <table class="docutils field-list" frame="void" rules="none">
  69. <col class="field-name" />
  70. <col class="field-body" />
  71. <tbody valign="top">
  72. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first">other : cf.Field</p>
  73. <dl class="docutils">
  74. <dt>atol <span class="classifier-delimiter">:</span> <span class="classifier">float, optional</span></dt>
  75. <dd><p class="first last">The absolute tolerance for all numerical comparisons, By
  76. default the value returned by the <a class="reference internal" href="cf.ATOL.html#cf.ATOL" title="cf.ATOL"><code class="xref py py-obj docutils literal"><span class="pre">cf.ATOL</span></code></a> function is used.</p>
  77. </dd>
  78. <dt>rtol <span class="classifier-delimiter">:</span> <span class="classifier">float, optional</span></dt>
  79. <dd><p class="first last">The relative tolerance for all numerical comparisons, By
  80. default the value returned by the <a class="reference internal" href="cf.RTOL.html#cf.RTOL" title="cf.RTOL"><code class="xref py py-obj docutils literal"><span class="pre">cf.RTOL</span></code></a> function is used.</p>
  81. </dd>
  82. <dt>traceback <span class="classifier-delimiter">:</span> <span class="classifier">bool, optional</span></dt>
  83. <dd><p class="first last">If True then print a traceback highlighting where the two
  84. domains differ.</p>
  85. </dd>
  86. </dl>
  87. </td>
  88. </tr>
  89. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><dl class="first docutils">
  90. <dt>out <span class="classifier-delimiter">:</span> <span class="classifier">bool</span></dt>
  91. <dd><p class="first last">Whether or not the two fields&#8217; data arrays are equivalent.</p>
  92. </dd>
  93. </dl>
  94. </td>
  95. </tr>
  96. <tr class="field-odd field"><th class="field-name">Examples:</th><td class="field-body"></td>
  97. </tr>
  98. </tbody>
  99. </table>
  100. <div class="highlight-python"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="n">f</span><span class="o">.</span><span class="n">equivalent_domain</span><span class="p">(</span><span class="n">g</span><span class="p">)</span>
  101. </pre></div>
  102. </div>
  103. </dd></dl>
  104. </div>
  105. </div>
  106. </div>
  107. </div>
  108. <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
  109. <div class="sphinxsidebarwrapper">
  110. <h4>Previous topic</h4>
  111. <p class="topless"><a href="cf.Field.equivalent_data.html"
  112. title="previous chapter">cf.Field.equivalent_data</a></p>
  113. <h4>Next topic</h4>
  114. <p class="topless"><a href="cf.Field.close.html"
  115. title="next chapter">cf.Field.close</a></p>
  116. <div role="note" aria-label="source link">
  117. <h3>This Page</h3>
  118. <ul class="this-page-menu">
  119. <li><a href="../_sources/generated/cf.Field.equivalent_domain.txt"
  120. rel="nofollow">Show Source</a></li>
  121. </ul>
  122. </div>
  123. <div id="searchbox" style="display: none" role="search">
  124. <h3>Quick search</h3>
  125. <form class="search" action="../search.html" method="get">
  126. <input type="text" name="q" />
  127. <input type="submit" value="Go" />
  128. <input type="hidden" name="check_keywords" value="yes" />
  129. <input type="hidden" name="area" value="default" />
  130. </form>
  131. <p class="searchtip" style="font-size: 90%">
  132. Enter search terms or a module, class or function name.
  133. </p>
  134. </div>
  135. <script type="text/javascript">$('#searchbox').show(0);</script>
  136. </div>
  137. </div>
  138. <div class="clearer"></div>
  139. </div>
  140. <div class="related" role="navigation" aria-label="related navigation">
  141. <h3>Navigation</h3>
  142. <ul>
  143. <li class="right" style="margin-right: 10px">
  144. <a href="../genindex.html" title="General Index"
  145. >index</a></li>
  146. <li class="right" >
  147. <a href="cf.Field.close.html" title="cf.Field.close"
  148. >next</a> |</li>
  149. <li class="right" >
  150. <a href="cf.Field.equivalent_data.html" title="cf.Field.equivalent_data"
  151. >previous</a> |</li>
  152. <li><a target="_blank" href="http://cfpython.bitbucket.org">cf-python 1.1.8</a> &raquo;</li>
  153. <!--
  154. <li><a target="_blank" href="http://cfpython.bitbucket.org">cf-python</a> &raquo;</li>
  155. <li><select onchange="location = this.options[this.selectedIndex].value;">
  156. <option value="../../1.0/index.html">1.0
  157. <option value="../../0.9.9/index.html">0.9.9
  158. <option value="../../0.9.8.3/index.html">0.9.8.3
  159. <option value="../../archive.html">Archive
  160. </select>
  161. </li>
  162. -->
  163. <li class="nav-item nav-item-0"><a href="../index.html">Documentation</a> &raquo;</li>
  164. <li class="nav-item nav-item-1"><a href="../reference.html" >Reference manual</a> &raquo;</li>
  165. <li class="nav-item nav-item-2"><a href="../class.html" >Classes of the <code class="docutils literal"><span class="pre">cf</span></code> module</a> &raquo;</li>
  166. <li class="nav-item nav-item-3"><a href="../classes/cf.Field.html" >cf.Field</a> &raquo;</li>
  167. </ul>
  168. </div>
  169. <div class="footer" role="contentinfo">
  170. &copy; Copyright 2016, David Hassell.
  171. Last updated on May 18, 2016.
  172. Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.5.
  173. </div>
  174. </body>
  175. </html>