PageRenderTime 47ms CodeModel.GetById 19ms RepoModel.GetById 1ms app.codeStats 0ms

/docs/1.1.10/generated/cf.cellwi.html

https://bitbucket.org/cfpython/cfpython.bitbucket.org
HTML | 192 lines | 148 code | 14 blank | 30 comment | 0 complexity | 60875ed40681d31ef327af7dde6ba141 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.cellwi &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="Functions of the cf module" href="../function.html" />
  25. <link rel="next" title="cf.cellwo" href="cf.cellwo.html" />
  26. <link rel="prev" title="cf.celllt" href="cf.celllt.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.cellwo.html" title="cf.cellwo"
  37. accesskey="N">next</a> |</li>
  38. <li class="right" >
  39. <a href="cf.celllt.html" title="cf.celllt"
  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="../function.html" accesskey="U">Functions of the <code class="docutils literal"><span class="pre">cf</span></code> module</a> &raquo;</li>
  55. </ul>
  56. </div>
  57. <div class="document">
  58. <div class="documentwrapper">
  59. <div class="bodywrapper">
  60. <div class="body" role="main">
  61. <div class="section" id="cf-cellwi">
  62. <h1>cf.cellwi<a class="headerlink" href="#cf-cellwi" title="Permalink to this headline">Âś</a></h1>
  63. <dl class="function">
  64. <dt id="cf.cellwi">
  65. <code class="descclassname">cf.</code><code class="descname">cellwi</code><span class="sig-paren">(</span><em>value0</em>, <em>value1</em>, <em>units=None</em><span class="sig-paren">)</span><a class="reference external" href="https://bitbucket.org/cfpython/cf-python/src/v1.1.10/cf/query.py#query.py-1839"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#cf.cellwi" title="Permalink to this definition">Âś</a></dt>
  66. <dd><p>Return a <a class="reference internal" href="../classes/cf.Query.html#cf.Query" title="cf.Query"><code class="xref py py-obj docutils literal"><span class="pre">cf.Query</span></code></a> object for coordinate cell bounds being within
  67. a range.</p>
  68. <p>In this context, a coordinate is any object which has <code class="xref py py-obj docutils literal"><span class="pre">lower_bounds</span></code>
  69. and <code class="xref py py-obj docutils literal"><span class="pre">upper_bounds</span></code> attributes.</p>
  70. <p><code class="docutils literal"><span class="pre">cf.cellwi(value0,</span> <span class="pre">value1)</span></code> is equivalent to <code class="docutils literal"><span class="pre">cf.ge(value0,</span>
  71. <span class="pre">attr='lower_bounds')</span> <span class="pre">&amp;</span> <span class="pre">cf.le(value1,</span> <span class="pre">attr='upper_bounds')</span></code>.</p>
  72. <div class="versionadded">
  73. <p><span class="versionmodified">New in version 1.0.</span></p>
  74. </div>
  75. <div class="admonition seealso">
  76. <p class="first admonition-title">See also</p>
  77. <p class="last"><a class="reference internal" href="cf.cellge.html#cf.cellge" title="cf.cellge"><code class="xref py py-obj docutils literal"><span class="pre">cf.cellge</span></code></a>, <a class="reference internal" href="cf.cellgt.html#cf.cellgt" title="cf.cellgt"><code class="xref py py-obj docutils literal"><span class="pre">cf.cellgt</span></code></a>, <a class="reference internal" href="cf.cellle.html#cf.cellle" title="cf.cellle"><code class="xref py py-obj docutils literal"><span class="pre">cf.cellle</span></code></a>, <a class="reference internal" href="cf.celllt.html#cf.celllt" title="cf.celllt"><code class="xref py py-obj docutils literal"><span class="pre">cf.celllt</span></code></a>,
  78. <a class="reference internal" href="cf.cellsize.html#cf.cellsize" title="cf.cellsize"><code class="xref py py-obj docutils literal"><span class="pre">cf.cellsize</span></code></a>, <a class="reference internal" href="cf.cellwo.html#cf.cellwo" title="cf.cellwo"><code class="xref py py-obj docutils literal"><span class="pre">cf.cellwo</span></code></a>, <a class="reference internal" href="cf.wi.html#cf.wi" title="cf.wi"><code class="xref py py-obj docutils literal"><span class="pre">cf.wi</span></code></a></p>
  79. </div>
  80. <table class="docutils field-list" frame="void" rules="none">
  81. <col class="field-name" />
  82. <col class="field-body" />
  83. <tbody valign="top">
  84. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"></td>
  85. </tr>
  86. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><dl class="first docutils">
  87. <dt>out <span class="classifier-delimiter">:</span> <span class="classifier">cf.Query</span></dt>
  88. <dd><p class="first last">The query object.</p>
  89. </dd>
  90. </dl>
  91. </td>
  92. </tr>
  93. <tr class="field-odd field"><th class="field-name">Examples:</th><td class="field-body"></td>
  94. </tr>
  95. </tbody>
  96. </table>
  97. </dd></dl>
  98. </div>
  99. </div>
  100. </div>
  101. </div>
  102. <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
  103. <div class="sphinxsidebarwrapper">
  104. <h4>Previous topic</h4>
  105. <p class="topless"><a href="cf.celllt.html"
  106. title="previous chapter">cf.celllt</a></p>
  107. <h4>Next topic</h4>
  108. <p class="topless"><a href="cf.cellwo.html"
  109. title="next chapter">cf.cellwo</a></p>
  110. <div role="note" aria-label="source link">
  111. <h3>This Page</h3>
  112. <ul class="this-page-menu">
  113. <li><a href="../_sources/generated/cf.cellwi.txt"
  114. rel="nofollow">Show Source</a></li>
  115. </ul>
  116. </div>
  117. <div id="searchbox" style="display: none" role="search">
  118. <h3>Quick search</h3>
  119. <form class="search" action="../search.html" method="get">
  120. <input type="text" name="q" />
  121. <input type="submit" value="Go" />
  122. <input type="hidden" name="check_keywords" value="yes" />
  123. <input type="hidden" name="area" value="default" />
  124. </form>
  125. <p class="searchtip" style="font-size: 90%">
  126. Enter search terms or a module, class or function name.
  127. </p>
  128. </div>
  129. <script type="text/javascript">$('#searchbox').show(0);</script>
  130. </div>
  131. </div>
  132. <div class="clearer"></div>
  133. </div>
  134. <div class="related" role="navigation" aria-label="related navigation">
  135. <h3>Navigation</h3>
  136. <ul>
  137. <li class="right" style="margin-right: 10px">
  138. <a href="../genindex.html" title="General Index"
  139. >index</a></li>
  140. <li class="right" >
  141. <a href="cf.cellwo.html" title="cf.cellwo"
  142. >next</a> |</li>
  143. <li class="right" >
  144. <a href="cf.celllt.html" title="cf.celllt"
  145. >previous</a> |</li>
  146. <li><a target="_blank" href="http://cfpython.bitbucket.org">cf-python 1.1.10</a> &raquo;</li>
  147. <!--
  148. <li><a target="_blank" href="http://cfpython.bitbucket.org">cf-python</a> &raquo;</li>
  149. <li><select onchange="location = this.options[this.selectedIndex].value;">
  150. <option value="../../1.0/index.html">1.0
  151. <option value="../../0.9.9/index.html">0.9.9
  152. <option value="../../0.9.8.3/index.html">0.9.8.3
  153. <option value="../../archive.html">Archive
  154. </select>
  155. </li>
  156. -->
  157. <li class="nav-item nav-item-0"><a href="../index.html">Documentation</a> &raquo;</li>
  158. <li class="nav-item nav-item-1"><a href="../reference.html" >Reference manual</a> &raquo;</li>
  159. <li class="nav-item nav-item-2"><a href="../function.html" >Functions of the <code class="docutils literal"><span class="pre">cf</span></code> module</a> &raquo;</li>
  160. </ul>
  161. </div>
  162. <div class="footer" role="contentinfo">
  163. &copy; Copyright 2016, David Hassell.
  164. Last updated on Jun 23, 2016.
  165. Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.5.
  166. </div>
  167. </body>
  168. </html>