[512573a] | 1 | |
---|
| 2 | |
---|
| 3 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
---|
| 4 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
| 5 | |
---|
| 6 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
| 7 | <head> |
---|
| 8 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
---|
| 9 | |
---|
| 10 | <title>smearing_2d — sansmodels v0.1.0 documentation</title> |
---|
| 11 | <link rel="stylesheet" href="../_static/default.css" type="text/css" /> |
---|
| 12 | <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> |
---|
| 13 | <script type="text/javascript"> |
---|
| 14 | var DOCUMENTATION_OPTIONS = { |
---|
| 15 | URL_ROOT: '../', |
---|
| 16 | VERSION: '0.1.0', |
---|
| 17 | COLLAPSE_INDEX: false, |
---|
| 18 | FILE_SUFFIX: '.html', |
---|
| 19 | HAS_SOURCE: true |
---|
| 20 | }; |
---|
| 21 | </script> |
---|
| 22 | <script type="text/javascript" src="../_static/jquery.js"></script> |
---|
| 23 | <script type="text/javascript" src="../_static/underscore.js"></script> |
---|
| 24 | <script type="text/javascript" src="../_static/doctools.js"></script> |
---|
| 25 | <link rel="top" title="sansmodels v0.1.0 documentation" href="../index.html" /> |
---|
| 26 | <link rel="up" title="Reference" href="index.html" /> |
---|
| 27 | <link rel="next" title="SphereModel" href="SphereModel.html" /> |
---|
| 28 | <link rel="prev" title="SLDCalFunc" href="SLDCalFunc.html" /> |
---|
| 29 | </head> |
---|
| 30 | <body> |
---|
| 31 | <div class="related"> |
---|
| 32 | <h3>Navigation</h3> |
---|
| 33 | <ul> |
---|
| 34 | <li class="right" style="margin-right: 10px"> |
---|
| 35 | <a href="../genindex.html" title="General Index" |
---|
| 36 | accesskey="I">index</a></li> |
---|
| 37 | <li class="right" > |
---|
| 38 | <a href="../py-modindex.html" title="Python Module Index" |
---|
| 39 | >modules</a> |</li> |
---|
| 40 | <li class="right" > |
---|
| 41 | <a href="SphereModel.html" title="SphereModel" |
---|
| 42 | accesskey="N">next</a> |</li> |
---|
| 43 | <li class="right" > |
---|
| 44 | <a href="SLDCalFunc.html" title="SLDCalFunc" |
---|
| 45 | accesskey="P">previous</a> |</li> |
---|
| 46 | <li><a href="../index.html">sansmodels v0.1.0 documentation</a> »</li> |
---|
| 47 | <li><a href="index.html" accesskey="U">Reference</a> »</li> |
---|
| 48 | </ul> |
---|
| 49 | </div> |
---|
| 50 | |
---|
| 51 | <div class="document"> |
---|
| 52 | <div class="documentwrapper"> |
---|
| 53 | <div class="bodywrapper"> |
---|
| 54 | <div class="body"> |
---|
| 55 | |
---|
| 56 | <div class="section" id="smearing-2d"> |
---|
| 57 | <h1>smearing_2d<a class="headerlink" href="#smearing-2d" title="Permalink to this headline">¶</a></h1> |
---|
| 58 | <div class="section" id="module-sans.models.smearing_2d"> |
---|
| 59 | <span id="sans-models-smearing-2d"></span><h2><a class="reference internal" href="#module-sans.models.smearing_2d" title="sans.models.smearing_2d"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.smearing_2d</span></tt></a><a class="headerlink" href="#module-sans.models.smearing_2d" title="Permalink to this headline">¶</a></h2> |
---|
| 60 | <dl class="class"> |
---|
| 61 | <dt id="sans.models.smearing_2d.Smearer2D"> |
---|
| 62 | <em class="property">class </em><tt class="descclassname">sans.models.smearing_2d.</tt><tt class="descname">Smearer2D</tt><big>(</big><em>data=None</em>, <em>model=None</em>, <em>index=None</em>, <em>limit=3.0</em>, <em>accuracy='Low'</em>, <em>coords='polar'</em>, <em>engine='python'</em><big>)</big><a class="headerlink" href="#sans.models.smearing_2d.Smearer2D" title="Permalink to this definition">¶</a></dt> |
---|
| 63 | <dd><p>Gaussian Q smearing class for SANS 2d data</p> |
---|
| 64 | <dl class="method"> |
---|
| 65 | <dt id="sans.models.smearing_2d.Smearer2D.get_data"> |
---|
| 66 | <tt class="descname">get_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.smearing_2d.Smearer2D.get_data" title="Permalink to this definition">¶</a></dt> |
---|
| 67 | <dd><p>get qx_data, qy_data, dqx_data,dqy_data,and calculate phi_data=arctan(qx_data/qy_data)</p> |
---|
| 68 | </dd></dl> |
---|
| 69 | |
---|
| 70 | <dl class="method"> |
---|
| 71 | <dt id="sans.models.smearing_2d.Smearer2D.get_value"> |
---|
| 72 | <tt class="descname">get_value</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.smearing_2d.Smearer2D.get_value" title="Permalink to this definition">¶</a></dt> |
---|
| 73 | <dd><p>Over sampling of r_nbins times phi_nbins, calculate Gaussian weights, |
---|
| 74 | then find smeared intensity</p> |
---|
| 75 | </dd></dl> |
---|
| 76 | |
---|
| 77 | <dl class="method"> |
---|
| 78 | <dt id="sans.models.smearing_2d.Smearer2D.set_accuracy"> |
---|
| 79 | <tt class="descname">set_accuracy</tt><big>(</big><em>accuracy='Low'</em><big>)</big><a class="headerlink" href="#sans.models.smearing_2d.Smearer2D.set_accuracy" title="Permalink to this definition">¶</a></dt> |
---|
| 80 | <dd><p>Set accuracy.</p> |
---|
| 81 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 82 | <col class="field-name" /> |
---|
| 83 | <col class="field-body" /> |
---|
| 84 | <tbody valign="top"> |
---|
| 85 | <tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>accuracy</strong> – string</td> |
---|
| 86 | </tr> |
---|
| 87 | </tbody> |
---|
| 88 | </table> |
---|
| 89 | </dd></dl> |
---|
| 90 | |
---|
| 91 | <dl class="method"> |
---|
| 92 | <dt id="sans.models.smearing_2d.Smearer2D.set_data"> |
---|
| 93 | <tt class="descname">set_data</tt><big>(</big><em>data=None</em><big>)</big><a class="headerlink" href="#sans.models.smearing_2d.Smearer2D.set_data" title="Permalink to this definition">¶</a></dt> |
---|
| 94 | <dd><p>Set data.</p> |
---|
| 95 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 96 | <col class="field-name" /> |
---|
| 97 | <col class="field-body" /> |
---|
| 98 | <tbody valign="top"> |
---|
| 99 | <tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>data</strong> – DataLoader.Data_info type</td> |
---|
| 100 | </tr> |
---|
| 101 | </tbody> |
---|
| 102 | </table> |
---|
| 103 | </dd></dl> |
---|
| 104 | |
---|
| 105 | <dl class="method"> |
---|
| 106 | <dt id="sans.models.smearing_2d.Smearer2D.set_index"> |
---|
| 107 | <tt class="descname">set_index</tt><big>(</big><em>index=None</em><big>)</big><a class="headerlink" href="#sans.models.smearing_2d.Smearer2D.set_index" title="Permalink to this definition">¶</a></dt> |
---|
| 108 | <dd><p>Set index.</p> |
---|
| 109 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 110 | <col class="field-name" /> |
---|
| 111 | <col class="field-body" /> |
---|
| 112 | <tbody valign="top"> |
---|
| 113 | <tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>index</strong> – 1d arrays</td> |
---|
| 114 | </tr> |
---|
| 115 | </tbody> |
---|
| 116 | </table> |
---|
| 117 | </dd></dl> |
---|
| 118 | |
---|
| 119 | <dl class="method"> |
---|
| 120 | <dt id="sans.models.smearing_2d.Smearer2D.set_model"> |
---|
| 121 | <tt class="descname">set_model</tt><big>(</big><em>model=None</em><big>)</big><a class="headerlink" href="#sans.models.smearing_2d.Smearer2D.set_model" title="Permalink to this definition">¶</a></dt> |
---|
| 122 | <dd><p>Set model.</p> |
---|
| 123 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 124 | <col class="field-name" /> |
---|
| 125 | <col class="field-body" /> |
---|
| 126 | <tbody valign="top"> |
---|
| 127 | <tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>model</strong> – sans.models instance</td> |
---|
| 128 | </tr> |
---|
| 129 | </tbody> |
---|
| 130 | </table> |
---|
| 131 | </dd></dl> |
---|
| 132 | |
---|
| 133 | <dl class="method"> |
---|
| 134 | <dt id="sans.models.smearing_2d.Smearer2D.set_smearer"> |
---|
| 135 | <tt class="descname">set_smearer</tt><big>(</big><em>smearer=True</em><big>)</big><a class="headerlink" href="#sans.models.smearing_2d.Smearer2D.set_smearer" title="Permalink to this definition">¶</a></dt> |
---|
| 136 | <dd><p>Set whether or not smearer will be used</p> |
---|
| 137 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 138 | <col class="field-name" /> |
---|
| 139 | <col class="field-body" /> |
---|
| 140 | <tbody valign="top"> |
---|
| 141 | <tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>smearer</strong> – smear object</td> |
---|
| 142 | </tr> |
---|
| 143 | </tbody> |
---|
| 144 | </table> |
---|
| 145 | </dd></dl> |
---|
| 146 | |
---|
| 147 | </dd></dl> |
---|
| 148 | |
---|
| 149 | </div> |
---|
| 150 | </div> |
---|
| 151 | |
---|
| 152 | |
---|
| 153 | </div> |
---|
| 154 | </div> |
---|
| 155 | </div> |
---|
| 156 | <div class="sphinxsidebar"> |
---|
| 157 | <div class="sphinxsidebarwrapper"> |
---|
| 158 | <h3><a href="../index.html">Table Of Contents</a></h3> |
---|
| 159 | <ul> |
---|
| 160 | <li><a class="reference internal" href="#">smearing_2d</a><ul> |
---|
| 161 | <li><a class="reference internal" href="#module-sans.models.smearing_2d"><tt class="docutils literal"><span class="pre">sans.models.smearing_2d</span></tt></a></li> |
---|
| 162 | </ul> |
---|
| 163 | </li> |
---|
| 164 | </ul> |
---|
| 165 | |
---|
| 166 | <h4>Previous topic</h4> |
---|
| 167 | <p class="topless"><a href="SLDCalFunc.html" |
---|
| 168 | title="previous chapter">SLDCalFunc</a></p> |
---|
| 169 | <h4>Next topic</h4> |
---|
| 170 | <p class="topless"><a href="SphereModel.html" |
---|
| 171 | title="next chapter">SphereModel</a></p> |
---|
| 172 | <h3>This Page</h3> |
---|
| 173 | <ul class="this-page-menu"> |
---|
| 174 | <li><a href="../_sources/api/smearing_2d.txt" |
---|
| 175 | rel="nofollow">Show Source</a></li> |
---|
| 176 | </ul> |
---|
| 177 | <div id="searchbox" style="display: none"> |
---|
| 178 | <h3>Quick search</h3> |
---|
| 179 | <form class="search" action="../search.html" method="get"> |
---|
| 180 | <input type="text" name="q" size="18" /> |
---|
| 181 | <input type="submit" value="Go" /> |
---|
| 182 | <input type="hidden" name="check_keywords" value="yes" /> |
---|
| 183 | <input type="hidden" name="area" value="default" /> |
---|
| 184 | </form> |
---|
| 185 | <p class="searchtip" style="font-size: 90%"> |
---|
| 186 | Enter search terms or a module, class or function name. |
---|
| 187 | </p> |
---|
| 188 | </div> |
---|
| 189 | <script type="text/javascript">$('#searchbox').show(0);</script> |
---|
| 190 | </div> |
---|
| 191 | </div> |
---|
| 192 | <div class="clearer"></div> |
---|
| 193 | </div> |
---|
| 194 | <div class="related"> |
---|
| 195 | <h3>Navigation</h3> |
---|
| 196 | <ul> |
---|
| 197 | <li class="right" style="margin-right: 10px"> |
---|
| 198 | <a href="../genindex.html" title="General Index" |
---|
| 199 | >index</a></li> |
---|
| 200 | <li class="right" > |
---|
| 201 | <a href="../py-modindex.html" title="Python Module Index" |
---|
| 202 | >modules</a> |</li> |
---|
| 203 | <li class="right" > |
---|
| 204 | <a href="SphereModel.html" title="SphereModel" |
---|
| 205 | >next</a> |</li> |
---|
| 206 | <li class="right" > |
---|
| 207 | <a href="SLDCalFunc.html" title="SLDCalFunc" |
---|
| 208 | >previous</a> |</li> |
---|
| 209 | <li><a href="../index.html">sansmodels v0.1.0 documentation</a> »</li> |
---|
| 210 | <li><a href="index.html" >Reference</a> »</li> |
---|
| 211 | </ul> |
---|
| 212 | </div> |
---|
| 213 | <div class="footer"> |
---|
| 214 | © Copyright 2010, sans group. |
---|
| 215 | Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7. |
---|
| 216 | </div> |
---|
| 217 | </body> |
---|
| 218 | </html> |
---|