source: sasview/sansguiframe/docs/sphinx/html/api/dataFitting.html @ 27f1ddb

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 27f1ddb was bce8148, checked in by Gervaise Alina <gervyh@…>, 13 years ago

sphinx build

  • Property mode set to 100644
File size: 112.1 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>dataFitting &mdash; guiframe 0.1.0 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.1.0',
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="guiframe 0.1.0 documentation" href="../index.html" />
29    <link rel="up" title="Reference" href="index.html" />
30    <link rel="next" title="data_manager" href="data_manager.html" />
31    <link rel="prev" title="custom_pstats" href="custom_pstats.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="data_manager.html" title="data_manager"
45             accesskey="N">next</a> |</li>
46        <li class="right" >
47          <a href="custom_pstats.html" title="custom_pstats"
48             accesskey="P">previous</a> |</li>
49        <li><a href="../index.html">guiframe 0.1.0 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="datafitting">
60<h1>dataFitting<a class="headerlink" href="#datafitting" title="Permalink to this headline">¶</a></h1>
61<div class="section" id="sans-guiframe-datafitting">
62<h2><a class="reference internal" href="#module-sans.guiframe.dataFitting" title="sans.guiframe.dataFitting"><tt class="xref py py-mod docutils literal"><span class="pre">sans.guiframe.dataFitting</span></tt></a><a class="headerlink" href="#sans-guiframe-datafitting" title="Permalink to this headline">¶</a></h2>
63<span class="target" id="module-sans.guiframe.dataFitting"></span><p>Adapters for fitting module</p>
64<dl class="class">
65<dt id="sans.guiframe.dataFitting.Data1D">
66<em class="property">class </em><tt class="descclassname">sans.guiframe.dataFitting.</tt><tt class="descname">Data1D</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D" title="Permalink to this definition">¶</a></dt>
67<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">danse.common.plottools.plottables.Data1D</span></tt>, <tt class="xref py py-class docutils literal"><span class="pre">sans.dataloader.data_info.Data1D</span></tt></p>
68<dl class="method">
69<dt id="sans.guiframe.dataFitting.Data1D.__add__">
70<tt class="descname">__add__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__add__" title="Permalink to this definition">¶</a></dt>
71<dd><p>Add two data sets</p>
72<table class="docutils field-list" frame="void" rules="none">
73<col class="field-name" />
74<col class="field-body" />
75<tbody valign="top">
76<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to add to the current one</td>
77</tr>
78<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td>
79</tr>
80<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
81<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td>
82</tr>
83</tbody>
84</table>
85</dd></dl>
86
87<dl class="attribute">
88<dt id="sans.guiframe.dataFitting.Data1D.__class__">
89<tt class="descname">__class__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__class__" title="Permalink to this definition">¶</a></dt>
90<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
91</dd></dl>
92
93<dl class="attribute">
94<dt id="sans.guiframe.dataFitting.Data1D.__delattr__">
95<tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__delattr__" title="Permalink to this definition">¶</a></dt>
96<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
97</dd></dl>
98
99<dl class="attribute">
100<dt id="sans.guiframe.dataFitting.Data1D.__dict__">
101<tt class="descname">__dict__</tt><em class="property"> = &lt;dictproxy object at 0x044B2450&gt;</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__dict__" title="Permalink to this definition">¶</a></dt>
102<dd></dd></dl>
103
104<dl class="method">
105<dt id="sans.guiframe.dataFitting.Data1D.__div__">
106<tt class="descname">__div__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__div__" title="Permalink to this definition">¶</a></dt>
107<dd><p>Divided a data set by another</p>
108<table class="docutils field-list" frame="void" rules="none">
109<col class="field-name" />
110<col class="field-body" />
111<tbody valign="top">
112<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set that the current one is divided by</td>
113</tr>
114<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td>
115</tr>
116<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
117<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td>
118</tr>
119</tbody>
120</table>
121</dd></dl>
122
123<dl class="attribute">
124<dt id="sans.guiframe.dataFitting.Data1D.__getattribute__">
125<tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__getattribute__" title="Permalink to this definition">¶</a></dt>
126<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
127</dd></dl>
128
129<dl class="attribute">
130<dt id="sans.guiframe.dataFitting.Data1D.__hash__">
131<tt class="descname">__hash__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__hash__" title="Permalink to this definition">¶</a></dt>
132<dd><p>x.__hash__() &lt;==&gt; hash(x)</p>
133</dd></dl>
134
135<dl class="method">
136<dt id="sans.guiframe.dataFitting.Data1D.__init__">
137<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__init__" title="Permalink to this definition">¶</a></dt>
138<dd></dd></dl>
139
140<dl class="attribute">
141<dt id="sans.guiframe.dataFitting.Data1D.__module__">
142<tt class="descname">__module__</tt><em class="property"> = 'sans.guiframe.dataFitting'</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__module__" title="Permalink to this definition">¶</a></dt>
143<dd></dd></dl>
144
145<dl class="method">
146<dt id="sans.guiframe.dataFitting.Data1D.__mul__">
147<tt class="descname">__mul__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__mul__" title="Permalink to this definition">¶</a></dt>
148<dd><p>Multiply two data sets</p>
149<table class="docutils field-list" frame="void" rules="none">
150<col class="field-name" />
151<col class="field-body" />
152<tbody valign="top">
153<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to subtract from the current one</td>
154</tr>
155<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td>
156</tr>
157<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
158<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td>
159</tr>
160</tbody>
161</table>
162</dd></dl>
163
164<dl class="staticmethod">
165<dt id="sans.guiframe.dataFitting.Data1D.__new__">
166<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>S</em>, <em>...</em><big>)</big> &rarr; a new object with type S, a subtype of T<a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__new__" title="Permalink to this definition">¶</a></dt>
167<dd></dd></dl>
168
169<dl class="method">
170<dt id="sans.guiframe.dataFitting.Data1D.__radd__">
171<tt class="descname">__radd__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__radd__" title="Permalink to this definition">¶</a></dt>
172<dd><p>Add two data sets</p>
173<table class="docutils field-list" frame="void" rules="none">
174<col class="field-name" />
175<col class="field-body" />
176<tbody valign="top">
177<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to add to the current one</td>
178</tr>
179<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td>
180</tr>
181<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
182<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td>
183</tr>
184</tbody>
185</table>
186</dd></dl>
187
188<dl class="method">
189<dt id="sans.guiframe.dataFitting.Data1D.__rdiv__">
190<tt class="descname">__rdiv__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__rdiv__" title="Permalink to this definition">¶</a></dt>
191<dd><p>Divided a data set by another</p>
192<table class="docutils field-list" frame="void" rules="none">
193<col class="field-name" />
194<col class="field-body" />
195<tbody valign="top">
196<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set that the current one is divided by</td>
197</tr>
198<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td>
199</tr>
200<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
201<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td>
202</tr>
203</tbody>
204</table>
205</dd></dl>
206
207<dl class="method">
208<dt id="sans.guiframe.dataFitting.Data1D.__reduce__">
209<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__reduce__" title="Permalink to this definition">¶</a></dt>
210<dd><p>helper for pickle</p>
211</dd></dl>
212
213<dl class="method">
214<dt id="sans.guiframe.dataFitting.Data1D.__reduce_ex__">
215<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
216<dd><p>helper for pickle</p>
217</dd></dl>
218
219<dl class="attribute">
220<dt id="sans.guiframe.dataFitting.Data1D.__repr__">
221<tt class="descname">__repr__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__repr__" title="Permalink to this definition">¶</a></dt>
222<dd><p>x.__repr__() &lt;==&gt; repr(x)</p>
223</dd></dl>
224
225<dl class="method">
226<dt id="sans.guiframe.dataFitting.Data1D.__rmul__">
227<tt class="descname">__rmul__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__rmul__" title="Permalink to this definition">¶</a></dt>
228<dd><p>Multiply two data sets</p>
229<table class="docutils field-list" frame="void" rules="none">
230<col class="field-name" />
231<col class="field-body" />
232<tbody valign="top">
233<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to subtract from the current one</td>
234</tr>
235<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td>
236</tr>
237<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
238<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td>
239</tr>
240</tbody>
241</table>
242</dd></dl>
243
244<dl class="method">
245<dt id="sans.guiframe.dataFitting.Data1D.__rsub__">
246<tt class="descname">__rsub__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__rsub__" title="Permalink to this definition">¶</a></dt>
247<dd><p>Subtract two data sets</p>
248<table class="docutils field-list" frame="void" rules="none">
249<col class="field-name" />
250<col class="field-body" />
251<tbody valign="top">
252<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to subtract from the current one</td>
253</tr>
254<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td>
255</tr>
256<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
257<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td>
258</tr>
259</tbody>
260</table>
261</dd></dl>
262
263<dl class="method">
264<dt id="sans.guiframe.dataFitting.Data1D.__setattr__">
265<tt class="descname">__setattr__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__setattr__" title="Permalink to this definition">¶</a></dt>
266<dd><p>Take care of changes in View when data is changed.
267This method is provided for backward compatibility.</p>
268</dd></dl>
269
270<dl class="method">
271<dt id="sans.guiframe.dataFitting.Data1D.__str__">
272<tt class="descname">__str__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__str__" title="Permalink to this definition">¶</a></dt>
273<dd><p>print data</p>
274</dd></dl>
275
276<dl class="method">
277<dt id="sans.guiframe.dataFitting.Data1D.__sub__">
278<tt class="descname">__sub__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__sub__" title="Permalink to this definition">¶</a></dt>
279<dd><p>Subtract two data sets</p>
280<table class="docutils field-list" frame="void" rules="none">
281<col class="field-name" />
282<col class="field-body" />
283<tbody valign="top">
284<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to subtract from the current one</td>
285</tr>
286<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td>
287</tr>
288<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
289<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td>
290</tr>
291</tbody>
292</table>
293</dd></dl>
294
295<dl class="attribute">
296<dt id="sans.guiframe.dataFitting.Data1D.__weakref__">
297<tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__weakref__" title="Permalink to this definition">¶</a></dt>
298<dd><p>list of weak references to the object (if defined)</p>
299</dd></dl>
300
301<dl class="method">
302<dt id="sans.guiframe.dataFitting.Data1D._perform_operation">
303<tt class="descname">_perform_operation</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D._perform_operation" title="Permalink to this definition">¶</a></dt>
304<dd></dd></dl>
305
306<dl class="method">
307<dt id="sans.guiframe.dataFitting.Data1D._validity_check">
308<tt class="descname">_validity_check</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D._validity_check" title="Permalink to this definition">¶</a></dt>
309<dd><p>Checks that the data lengths are compatible.
310Checks that the x vectors are compatible.
311Returns errors vectors equal to original
312errors vectors if they were present or vectors
313of zeros when none was found.</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>other</strong> &#8211; other data set for operation</td>
319</tr>
320<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">dy for self, dy for other [numpy arrays]</td>
321</tr>
322<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
323<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">when lengths are not compatible</td>
324</tr>
325</tbody>
326</table>
327</dd></dl>
328
329<dl class="attribute">
330<dt id="sans.guiframe.dataFitting.Data1D._xaxis">
331<tt class="descname">_xaxis</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D._xaxis" title="Permalink to this definition">¶</a></dt>
332<dd></dd></dl>
333
334<dl class="attribute">
335<dt id="sans.guiframe.dataFitting.Data1D._xunit">
336<tt class="descname">_xunit</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D._xunit" title="Permalink to this definition">¶</a></dt>
337<dd></dd></dl>
338
339<dl class="attribute">
340<dt id="sans.guiframe.dataFitting.Data1D._yaxis">
341<tt class="descname">_yaxis</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D._yaxis" title="Permalink to this definition">¶</a></dt>
342<dd></dd></dl>
343
344<dl class="attribute">
345<dt id="sans.guiframe.dataFitting.Data1D._yunit">
346<tt class="descname">_yunit</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D._yunit" title="Permalink to this definition">¶</a></dt>
347<dd></dd></dl>
348
349<dl class="method">
350<dt id="sans.guiframe.dataFitting.Data1D.add_notes">
351<tt class="descname">add_notes</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.add_notes" title="Permalink to this definition">¶</a></dt>
352<dd><p>Add notes to datainfo</p>
353</dd></dl>
354
355<dl class="method">
356<dt id="sans.guiframe.dataFitting.Data1D.append_empty_process">
357<tt class="descname">append_empty_process</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.append_empty_process" title="Permalink to this definition">¶</a></dt>
358<dd></dd></dl>
359
360<dl class="method">
361<dt id="sans.guiframe.dataFitting.Data1D.changed">
362<tt class="descname">changed</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.changed" title="Permalink to this definition">¶</a></dt>
363<dd></dd></dl>
364
365<dl class="method">
366<dt id="sans.guiframe.dataFitting.Data1D.check_data_PlottableX">
367<tt class="descname">check_data_PlottableX</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.check_data_PlottableX" title="Permalink to this definition">¶</a></dt>
368<dd><p>Since no transformation is made for log10(x), check that
369no negative values is plot in log scale</p>
370</dd></dl>
371
372<dl class="method">
373<dt id="sans.guiframe.dataFitting.Data1D.check_data_PlottableY">
374<tt class="descname">check_data_PlottableY</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.check_data_PlottableY" title="Permalink to this definition">¶</a></dt>
375<dd><p>Since no transformation is made for log10(y), check that
376no negative values is plot in log scale</p>
377</dd></dl>
378
379<dl class="method">
380<dt id="sans.guiframe.dataFitting.Data1D.clone_without_data">
381<tt class="descname">clone_without_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.clone_without_data" title="Permalink to this definition">¶</a></dt>
382<dd><p>Clone the current object, without copying the data (which
383will be filled out by a subsequent operation).
384The data arrays will be initialized to zero.</p>
385<table class="docutils field-list" frame="void" rules="none">
386<col class="field-name" />
387<col class="field-body" />
388<tbody valign="top">
389<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
390<li><strong>length</strong> &#8211; length of the data array to be initialized</li>
391<li><strong>clone</strong> &#8211; if provided, the data will be copied to clone</li>
392</ul>
393</td>
394</tr>
395</tbody>
396</table>
397</dd></dl>
398
399<dl class="attribute">
400<dt id="sans.guiframe.dataFitting.Data1D.collimation">
401<tt class="descname">collimation</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.collimation" title="Permalink to this definition">¶</a></dt>
402<dd></dd></dl>
403
404<dl class="method">
405<dt id="sans.guiframe.dataFitting.Data1D.colors">
406<tt class="descname">colors</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.colors" title="Permalink to this definition">¶</a></dt>
407<dd><p>Return the number of colors need to render the object</p>
408</dd></dl>
409
410<dl class="method">
411<dt id="sans.guiframe.dataFitting.Data1D.copy_from_datainfo">
412<tt class="descname">copy_from_datainfo</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.copy_from_datainfo" title="Permalink to this definition">¶</a></dt>
413<dd><p>copy values of Data1D of type DataLaoder.Data_info</p>
414</dd></dl>
415
416<dl class="attribute">
417<dt id="sans.guiframe.dataFitting.Data1D.custom_color">
418<tt class="descname">custom_color</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.custom_color" title="Permalink to this definition">¶</a></dt>
419<dd></dd></dl>
420
421<dl class="attribute">
422<dt id="sans.guiframe.dataFitting.Data1D.detector">
423<tt class="descname">detector</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.detector" title="Permalink to this definition">¶</a></dt>
424<dd></dd></dl>
425
426<dl class="attribute">
427<dt id="sans.guiframe.dataFitting.Data1D.dx">
428<tt class="descname">dx</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.dx" title="Permalink to this definition">¶</a></dt>
429<dd></dd></dl>
430
431<dl class="attribute">
432<dt id="sans.guiframe.dataFitting.Data1D.dxl">
433<tt class="descname">dxl</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.dxl" title="Permalink to this definition">¶</a></dt>
434<dd></dd></dl>
435
436<dl class="attribute">
437<dt id="sans.guiframe.dataFitting.Data1D.dxw">
438<tt class="descname">dxw</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.dxw" title="Permalink to this definition">¶</a></dt>
439<dd></dd></dl>
440
441<dl class="attribute">
442<dt id="sans.guiframe.dataFitting.Data1D.dy">
443<tt class="descname">dy</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.dy" title="Permalink to this definition">¶</a></dt>
444<dd></dd></dl>
445
446<dl class="attribute">
447<dt id="sans.guiframe.dataFitting.Data1D.errors">
448<tt class="descname">errors</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.errors" title="Permalink to this definition">¶</a></dt>
449<dd></dd></dl>
450
451<dl class="attribute">
452<dt id="sans.guiframe.dataFitting.Data1D.filename">
453<tt class="descname">filename</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.filename" title="Permalink to this definition">¶</a></dt>
454<dd></dd></dl>
455
456<dl class="method">
457<dt id="sans.guiframe.dataFitting.Data1D.get_xaxis">
458<tt class="descname">get_xaxis</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.get_xaxis" title="Permalink to this definition">¶</a></dt>
459<dd><p>Return the units and name of x-axis</p>
460</dd></dl>
461
462<dl class="method">
463<dt id="sans.guiframe.dataFitting.Data1D.get_yaxis">
464<tt class="descname">get_yaxis</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.get_yaxis" title="Permalink to this definition">¶</a></dt>
465<dd><p>Return the units and name of y- axis</p>
466</dd></dl>
467
468<dl class="attribute">
469<dt id="sans.guiframe.dataFitting.Data1D.hidden">
470<tt class="descname">hidden</tt><em class="property"> = False</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.hidden" title="Permalink to this definition">¶</a></dt>
471<dd></dd></dl>
472
473<dl class="attribute">
474<dt id="sans.guiframe.dataFitting.Data1D.instrument">
475<tt class="descname">instrument</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.instrument" title="Permalink to this definition">¶</a></dt>
476<dd></dd></dl>
477
478<dl class="attribute">
479<dt id="sans.guiframe.dataFitting.Data1D.interactive">
480<tt class="descname">interactive</tt><em class="property"> = True</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.interactive" title="Permalink to this definition">¶</a></dt>
481<dd></dd></dl>
482
483<dl class="method">
484<dt id="sans.guiframe.dataFitting.Data1D.is_empty">
485<tt class="descname">is_empty</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.is_empty" title="Permalink to this definition">¶</a></dt>
486<dd><p>Returns True if there is no data stored in the plottable</p>
487</dd></dl>
488
489<dl class="method">
490<dt id="sans.guiframe.dataFitting.Data1D.is_slit_smeared">
491<tt class="descname">is_slit_smeared</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.is_slit_smeared" title="Permalink to this definition">¶</a></dt>
492<dd><p>Check whether the data has slit smearing information</p>
493<table class="docutils field-list" frame="void" rules="none">
494<col class="field-name" />
495<col class="field-body" />
496<tbody valign="top">
497<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">True is slit smearing info is present, False otherwise</td>
498</tr>
499</tbody>
500</table>
501</dd></dl>
502
503<dl class="classmethod">
504<dt id="sans.guiframe.dataFitting.Data1D.labels">
505<em class="property">classmethod </em><tt class="descname">labels</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.labels" title="Permalink to this definition">¶</a></dt>
506<dd><p>Build a label mostly unique within a collection</p>
507</dd></dl>
508
509<dl class="attribute">
510<dt id="sans.guiframe.dataFitting.Data1D.markersize">
511<tt class="descname">markersize</tt><em class="property"> = 5</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.markersize" title="Permalink to this definition">¶</a></dt>
512<dd></dd></dl>
513
514<dl class="attribute">
515<dt id="sans.guiframe.dataFitting.Data1D.meta_data">
516<tt class="descname">meta_data</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.meta_data" title="Permalink to this definition">¶</a></dt>
517<dd></dd></dl>
518
519<dl class="attribute">
520<dt id="sans.guiframe.dataFitting.Data1D.name">
521<tt class="descname">name</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.name" title="Permalink to this definition">¶</a></dt>
522<dd></dd></dl>
523
524<dl class="attribute">
525<dt id="sans.guiframe.dataFitting.Data1D.notes">
526<tt class="descname">notes</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.notes" title="Permalink to this definition">¶</a></dt>
527<dd></dd></dl>
528
529<dl class="method">
530<dt id="sans.guiframe.dataFitting.Data1D.onFitRange">
531<tt class="descname">onFitRange</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.onFitRange" title="Permalink to this definition">¶</a></dt>
532<dd><p>It limits View data range to plot from min to max</p>
533<table class="docutils field-list" frame="void" rules="none">
534<col class="field-name" />
535<col class="field-body" />
536<tbody valign="top">
537<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
538<li><strong>xmin</strong> &#8211; the minimum value of x to plot.</li>
539<li><strong>xmax</strong> &#8211; the maximum value of x to plot</li>
540</ul>
541</td>
542</tr>
543</tbody>
544</table>
545</dd></dl>
546
547<dl class="method">
548<dt id="sans.guiframe.dataFitting.Data1D.onReset">
549<tt class="descname">onReset</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.onReset" title="Permalink to this definition">¶</a></dt>
550<dd><p>Reset x, y, dx, dy view with its parameters</p>
551</dd></dl>
552
553<dl class="attribute">
554<dt id="sans.guiframe.dataFitting.Data1D.process">
555<tt class="descname">process</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.process" title="Permalink to this definition">¶</a></dt>
556<dd></dd></dl>
557
558<dl class="method">
559<dt id="sans.guiframe.dataFitting.Data1D.render">
560<tt class="descname">render</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.render" title="Permalink to this definition">¶</a></dt>
561<dd><p>Renders the plottable on the graph</p>
562</dd></dl>
563
564<dl class="method">
565<dt id="sans.guiframe.dataFitting.Data1D.reset_view">
566<tt class="descname">reset_view</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.reset_view" title="Permalink to this definition">¶</a></dt>
567<dd><p>Reload view with new value to plot</p>
568</dd></dl>
569
570<dl class="method">
571<dt id="sans.guiframe.dataFitting.Data1D.returnValuesOfView">
572<tt class="descname">returnValuesOfView</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.returnValuesOfView" title="Permalink to this definition">¶</a></dt>
573<dd><p>Return View parameters and it is used by Fit Dialog</p>
574</dd></dl>
575
576<dl class="attribute">
577<dt id="sans.guiframe.dataFitting.Data1D.run">
578<tt class="descname">run</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.run" title="Permalink to this definition">¶</a></dt>
579<dd></dd></dl>
580
581<dl class="attribute">
582<dt id="sans.guiframe.dataFitting.Data1D.run_name">
583<tt class="descname">run_name</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.run_name" title="Permalink to this definition">¶</a></dt>
584<dd></dd></dl>
585
586<dl class="attribute">
587<dt id="sans.guiframe.dataFitting.Data1D.sample">
588<tt class="descname">sample</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.sample" title="Permalink to this definition">¶</a></dt>
589<dd></dd></dl>
590
591<dl class="method">
592<dt id="sans.guiframe.dataFitting.Data1D.setLabel">
593<tt class="descname">setLabel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.setLabel" title="Permalink to this definition">¶</a></dt>
594<dd><p>It takes a label of the x and y transformation and set View parameters</p>
595<table class="docutils field-list" frame="void" rules="none">
596<col class="field-name" />
597<col class="field-body" />
598<tbody valign="top">
599<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
600<li><strong>transx</strong> &#8211; The label of x transformation is sent by Properties Dialog</li>
601<li><strong>transy</strong> &#8211; The label of y transformation is sent Properties Dialog</li>
602</ul>
603</td>
604</tr>
605</tbody>
606</table>
607</dd></dl>
608
609<dl class="method">
610<dt id="sans.guiframe.dataFitting.Data1D.set_View">
611<tt class="descname">set_View</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.set_View" title="Permalink to this definition">¶</a></dt>
612<dd><p>Load View</p>
613</dd></dl>
614
615<dl class="method">
616<dt id="sans.guiframe.dataFitting.Data1D.set_data">
617<tt class="descname">set_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.set_data" title="Permalink to this definition">¶</a></dt>
618<dd></dd></dl>
619
620<dl class="attribute">
621<dt id="sans.guiframe.dataFitting.Data1D.short_name">
622<tt class="descname">short_name</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.short_name" title="Permalink to this definition">¶</a></dt>
623<dd></dd></dl>
624
625<dl class="attribute">
626<dt id="sans.guiframe.dataFitting.Data1D.source">
627<tt class="descname">source</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.source" title="Permalink to this definition">¶</a></dt>
628<dd></dd></dl>
629
630<dl class="attribute">
631<dt id="sans.guiframe.dataFitting.Data1D.title">
632<tt class="descname">title</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.title" title="Permalink to this definition">¶</a></dt>
633<dd></dd></dl>
634
635<dl class="method">
636<dt id="sans.guiframe.dataFitting.Data1D.transformView">
637<tt class="descname">transformView</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.transformView" title="Permalink to this definition">¶</a></dt>
638<dd><p>It transforms x, y before displaying</p>
639</dd></dl>
640
641<dl class="method">
642<dt id="sans.guiframe.dataFitting.Data1D.transformX">
643<tt class="descname">transformX</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.transformX" title="Permalink to this definition">¶</a></dt>
644<dd><p>Receive pointers to function that transform x and dx
645and set corresponding View pointers</p>
646<table class="docutils field-list" frame="void" rules="none">
647<col class="field-name" />
648<col class="field-body" />
649<tbody valign="top">
650<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
651<li><strong>transx</strong> &#8211; pointer to function that transforms x</li>
652<li><strong>transdx</strong> &#8211; pointer to function that transforms dx</li>
653</ul>
654</td>
655</tr>
656</tbody>
657</table>
658</dd></dl>
659
660<dl class="method">
661<dt id="sans.guiframe.dataFitting.Data1D.transformY">
662<tt class="descname">transformY</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.transformY" title="Permalink to this definition">¶</a></dt>
663<dd><p>Receive pointers to function that transform y and dy
664and set corresponding View pointers</p>
665<table class="docutils field-list" frame="void" rules="none">
666<col class="field-name" />
667<col class="field-body" />
668<tbody valign="top">
669<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
670<li><strong>transy</strong> &#8211; pointer to function that transforms y</li>
671<li><strong>transdy</strong> &#8211; pointer to function that transforms dy</li>
672</ul>
673</td>
674</tr>
675</tbody>
676</table>
677</dd></dl>
678
679<dl class="attribute">
680<dt id="sans.guiframe.dataFitting.Data1D.x">
681<tt class="descname">x</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.x" title="Permalink to this definition">¶</a></dt>
682<dd></dd></dl>
683
684<dl class="attribute">
685<dt id="sans.guiframe.dataFitting.Data1D.x_unit">
686<tt class="descname">x_unit</tt><em class="property"> = '1/A'</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.x_unit" title="Permalink to this definition">¶</a></dt>
687<dd></dd></dl>
688
689<dl class="method">
690<dt id="sans.guiframe.dataFitting.Data1D.xaxis">
691<tt class="descname">xaxis</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.xaxis" title="Permalink to this definition">¶</a></dt>
692<dd><p>Set the name and unit of x_axis</p>
693<table class="docutils field-list" frame="void" rules="none">
694<col class="field-name" />
695<col class="field-body" />
696<tbody valign="top">
697<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
698<li><strong>name</strong> &#8211; the name of x-axis</li>
699<li><strong>units</strong> &#8211; the units of x_axis</li>
700</ul>
701</td>
702</tr>
703</tbody>
704</table>
705</dd></dl>
706
707<dl class="attribute">
708<dt id="sans.guiframe.dataFitting.Data1D.y">
709<tt class="descname">y</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.y" title="Permalink to this definition">¶</a></dt>
710<dd></dd></dl>
711
712<dl class="attribute">
713<dt id="sans.guiframe.dataFitting.Data1D.y_unit">
714<tt class="descname">y_unit</tt><em class="property"> = '1/cm'</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.y_unit" title="Permalink to this definition">¶</a></dt>
715<dd></dd></dl>
716
717<dl class="method">
718<dt id="sans.guiframe.dataFitting.Data1D.yaxis">
719<tt class="descname">yaxis</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.yaxis" title="Permalink to this definition">¶</a></dt>
720<dd><p>Set the name and unit of y_axis</p>
721<table class="docutils field-list" frame="void" rules="none">
722<col class="field-name" />
723<col class="field-body" />
724<tbody valign="top">
725<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
726<li><strong>name</strong> &#8211; the name of y-axis</li>
727<li><strong>units</strong> &#8211; the units of y_axis</li>
728</ul>
729</td>
730</tr>
731</tbody>
732</table>
733</dd></dl>
734
735</dd></dl>
736
737<dl class="class">
738<dt id="sans.guiframe.dataFitting.Data2D">
739<em class="property">class </em><tt class="descclassname">sans.guiframe.dataFitting.</tt><tt class="descname">Data2D</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D" title="Permalink to this definition">¶</a></dt>
740<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">danse.common.plottools.plottables.Data2D</span></tt>, <tt class="xref py py-class docutils literal"><span class="pre">sans.dataloader.data_info.Data2D</span></tt></p>
741<dl class="attribute">
742<dt id="sans.guiframe.dataFitting.Data2D.I_unit">
743<tt class="descname">I_unit</tt><em class="property"> = '1/cm'</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.I_unit" title="Permalink to this definition">¶</a></dt>
744<dd></dd></dl>
745
746<dl class="attribute">
747<dt id="sans.guiframe.dataFitting.Data2D.Q_unit">
748<tt class="descname">Q_unit</tt><em class="property"> = '1/A'</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.Q_unit" title="Permalink to this definition">¶</a></dt>
749<dd></dd></dl>
750
751<dl class="method">
752<dt id="sans.guiframe.dataFitting.Data2D.__add__">
753<tt class="descname">__add__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__add__" title="Permalink to this definition">¶</a></dt>
754<dd><p>Add two data sets</p>
755<table class="docutils field-list" frame="void" rules="none">
756<col class="field-name" />
757<col class="field-body" />
758<tbody valign="top">
759<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to add to the current one</td>
760</tr>
761<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td>
762</tr>
763<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
764<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td>
765</tr>
766</tbody>
767</table>
768</dd></dl>
769
770<dl class="attribute">
771<dt id="sans.guiframe.dataFitting.Data2D.__class__">
772<tt class="descname">__class__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__class__" title="Permalink to this definition">¶</a></dt>
773<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
774</dd></dl>
775
776<dl class="attribute">
777<dt id="sans.guiframe.dataFitting.Data2D.__delattr__">
778<tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__delattr__" title="Permalink to this definition">¶</a></dt>
779<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
780</dd></dl>
781
782<dl class="attribute">
783<dt id="sans.guiframe.dataFitting.Data2D.__dict__">
784<tt class="descname">__dict__</tt><em class="property"> = &lt;dictproxy object at 0x044B2DD0&gt;</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__dict__" title="Permalink to this definition">¶</a></dt>
785<dd></dd></dl>
786
787<dl class="method">
788<dt id="sans.guiframe.dataFitting.Data2D.__div__">
789<tt class="descname">__div__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__div__" title="Permalink to this definition">¶</a></dt>
790<dd><p>Divided a data set by another</p>
791<table class="docutils field-list" frame="void" rules="none">
792<col class="field-name" />
793<col class="field-body" />
794<tbody valign="top">
795<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set that the current one is divided by</td>
796</tr>
797<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td>
798</tr>
799<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
800<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td>
801</tr>
802</tbody>
803</table>
804</dd></dl>
805
806<dl class="attribute">
807<dt id="sans.guiframe.dataFitting.Data2D.__getattribute__">
808<tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__getattribute__" title="Permalink to this definition">¶</a></dt>
809<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
810</dd></dl>
811
812<dl class="attribute">
813<dt id="sans.guiframe.dataFitting.Data2D.__hash__">
814<tt class="descname">__hash__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__hash__" title="Permalink to this definition">¶</a></dt>
815<dd><p>x.__hash__() &lt;==&gt; hash(x)</p>
816</dd></dl>
817
818<dl class="method">
819<dt id="sans.guiframe.dataFitting.Data2D.__init__">
820<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__init__" title="Permalink to this definition">¶</a></dt>
821<dd></dd></dl>
822
823<dl class="attribute">
824<dt id="sans.guiframe.dataFitting.Data2D.__module__">
825<tt class="descname">__module__</tt><em class="property"> = 'sans.guiframe.dataFitting'</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__module__" title="Permalink to this definition">¶</a></dt>
826<dd></dd></dl>
827
828<dl class="method">
829<dt id="sans.guiframe.dataFitting.Data2D.__mul__">
830<tt class="descname">__mul__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__mul__" title="Permalink to this definition">¶</a></dt>
831<dd><p>Multiply two data sets</p>
832<table class="docutils field-list" frame="void" rules="none">
833<col class="field-name" />
834<col class="field-body" />
835<tbody valign="top">
836<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to subtract from the current one</td>
837</tr>
838<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td>
839</tr>
840<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
841<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td>
842</tr>
843</tbody>
844</table>
845</dd></dl>
846
847<dl class="staticmethod">
848<dt id="sans.guiframe.dataFitting.Data2D.__new__">
849<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>S</em>, <em>...</em><big>)</big> &rarr; a new object with type S, a subtype of T<a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__new__" title="Permalink to this definition">¶</a></dt>
850<dd></dd></dl>
851
852<dl class="method">
853<dt id="sans.guiframe.dataFitting.Data2D.__radd__">
854<tt class="descname">__radd__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__radd__" title="Permalink to this definition">¶</a></dt>
855<dd><p>Add two data sets</p>
856<table class="docutils field-list" frame="void" rules="none">
857<col class="field-name" />
858<col class="field-body" />
859<tbody valign="top">
860<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to add to the current one</td>
861</tr>
862<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td>
863</tr>
864<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
865<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td>
866</tr>
867</tbody>
868</table>
869</dd></dl>
870
871<dl class="method">
872<dt id="sans.guiframe.dataFitting.Data2D.__rdiv__">
873<tt class="descname">__rdiv__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__rdiv__" title="Permalink to this definition">¶</a></dt>
874<dd><p>Divided a data set by another</p>
875<table class="docutils field-list" frame="void" rules="none">
876<col class="field-name" />
877<col class="field-body" />
878<tbody valign="top">
879<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set that the current one is divided by</td>
880</tr>
881<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td>
882</tr>
883<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
884<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td>
885</tr>
886</tbody>
887</table>
888</dd></dl>
889
890<dl class="method">
891<dt id="sans.guiframe.dataFitting.Data2D.__reduce__">
892<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__reduce__" title="Permalink to this definition">¶</a></dt>
893<dd><p>helper for pickle</p>
894</dd></dl>
895
896<dl class="method">
897<dt id="sans.guiframe.dataFitting.Data2D.__reduce_ex__">
898<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
899<dd><p>helper for pickle</p>
900</dd></dl>
901
902<dl class="attribute">
903<dt id="sans.guiframe.dataFitting.Data2D.__repr__">
904<tt class="descname">__repr__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__repr__" title="Permalink to this definition">¶</a></dt>
905<dd><p>x.__repr__() &lt;==&gt; repr(x)</p>
906</dd></dl>
907
908<dl class="method">
909<dt id="sans.guiframe.dataFitting.Data2D.__rmul__">
910<tt class="descname">__rmul__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__rmul__" title="Permalink to this definition">¶</a></dt>
911<dd><p>Multiply two data sets</p>
912<table class="docutils field-list" frame="void" rules="none">
913<col class="field-name" />
914<col class="field-body" />
915<tbody valign="top">
916<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to subtract from the current one</td>
917</tr>
918<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td>
919</tr>
920<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
921<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td>
922</tr>
923</tbody>
924</table>
925</dd></dl>
926
927<dl class="method">
928<dt id="sans.guiframe.dataFitting.Data2D.__rsub__">
929<tt class="descname">__rsub__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__rsub__" title="Permalink to this definition">¶</a></dt>
930<dd><p>Subtract two data sets</p>
931<table class="docutils field-list" frame="void" rules="none">
932<col class="field-name" />
933<col class="field-body" />
934<tbody valign="top">
935<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to subtract from the current one</td>
936</tr>
937<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td>
938</tr>
939<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
940<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td>
941</tr>
942</tbody>
943</table>
944</dd></dl>
945
946<dl class="method">
947<dt id="sans.guiframe.dataFitting.Data2D.__setattr__">
948<tt class="descname">__setattr__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__setattr__" title="Permalink to this definition">¶</a></dt>
949<dd><p>Take care of changes in View when data is changed.
950This method is provided for backward compatibility.</p>
951</dd></dl>
952
953<dl class="method">
954<dt id="sans.guiframe.dataFitting.Data2D.__str__">
955<tt class="descname">__str__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__str__" title="Permalink to this definition">¶</a></dt>
956<dd><p>print data</p>
957</dd></dl>
958
959<dl class="method">
960<dt id="sans.guiframe.dataFitting.Data2D.__sub__">
961<tt class="descname">__sub__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__sub__" title="Permalink to this definition">¶</a></dt>
962<dd><p>Subtract two data sets</p>
963<table class="docutils field-list" frame="void" rules="none">
964<col class="field-name" />
965<col class="field-body" />
966<tbody valign="top">
967<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to subtract from the current one</td>
968</tr>
969<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td>
970</tr>
971<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
972<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td>
973</tr>
974</tbody>
975</table>
976</dd></dl>
977
978<dl class="attribute">
979<dt id="sans.guiframe.dataFitting.Data2D.__weakref__">
980<tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__weakref__" title="Permalink to this definition">¶</a></dt>
981<dd><p>list of weak references to the object (if defined)</p>
982</dd></dl>
983
984<dl class="method">
985<dt id="sans.guiframe.dataFitting.Data2D._perform_operation">
986<tt class="descname">_perform_operation</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D._perform_operation" title="Permalink to this definition">¶</a></dt>
987<dd><p>Perform 2D operations between data sets</p>
988<table class="docutils field-list" frame="void" rules="none">
989<col class="field-name" />
990<col class="field-body" />
991<tbody valign="top">
992<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
993<li><strong>other</strong> &#8211; other data set</li>
994<li><strong>operation</strong> &#8211; function defining the operation</li>
995</ul>
996</td>
997</tr>
998</tbody>
999</table>
1000</dd></dl>
1001
1002<dl class="method">
1003<dt id="sans.guiframe.dataFitting.Data2D._validity_check">
1004<tt class="descname">_validity_check</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D._validity_check" title="Permalink to this definition">¶</a></dt>
1005<dd><p>Checks that the data lengths are compatible.
1006Checks that the x vectors are compatible.
1007Returns errors vectors equal to original
1008errors vectors if they were present or vectors
1009of zeros when none was found.</p>
1010<table class="docutils field-list" frame="void" rules="none">
1011<col class="field-name" />
1012<col class="field-body" />
1013<tbody valign="top">
1014<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; other data set for operation</td>
1015</tr>
1016<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">dy for self, dy for other [numpy arrays]</td>
1017</tr>
1018<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
1019<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">when lengths are not compatible</td>
1020</tr>
1021</tbody>
1022</table>
1023</dd></dl>
1024
1025<dl class="attribute">
1026<dt id="sans.guiframe.dataFitting.Data2D._xaxis">
1027<tt class="descname">_xaxis</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D._xaxis" title="Permalink to this definition">¶</a></dt>
1028<dd></dd></dl>
1029
1030<dl class="attribute">
1031<dt id="sans.guiframe.dataFitting.Data2D._xunit">
1032<tt class="descname">_xunit</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D._xunit" title="Permalink to this definition">¶</a></dt>
1033<dd></dd></dl>
1034
1035<dl class="attribute">
1036<dt id="sans.guiframe.dataFitting.Data2D._yaxis">
1037<tt class="descname">_yaxis</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D._yaxis" title="Permalink to this definition">¶</a></dt>
1038<dd></dd></dl>
1039
1040<dl class="attribute">
1041<dt id="sans.guiframe.dataFitting.Data2D._yunit">
1042<tt class="descname">_yunit</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D._yunit" title="Permalink to this definition">¶</a></dt>
1043<dd></dd></dl>
1044
1045<dl class="attribute">
1046<dt id="sans.guiframe.dataFitting.Data2D._zaxis">
1047<tt class="descname">_zaxis</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D._zaxis" title="Permalink to this definition">¶</a></dt>
1048<dd></dd></dl>
1049
1050<dl class="attribute">
1051<dt id="sans.guiframe.dataFitting.Data2D._zunit">
1052<tt class="descname">_zunit</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D._zunit" title="Permalink to this definition">¶</a></dt>
1053<dd></dd></dl>
1054
1055<dl class="method">
1056<dt id="sans.guiframe.dataFitting.Data2D.add_notes">
1057<tt class="descname">add_notes</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.add_notes" title="Permalink to this definition">¶</a></dt>
1058<dd><p>Add notes to datainfo</p>
1059</dd></dl>
1060
1061<dl class="method">
1062<dt id="sans.guiframe.dataFitting.Data2D.append_empty_process">
1063<tt class="descname">append_empty_process</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.append_empty_process" title="Permalink to this definition">¶</a></dt>
1064<dd></dd></dl>
1065
1066<dl class="method">
1067<dt id="sans.guiframe.dataFitting.Data2D.changed">
1068<tt class="descname">changed</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.changed" title="Permalink to this definition">¶</a></dt>
1069<dd></dd></dl>
1070
1071<dl class="method">
1072<dt id="sans.guiframe.dataFitting.Data2D.check_data_PlottableX">
1073<tt class="descname">check_data_PlottableX</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.check_data_PlottableX" title="Permalink to this definition">¶</a></dt>
1074<dd><p>Since no transformation is made for log10(x), check that
1075no negative values is plot in log scale</p>
1076</dd></dl>
1077
1078<dl class="method">
1079<dt id="sans.guiframe.dataFitting.Data2D.check_data_PlottableY">
1080<tt class="descname">check_data_PlottableY</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.check_data_PlottableY" title="Permalink to this definition">¶</a></dt>
1081<dd><p>Since no transformation is made for log10(y), check that
1082no negative values is plot in log scale</p>
1083</dd></dl>
1084
1085<dl class="method">
1086<dt id="sans.guiframe.dataFitting.Data2D.clone_without_data">
1087<tt class="descname">clone_without_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.clone_without_data" title="Permalink to this definition">¶</a></dt>
1088<dd><p>Clone the current object, without copying the data (which
1089will be filled out by a subsequent operation).
1090The data arrays will be initialized to zero.</p>
1091<table class="docutils field-list" frame="void" rules="none">
1092<col class="field-name" />
1093<col class="field-body" />
1094<tbody valign="top">
1095<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
1096<li><strong>length</strong> &#8211; length of the data array to be initialized</li>
1097<li><strong>clone</strong> &#8211; if provided, the data will be copied to clone</li>
1098</ul>
1099</td>
1100</tr>
1101</tbody>
1102</table>
1103</dd></dl>
1104
1105<dl class="attribute">
1106<dt id="sans.guiframe.dataFitting.Data2D.collimation">
1107<tt class="descname">collimation</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.collimation" title="Permalink to this definition">¶</a></dt>
1108<dd></dd></dl>
1109
1110<dl class="method">
1111<dt id="sans.guiframe.dataFitting.Data2D.colors">
1112<tt class="descname">colors</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.colors" title="Permalink to this definition">¶</a></dt>
1113<dd><p>Return the number of colors need to render the object</p>
1114</dd></dl>
1115
1116<dl class="method">
1117<dt id="sans.guiframe.dataFitting.Data2D.copy_from_datainfo">
1118<tt class="descname">copy_from_datainfo</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.copy_from_datainfo" title="Permalink to this definition">¶</a></dt>
1119<dd><p>copy value of Data2D of type DataLoader.data_info</p>
1120</dd></dl>
1121
1122<dl class="attribute">
1123<dt id="sans.guiframe.dataFitting.Data2D.custom_color">
1124<tt class="descname">custom_color</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.custom_color" title="Permalink to this definition">¶</a></dt>
1125<dd></dd></dl>
1126
1127<dl class="attribute">
1128<dt id="sans.guiframe.dataFitting.Data2D.data">
1129<tt class="descname">data</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.data" title="Permalink to this definition">¶</a></dt>
1130<dd></dd></dl>
1131
1132<dl class="attribute">
1133<dt id="sans.guiframe.dataFitting.Data2D.detector">
1134<tt class="descname">detector</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.detector" title="Permalink to this definition">¶</a></dt>
1135<dd></dd></dl>
1136
1137<dl class="attribute">
1138<dt id="sans.guiframe.dataFitting.Data2D.dqx_data">
1139<tt class="descname">dqx_data</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.dqx_data" title="Permalink to this definition">¶</a></dt>
1140<dd></dd></dl>
1141
1142<dl class="attribute">
1143<dt id="sans.guiframe.dataFitting.Data2D.dqy_data">
1144<tt class="descname">dqy_data</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.dqy_data" title="Permalink to this definition">¶</a></dt>
1145<dd></dd></dl>
1146
1147<dl class="attribute">
1148<dt id="sans.guiframe.dataFitting.Data2D.dx">
1149<tt class="descname">dx</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.dx" title="Permalink to this definition">¶</a></dt>
1150<dd></dd></dl>
1151
1152<dl class="attribute">
1153<dt id="sans.guiframe.dataFitting.Data2D.dy">
1154<tt class="descname">dy</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.dy" title="Permalink to this definition">¶</a></dt>
1155<dd></dd></dl>
1156
1157<dl class="attribute">
1158<dt id="sans.guiframe.dataFitting.Data2D.err_data">
1159<tt class="descname">err_data</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.err_data" title="Permalink to this definition">¶</a></dt>
1160<dd></dd></dl>
1161
1162<dl class="attribute">
1163<dt id="sans.guiframe.dataFitting.Data2D.errors">
1164<tt class="descname">errors</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.errors" title="Permalink to this definition">¶</a></dt>
1165<dd></dd></dl>
1166
1167<dl class="attribute">
1168<dt id="sans.guiframe.dataFitting.Data2D.filename">
1169<tt class="descname">filename</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.filename" title="Permalink to this definition">¶</a></dt>
1170<dd></dd></dl>
1171
1172<dl class="method">
1173<dt id="sans.guiframe.dataFitting.Data2D.get_xaxis">
1174<tt class="descname">get_xaxis</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.get_xaxis" title="Permalink to this definition">¶</a></dt>
1175<dd><p>Return the units and name of x-axis</p>
1176</dd></dl>
1177
1178<dl class="method">
1179<dt id="sans.guiframe.dataFitting.Data2D.get_yaxis">
1180<tt class="descname">get_yaxis</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.get_yaxis" title="Permalink to this definition">¶</a></dt>
1181<dd><p>Return the units and name of y- axis</p>
1182</dd></dl>
1183
1184<dl class="attribute">
1185<dt id="sans.guiframe.dataFitting.Data2D.hidden">
1186<tt class="descname">hidden</tt><em class="property"> = False</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.hidden" title="Permalink to this definition">¶</a></dt>
1187<dd></dd></dl>
1188
1189<dl class="attribute">
1190<dt id="sans.guiframe.dataFitting.Data2D.instrument">
1191<tt class="descname">instrument</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.instrument" title="Permalink to this definition">¶</a></dt>
1192<dd></dd></dl>
1193
1194<dl class="attribute">
1195<dt id="sans.guiframe.dataFitting.Data2D.interactive">
1196<tt class="descname">interactive</tt><em class="property"> = True</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.interactive" title="Permalink to this definition">¶</a></dt>
1197<dd></dd></dl>
1198
1199<dl class="method">
1200<dt id="sans.guiframe.dataFitting.Data2D.is_empty">
1201<tt class="descname">is_empty</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.is_empty" title="Permalink to this definition">¶</a></dt>
1202<dd><p>Returns True if there is no data stored in the plottable</p>
1203</dd></dl>
1204
1205<dl class="classmethod">
1206<dt id="sans.guiframe.dataFitting.Data2D.labels">
1207<em class="property">classmethod </em><tt class="descname">labels</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.labels" title="Permalink to this definition">¶</a></dt>
1208<dd><p>Build a label mostly unique within a collection</p>
1209</dd></dl>
1210
1211<dl class="attribute">
1212<dt id="sans.guiframe.dataFitting.Data2D.markersize">
1213<tt class="descname">markersize</tt><em class="property"> = 5</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.markersize" title="Permalink to this definition">¶</a></dt>
1214<dd></dd></dl>
1215
1216<dl class="attribute">
1217<dt id="sans.guiframe.dataFitting.Data2D.mask">
1218<tt class="descname">mask</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.mask" title="Permalink to this definition">¶</a></dt>
1219<dd></dd></dl>
1220
1221<dl class="attribute">
1222<dt id="sans.guiframe.dataFitting.Data2D.meta_data">
1223<tt class="descname">meta_data</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.meta_data" title="Permalink to this definition">¶</a></dt>
1224<dd></dd></dl>
1225
1226<dl class="attribute">
1227<dt id="sans.guiframe.dataFitting.Data2D.name">
1228<tt class="descname">name</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.name" title="Permalink to this definition">¶</a></dt>
1229<dd></dd></dl>
1230
1231<dl class="attribute">
1232<dt id="sans.guiframe.dataFitting.Data2D.notes">
1233<tt class="descname">notes</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.notes" title="Permalink to this definition">¶</a></dt>
1234<dd></dd></dl>
1235
1236<dl class="method">
1237<dt id="sans.guiframe.dataFitting.Data2D.onFitRange">
1238<tt class="descname">onFitRange</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.onFitRange" title="Permalink to this definition">¶</a></dt>
1239<dd><p>It limits View data range to plot from min to max</p>
1240<table class="docutils field-list" frame="void" rules="none">
1241<col class="field-name" />
1242<col class="field-body" />
1243<tbody valign="top">
1244<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
1245<li><strong>xmin</strong> &#8211; the minimum value of x to plot.</li>
1246<li><strong>xmax</strong> &#8211; the maximum value of x to plot</li>
1247</ul>
1248</td>
1249</tr>
1250</tbody>
1251</table>
1252</dd></dl>
1253
1254<dl class="method">
1255<dt id="sans.guiframe.dataFitting.Data2D.onReset">
1256<tt class="descname">onReset</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.onReset" title="Permalink to this definition">¶</a></dt>
1257<dd><p>Reset x, y, dx, dy view with its parameters</p>
1258</dd></dl>
1259
1260<dl class="attribute">
1261<dt id="sans.guiframe.dataFitting.Data2D.process">
1262<tt class="descname">process</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.process" title="Permalink to this definition">¶</a></dt>
1263<dd></dd></dl>
1264
1265<dl class="attribute">
1266<dt id="sans.guiframe.dataFitting.Data2D.q_data">
1267<tt class="descname">q_data</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.q_data" title="Permalink to this definition">¶</a></dt>
1268<dd></dd></dl>
1269
1270<dl class="attribute">
1271<dt id="sans.guiframe.dataFitting.Data2D.qx_data">
1272<tt class="descname">qx_data</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.qx_data" title="Permalink to this definition">¶</a></dt>
1273<dd></dd></dl>
1274
1275<dl class="attribute">
1276<dt id="sans.guiframe.dataFitting.Data2D.qy_data">
1277<tt class="descname">qy_data</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.qy_data" title="Permalink to this definition">¶</a></dt>
1278<dd></dd></dl>
1279
1280<dl class="method">
1281<dt id="sans.guiframe.dataFitting.Data2D.render">
1282<tt class="descname">render</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.render" title="Permalink to this definition">¶</a></dt>
1283<dd><p>Renders the plottable on the graph</p>
1284</dd></dl>
1285
1286<dl class="method">
1287<dt id="sans.guiframe.dataFitting.Data2D.reset_view">
1288<tt class="descname">reset_view</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.reset_view" title="Permalink to this definition">¶</a></dt>
1289<dd><p>Reload view with new value to plot</p>
1290</dd></dl>
1291
1292<dl class="method">
1293<dt id="sans.guiframe.dataFitting.Data2D.returnValuesOfView">
1294<tt class="descname">returnValuesOfView</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.returnValuesOfView" title="Permalink to this definition">¶</a></dt>
1295<dd><p>Return View parameters and it is used by Fit Dialog</p>
1296</dd></dl>
1297
1298<dl class="attribute">
1299<dt id="sans.guiframe.dataFitting.Data2D.run">
1300<tt class="descname">run</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.run" title="Permalink to this definition">¶</a></dt>
1301<dd></dd></dl>
1302
1303<dl class="attribute">
1304<dt id="sans.guiframe.dataFitting.Data2D.run_name">
1305<tt class="descname">run_name</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.run_name" title="Permalink to this definition">¶</a></dt>
1306<dd></dd></dl>
1307
1308<dl class="attribute">
1309<dt id="sans.guiframe.dataFitting.Data2D.sample">
1310<tt class="descname">sample</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.sample" title="Permalink to this definition">¶</a></dt>
1311<dd></dd></dl>
1312
1313<dl class="method">
1314<dt id="sans.guiframe.dataFitting.Data2D.setLabel">
1315<tt class="descname">setLabel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.setLabel" title="Permalink to this definition">¶</a></dt>
1316<dd><p>It takes a label of the x and y transformation and set View parameters</p>
1317<table class="docutils field-list" frame="void" rules="none">
1318<col class="field-name" />
1319<col class="field-body" />
1320<tbody valign="top">
1321<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
1322<li><strong>transx</strong> &#8211; The label of x transformation is sent by Properties Dialog</li>
1323<li><strong>transy</strong> &#8211; The label of y transformation is sent Properties Dialog</li>
1324</ul>
1325</td>
1326</tr>
1327</tbody>
1328</table>
1329</dd></dl>
1330
1331<dl class="method">
1332<dt id="sans.guiframe.dataFitting.Data2D.setValues">
1333<tt class="descname">setValues</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.setValues" title="Permalink to this definition">¶</a></dt>
1334<dd><p>Use datainfo object to initialize data2D</p>
1335<table class="docutils field-list" frame="void" rules="none">
1336<col class="field-name" />
1337<col class="field-body" />
1338<tbody valign="top">
1339<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>datainfo</strong> &#8211; object</td>
1340</tr>
1341</tbody>
1342</table>
1343</dd></dl>
1344
1345<dl class="method">
1346<dt id="sans.guiframe.dataFitting.Data2D.set_View">
1347<tt class="descname">set_View</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.set_View" title="Permalink to this definition">¶</a></dt>
1348<dd><p>Load View</p>
1349</dd></dl>
1350
1351<dl class="method">
1352<dt id="sans.guiframe.dataFitting.Data2D.set_data">
1353<tt class="descname">set_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.set_data" title="Permalink to this definition">¶</a></dt>
1354<dd></dd></dl>
1355
1356<dl class="method">
1357<dt id="sans.guiframe.dataFitting.Data2D.set_zrange">
1358<tt class="descname">set_zrange</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.set_zrange" title="Permalink to this definition">¶</a></dt>
1359<dd></dd></dl>
1360
1361<dl class="attribute">
1362<dt id="sans.guiframe.dataFitting.Data2D.short_name">
1363<tt class="descname">short_name</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.short_name" title="Permalink to this definition">¶</a></dt>
1364<dd></dd></dl>
1365
1366<dl class="attribute">
1367<dt id="sans.guiframe.dataFitting.Data2D.source">
1368<tt class="descname">source</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.source" title="Permalink to this definition">¶</a></dt>
1369<dd></dd></dl>
1370
1371<dl class="attribute">
1372<dt id="sans.guiframe.dataFitting.Data2D.title">
1373<tt class="descname">title</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.title" title="Permalink to this definition">¶</a></dt>
1374<dd></dd></dl>
1375
1376<dl class="method">
1377<dt id="sans.guiframe.dataFitting.Data2D.transformView">
1378<tt class="descname">transformView</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.transformView" title="Permalink to this definition">¶</a></dt>
1379<dd><p>It transforms x, y before displaying</p>
1380</dd></dl>
1381
1382<dl class="method">
1383<dt id="sans.guiframe.dataFitting.Data2D.transformX">
1384<tt class="descname">transformX</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.transformX" title="Permalink to this definition">¶</a></dt>
1385<dd><p>Receive pointers to function that transform x and dx
1386and set corresponding View pointers</p>
1387<table class="docutils field-list" frame="void" rules="none">
1388<col class="field-name" />
1389<col class="field-body" />
1390<tbody valign="top">
1391<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
1392<li><strong>transx</strong> &#8211; pointer to function that transforms x</li>
1393<li><strong>transdx</strong> &#8211; pointer to function that transforms dx</li>
1394</ul>
1395</td>
1396</tr>
1397</tbody>
1398</table>
1399</dd></dl>
1400
1401<dl class="method">
1402<dt id="sans.guiframe.dataFitting.Data2D.transformY">
1403<tt class="descname">transformY</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.transformY" title="Permalink to this definition">¶</a></dt>
1404<dd><p>Receive pointers to function that transform y and dy
1405and set corresponding View pointers</p>
1406<table class="docutils field-list" frame="void" rules="none">
1407<col class="field-name" />
1408<col class="field-body" />
1409<tbody valign="top">
1410<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
1411<li><strong>transy</strong> &#8211; pointer to function that transforms y</li>
1412<li><strong>transdy</strong> &#8211; pointer to function that transforms dy</li>
1413</ul>
1414</td>
1415</tr>
1416</tbody>
1417</table>
1418</dd></dl>
1419
1420<dl class="attribute">
1421<dt id="sans.guiframe.dataFitting.Data2D.x">
1422<tt class="descname">x</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.x" title="Permalink to this definition">¶</a></dt>
1423<dd></dd></dl>
1424
1425<dl class="attribute">
1426<dt id="sans.guiframe.dataFitting.Data2D.x_bins">
1427<tt class="descname">x_bins</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.x_bins" title="Permalink to this definition">¶</a></dt>
1428<dd></dd></dl>
1429
1430<dl class="method">
1431<dt id="sans.guiframe.dataFitting.Data2D.xaxis">
1432<tt class="descname">xaxis</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.xaxis" title="Permalink to this definition">¶</a></dt>
1433<dd><p>set x-axis</p>
1434<table class="docutils field-list" frame="void" rules="none">
1435<col class="field-name" />
1436<col class="field-body" />
1437<tbody valign="top">
1438<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
1439<li><strong>label</strong> &#8211; x-axis label</li>
1440<li><strong>unit</strong> &#8211; x-axis unit</li>
1441</ul>
1442</td>
1443</tr>
1444</tbody>
1445</table>
1446</dd></dl>
1447
1448<dl class="attribute">
1449<dt id="sans.guiframe.dataFitting.Data2D.xmax">
1450<tt class="descname">xmax</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.xmax" title="Permalink to this definition">¶</a></dt>
1451<dd></dd></dl>
1452
1453<dl class="attribute">
1454<dt id="sans.guiframe.dataFitting.Data2D.xmin">
1455<tt class="descname">xmin</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.xmin" title="Permalink to this definition">¶</a></dt>
1456<dd></dd></dl>
1457
1458<dl class="attribute">
1459<dt id="sans.guiframe.dataFitting.Data2D.y">
1460<tt class="descname">y</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.y" title="Permalink to this definition">¶</a></dt>
1461<dd></dd></dl>
1462
1463<dl class="attribute">
1464<dt id="sans.guiframe.dataFitting.Data2D.y_bins">
1465<tt class="descname">y_bins</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.y_bins" title="Permalink to this definition">¶</a></dt>
1466<dd></dd></dl>
1467
1468<dl class="method">
1469<dt id="sans.guiframe.dataFitting.Data2D.yaxis">
1470<tt class="descname">yaxis</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.yaxis" title="Permalink to this definition">¶</a></dt>
1471<dd><p>set y-axis</p>
1472<table class="docutils field-list" frame="void" rules="none">
1473<col class="field-name" />
1474<col class="field-body" />
1475<tbody valign="top">
1476<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
1477<li><strong>label</strong> &#8211; y-axis label</li>
1478<li><strong>unit</strong> &#8211; y-axis unit</li>
1479</ul>
1480</td>
1481</tr>
1482</tbody>
1483</table>
1484</dd></dl>
1485
1486<dl class="attribute">
1487<dt id="sans.guiframe.dataFitting.Data2D.ymax">
1488<tt class="descname">ymax</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.ymax" title="Permalink to this definition">¶</a></dt>
1489<dd></dd></dl>
1490
1491<dl class="attribute">
1492<dt id="sans.guiframe.dataFitting.Data2D.ymin">
1493<tt class="descname">ymin</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.ymin" title="Permalink to this definition">¶</a></dt>
1494<dd></dd></dl>
1495
1496<dl class="method">
1497<dt id="sans.guiframe.dataFitting.Data2D.zaxis">
1498<tt class="descname">zaxis</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.zaxis" title="Permalink to this definition">¶</a></dt>
1499<dd><p>set z-axis</p>
1500<table class="docutils field-list" frame="void" rules="none">
1501<col class="field-name" />
1502<col class="field-body" />
1503<tbody valign="top">
1504<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
1505<li><strong>label</strong> &#8211; z-axis label</li>
1506<li><strong>unit</strong> &#8211; z-axis unit</li>
1507</ul>
1508</td>
1509</tr>
1510</tbody>
1511</table>
1512</dd></dl>
1513
1514</dd></dl>
1515
1516<dl class="class">
1517<dt id="sans.guiframe.dataFitting.Theory1D">
1518<em class="property">class </em><tt class="descclassname">sans.guiframe.dataFitting.</tt><tt class="descname">Theory1D</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D" title="Permalink to this definition">¶</a></dt>
1519<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">danse.common.plottools.plottables.Theory1D</span></tt>, <tt class="xref py py-class docutils literal"><span class="pre">sans.dataloader.data_info.Data1D</span></tt></p>
1520<dl class="method">
1521<dt id="sans.guiframe.dataFitting.Theory1D.__add__">
1522<tt class="descname">__add__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__add__" title="Permalink to this definition">¶</a></dt>
1523<dd><p>Add two data sets</p>
1524<table class="docutils field-list" frame="void" rules="none">
1525<col class="field-name" />
1526<col class="field-body" />
1527<tbody valign="top">
1528<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to add to the current one</td>
1529</tr>
1530<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td>
1531</tr>
1532<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
1533<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td>
1534</tr>
1535</tbody>
1536</table>
1537</dd></dl>
1538
1539<dl class="attribute">
1540<dt id="sans.guiframe.dataFitting.Theory1D.__class__">
1541<tt class="descname">__class__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__class__" title="Permalink to this definition">¶</a></dt>
1542<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
1543</dd></dl>
1544
1545<dl class="attribute">
1546<dt id="sans.guiframe.dataFitting.Theory1D.__delattr__">
1547<tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__delattr__" title="Permalink to this definition">¶</a></dt>
1548<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
1549</dd></dl>
1550
1551<dl class="attribute">
1552<dt id="sans.guiframe.dataFitting.Theory1D.__dict__">
1553<tt class="descname">__dict__</tt><em class="property"> = &lt;dictproxy object at 0x039C78D0&gt;</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__dict__" title="Permalink to this definition">¶</a></dt>
1554<dd></dd></dl>
1555
1556<dl class="method">
1557<dt id="sans.guiframe.dataFitting.Theory1D.__div__">
1558<tt class="descname">__div__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__div__" title="Permalink to this definition">¶</a></dt>
1559<dd><p>Divided a data set by another</p>
1560<table class="docutils field-list" frame="void" rules="none">
1561<col class="field-name" />
1562<col class="field-body" />
1563<tbody valign="top">
1564<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set that the current one is divided by</td>
1565</tr>
1566<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td>
1567</tr>
1568<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
1569<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td>
1570</tr>
1571</tbody>
1572</table>
1573</dd></dl>
1574
1575<dl class="attribute">
1576<dt id="sans.guiframe.dataFitting.Theory1D.__getattribute__">
1577<tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__getattribute__" title="Permalink to this definition">¶</a></dt>
1578<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
1579</dd></dl>
1580
1581<dl class="attribute">
1582<dt id="sans.guiframe.dataFitting.Theory1D.__hash__">
1583<tt class="descname">__hash__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__hash__" title="Permalink to this definition">¶</a></dt>
1584<dd><p>x.__hash__() &lt;==&gt; hash(x)</p>
1585</dd></dl>
1586
1587<dl class="method">
1588<dt id="sans.guiframe.dataFitting.Theory1D.__init__">
1589<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__init__" title="Permalink to this definition">¶</a></dt>
1590<dd></dd></dl>
1591
1592<dl class="attribute">
1593<dt id="sans.guiframe.dataFitting.Theory1D.__module__">
1594<tt class="descname">__module__</tt><em class="property"> = 'sans.guiframe.dataFitting'</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__module__" title="Permalink to this definition">¶</a></dt>
1595<dd></dd></dl>
1596
1597<dl class="method">
1598<dt id="sans.guiframe.dataFitting.Theory1D.__mul__">
1599<tt class="descname">__mul__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__mul__" title="Permalink to this definition">¶</a></dt>
1600<dd><p>Multiply two data sets</p>
1601<table class="docutils field-list" frame="void" rules="none">
1602<col class="field-name" />
1603<col class="field-body" />
1604<tbody valign="top">
1605<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to subtract from the current one</td>
1606</tr>
1607<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td>
1608</tr>
1609<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
1610<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td>
1611</tr>
1612</tbody>
1613</table>
1614</dd></dl>
1615
1616<dl class="staticmethod">
1617<dt id="sans.guiframe.dataFitting.Theory1D.__new__">
1618<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>S</em>, <em>...</em><big>)</big> &rarr; a new object with type S, a subtype of T<a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__new__" title="Permalink to this definition">¶</a></dt>
1619<dd></dd></dl>
1620
1621<dl class="method">
1622<dt id="sans.guiframe.dataFitting.Theory1D.__radd__">
1623<tt class="descname">__radd__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__radd__" title="Permalink to this definition">¶</a></dt>
1624<dd><p>Add two data sets</p>
1625<table class="docutils field-list" frame="void" rules="none">
1626<col class="field-name" />
1627<col class="field-body" />
1628<tbody valign="top">
1629<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to add to the current one</td>
1630</tr>
1631<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td>
1632</tr>
1633<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
1634<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td>
1635</tr>
1636</tbody>
1637</table>
1638</dd></dl>
1639
1640<dl class="method">
1641<dt id="sans.guiframe.dataFitting.Theory1D.__rdiv__">
1642<tt class="descname">__rdiv__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__rdiv__" title="Permalink to this definition">¶</a></dt>
1643<dd><p>Divided a data set by another</p>
1644<table class="docutils field-list" frame="void" rules="none">
1645<col class="field-name" />
1646<col class="field-body" />
1647<tbody valign="top">
1648<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set that the current one is divided by</td>
1649</tr>
1650<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td>
1651</tr>
1652<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
1653<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td>
1654</tr>
1655</tbody>
1656</table>
1657</dd></dl>
1658
1659<dl class="method">
1660<dt id="sans.guiframe.dataFitting.Theory1D.__reduce__">
1661<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__reduce__" title="Permalink to this definition">¶</a></dt>
1662<dd><p>helper for pickle</p>
1663</dd></dl>
1664
1665<dl class="method">
1666<dt id="sans.guiframe.dataFitting.Theory1D.__reduce_ex__">
1667<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
1668<dd><p>helper for pickle</p>
1669</dd></dl>
1670
1671<dl class="attribute">
1672<dt id="sans.guiframe.dataFitting.Theory1D.__repr__">
1673<tt class="descname">__repr__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__repr__" title="Permalink to this definition">¶</a></dt>
1674<dd><p>x.__repr__() &lt;==&gt; repr(x)</p>
1675</dd></dl>
1676
1677<dl class="method">
1678<dt id="sans.guiframe.dataFitting.Theory1D.__rmul__">
1679<tt class="descname">__rmul__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__rmul__" title="Permalink to this definition">¶</a></dt>
1680<dd><p>Multiply two data sets</p>
1681<table class="docutils field-list" frame="void" rules="none">
1682<col class="field-name" />
1683<col class="field-body" />
1684<tbody valign="top">
1685<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to subtract from the current one</td>
1686</tr>
1687<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td>
1688</tr>
1689<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
1690<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td>
1691</tr>
1692</tbody>
1693</table>
1694</dd></dl>
1695
1696<dl class="method">
1697<dt id="sans.guiframe.dataFitting.Theory1D.__rsub__">
1698<tt class="descname">__rsub__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__rsub__" title="Permalink to this definition">¶</a></dt>
1699<dd><p>Subtract two data sets</p>
1700<table class="docutils field-list" frame="void" rules="none">
1701<col class="field-name" />
1702<col class="field-body" />
1703<tbody valign="top">
1704<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to subtract from the current one</td>
1705</tr>
1706<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td>
1707</tr>
1708<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
1709<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td>
1710</tr>
1711</tbody>
1712</table>
1713</dd></dl>
1714
1715<dl class="method">
1716<dt id="sans.guiframe.dataFitting.Theory1D.__setattr__">
1717<tt class="descname">__setattr__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__setattr__" title="Permalink to this definition">¶</a></dt>
1718<dd><p>Take care of changes in View when data is changed.
1719This method is provided for backward compatibility.</p>
1720</dd></dl>
1721
1722<dl class="method">
1723<dt id="sans.guiframe.dataFitting.Theory1D.__str__">
1724<tt class="descname">__str__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__str__" title="Permalink to this definition">¶</a></dt>
1725<dd><p>print data</p>
1726</dd></dl>
1727
1728<dl class="method">
1729<dt id="sans.guiframe.dataFitting.Theory1D.__sub__">
1730<tt class="descname">__sub__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__sub__" title="Permalink to this definition">¶</a></dt>
1731<dd><p>Subtract two data sets</p>
1732<table class="docutils field-list" frame="void" rules="none">
1733<col class="field-name" />
1734<col class="field-body" />
1735<tbody valign="top">
1736<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to subtract from the current one</td>
1737</tr>
1738<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td>
1739</tr>
1740<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
1741<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td>
1742</tr>
1743</tbody>
1744</table>
1745</dd></dl>
1746
1747<dl class="attribute">
1748<dt id="sans.guiframe.dataFitting.Theory1D.__weakref__">
1749<tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__weakref__" title="Permalink to this definition">¶</a></dt>
1750<dd><p>list of weak references to the object (if defined)</p>
1751</dd></dl>
1752
1753<dl class="method">
1754<dt id="sans.guiframe.dataFitting.Theory1D._perform_operation">
1755<tt class="descname">_perform_operation</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D._perform_operation" title="Permalink to this definition">¶</a></dt>
1756<dd></dd></dl>
1757
1758<dl class="method">
1759<dt id="sans.guiframe.dataFitting.Theory1D._validity_check">
1760<tt class="descname">_validity_check</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D._validity_check" title="Permalink to this definition">¶</a></dt>
1761<dd><p>Checks that the data lengths are compatible.
1762Checks that the x vectors are compatible.
1763Returns errors vectors equal to original
1764errors vectors if they were present or vectors
1765of zeros when none was found.</p>
1766<table class="docutils field-list" frame="void" rules="none">
1767<col class="field-name" />
1768<col class="field-body" />
1769<tbody valign="top">
1770<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; other data set for operation</td>
1771</tr>
1772<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">dy for self, dy for other [numpy arrays]</td>
1773</tr>
1774<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
1775<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">when lengths are not compatible</td>
1776</tr>
1777</tbody>
1778</table>
1779</dd></dl>
1780
1781<dl class="attribute">
1782<dt id="sans.guiframe.dataFitting.Theory1D._xaxis">
1783<tt class="descname">_xaxis</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D._xaxis" title="Permalink to this definition">¶</a></dt>
1784<dd></dd></dl>
1785
1786<dl class="attribute">
1787<dt id="sans.guiframe.dataFitting.Theory1D._xunit">
1788<tt class="descname">_xunit</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D._xunit" title="Permalink to this definition">¶</a></dt>
1789<dd></dd></dl>
1790
1791<dl class="attribute">
1792<dt id="sans.guiframe.dataFitting.Theory1D._yaxis">
1793<tt class="descname">_yaxis</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D._yaxis" title="Permalink to this definition">¶</a></dt>
1794<dd></dd></dl>
1795
1796<dl class="attribute">
1797<dt id="sans.guiframe.dataFitting.Theory1D._yunit">
1798<tt class="descname">_yunit</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D._yunit" title="Permalink to this definition">¶</a></dt>
1799<dd></dd></dl>
1800
1801<dl class="method">
1802<dt id="sans.guiframe.dataFitting.Theory1D.add_notes">
1803<tt class="descname">add_notes</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.add_notes" title="Permalink to this definition">¶</a></dt>
1804<dd><p>Add notes to datainfo</p>
1805</dd></dl>
1806
1807<dl class="method">
1808<dt id="sans.guiframe.dataFitting.Theory1D.append_empty_process">
1809<tt class="descname">append_empty_process</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.append_empty_process" title="Permalink to this definition">¶</a></dt>
1810<dd></dd></dl>
1811
1812<dl class="method">
1813<dt id="sans.guiframe.dataFitting.Theory1D.changed">
1814<tt class="descname">changed</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.changed" title="Permalink to this definition">¶</a></dt>
1815<dd></dd></dl>
1816
1817<dl class="method">
1818<dt id="sans.guiframe.dataFitting.Theory1D.check_data_PlottableX">
1819<tt class="descname">check_data_PlottableX</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.check_data_PlottableX" title="Permalink to this definition">¶</a></dt>
1820<dd><p>Since no transformation is made for log10(x), check that
1821no negative values is plot in log scale</p>
1822</dd></dl>
1823
1824<dl class="method">
1825<dt id="sans.guiframe.dataFitting.Theory1D.check_data_PlottableY">
1826<tt class="descname">check_data_PlottableY</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.check_data_PlottableY" title="Permalink to this definition">¶</a></dt>
1827<dd><p>Since no transformation is made for log10(y), check that
1828no negative values is plot in log scale</p>
1829</dd></dl>
1830
1831<dl class="method">
1832<dt id="sans.guiframe.dataFitting.Theory1D.clone_without_data">
1833<tt class="descname">clone_without_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.clone_without_data" title="Permalink to this definition">¶</a></dt>
1834<dd><p>Clone the current object, without copying the data (which
1835will be filled out by a subsequent operation).
1836The data arrays will be initialized to zero.</p>
1837<table class="docutils field-list" frame="void" rules="none">
1838<col class="field-name" />
1839<col class="field-body" />
1840<tbody valign="top">
1841<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
1842<li><strong>length</strong> &#8211; length of the data array to be initialized</li>
1843<li><strong>clone</strong> &#8211; if provided, the data will be copied to clone</li>
1844</ul>
1845</td>
1846</tr>
1847</tbody>
1848</table>
1849</dd></dl>
1850
1851<dl class="attribute">
1852<dt id="sans.guiframe.dataFitting.Theory1D.collimation">
1853<tt class="descname">collimation</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.collimation" title="Permalink to this definition">¶</a></dt>
1854<dd></dd></dl>
1855
1856<dl class="method">
1857<dt id="sans.guiframe.dataFitting.Theory1D.colors">
1858<tt class="descname">colors</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.colors" title="Permalink to this definition">¶</a></dt>
1859<dd><p>Return the number of colors need to render the object</p>
1860</dd></dl>
1861
1862<dl class="method">
1863<dt id="sans.guiframe.dataFitting.Theory1D.copy_from_datainfo">
1864<tt class="descname">copy_from_datainfo</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.copy_from_datainfo" title="Permalink to this definition">¶</a></dt>
1865<dd><p>copy values of Data1D of type DataLaoder.Data_info</p>
1866</dd></dl>
1867
1868<dl class="attribute">
1869<dt id="sans.guiframe.dataFitting.Theory1D.custom_color">
1870<tt class="descname">custom_color</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.custom_color" title="Permalink to this definition">¶</a></dt>
1871<dd></dd></dl>
1872
1873<dl class="attribute">
1874<dt id="sans.guiframe.dataFitting.Theory1D.detector">
1875<tt class="descname">detector</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.detector" title="Permalink to this definition">¶</a></dt>
1876<dd></dd></dl>
1877
1878<dl class="attribute">
1879<dt id="sans.guiframe.dataFitting.Theory1D.dx">
1880<tt class="descname">dx</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.dx" title="Permalink to this definition">¶</a></dt>
1881<dd></dd></dl>
1882
1883<dl class="attribute">
1884<dt id="sans.guiframe.dataFitting.Theory1D.dxl">
1885<tt class="descname">dxl</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.dxl" title="Permalink to this definition">¶</a></dt>
1886<dd></dd></dl>
1887
1888<dl class="attribute">
1889<dt id="sans.guiframe.dataFitting.Theory1D.dxw">
1890<tt class="descname">dxw</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.dxw" title="Permalink to this definition">¶</a></dt>
1891<dd></dd></dl>
1892
1893<dl class="attribute">
1894<dt id="sans.guiframe.dataFitting.Theory1D.dy">
1895<tt class="descname">dy</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.dy" title="Permalink to this definition">¶</a></dt>
1896<dd></dd></dl>
1897
1898<dl class="attribute">
1899<dt id="sans.guiframe.dataFitting.Theory1D.errors">
1900<tt class="descname">errors</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.errors" title="Permalink to this definition">¶</a></dt>
1901<dd></dd></dl>
1902
1903<dl class="attribute">
1904<dt id="sans.guiframe.dataFitting.Theory1D.filename">
1905<tt class="descname">filename</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.filename" title="Permalink to this definition">¶</a></dt>
1906<dd></dd></dl>
1907
1908<dl class="method">
1909<dt id="sans.guiframe.dataFitting.Theory1D.get_xaxis">
1910<tt class="descname">get_xaxis</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.get_xaxis" title="Permalink to this definition">¶</a></dt>
1911<dd><p>Return the units and name of x-axis</p>
1912</dd></dl>
1913
1914<dl class="method">
1915<dt id="sans.guiframe.dataFitting.Theory1D.get_yaxis">
1916<tt class="descname">get_yaxis</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.get_yaxis" title="Permalink to this definition">¶</a></dt>
1917<dd><p>Return the units and name of y- axis</p>
1918</dd></dl>
1919
1920<dl class="attribute">
1921<dt id="sans.guiframe.dataFitting.Theory1D.hidden">
1922<tt class="descname">hidden</tt><em class="property"> = False</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.hidden" title="Permalink to this definition">¶</a></dt>
1923<dd></dd></dl>
1924
1925<dl class="attribute">
1926<dt id="sans.guiframe.dataFitting.Theory1D.instrument">
1927<tt class="descname">instrument</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.instrument" title="Permalink to this definition">¶</a></dt>
1928<dd></dd></dl>
1929
1930<dl class="attribute">
1931<dt id="sans.guiframe.dataFitting.Theory1D.interactive">
1932<tt class="descname">interactive</tt><em class="property"> = True</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.interactive" title="Permalink to this definition">¶</a></dt>
1933<dd></dd></dl>
1934
1935<dl class="method">
1936<dt id="sans.guiframe.dataFitting.Theory1D.is_empty">
1937<tt class="descname">is_empty</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.is_empty" title="Permalink to this definition">¶</a></dt>
1938<dd><p>Returns True if there is no data stored in the plottable</p>
1939</dd></dl>
1940
1941<dl class="method">
1942<dt id="sans.guiframe.dataFitting.Theory1D.is_slit_smeared">
1943<tt class="descname">is_slit_smeared</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.is_slit_smeared" title="Permalink to this definition">¶</a></dt>
1944<dd><p>Check whether the data has slit smearing information</p>
1945<table class="docutils field-list" frame="void" rules="none">
1946<col class="field-name" />
1947<col class="field-body" />
1948<tbody valign="top">
1949<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">True is slit smearing info is present, False otherwise</td>
1950</tr>
1951</tbody>
1952</table>
1953</dd></dl>
1954
1955<dl class="classmethod">
1956<dt id="sans.guiframe.dataFitting.Theory1D.labels">
1957<em class="property">classmethod </em><tt class="descname">labels</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.labels" title="Permalink to this definition">¶</a></dt>
1958<dd><p>Build a label mostly unique within a collection</p>
1959</dd></dl>
1960
1961<dl class="attribute">
1962<dt id="sans.guiframe.dataFitting.Theory1D.markersize">
1963<tt class="descname">markersize</tt><em class="property"> = 5</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.markersize" title="Permalink to this definition">¶</a></dt>
1964<dd></dd></dl>
1965
1966<dl class="attribute">
1967<dt id="sans.guiframe.dataFitting.Theory1D.meta_data">
1968<tt class="descname">meta_data</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.meta_data" title="Permalink to this definition">¶</a></dt>
1969<dd></dd></dl>
1970
1971<dl class="attribute">
1972<dt id="sans.guiframe.dataFitting.Theory1D.name">
1973<tt class="descname">name</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.name" title="Permalink to this definition">¶</a></dt>
1974<dd></dd></dl>
1975
1976<dl class="attribute">
1977<dt id="sans.guiframe.dataFitting.Theory1D.notes">
1978<tt class="descname">notes</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.notes" title="Permalink to this definition">¶</a></dt>
1979<dd></dd></dl>
1980
1981<dl class="method">
1982<dt id="sans.guiframe.dataFitting.Theory1D.onFitRange">
1983<tt class="descname">onFitRange</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.onFitRange" title="Permalink to this definition">¶</a></dt>
1984<dd><p>It limits View data range to plot from min to max</p>
1985<table class="docutils field-list" frame="void" rules="none">
1986<col class="field-name" />
1987<col class="field-body" />
1988<tbody valign="top">
1989<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
1990<li><strong>xmin</strong> &#8211; the minimum value of x to plot.</li>
1991<li><strong>xmax</strong> &#8211; the maximum value of x to plot</li>
1992</ul>
1993</td>
1994</tr>
1995</tbody>
1996</table>
1997</dd></dl>
1998
1999<dl class="method">
2000<dt id="sans.guiframe.dataFitting.Theory1D.onReset">
2001<tt class="descname">onReset</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.onReset" title="Permalink to this definition">¶</a></dt>
2002<dd><p>Reset x, y, dx, dy view with its parameters</p>
2003</dd></dl>
2004
2005<dl class="attribute">
2006<dt id="sans.guiframe.dataFitting.Theory1D.process">
2007<tt class="descname">process</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.process" title="Permalink to this definition">¶</a></dt>
2008<dd></dd></dl>
2009
2010<dl class="method">
2011<dt id="sans.guiframe.dataFitting.Theory1D.render">
2012<tt class="descname">render</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.render" title="Permalink to this definition">¶</a></dt>
2013<dd></dd></dl>
2014
2015<dl class="method">
2016<dt id="sans.guiframe.dataFitting.Theory1D.reset_view">
2017<tt class="descname">reset_view</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.reset_view" title="Permalink to this definition">¶</a></dt>
2018<dd><p>Reload view with new value to plot</p>
2019</dd></dl>
2020
2021<dl class="method">
2022<dt id="sans.guiframe.dataFitting.Theory1D.returnValuesOfView">
2023<tt class="descname">returnValuesOfView</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.returnValuesOfView" title="Permalink to this definition">¶</a></dt>
2024<dd><p>Return View parameters and it is used by Fit Dialog</p>
2025</dd></dl>
2026
2027<dl class="attribute">
2028<dt id="sans.guiframe.dataFitting.Theory1D.run">
2029<tt class="descname">run</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.run" title="Permalink to this definition">¶</a></dt>
2030<dd></dd></dl>
2031
2032<dl class="attribute">
2033<dt id="sans.guiframe.dataFitting.Theory1D.run_name">
2034<tt class="descname">run_name</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.run_name" title="Permalink to this definition">¶</a></dt>
2035<dd></dd></dl>
2036
2037<dl class="attribute">
2038<dt id="sans.guiframe.dataFitting.Theory1D.sample">
2039<tt class="descname">sample</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.sample" title="Permalink to this definition">¶</a></dt>
2040<dd></dd></dl>
2041
2042<dl class="method">
2043<dt id="sans.guiframe.dataFitting.Theory1D.setLabel">
2044<tt class="descname">setLabel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.setLabel" title="Permalink to this definition">¶</a></dt>
2045<dd><p>It takes a label of the x and y transformation and set View parameters</p>
2046<table class="docutils field-list" frame="void" rules="none">
2047<col class="field-name" />
2048<col class="field-body" />
2049<tbody valign="top">
2050<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
2051<li><strong>transx</strong> &#8211; The label of x transformation is sent by Properties Dialog</li>
2052<li><strong>transy</strong> &#8211; The label of y transformation is sent Properties Dialog</li>
2053</ul>
2054</td>
2055</tr>
2056</tbody>
2057</table>
2058</dd></dl>
2059
2060<dl class="method">
2061<dt id="sans.guiframe.dataFitting.Theory1D.set_View">
2062<tt class="descname">set_View</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.set_View" title="Permalink to this definition">¶</a></dt>
2063<dd><p>Load View</p>
2064</dd></dl>
2065
2066<dl class="method">
2067<dt id="sans.guiframe.dataFitting.Theory1D.set_data">
2068<tt class="descname">set_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.set_data" title="Permalink to this definition">¶</a></dt>
2069<dd></dd></dl>
2070
2071<dl class="attribute">
2072<dt id="sans.guiframe.dataFitting.Theory1D.short_name">
2073<tt class="descname">short_name</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.short_name" title="Permalink to this definition">¶</a></dt>
2074<dd></dd></dl>
2075
2076<dl class="attribute">
2077<dt id="sans.guiframe.dataFitting.Theory1D.source">
2078<tt class="descname">source</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.source" title="Permalink to this definition">¶</a></dt>
2079<dd></dd></dl>
2080
2081<dl class="attribute">
2082<dt id="sans.guiframe.dataFitting.Theory1D.title">
2083<tt class="descname">title</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.title" title="Permalink to this definition">¶</a></dt>
2084<dd></dd></dl>
2085
2086<dl class="method">
2087<dt id="sans.guiframe.dataFitting.Theory1D.transformView">
2088<tt class="descname">transformView</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.transformView" title="Permalink to this definition">¶</a></dt>
2089<dd><p>It transforms x, y before displaying</p>
2090</dd></dl>
2091
2092<dl class="method">
2093<dt id="sans.guiframe.dataFitting.Theory1D.transformX">
2094<tt class="descname">transformX</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.transformX" title="Permalink to this definition">¶</a></dt>
2095<dd><p>Receive pointers to function that transform x and dx
2096and set corresponding View pointers</p>
2097<table class="docutils field-list" frame="void" rules="none">
2098<col class="field-name" />
2099<col class="field-body" />
2100<tbody valign="top">
2101<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
2102<li><strong>transx</strong> &#8211; pointer to function that transforms x</li>
2103<li><strong>transdx</strong> &#8211; pointer to function that transforms dx</li>
2104</ul>
2105</td>
2106</tr>
2107</tbody>
2108</table>
2109</dd></dl>
2110
2111<dl class="method">
2112<dt id="sans.guiframe.dataFitting.Theory1D.transformY">
2113<tt class="descname">transformY</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.transformY" title="Permalink to this definition">¶</a></dt>
2114<dd><p>Receive pointers to function that transform y and dy
2115and set corresponding View pointers</p>
2116<table class="docutils field-list" frame="void" rules="none">
2117<col class="field-name" />
2118<col class="field-body" />
2119<tbody valign="top">
2120<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
2121<li><strong>transy</strong> &#8211; pointer to function that transforms y</li>
2122<li><strong>transdy</strong> &#8211; pointer to function that transforms dy</li>
2123</ul>
2124</td>
2125</tr>
2126</tbody>
2127</table>
2128</dd></dl>
2129
2130<dl class="attribute">
2131<dt id="sans.guiframe.dataFitting.Theory1D.x">
2132<tt class="descname">x</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.x" title="Permalink to this definition">¶</a></dt>
2133<dd></dd></dl>
2134
2135<dl class="attribute">
2136<dt id="sans.guiframe.dataFitting.Theory1D.x_unit">
2137<tt class="descname">x_unit</tt><em class="property"> = '1/A'</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.x_unit" title="Permalink to this definition">¶</a></dt>
2138<dd></dd></dl>
2139
2140<dl class="method">
2141<dt id="sans.guiframe.dataFitting.Theory1D.xaxis">
2142<tt class="descname">xaxis</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.xaxis" title="Permalink to this definition">¶</a></dt>
2143<dd><p>Set the name and unit of x_axis</p>
2144<table class="docutils field-list" frame="void" rules="none">
2145<col class="field-name" />
2146<col class="field-body" />
2147<tbody valign="top">
2148<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
2149<li><strong>name</strong> &#8211; the name of x-axis</li>
2150<li><strong>units</strong> &#8211; the units of x_axis</li>
2151</ul>
2152</td>
2153</tr>
2154</tbody>
2155</table>
2156</dd></dl>
2157
2158<dl class="attribute">
2159<dt id="sans.guiframe.dataFitting.Theory1D.y">
2160<tt class="descname">y</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.y" title="Permalink to this definition">¶</a></dt>
2161<dd></dd></dl>
2162
2163<dl class="attribute">
2164<dt id="sans.guiframe.dataFitting.Theory1D.y_unit">
2165<tt class="descname">y_unit</tt><em class="property"> = '1/cm'</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.y_unit" title="Permalink to this definition">¶</a></dt>
2166<dd></dd></dl>
2167
2168<dl class="method">
2169<dt id="sans.guiframe.dataFitting.Theory1D.yaxis">
2170<tt class="descname">yaxis</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.yaxis" title="Permalink to this definition">¶</a></dt>
2171<dd><p>Set the name and unit of y_axis</p>
2172<table class="docutils field-list" frame="void" rules="none">
2173<col class="field-name" />
2174<col class="field-body" />
2175<tbody valign="top">
2176<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
2177<li><strong>name</strong> &#8211; the name of y-axis</li>
2178<li><strong>units</strong> &#8211; the units of y_axis</li>
2179</ul>
2180</td>
2181</tr>
2182</tbody>
2183</table>
2184</dd></dl>
2185
2186</dd></dl>
2187
2188<dl class="function">
2189<dt id="sans.guiframe.dataFitting.check_data_validity">
2190<tt class="descclassname">sans.guiframe.dataFitting.</tt><tt class="descname">check_data_validity</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.check_data_validity" title="Permalink to this definition">¶</a></dt>
2191<dd><p>Return True is data is valid enough to compute chisqr, else False</p>
2192</dd></dl>
2193
2194</div>
2195</div>
2196
2197
2198          </div>
2199        </div>
2200      </div>
2201      <div class="sphinxsidebar">
2202        <div class="sphinxsidebarwrapper">
2203  <h3><a href="../index.html">Table Of Contents</a></h3>
2204  <ul>
2205<li><a class="reference internal" href="#">dataFitting</a><ul>
2206<li><a class="reference internal" href="#sans-guiframe-datafitting"><tt class="docutils literal"><span class="pre">sans.guiframe.dataFitting</span></tt></a></li>
2207</ul>
2208</li>
2209</ul>
2210
2211  <h4>Previous topic</h4>
2212  <p class="topless"><a href="custom_pstats.html"
2213                        title="previous chapter">custom_pstats</a></p>
2214  <h4>Next topic</h4>
2215  <p class="topless"><a href="data_manager.html"
2216                        title="next chapter">data_manager</a></p>
2217  <h3>This Page</h3>
2218  <ul class="this-page-menu">
2219    <li><a href="../_sources/api/dataFitting.txt"
2220           rel="nofollow">Show Source</a></li>
2221  </ul>
2222<div id="searchbox" style="display: none">
2223  <h3>Quick search</h3>
2224    <form class="search" action="../search.html" method="get">
2225      <input type="text" name="q" />
2226      <input type="submit" value="Go" />
2227      <input type="hidden" name="check_keywords" value="yes" />
2228      <input type="hidden" name="area" value="default" />
2229    </form>
2230    <p class="searchtip" style="font-size: 90%">
2231    Enter search terms or a module, class or function name.
2232    </p>
2233</div>
2234<script type="text/javascript">$('#searchbox').show(0);</script>
2235        </div>
2236      </div>
2237      <div class="clearer"></div>
2238    </div>
2239    <div class="related">
2240      <h3>Navigation</h3>
2241      <ul>
2242        <li class="right" style="margin-right: 10px">
2243          <a href="../genindex.html" title="General Index"
2244             >index</a></li>
2245        <li class="right" >
2246          <a href="../py-modindex.html" title="Python Module Index"
2247             >modules</a> |</li>
2248        <li class="right" >
2249          <a href="data_manager.html" title="data_manager"
2250             >next</a> |</li>
2251        <li class="right" >
2252          <a href="custom_pstats.html" title="custom_pstats"
2253             >previous</a> |</li>
2254        <li><a href="../index.html">guiframe 0.1.0 documentation</a> &raquo;</li>
2255          <li><a href="index.html" >Reference</a> &raquo;</li> 
2256      </ul>
2257    </div>
2258    <div class="footer">
2259        &copy; Copyright 2010, sans group.
2260      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.
2261    </div>
2262  </body>
2263</html>
Note: See TracBrowser for help on using the repository browser.