source: sasview/sanscalculator/docs/sphinx/html/api/resolution_calculator.html @ 8884996

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 8884996 was 771fe98, checked in by Jessica Tumarkin <jtumarki@…>, 13 years ago
  • Property mode set to 100644
File size: 23.7 KB
Line 
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>Resolution Calculator &mdash; calculator 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="calculator v0.1.0 documentation" href="../index.html" />
26    <link rel="up" title="Reference" href="index.html" />
27    <link rel="prev" title="Kiessig Calculator" href="kiessig_calculator.html" /> 
28  </head>
29  <body>
30    <div class="related">
31      <h3>Navigation</h3>
32      <ul>
33        <li class="right" style="margin-right: 10px">
34          <a href="../genindex.html" title="General Index"
35             accesskey="I">index</a></li>
36        <li class="right" >
37          <a href="../py-modindex.html" title="Python Module Index"
38             >modules</a> |</li>
39        <li class="right" >
40          <a href="kiessig_calculator.html" title="Kiessig Calculator"
41             accesskey="P">previous</a> |</li>
42        <li><a href="../index.html">calculator v0.1.0 documentation</a> &raquo;</li>
43          <li><a href="index.html" accesskey="U">Reference</a> &raquo;</li> 
44      </ul>
45    </div> 
46
47    <div class="document">
48      <div class="documentwrapper">
49        <div class="bodywrapper">
50          <div class="body">
51           
52  <div class="section" id="resolution-calculator">
53<h1>Resolution Calculator<a class="headerlink" href="#resolution-calculator" title="Permalink to this headline">¶</a></h1>
54<div class="section" id="module-sans.calculator.resolution_calculator">
55<span id="sans-calculator-resolution-calculator"></span><h2><a class="reference internal" href="#module-sans.calculator.resolution_calculator" title="sans.calculator.resolution_calculator"><tt class="xref py py-mod docutils literal"><span class="pre">sans.calculator.resolution_calculator</span></tt></a><a class="headerlink" href="#module-sans.calculator.resolution_calculator" title="Permalink to this headline">¶</a></h2>
56<p>This object is a small tool to allow user to quickly
57determine the variance in q  from the
58instrumental parameters.</p>
59<dl class="class">
60<dt id="sans.calculator.resolution_calculator.ResolutionCalculator">
61<em class="property">class </em><tt class="descclassname">sans.calculator.resolution_calculator.</tt><tt class="descname">ResolutionCalculator</tt><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator" title="Permalink to this definition">¶</a></dt>
62<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p>
63<p>compute resolution in 2D</p>
64<dl class="method">
65<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.compute">
66<tt class="descname">compute</tt><big>(</big><em>wavelength</em>, <em>wavelength_spread</em>, <em>qx_value</em>, <em>qy_value</em>, <em>coord='cartesian'</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.compute" title="Permalink to this definition">¶</a></dt>
67<dd><p>Compute the Q resoltuion in || and + direction of 2D
68: qx_value: x component of q
69: qy_value: y component of q</p>
70</dd></dl>
71
72<dl class="method">
73<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.compute_and_plot">
74<tt class="descname">compute_and_plot</tt><big>(</big><em>qx_value</em>, <em>qy_value</em>, <em>qx_min</em>, <em>qx_max</em>, <em>qy_min</em>, <em>qy_max</em>, <em>coord='cartesian'</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.compute_and_plot" title="Permalink to this definition">¶</a></dt>
75<dd><p>Compute the resolution
76: qx_value: x component of q
77: qy_value: y component of q</p>
78</dd></dl>
79
80<dl class="method">
81<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.get_all_instrument_params">
82<tt class="descname">get_all_instrument_params</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_all_instrument_params" title="Permalink to this definition">¶</a></dt>
83<dd><p>Get all instrumental parameters</p>
84</dd></dl>
85
86<dl class="method">
87<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.get_default_spectrum">
88<tt class="descname">get_default_spectrum</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_default_spectrum" title="Permalink to this definition">¶</a></dt>
89<dd><p>Get default_spectrum</p>
90</dd></dl>
91
92<dl class="method">
93<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.get_detector_pix_size">
94<tt class="descname">get_detector_pix_size</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_detector_pix_size" title="Permalink to this definition">¶</a></dt>
95<dd><p>Get detector pixel size</p>
96</dd></dl>
97
98<dl class="method">
99<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.get_detector_qrange">
100<tt class="descname">get_detector_qrange</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_detector_qrange" title="Permalink to this definition">¶</a></dt>
101<dd><p>get max detector q ranges</p>
102<p>: return: qx_min, qx_max, qy_min, qy_max tuple</p>
103</dd></dl>
104
105<dl class="method">
106<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.get_detector_size">
107<tt class="descname">get_detector_size</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_detector_size" title="Permalink to this definition">¶</a></dt>
108<dd><p>Get detector size</p>
109</dd></dl>
110
111<dl class="method">
112<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.get_image">
113<tt class="descname">get_image</tt><big>(</big><em>qx_value</em>, <em>qy_value</em>, <em>sigma_1</em>, <em>sigma_2</em>, <em>sigma_r</em>, <em>qx_min</em>, <em>qx_max</em>, <em>qy_min</em>, <em>qy_max</em>, <em>coord='cartesian'</em>, <em>full_cal=True</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_image" title="Permalink to this definition">¶</a></dt>
114<dd><p>Get the resolution in polar coordinate ready to plot
115: qx_value: qx_value value
116: qy_value: qy_value value
117: sigma_1: variance in r direction
118: sigma_2: variance in phi direction
119: coord: coordinate system of image, &#8216;polar&#8217; or &#8216;cartesian&#8217;</p>
120</dd></dl>
121
122<dl class="method">
123<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.get_intensity">
124<tt class="descname">get_intensity</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_intensity" title="Permalink to this definition">¶</a></dt>
125<dd><p>Get intensity</p>
126</dd></dl>
127
128<dl class="method">
129<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.get_intensity_list">
130<tt class="descname">get_intensity_list</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_intensity_list" title="Permalink to this definition">¶</a></dt>
131<dd><p>Set wavelength spread</p>
132</dd></dl>
133
134<dl class="method">
135<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.get_neutron_mass">
136<tt class="descname">get_neutron_mass</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_neutron_mass" title="Permalink to this definition">¶</a></dt>
137<dd><p>Get Neutron mass</p>
138</dd></dl>
139
140<dl class="method">
141<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.get_sample2detector_distance">
142<tt class="descname">get_sample2detector_distance</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_sample2detector_distance" title="Permalink to this definition">¶</a></dt>
143<dd><p>Get detector sample2detector_distance</p>
144</dd></dl>
145
146<dl class="method">
147<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.get_sample2sample_distance">
148<tt class="descname">get_sample2sample_distance</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_sample2sample_distance" title="Permalink to this definition">¶</a></dt>
149<dd><p>Get detector sampleslitsample_distance</p>
150</dd></dl>
151
152<dl class="method">
153<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.get_sample_aperture_size">
154<tt class="descname">get_sample_aperture_size</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_sample_aperture_size" title="Permalink to this definition">¶</a></dt>
155<dd><p>Get sample aperture size</p>
156</dd></dl>
157
158<dl class="method">
159<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.get_source2sample_distance">
160<tt class="descname">get_source2sample_distance</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_source2sample_distance" title="Permalink to this definition">¶</a></dt>
161<dd><p>Get detector source2sample_distance</p>
162</dd></dl>
163
164<dl class="method">
165<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.get_source_aperture_size">
166<tt class="descname">get_source_aperture_size</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_source_aperture_size" title="Permalink to this definition">¶</a></dt>
167<dd><p>Get source aperture size</p>
168</dd></dl>
169
170<dl class="method">
171<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.get_spectrum">
172<tt class="descname">get_spectrum</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_spectrum" title="Permalink to this definition">¶</a></dt>
173<dd><p>Get _spectrum</p>
174</dd></dl>
175
176<dl class="method">
177<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.get_variance">
178<tt class="descname">get_variance</tt><big>(</big><em>size=</em><span class="optional">[</span><span class="optional">]</span>, <em>distance=0</em>, <em>phi=0</em>, <em>comp='radial'</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_variance" title="Permalink to this definition">¶</a></dt>
179<dd><p>Get the variance when the slit/pinhole size is given
180: size: list that can be one(diameter for circular)</p>
181<blockquote>
182<div>or two components(lengths for rectangular)</div></blockquote>
183<p>: distance: [z, x] where z along the incident beam, x // qx_value
184: comp: direction of the sigma; can be &#8216;phi&#8217;, &#8216;y&#8217;, &#8216;x&#8217;, and &#8216;radial&#8217;</p>
185<p>: return variance: sigma^2</p>
186</dd></dl>
187
188<dl class="method">
189<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.get_variance_gravity">
190<tt class="descname">get_variance_gravity</tt><big>(</big><em>s_distance</em>, <em>d_distance</em>, <em>wavelength</em>, <em>spread</em>, <em>phi</em>, <em>comp='radial'</em>, <em>switch='on'</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_variance_gravity" title="Permalink to this definition">¶</a></dt>
191<dd><p>Get the variance from gravity when the wavelength spread is given</p>
192<p>: s_distance: source to sample distance
193: d_distance: sample to detector distance
194: wavelength: wavelength
195: spread: wavelength spread (ratio)
196: comp: direction of the sigma; can be &#8216;phi&#8217;, &#8216;y&#8217;, &#8216;x&#8217;, and &#8216;radial&#8217;</p>
197<p>: return variance: sigma^2</p>
198</dd></dl>
199
200<dl class="method">
201<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.get_variance_wave">
202<tt class="descname">get_variance_wave</tt><big>(</big><em>radius</em>, <em>distance</em>, <em>spread</em>, <em>phi</em>, <em>comp='radial'</em>, <em>switch='on'</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_variance_wave" title="Permalink to this definition">¶</a></dt>
203<dd><p>Get the variance when the wavelength spread is given</p>
204<p>: radius: the radial distance from the beam center to the pix of q
205: distance: sample to detector distance
206: spread: wavelength spread (ratio)
207: comp: direction of the sigma; can be &#8216;phi&#8217;, &#8216;y&#8217;, &#8216;x&#8217;, and &#8216;radial&#8217;</p>
208<p>: return variance: sigma^2</p>
209</dd></dl>
210
211<dl class="method">
212<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.get_wave_list">
213<tt class="descname">get_wave_list</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_wave_list" title="Permalink to this definition">¶</a></dt>
214<dd><p>Set wavelength spread</p>
215</dd></dl>
216
217<dl class="method">
218<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.get_wavelength">
219<tt class="descname">get_wavelength</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_wavelength" title="Permalink to this definition">¶</a></dt>
220<dd><p>Get wavelength</p>
221</dd></dl>
222
223<dl class="method">
224<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.get_wavelength_spread">
225<tt class="descname">get_wavelength_spread</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_wavelength_spread" title="Permalink to this definition">¶</a></dt>
226<dd><p>Get wavelength spread</p>
227</dd></dl>
228
229<dl class="method">
230<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.plot_image">
231<tt class="descname">plot_image</tt><big>(</big><em>image</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.plot_image" title="Permalink to this definition">¶</a></dt>
232<dd><p>Plot image using pyplot
233: image: 2d resolution image</p>
234<p>: return plt: pylab object</p>
235</dd></dl>
236
237<dl class="method">
238<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.reset_image">
239<tt class="descname">reset_image</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.reset_image" title="Permalink to this definition">¶</a></dt>
240<dd><p>Reset image to default (=[])</p>
241</dd></dl>
242
243<dl class="method">
244<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_detector_pix_size">
245<tt class="descname">set_detector_pix_size</tt><big>(</big><em>size</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_detector_pix_size" title="Permalink to this definition">¶</a></dt>
246<dd><p>Set detector pixel size</p>
247</dd></dl>
248
249<dl class="method">
250<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_detector_size">
251<tt class="descname">set_detector_size</tt><big>(</big><em>size</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_detector_size" title="Permalink to this definition">¶</a></dt>
252<dd><p>Set detector size in number of pixels
253: param size: [pixel_nums] or [x_pix_num, yx_pix_num]</p>
254</dd></dl>
255
256<dl class="method">
257<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_intensity">
258<tt class="descname">set_intensity</tt><big>(</big><em>intensity</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_intensity" title="Permalink to this definition">¶</a></dt>
259<dd><p>Set intensity</p>
260</dd></dl>
261
262<dl class="method">
263<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_neutron_mass">
264<tt class="descname">set_neutron_mass</tt><big>(</big><em>mass</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_neutron_mass" title="Permalink to this definition">¶</a></dt>
265<dd><p>Set Neutron mass</p>
266</dd></dl>
267
268<dl class="method">
269<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_sample2detector_distance">
270<tt class="descname">set_sample2detector_distance</tt><big>(</big><em>distance</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_sample2detector_distance" title="Permalink to this definition">¶</a></dt>
271<dd><p>Set detector sample2detector_distance</p>
272<p>: param distance: [distance, x_offset]</p>
273</dd></dl>
274
275<dl class="method">
276<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_sample2sample_distance">
277<tt class="descname">set_sample2sample_distance</tt><big>(</big><em>distance</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_sample2sample_distance" title="Permalink to this definition">¶</a></dt>
278<dd><p>Set detector sample_slit2sample_distance</p>
279<p>: param distance: [distance, x_offset]</p>
280</dd></dl>
281
282<dl class="method">
283<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_sample_aperture_size">
284<tt class="descname">set_sample_aperture_size</tt><big>(</big><em>size</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_sample_aperture_size" title="Permalink to this definition">¶</a></dt>
285<dd><p>Set sample aperture size</p>
286<p>: param size: [dia_value] or [xheight_value, yheight_value]</p>
287</dd></dl>
288
289<dl class="method">
290<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_source2sample_distance">
291<tt class="descname">set_source2sample_distance</tt><big>(</big><em>distance</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_source2sample_distance" title="Permalink to this definition">¶</a></dt>
292<dd><p>Set detector source2sample_distance</p>
293<p>: param distance: [distance, x_offset]</p>
294</dd></dl>
295
296<dl class="method">
297<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_source_aperture_size">
298<tt class="descname">set_source_aperture_size</tt><big>(</big><em>size</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_source_aperture_size" title="Permalink to this definition">¶</a></dt>
299<dd><p>Set source aperture size</p>
300<p>: param size: [dia_value] or [x_value, y_value]</p>
301</dd></dl>
302
303<dl class="method">
304<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_spectrum">
305<tt class="descname">set_spectrum</tt><big>(</big><em>spectrum</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_spectrum" title="Permalink to this definition">¶</a></dt>
306<dd><p>Set spectrum</p>
307</dd></dl>
308
309<dl class="method">
310<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_wave">
311<tt class="descname">set_wave</tt><big>(</big><em>wavelength</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_wave" title="Permalink to this definition">¶</a></dt>
312<dd><p>Set wavelength list or wavelength</p>
313</dd></dl>
314
315<dl class="method">
316<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_wave_list">
317<tt class="descname">set_wave_list</tt><big>(</big><em>wavelength_list</em>, <em>wavelengthspread_list</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_wave_list" title="Permalink to this definition">¶</a></dt>
318<dd><p>Set wavelength and its spread list</p>
319</dd></dl>
320
321<dl class="method">
322<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_wave_spread">
323<tt class="descname">set_wave_spread</tt><big>(</big><em>wavelength_spread</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_wave_spread" title="Permalink to this definition">¶</a></dt>
324<dd><p>Set wavelength spread  or wavelength spread</p>
325</dd></dl>
326
327<dl class="method">
328<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_wavelength">
329<tt class="descname">set_wavelength</tt><big>(</big><em>wavelength</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_wavelength" title="Permalink to this definition">¶</a></dt>
330<dd><p>Set wavelength</p>
331</dd></dl>
332
333<dl class="method">
334<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_wavelength_spread">
335<tt class="descname">set_wavelength_spread</tt><big>(</big><em>wavelength_spread</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_wavelength_spread" title="Permalink to this definition">¶</a></dt>
336<dd><p>Set wavelength spread</p>
337</dd></dl>
338
339<dl class="method">
340<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.setup_tof">
341<tt class="descname">setup_tof</tt><big>(</big><em>wavelength</em>, <em>wavelength_spread</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.setup_tof" title="Permalink to this definition">¶</a></dt>
342<dd><p>Setup all parameters in instrument</p>
343<p>: param ind: index of lambda, etc</p>
344</dd></dl>
345
346</dd></dl>
347
348</div>
349</div>
350
351
352          </div>
353        </div>
354      </div>
355      <div class="sphinxsidebar">
356        <div class="sphinxsidebarwrapper">
357  <h3><a href="../index.html">Table Of Contents</a></h3>
358  <ul>
359<li><a class="reference internal" href="#">Resolution Calculator</a><ul>
360<li><a class="reference internal" href="#module-sans.calculator.resolution_calculator"><tt class="docutils literal"><span class="pre">sans.calculator.resolution_calculator</span></tt></a></li>
361</ul>
362</li>
363</ul>
364
365  <h4>Previous topic</h4>
366  <p class="topless"><a href="kiessig_calculator.html"
367                        title="previous chapter">Kiessig Calculator</a></p>
368  <h3>This Page</h3>
369  <ul class="this-page-menu">
370    <li><a href="../_sources/api/resolution_calculator.txt"
371           rel="nofollow">Show Source</a></li>
372  </ul>
373<div id="searchbox" style="display: none">
374  <h3>Quick search</h3>
375    <form class="search" action="../search.html" method="get">
376      <input type="text" name="q" size="18" />
377      <input type="submit" value="Go" />
378      <input type="hidden" name="check_keywords" value="yes" />
379      <input type="hidden" name="area" value="default" />
380    </form>
381    <p class="searchtip" style="font-size: 90%">
382    Enter search terms or a module, class or function name.
383    </p>
384</div>
385<script type="text/javascript">$('#searchbox').show(0);</script>
386        </div>
387      </div>
388      <div class="clearer"></div>
389    </div>
390    <div class="related">
391      <h3>Navigation</h3>
392      <ul>
393        <li class="right" style="margin-right: 10px">
394          <a href="../genindex.html" title="General Index"
395             >index</a></li>
396        <li class="right" >
397          <a href="../py-modindex.html" title="Python Module Index"
398             >modules</a> |</li>
399        <li class="right" >
400          <a href="kiessig_calculator.html" title="Kiessig Calculator"
401             >previous</a> |</li>
402        <li><a href="../index.html">calculator v0.1.0 documentation</a> &raquo;</li>
403          <li><a href="index.html" >Reference</a> &raquo;</li> 
404      </ul>
405    </div>
406    <div class="footer">
407        &copy; Copyright 2010, Gervaise Alina.
408      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
409    </div>
410  </body>
411</html>
Note: See TracBrowser for help on using the repository browser.