source: sasview/plottools/docs/sphinx/html/api/transform.html @ eaa85e7

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 eaa85e7 was 82a54b8, checked in by Mathieu Doucet <doucetm@…>, 13 years ago

adding plottools Part 2

  • Property mode set to 100644
File size: 17.6 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
7<html xmlns="http://www.w3.org/1999/xhtml">
8  <head>
9    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10   
11    <title>transform &mdash; plottools 0.10 documentation</title>
12   
13    <link rel="stylesheet" href="../_static/default.css" type="text/css" />
14    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
15   
16    <script type="text/javascript">
17      var DOCUMENTATION_OPTIONS = {
18        URL_ROOT:    '../',
19        VERSION:     '0.10',
20        COLLAPSE_INDEX: false,
21        FILE_SUFFIX: '.html',
22        HAS_SOURCE:  true
23      };
24    </script>
25    <script type="text/javascript" src="../_static/jquery.js"></script>
26    <script type="text/javascript" src="../_static/underscore.js"></script>
27    <script type="text/javascript" src="../_static/doctools.js"></script>
28    <link rel="top" title="plottools 0.10 documentation" href="../index.html" />
29    <link rel="up" title="Reference" href="index.html" />
30    <link rel="next" title="unitConverter" href="unitConverter.html" />
31    <link rel="prev" title="toolbar" href="toolbar.html" /> 
32  </head>
33  <body>
34    <div class="related">
35      <h3>Navigation</h3>
36      <ul>
37        <li class="right" style="margin-right: 10px">
38          <a href="../genindex.html" title="General Index"
39             accesskey="I">index</a></li>
40        <li class="right" >
41          <a href="../py-modindex.html" title="Python Module Index"
42             >modules</a> |</li>
43        <li class="right" >
44          <a href="unitConverter.html" title="unitConverter"
45             accesskey="N">next</a> |</li>
46        <li class="right" >
47          <a href="toolbar.html" title="toolbar"
48             accesskey="P">previous</a> |</li>
49        <li><a href="../index.html">plottools 0.10 documentation</a> &raquo;</li>
50          <li><a href="index.html" accesskey="U">Reference</a> &raquo;</li> 
51      </ul>
52    </div> 
53
54    <div class="document">
55      <div class="documentwrapper">
56        <div class="bodywrapper">
57          <div class="body">
58           
59  <div class="section" id="transform">
60<h1>transform<a class="headerlink" href="#transform" title="Permalink to this headline">¶</a></h1>
61<div class="section" id="danse-common-plottools-transform">
62<h2><a class="reference internal" href="#module-danse.common.plottools.transform" title="danse.common.plottools.transform"><tt class="xref py py-mod docutils literal"><span class="pre">danse.common.plottools.transform</span></tt></a><a class="headerlink" href="#danse-common-plottools-transform" title="Permalink to this headline">¶</a></h2>
63<span class="target" id="module-danse.common.plottools.transform"></span><dl class="function">
64<dt id="danse.common.plottools.transform.errFromX2">
65<tt class="descclassname">danse.common.plottools.transform.</tt><tt class="descname">errFromX2</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.transform.errFromX2" title="Permalink to this definition">¶</a></dt>
66<dd><p>calculate error of sqrt(x)</p>
67<table class="docutils field-list" frame="void" rules="none">
68<col class="field-name" />
69<col class="field-body" />
70<tbody valign="top">
71<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
72<li><strong>x</strong> &#8211; float value</li>
73<li><strong>dx</strong> &#8211; float value</li>
74</ul>
75</td>
76</tr>
77</tbody>
78</table>
79</dd></dl>
80
81<dl class="function">
82<dt id="danse.common.plottools.transform.errOneOverSqrtX">
83<tt class="descclassname">danse.common.plottools.transform.</tt><tt class="descname">errOneOverSqrtX</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.transform.errOneOverSqrtX" title="Permalink to this definition">¶</a></dt>
84<dd><p>Calculate error on 1/sqrt(x)</p>
85</dd></dl>
86
87<dl class="function">
88<dt id="danse.common.plottools.transform.errOneOverX">
89<tt class="descclassname">danse.common.plottools.transform.</tt><tt class="descname">errOneOverX</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.transform.errOneOverX" title="Permalink to this definition">¶</a></dt>
90<dd><p>calculate error on 1/x</p>
91</dd></dl>
92
93<dl class="function">
94<dt id="danse.common.plottools.transform.errToLog10X">
95<tt class="descclassname">danse.common.plottools.transform.</tt><tt class="descname">errToLog10X</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.transform.errToLog10X" title="Permalink to this definition">¶</a></dt>
96<dd><p>calculate error of Log(x)</p>
97<table class="docutils field-list" frame="void" rules="none">
98<col class="field-name" />
99<col class="field-body" />
100<tbody valign="top">
101<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
102<li><strong>x</strong> &#8211; float value</li>
103<li><strong>dx</strong> &#8211; float value</li>
104</ul>
105</td>
106</tr>
107</tbody>
108</table>
109</dd></dl>
110
111<dl class="function">
112<dt id="danse.common.plottools.transform.errToLogX">
113<tt class="descclassname">danse.common.plottools.transform.</tt><tt class="descname">errToLogX</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.transform.errToLogX" title="Permalink to this definition">¶</a></dt>
114<dd><p>calculate error of Log(x)</p>
115<table class="docutils field-list" frame="void" rules="none">
116<col class="field-name" />
117<col class="field-body" />
118<tbody valign="top">
119<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
120<li><strong>x</strong> &#8211; float value</li>
121<li><strong>dx</strong> &#8211; float value</li>
122</ul>
123</td>
124</tr>
125</tbody>
126</table>
127</dd></dl>
128
129<dl class="function">
130<dt id="danse.common.plottools.transform.errToLogXY">
131<tt class="descclassname">danse.common.plottools.transform.</tt><tt class="descname">errToLogXY</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.transform.errToLogXY" title="Permalink to this definition">¶</a></dt>
132<dd><p>calculate error of Log(xy)</p>
133</dd></dl>
134
135<dl class="function">
136<dt id="danse.common.plottools.transform.errToLogYX2">
137<tt class="descclassname">danse.common.plottools.transform.</tt><tt class="descname">errToLogYX2</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.transform.errToLogYX2" title="Permalink to this definition">¶</a></dt>
138<dd><p>calculate error of Log(yx**2)</p>
139</dd></dl>
140
141<dl class="function">
142<dt id="danse.common.plottools.transform.errToLogYX4">
143<tt class="descclassname">danse.common.plottools.transform.</tt><tt class="descname">errToLogYX4</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.transform.errToLogYX4" title="Permalink to this definition">¶</a></dt>
144<dd><p>error for ln(y*x^(4))</p>
145<table class="docutils field-list" frame="void" rules="none">
146<col class="field-name" />
147<col class="field-body" />
148<tbody valign="top">
149<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; float value</td>
150</tr>
151</tbody>
152</table>
153</dd></dl>
154
155<dl class="function">
156<dt id="danse.common.plottools.transform.errToX">
157<tt class="descclassname">danse.common.plottools.transform.</tt><tt class="descname">errToX</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.transform.errToX" title="Permalink to this definition">¶</a></dt>
158<dd><p>calculate error of x**2</p>
159<table class="docutils field-list" frame="void" rules="none">
160<col class="field-name" />
161<col class="field-body" />
162<tbody valign="top">
163<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
164<li><strong>x</strong> &#8211; float value</li>
165<li><strong>dx</strong> &#8211; float value</li>
166</ul>
167</td>
168</tr>
169</tbody>
170</table>
171</dd></dl>
172
173<dl class="function">
174<dt id="danse.common.plottools.transform.errToX2">
175<tt class="descclassname">danse.common.plottools.transform.</tt><tt class="descname">errToX2</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.transform.errToX2" title="Permalink to this definition">¶</a></dt>
176<dd><p>calculate error of x**2</p>
177<table class="docutils field-list" frame="void" rules="none">
178<col class="field-name" />
179<col class="field-body" />
180<tbody valign="top">
181<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
182<li><strong>x</strong> &#8211; float value</li>
183<li><strong>dx</strong> &#8211; float value</li>
184</ul>
185</td>
186</tr>
187</tbody>
188</table>
189</dd></dl>
190
191<dl class="function">
192<dt id="danse.common.plottools.transform.errToX_pos">
193<tt class="descclassname">danse.common.plottools.transform.</tt><tt class="descname">errToX_pos</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.transform.errToX_pos" title="Permalink to this definition">¶</a></dt>
194<dd><p>calculate error of x**2</p>
195<table class="docutils field-list" frame="void" rules="none">
196<col class="field-name" />
197<col class="field-body" />
198<tbody valign="top">
199<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
200<li><strong>x</strong> &#8211; float value</li>
201<li><strong>dx</strong> &#8211; float value</li>
202</ul>
203</td>
204</tr>
205</tbody>
206</table>
207</dd></dl>
208
209<dl class="function">
210<dt id="danse.common.plottools.transform.errToYX2">
211<tt class="descclassname">danse.common.plottools.transform.</tt><tt class="descname">errToYX2</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.transform.errToYX2" title="Permalink to this definition">¶</a></dt>
212<dd></dd></dl>
213
214<dl class="function">
215<dt id="danse.common.plottools.transform.fromX2">
216<tt class="descclassname">danse.common.plottools.transform.</tt><tt class="descname">fromX2</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.transform.fromX2" title="Permalink to this definition">¶</a></dt>
217<dd><p>This function is used to load value on Plottable.View
218Calculate square root of x</p>
219<table class="docutils field-list" frame="void" rules="none">
220<col class="field-name" />
221<col class="field-body" />
222<tbody valign="top">
223<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; float value</td>
224</tr>
225</tbody>
226</table>
227</dd></dl>
228
229<dl class="function">
230<dt id="danse.common.plottools.transform.toLogX">
231<tt class="descclassname">danse.common.plottools.transform.</tt><tt class="descname">toLogX</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.transform.toLogX" title="Permalink to this definition">¶</a></dt>
232<dd><p>This function is used to load value on Plottable.View
233calculate log x</p>
234<table class="docutils field-list" frame="void" rules="none">
235<col class="field-name" />
236<col class="field-body" />
237<tbody valign="top">
238<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; float value</td>
239</tr>
240</tbody>
241</table>
242</dd></dl>
243
244<dl class="function">
245<dt id="danse.common.plottools.transform.toLogXY">
246<tt class="descclassname">danse.common.plottools.transform.</tt><tt class="descname">toLogXY</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.transform.toLogXY" title="Permalink to this definition">¶</a></dt>
247<dd><p>This function is used to load value on Plottable.View
248calculate log x</p>
249<table class="docutils field-list" frame="void" rules="none">
250<col class="field-name" />
251<col class="field-body" />
252<tbody valign="top">
253<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; float value</td>
254</tr>
255</tbody>
256</table>
257</dd></dl>
258
259<dl class="function">
260<dt id="danse.common.plottools.transform.toLogYX2">
261<tt class="descclassname">danse.common.plottools.transform.</tt><tt class="descname">toLogYX2</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.transform.toLogYX2" title="Permalink to this definition">¶</a></dt>
262<dd></dd></dl>
263
264<dl class="function">
265<dt id="danse.common.plottools.transform.toLogYX4">
266<tt class="descclassname">danse.common.plottools.transform.</tt><tt class="descname">toLogYX4</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.transform.toLogYX4" title="Permalink to this definition">¶</a></dt>
267<dd></dd></dl>
268
269<dl class="function">
270<dt id="danse.common.plottools.transform.toOneOverSqrtX">
271<tt class="descclassname">danse.common.plottools.transform.</tt><tt class="descname">toOneOverSqrtX</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.transform.toOneOverSqrtX" title="Permalink to this definition">¶</a></dt>
272<dd></dd></dl>
273
274<dl class="function">
275<dt id="danse.common.plottools.transform.toOneOverX">
276<tt class="descclassname">danse.common.plottools.transform.</tt><tt class="descname">toOneOverX</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.transform.toOneOverX" title="Permalink to this definition">¶</a></dt>
277<dd></dd></dl>
278
279<dl class="function">
280<dt id="danse.common.plottools.transform.toX">
281<tt class="descclassname">danse.common.plottools.transform.</tt><tt class="descname">toX</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.transform.toX" title="Permalink to this definition">¶</a></dt>
282<dd><p>This function is used to load value on Plottable.View</p>
283<table class="docutils field-list" frame="void" rules="none">
284<col class="field-name" />
285<col class="field-body" />
286<tbody valign="top">
287<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; Float value</td>
288</tr>
289<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">x</td>
290</tr>
291</tbody>
292</table>
293</dd></dl>
294
295<dl class="function">
296<dt id="danse.common.plottools.transform.toX2">
297<tt class="descclassname">danse.common.plottools.transform.</tt><tt class="descname">toX2</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.transform.toX2" title="Permalink to this definition">¶</a></dt>
298<dd><p>This function is used to load value on Plottable.View</p>
299<p>Calculate x^(2)</p>
300<table class="docutils field-list" frame="void" rules="none">
301<col class="field-name" />
302<col class="field-body" />
303<tbody valign="top">
304<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; float value</td>
305</tr>
306</tbody>
307</table>
308</dd></dl>
309
310<dl class="function">
311<dt id="danse.common.plottools.transform.toX_pos">
312<tt class="descclassname">danse.common.plottools.transform.</tt><tt class="descname">toX_pos</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.transform.toX_pos" title="Permalink to this definition">¶</a></dt>
313<dd><p>This function is used to load value on Plottable.View</p>
314<table class="docutils field-list" frame="void" rules="none">
315<col class="field-name" />
316<col class="field-body" />
317<tbody valign="top">
318<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; Float value</td>
319</tr>
320<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">x</td>
321</tr>
322</tbody>
323</table>
324</dd></dl>
325
326</div>
327</div>
328
329
330          </div>
331        </div>
332      </div>
333      <div class="sphinxsidebar">
334        <div class="sphinxsidebarwrapper">
335  <h3><a href="../index.html">Table Of Contents</a></h3>
336  <ul>
337<li><a class="reference internal" href="#">transform</a><ul>
338<li><a class="reference internal" href="#danse-common-plottools-transform"><tt class="docutils literal"><span class="pre">danse.common.plottools.transform</span></tt></a></li>
339</ul>
340</li>
341</ul>
342
343  <h4>Previous topic</h4>
344  <p class="topless"><a href="toolbar.html"
345                        title="previous chapter">toolbar</a></p>
346  <h4>Next topic</h4>
347  <p class="topless"><a href="unitConverter.html"
348                        title="next chapter">unitConverter</a></p>
349  <h3>This Page</h3>
350  <ul class="this-page-menu">
351    <li><a href="../_sources/api/transform.txt"
352           rel="nofollow">Show Source</a></li>
353  </ul>
354<div id="searchbox" style="display: none">
355  <h3>Quick search</h3>
356    <form class="search" action="../search.html" method="get">
357      <input type="text" name="q" />
358      <input type="submit" value="Go" />
359      <input type="hidden" name="check_keywords" value="yes" />
360      <input type="hidden" name="area" value="default" />
361    </form>
362    <p class="searchtip" style="font-size: 90%">
363    Enter search terms or a module, class or function name.
364    </p>
365</div>
366<script type="text/javascript">$('#searchbox').show(0);</script>
367        </div>
368      </div>
369      <div class="clearer"></div>
370    </div>
371    <div class="related">
372      <h3>Navigation</h3>
373      <ul>
374        <li class="right" style="margin-right: 10px">
375          <a href="../genindex.html" title="General Index"
376             >index</a></li>
377        <li class="right" >
378          <a href="../py-modindex.html" title="Python Module Index"
379             >modules</a> |</li>
380        <li class="right" >
381          <a href="unitConverter.html" title="unitConverter"
382             >next</a> |</li>
383        <li class="right" >
384          <a href="toolbar.html" title="toolbar"
385             >previous</a> |</li>
386        <li><a href="../index.html">plottools 0.10 documentation</a> &raquo;</li>
387          <li><a href="index.html" >Reference</a> &raquo;</li> 
388      </ul>
389    </div>
390    <div class="footer">
391        &copy; Copyright 2010, sans/reflectometry group.
392      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.
393    </div>
394  </body>
395</html>
Note: See TracBrowser for help on using the repository browser.