1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
---|
2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
3 | |
---|
4 | |
---|
5 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
6 | <head> |
---|
7 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
---|
8 | |
---|
9 | <title>3.12. 2-D resolution functions — Sasmodels</title> |
---|
10 | |
---|
11 | <link rel="stylesheet" href="../_static/haiku-site.css" type="text/css" /> |
---|
12 | <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> |
---|
13 | |
---|
14 | <script type="text/javascript"> |
---|
15 | var DOCUMENTATION_OPTIONS = { |
---|
16 | URL_ROOT: '../', |
---|
17 | VERSION: '0.9', |
---|
18 | COLLAPSE_INDEX: false, |
---|
19 | FILE_SUFFIX: '.html', |
---|
20 | HAS_SOURCE: true |
---|
21 | }; |
---|
22 | </script> |
---|
23 | <script type="text/javascript" src="../_static/jquery.js"></script> |
---|
24 | <script type="text/javascript" src="../_static/underscore.js"></script> |
---|
25 | <script type="text/javascript" src="../_static/doctools.js"></script> |
---|
26 | <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> |
---|
27 | <link rel="top" title="Sasmodels" href="../index.html" /> |
---|
28 | <link rel="up" title="3. Reference" href="index.html" /> |
---|
29 | <link rel="next" title="3.13. Sasview interface" href="sasview_model.html" /> |
---|
30 | <link rel="prev" title="3.11. 1-D resolution functions" href="resolution.html" /> |
---|
31 | </head> |
---|
32 | <body> |
---|
33 | <div class="header"><h1 class="heading"><a href="../index.html"> |
---|
34 | <span>Home</span></a></h1> |
---|
35 | <h2 class="heading"><span>3.12. 2-D resolution functions</span></h2> |
---|
36 | </div> |
---|
37 | <div class="topnav"> |
---|
38 | |
---|
39 | <p> |
---|
40 | «  <a href="resolution.html">3.11. 1-D resolution functions</a> |
---|
41 |   ::   |
---|
42 | <a class="uplink" href="../index.html">Contents</a> |
---|
43 |   ::   |
---|
44 | <a href="sasview_model.html">3.13. Sasview interface</a>  Â» |
---|
45 | </p> |
---|
46 | |
---|
47 | </div> |
---|
48 | <div class="content"> |
---|
49 | |
---|
50 | |
---|
51 | <div class="section" id="d-resolution-functions"> |
---|
52 | <h1>3.12. 2-D resolution functions<a class="headerlink" href="#d-resolution-functions" title="Permalink to this headline">¶</a></h1> |
---|
53 | <div class="section" id="module-sasmodels.resolution2d"> |
---|
54 | <span id="sasmodels-resolution2d"></span><h2>3.12.1. <a class="reference internal" href="#module-sasmodels.resolution2d" title="sasmodels.resolution2d"><tt class="xref py py-mod docutils literal"><span class="pre">sasmodels.resolution2d</span></tt></a><a class="headerlink" href="#module-sasmodels.resolution2d" title="Permalink to this headline">¶</a></h2> |
---|
55 | <p>#This software was developed by the University of Tennessee as part of the |
---|
56 | #Distributed Data Analysis of Neutron Scattering Experiments (DANSE) |
---|
57 | #project funded by the US National Science Foundation. |
---|
58 | #See the license text in license.txt</p> |
---|
59 | <dl class="class"> |
---|
60 | <dt id="sasmodels.resolution2d.Pinhole2D"> |
---|
61 | <em class="property">class </em><tt class="descclassname">sasmodels.resolution2d.</tt><tt class="descname">Pinhole2D</tt><big>(</big><em>data=None</em>, <em>index=None</em>, <em>nsigma=3.0</em>, <em>accuracy='Low'</em>, <em>coords='polar'</em><big>)</big><a class="headerlink" href="#sasmodels.resolution2d.Pinhole2D" title="Permalink to this definition">¶</a></dt> |
---|
62 | <dd><p>Bases: <a class="reference internal" href="resolution.html#sasmodels.resolution.Resolution" title="sasmodels.resolution.Resolution"><tt class="xref py py-class docutils literal"><span class="pre">sasmodels.resolution.Resolution</span></tt></a></p> |
---|
63 | <p>Gaussian Q smearing class for SAS 2d data</p> |
---|
64 | <p>Assumption: equally spaced bins in dq_r, dq_phi space.</p> |
---|
65 | <table class="docutils field-list" frame="void" rules="none"> |
---|
66 | <col class="field-name" /> |
---|
67 | <col class="field-body" /> |
---|
68 | <tbody valign="top"> |
---|
69 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
---|
70 | <li><strong>data</strong> – 2d data used to set the smearing parameters</li> |
---|
71 | <li><strong>index</strong> – 1d array with len(data) to define the range |
---|
72 | of the calculation: elements are given as True or False</li> |
---|
73 | <li><strong>nr</strong> – number of bins in dq_r-axis</li> |
---|
74 | <li><strong>nphi</strong> – number of bins in dq_phi-axis</li> |
---|
75 | <li><strong>coord</strong> – coordinates [string], ‘polar’ or ‘cartesian’</li> |
---|
76 | </ul> |
---|
77 | </td> |
---|
78 | </tr> |
---|
79 | </tbody> |
---|
80 | </table> |
---|
81 | <dl class="method"> |
---|
82 | <dt id="sasmodels.resolution2d.Pinhole2D.apply"> |
---|
83 | <tt class="descname">apply</tt><big>(</big><em>theory</em><big>)</big><a class="headerlink" href="#sasmodels.resolution2d.Pinhole2D.apply" title="Permalink to this definition">¶</a></dt> |
---|
84 | <dd></dd></dl> |
---|
85 | |
---|
86 | <dl class="attribute"> |
---|
87 | <dt id="sasmodels.resolution2d.Pinhole2D.q"> |
---|
88 | <tt class="descname">q</tt><em class="property"> = None</em><a class="headerlink" href="#sasmodels.resolution2d.Pinhole2D.q" title="Permalink to this definition">¶</a></dt> |
---|
89 | <dd></dd></dl> |
---|
90 | |
---|
91 | <dl class="attribute"> |
---|
92 | <dt id="sasmodels.resolution2d.Pinhole2D.q_calc"> |
---|
93 | <tt class="descname">q_calc</tt><em class="property"> = None</em><a class="headerlink" href="#sasmodels.resolution2d.Pinhole2D.q_calc" title="Permalink to this definition">¶</a></dt> |
---|
94 | <dd></dd></dl> |
---|
95 | |
---|
96 | </dd></dl> |
---|
97 | |
---|
98 | </div> |
---|
99 | </div> |
---|
100 | |
---|
101 | |
---|
102 | </div> |
---|
103 | <div class="bottomnav"> |
---|
104 | |
---|
105 | <p> |
---|
106 | «  <a href="resolution.html">3.11. 1-D resolution functions</a> |
---|
107 |   ::   |
---|
108 | <a class="uplink" href="../index.html">Contents</a> |
---|
109 |   ::   |
---|
110 | <a href="sasview_model.html">3.13. Sasview interface</a>  Â» |
---|
111 | </p> |
---|
112 | |
---|
113 | </div> |
---|
114 | |
---|
115 | <div class="footer"> |
---|
116 | © Copyright 2014, sasview team. |
---|
117 | Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.3. |
---|
118 | </div> |
---|
119 | </body> |
---|
120 | </html> |
---|