PageRenderTime 35ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/docs/1.1.10/generated/cf.CellMethods.equivalent.html

https://bitbucket.org/cfpython/cfpython.bitbucket.org
HTML | 195 lines | 151 code | 14 blank | 30 comment | 0 complexity | 91608d83261116b7fb85e9f230339a16 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.CellMethods.equivalent &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.10',
  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.CellMethods" href="../classes/cf.CellMethods.html" />
  25. <link rel="next" title="cf.CellMethods.has_cellmethod" href="cf.CellMethods.has_cellmethod.html" />
  26. <link rel="prev" title="cf.CellMethods.equals" href="cf.CellMethods.equals.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.CellMethods.has_cellmethod.html" title="cf.CellMethods.has_cellmethod"
  37. accesskey="N">next</a> |</li>
  38. <li class="right" >
  39. <a href="cf.CellMethods.equals.html" title="cf.CellMethods.equals"
  40. accesskey="P">previous</a> |</li>
  41. <li><a target="_blank" href="http://cfpython.bitbucket.org">cf-python 1.1.10</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.CellMethods.html" accesskey="U">cf.CellMethods</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-cellmethods-equivalent">
  63. <h1>cf.CellMethods.equivalent<a class="headerlink" href="#cf-cellmethods-equivalent" title="Permalink to this headline">Âś</a></h1>
  64. <dl class="method">
  65. <dt id="cf.CellMethods.equivalent">
  66. <code class="descclassname">CellMethods.</code><code class="descname">equivalent</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.10/cf/cellmethods.py#cellmethods.py-1313"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#cf.CellMethods.equivalent" title="Permalink to this definition">Âś</a></dt>
  67. <dd><p>True if two cell methods are equivalent, False otherwise.</p>
  68. <p>The <a class="reference internal" href="cf.CellMethods.axes.html#cf.CellMethods.axes" title="cf.CellMethods.axes"><code class="xref py py-obj docutils literal"><span class="pre">axes</span></code></a> attributes are ignored in the comparison.</p>
  69. <table class="docutils field-list" frame="void" rules="none">
  70. <col class="field-name" />
  71. <col class="field-body" />
  72. <tbody valign="top">
  73. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><dl class="first docutils">
  74. <dt>other <span class="classifier-delimiter">:</span> <span class="classifier"></span></dt>
  75. <dd><p class="first last">The object to compare for equality.</p>
  76. </dd>
  77. <dt>atol <span class="classifier-delimiter">:</span> <span class="classifier">float, optional</span></dt>
  78. <dd><p class="first last">The absolute tolerance for all numerical comparisons, By
  79. 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">ATOL</span></code></a> function is used.</p>
  80. </dd>
  81. <dt>rtol <span class="classifier-delimiter">:</span> <span class="classifier">float, optional</span></dt>
  82. <dd><p class="first last">The relative tolerance for all numerical comparisons, By
  83. 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">RTOL</span></code></a> function is used.</p>
  84. </dd>
  85. </dl>
  86. </td>
  87. </tr>
  88. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><dl class="first docutils">
  89. <dt>out <span class="classifier-delimiter">:</span> <span class="classifier">bool</span></dt>
  90. <dd><p class="first last">Whether or not the two instances are equivalent.</p>
  91. </dd>
  92. </dl>
  93. </td>
  94. </tr>
  95. <tr class="field-odd field"><th class="field-name">Examples:</th><td class="field-body"></td>
  96. </tr>
  97. </tbody>
  98. </table>
  99. </dd></dl>
  100. </div>
  101. </div>
  102. </div>
  103. </div>
  104. <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
  105. <div class="sphinxsidebarwrapper">
  106. <h4>Previous topic</h4>
  107. <p class="topless"><a href="cf.CellMethods.equals.html"
  108. title="previous chapter">cf.CellMethods.equals</a></p>
  109. <h4>Next topic</h4>
  110. <p class="topless"><a href="cf.CellMethods.has_cellmethod.html"
  111. title="next chapter">cf.CellMethods.has_cellmethod</a></p>
  112. <div role="note" aria-label="source link">
  113. <h3>This Page</h3>
  114. <ul class="this-page-menu">
  115. <li><a href="../_sources/generated/cf.CellMethods.equivalent.txt"
  116. rel="nofollow">Show Source</a></li>
  117. </ul>
  118. </div>
  119. <div id="searchbox" style="display: none" role="search">
  120. <h3>Quick search</h3>
  121. <form class="search" action="../search.html" method="get">
  122. <input type="text" name="q" />
  123. <input type="submit" value="Go" />
  124. <input type="hidden" name="check_keywords" value="yes" />
  125. <input type="hidden" name="area" value="default" />
  126. </form>
  127. <p class="searchtip" style="font-size: 90%">
  128. Enter search terms or a module, class or function name.
  129. </p>
  130. </div>
  131. <script type="text/javascript">$('#searchbox').show(0);</script>
  132. </div>
  133. </div>
  134. <div class="clearer"></div>
  135. </div>
  136. <div class="related" role="navigation" aria-label="related navigation">
  137. <h3>Navigation</h3>
  138. <ul>
  139. <li class="right" style="margin-right: 10px">
  140. <a href="../genindex.html" title="General Index"
  141. >index</a></li>
  142. <li class="right" >
  143. <a href="cf.CellMethods.has_cellmethod.html" title="cf.CellMethods.has_cellmethod"
  144. >next</a> |</li>
  145. <li class="right" >
  146. <a href="cf.CellMethods.equals.html" title="cf.CellMethods.equals"
  147. >previous</a> |</li>
  148. <li><a target="_blank" href="http://cfpython.bitbucket.org">cf-python 1.1.10</a> &raquo;</li>
  149. <!--
  150. <li><a target="_blank" href="http://cfpython.bitbucket.org">cf-python</a> &raquo;</li>
  151. <li><select onchange="location = this.options[this.selectedIndex].value;">
  152. <option value="../../1.0/index.html">1.0
  153. <option value="../../0.9.9/index.html">0.9.9
  154. <option value="../../0.9.8.3/index.html">0.9.8.3
  155. <option value="../../archive.html">Archive
  156. </select>
  157. </li>
  158. -->
  159. <li class="nav-item nav-item-0"><a href="../index.html">Documentation</a> &raquo;</li>
  160. <li class="nav-item nav-item-1"><a href="../reference.html" >Reference manual</a> &raquo;</li>
  161. <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>
  162. <li class="nav-item nav-item-3"><a href="../classes/cf.CellMethods.html" >cf.CellMethods</a> &raquo;</li>
  163. </ul>
  164. </div>
  165. <div class="footer" role="contentinfo">
  166. &copy; Copyright 2016, David Hassell.
  167. Last updated on Jun 23, 2016.
  168. Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.5.
  169. </div>
  170. </body>
  171. </html>