source: sasview/fittingview/docs/sphinx/html/api/perspectives/fitting/fitproblem.html @ 09e89b7

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 09e89b7 was 30d3a1b, checked in by Gervaise Alina <gervyh@…>, 13 years ago

edit doc

  • Property mode set to 100644
File size: 71.7 KB
Line 
1
2
3<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
6
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>fitproblem &mdash; sansview 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="sansview 0.1.0 documentation" href="../../../index.html" />
29    <link rel="up" title="Reference" href="index.html" />
30    <link rel="next" title="fitting" href="fitting.html" />
31    <link rel="prev" title="fitpanel" href="fitpanel.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="fitting.html" title="fitting"
45             accesskey="N">next</a> |</li>
46        <li class="right" >
47          <a href="fitpanel.html" title="fitpanel"
48             accesskey="P">previous</a> |</li>
49        <li><a href="../../../index.html">sansview 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="fitproblem">
60<h1>fitproblem<a class="headerlink" href="#fitproblem" title="Permalink to this headline">¶</a></h1>
61<div class="section" id="sans-perspectives-fitting-fitproblem">
62<h2><a class="reference internal" href="#module-sans.perspectives.fitting.fitproblem" title="sans.perspectives.fitting.fitproblem"><tt class="xref py py-mod docutils literal"><span class="pre">sans.perspectives.fitting.fitproblem</span></tt></a><a class="headerlink" href="#sans-perspectives-fitting-fitproblem" title="Permalink to this headline">¶</a></h2>
63<span class="target" id="module-sans.perspectives.fitting.fitproblem"></span><dl class="class">
64<dt id="sans.perspectives.fitting.fitproblem.FitProblem">
65<em class="property">class </em><tt class="descclassname">sans.perspectives.fitting.fitproblem.</tt><tt class="descname">FitProblem</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem" title="Permalink to this definition">¶</a></dt>
66<dd><p>Bases: <a class="reference internal" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent" title="sans.perspectives.fitting.fitproblem.FitProblemComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.perspectives.fitting.fitproblem.FitProblemComponent</span></tt></a></p>
67<p>FitProblem class allows to link a model with the new name created in _on_model,
68a name theory created with that model  and the data fitted with the model.
69FitProblem is mostly used  as value of the dictionary by fitting module.</p>
70<dl class="attribute">
71<dt id="sans.perspectives.fitting.fitproblem.FitProblem.__class__">
72<tt class="descname">__class__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.__class__" title="Permalink to this definition">¶</a></dt>
73<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
74</dd></dl>
75
76<dl class="attribute">
77<dt id="sans.perspectives.fitting.fitproblem.FitProblem.__delattr__">
78<tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.__delattr__" title="Permalink to this definition">¶</a></dt>
79<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
80</dd></dl>
81
82<dl class="attribute">
83<dt id="sans.perspectives.fitting.fitproblem.FitProblem.__dict__">
84<tt class="descname">__dict__</tt><em class="property"> = &lt;dictproxy object at 0x057468F0&gt;</em><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.__dict__" title="Permalink to this definition">¶</a></dt>
85<dd></dd></dl>
86
87<dl class="attribute">
88<dt id="sans.perspectives.fitting.fitproblem.FitProblem.__getattribute__">
89<tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.__getattribute__" title="Permalink to this definition">¶</a></dt>
90<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
91</dd></dl>
92
93<dl class="attribute">
94<dt id="sans.perspectives.fitting.fitproblem.FitProblem.__hash__">
95<tt class="descname">__hash__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.__hash__" title="Permalink to this definition">¶</a></dt>
96<dd><p>x.__hash__() &lt;==&gt; hash(x)</p>
97</dd></dl>
98
99<dl class="method">
100<dt id="sans.perspectives.fitting.fitproblem.FitProblem.__init__">
101<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.__init__" title="Permalink to this definition">¶</a></dt>
102<dd></dd></dl>
103
104<dl class="attribute">
105<dt id="sans.perspectives.fitting.fitproblem.FitProblem.__module__">
106<tt class="descname">__module__</tt><em class="property"> = 'sans.perspectives.fitting.fitproblem'</em><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.__module__" title="Permalink to this definition">¶</a></dt>
107<dd></dd></dl>
108
109<dl class="staticmethod">
110<dt id="sans.perspectives.fitting.fitproblem.FitProblem.__new__">
111<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.perspectives.fitting.fitproblem.FitProblem.__new__" title="Permalink to this definition">¶</a></dt>
112<dd></dd></dl>
113
114<dl class="method">
115<dt id="sans.perspectives.fitting.fitproblem.FitProblem.__reduce__">
116<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.__reduce__" title="Permalink to this definition">¶</a></dt>
117<dd><p>helper for pickle</p>
118</dd></dl>
119
120<dl class="method">
121<dt id="sans.perspectives.fitting.fitproblem.FitProblem.__reduce_ex__">
122<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
123<dd><p>helper for pickle</p>
124</dd></dl>
125
126<dl class="attribute">
127<dt id="sans.perspectives.fitting.fitproblem.FitProblem.__repr__">
128<tt class="descname">__repr__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.__repr__" title="Permalink to this definition">¶</a></dt>
129<dd><p>x.__repr__() &lt;==&gt; repr(x)</p>
130</dd></dl>
131
132<dl class="attribute">
133<dt id="sans.perspectives.fitting.fitproblem.FitProblem.__setattr__">
134<tt class="descname">__setattr__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.__setattr__" title="Permalink to this definition">¶</a></dt>
135<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
136</dd></dl>
137
138<dl class="attribute">
139<dt id="sans.perspectives.fitting.fitproblem.FitProblem.__str__">
140<tt class="descname">__str__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.__str__" title="Permalink to this definition">¶</a></dt>
141<dd><p>x.__str__() &lt;==&gt; str(x)</p>
142</dd></dl>
143
144<dl class="attribute">
145<dt id="sans.perspectives.fitting.fitproblem.FitProblem.__weakref__">
146<tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.__weakref__" title="Permalink to this definition">¶</a></dt>
147<dd><p>list of weak references to the object (if defined)</p>
148</dd></dl>
149
150<dl class="method">
151<dt id="sans.perspectives.fitting.fitproblem.FitProblem.clear_model_param">
152<tt class="descname">clear_model_param</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.clear_model_param" title="Permalink to this definition">¶</a></dt>
153<dd><p>clear constraint info</p>
154</dd></dl>
155
156<dl class="method">
157<dt id="sans.perspectives.fitting.fitproblem.FitProblem.enable_smearing">
158<tt class="descname">enable_smearing</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.enable_smearing" title="Permalink to this definition">¶</a></dt>
159<dd><table class="docutils field-list" frame="void" rules="none">
160<col class="field-name" />
161<col class="field-body" />
162<tbody valign="top">
163<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>flag</strong> &#8211; bool.When flag is 1 get the computer smear value. When</td>
164</tr>
165</tbody>
166</table>
167<p>flag is 0 ingore smear value.</p>
168</dd></dl>
169
170<dl class="method">
171<dt id="sans.perspectives.fitting.fitproblem.FitProblem.get_fit_data">
172<tt class="descname">get_fit_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.get_fit_data" title="Permalink to this definition">¶</a></dt>
173<dd><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">Returns:</th><td class="field-body">data associate with this class</td>
178</tr>
179</tbody>
180</table>
181</dd></dl>
182
183<dl class="method">
184<dt id="sans.perspectives.fitting.fitproblem.FitProblem.get_fit_tab_caption">
185<tt class="descname">get_fit_tab_caption</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.get_fit_tab_caption" title="Permalink to this definition">¶</a></dt>
186<dd></dd></dl>
187
188<dl class="method">
189<dt id="sans.perspectives.fitting.fitproblem.FitProblem.get_graph_id">
190<tt class="descname">get_graph_id</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.get_graph_id" title="Permalink to this definition">¶</a></dt>
191<dd><p>Get graph_id</p>
192</dd></dl>
193
194<dl class="method">
195<dt id="sans.perspectives.fitting.fitproblem.FitProblem.get_model">
196<tt class="descname">get_model</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.get_model" title="Permalink to this definition">¶</a></dt>
197<dd><table class="docutils field-list" frame="void" rules="none">
198<col class="field-name" />
199<col class="field-body" />
200<tbody valign="top">
201<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">saved model</td>
202</tr>
203</tbody>
204</table>
205</dd></dl>
206
207<dl class="method">
208<dt id="sans.perspectives.fitting.fitproblem.FitProblem.get_model_param">
209<tt class="descname">get_model_param</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.get_model_param" title="Permalink to this definition">¶</a></dt>
210<dd><p>return list of couple of parameter name and value</p>
211</dd></dl>
212
213<dl class="method">
214<dt id="sans.perspectives.fitting.fitproblem.FitProblem.get_name">
215<tt class="descname">get_name</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.get_name" title="Permalink to this definition">¶</a></dt>
216<dd></dd></dl>
217
218<dl class="method">
219<dt id="sans.perspectives.fitting.fitproblem.FitProblem.get_origin_data">
220<tt class="descname">get_origin_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.get_origin_data" title="Permalink to this definition">¶</a></dt>
221<dd></dd></dl>
222
223<dl class="method">
224<dt id="sans.perspectives.fitting.fitproblem.FitProblem.get_param2fit">
225<tt class="descname">get_param2fit</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.get_param2fit" title="Permalink to this definition">¶</a></dt>
226<dd><p>return the list param names to fit</p>
227</dd></dl>
228
229<dl class="method">
230<dt id="sans.perspectives.fitting.fitproblem.FitProblem.get_range">
231<tt class="descname">get_range</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.get_range" title="Permalink to this definition">¶</a></dt>
232<dd><table class="docutils field-list" frame="void" rules="none">
233<col class="field-name" />
234<col class="field-body" />
235<tbody valign="top">
236<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">fitting range</td>
237</tr>
238</tbody>
239</table>
240</dd></dl>
241
242<dl class="method">
243<dt id="sans.perspectives.fitting.fitproblem.FitProblem.get_residuals">
244<tt class="descname">get_residuals</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.get_residuals" title="Permalink to this definition">¶</a></dt>
245<dd><table class="docutils field-list" frame="void" rules="none">
246<col class="field-name" />
247<col class="field-body" />
248<tbody valign="top">
249<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">residuals</td>
250</tr>
251</tbody>
252</table>
253</dd></dl>
254
255<dl class="method">
256<dt id="sans.perspectives.fitting.fitproblem.FitProblem.get_result">
257<tt class="descname">get_result</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.get_result" title="Permalink to this definition">¶</a></dt>
258<dd><p>get result</p>
259</dd></dl>
260
261<dl class="method">
262<dt id="sans.perspectives.fitting.fitproblem.FitProblem.get_scheduled">
263<tt class="descname">get_scheduled</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.get_scheduled" title="Permalink to this definition">¶</a></dt>
264<dd><p>return true or false if a problem as being schedule for fitting</p>
265</dd></dl>
266
267<dl class="method">
268<dt id="sans.perspectives.fitting.fitproblem.FitProblem.get_smearer">
269<tt class="descname">get_smearer</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.get_smearer" title="Permalink to this definition">¶</a></dt>
270<dd><p>return smear object</p>
271</dd></dl>
272
273<dl class="method">
274<dt id="sans.perspectives.fitting.fitproblem.FitProblem.get_theory_data">
275<tt class="descname">get_theory_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.get_theory_data" title="Permalink to this definition">¶</a></dt>
276<dd><table class="docutils field-list" frame="void" rules="none">
277<col class="field-name" />
278<col class="field-body" />
279<tbody valign="top">
280<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">theory generated with the current model and data of this class</td>
281</tr>
282</tbody>
283</table>
284</dd></dl>
285
286<dl class="method">
287<dt id="sans.perspectives.fitting.fitproblem.FitProblem.get_weight">
288<tt class="descname">get_weight</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.get_weight" title="Permalink to this definition">¶</a></dt>
289<dd><p>returns weight array</p>
290</dd></dl>
291
292<dl class="method">
293<dt id="sans.perspectives.fitting.fitproblem.FitProblem.save_model_name">
294<tt class="descname">save_model_name</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.save_model_name" title="Permalink to this definition">¶</a></dt>
295<dd></dd></dl>
296
297<dl class="method">
298<dt id="sans.perspectives.fitting.fitproblem.FitProblem.schedule_tofit">
299<tt class="descname">schedule_tofit</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.schedule_tofit" title="Permalink to this definition">¶</a></dt>
300<dd><p>set schedule to true to decide if this fit  must be performed</p>
301</dd></dl>
302
303<dl class="method">
304<dt id="sans.perspectives.fitting.fitproblem.FitProblem.set_fit_data">
305<tt class="descname">set_fit_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.set_fit_data" title="Permalink to this definition">¶</a></dt>
306<dd><p>Store data associated with this class
307:param data: list of data selected</p>
308</dd></dl>
309
310<dl class="method">
311<dt id="sans.perspectives.fitting.fitproblem.FitProblem.set_fit_tab_caption">
312<tt class="descname">set_fit_tab_caption</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.set_fit_tab_caption" title="Permalink to this definition">¶</a></dt>
313<dd></dd></dl>
314
315<dl class="method">
316<dt id="sans.perspectives.fitting.fitproblem.FitProblem.set_graph_id">
317<tt class="descname">set_graph_id</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.set_graph_id" title="Permalink to this definition">¶</a></dt>
318<dd><p>Set graph id (from data_group_id at the time the graph produced)</p>
319</dd></dl>
320
321<dl class="method">
322<dt id="sans.perspectives.fitting.fitproblem.FitProblem.set_model">
323<tt class="descname">set_model</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.set_model" title="Permalink to this definition">¶</a></dt>
324<dd><p>associates each model with its new created name
325:param model: model selected
326:param name: name created for model</p>
327</dd></dl>
328
329<dl class="method">
330<dt id="sans.perspectives.fitting.fitproblem.FitProblem.set_model_param">
331<tt class="descname">set_model_param</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.set_model_param" title="Permalink to this definition">¶</a></dt>
332<dd><p>Store the name and value of a parameter of this fitproblem&#8217;s model
333:param name: name of the given parameter
334:param value: value of that parameter</p>
335</dd></dl>
336
337<dl class="method">
338<dt id="sans.perspectives.fitting.fitproblem.FitProblem.set_param2fit">
339<tt class="descname">set_param2fit</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.set_param2fit" title="Permalink to this definition">¶</a></dt>
340<dd><p>Store param names to fit (checked)
341:param list: list of the param names</p>
342</dd></dl>
343
344<dl class="method">
345<dt id="sans.perspectives.fitting.fitproblem.FitProblem.set_range">
346<tt class="descname">set_range</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.set_range" title="Permalink to this definition">¶</a></dt>
347<dd><p>set fitting range
348:param qmin: minimum value to consider for the fit range
349:param qmax: maximum value to consider for the fit range</p>
350</dd></dl>
351
352<dl class="method">
353<dt id="sans.perspectives.fitting.fitproblem.FitProblem.set_residuals">
354<tt class="descname">set_residuals</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.set_residuals" title="Permalink to this definition">¶</a></dt>
355<dd><p>save a copy of residual
356:param data: data selected</p>
357</dd></dl>
358
359<dl class="method">
360<dt id="sans.perspectives.fitting.fitproblem.FitProblem.set_result">
361<tt class="descname">set_result</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.set_result" title="Permalink to this definition">¶</a></dt>
362<dd></dd></dl>
363
364<dl class="method">
365<dt id="sans.perspectives.fitting.fitproblem.FitProblem.set_smearer">
366<tt class="descname">set_smearer</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.set_smearer" title="Permalink to this definition">¶</a></dt>
367<dd><p>save reference of  smear object on fitdata</p>
368<table class="docutils field-list" frame="void" rules="none">
369<col class="field-name" />
370<col class="field-body" />
371<tbody valign="top">
372<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>smear</strong> &#8211; smear object from DataLoader</td>
373</tr>
374</tbody>
375</table>
376</dd></dl>
377
378<dl class="method">
379<dt id="sans.perspectives.fitting.fitproblem.FitProblem.set_theory_data">
380<tt class="descname">set_theory_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.set_theory_data" title="Permalink to this definition">¶</a></dt>
381<dd><p>save a copy of the data select to fit</p>
382<table class="docutils field-list" frame="void" rules="none">
383<col class="field-name" />
384<col class="field-body" />
385<tbody valign="top">
386<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>data</strong> &#8211; data selected</td>
387</tr>
388</tbody>
389</table>
390</dd></dl>
391
392<dl class="method">
393<dt id="sans.perspectives.fitting.fitproblem.FitProblem.set_weight">
394<tt class="descname">set_weight</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.set_weight" title="Permalink to this definition">¶</a></dt>
395<dd><p>Received flag and compute error on data.
396:param flag: flag to transform error of data.
397:param is2d: flag to distinguish 1D to 2D Data</p>
398</dd></dl>
399
400</dd></dl>
401
402<dl class="class">
403<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent">
404<em class="property">class </em><tt class="descclassname">sans.perspectives.fitting.fitproblem.</tt><tt class="descname">FitProblemComponent</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent" title="Permalink to this definition">¶</a></dt>
405<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p>
406<p>Inferface containing information to store data, model, range of data, etc...
407and retreive this information. This is an inferface
408for a fitProblem i.e relationship between data and model.</p>
409<dl class="attribute">
410<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.__class__">
411<tt class="descname">__class__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.__class__" title="Permalink to this definition">¶</a></dt>
412<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
413</dd></dl>
414
415<dl class="attribute">
416<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.__delattr__">
417<tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.__delattr__" title="Permalink to this definition">¶</a></dt>
418<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
419</dd></dl>
420
421<dl class="attribute">
422<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.__dict__">
423<tt class="descname">__dict__</tt><em class="property"> = &lt;dictproxy object at 0x057465D0&gt;</em><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.__dict__" title="Permalink to this definition">¶</a></dt>
424<dd></dd></dl>
425
426<dl class="attribute">
427<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.__getattribute__">
428<tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.__getattribute__" title="Permalink to this definition">¶</a></dt>
429<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
430</dd></dl>
431
432<dl class="attribute">
433<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.__hash__">
434<tt class="descname">__hash__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.__hash__" title="Permalink to this definition">¶</a></dt>
435<dd><p>x.__hash__() &lt;==&gt; hash(x)</p>
436</dd></dl>
437
438<dl class="attribute">
439<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.__init__">
440<tt class="descname">__init__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.__init__" title="Permalink to this definition">¶</a></dt>
441<dd><p>x.__init__(...) initializes x; see x.__class__.__doc__ for signature</p>
442</dd></dl>
443
444<dl class="attribute">
445<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.__module__">
446<tt class="descname">__module__</tt><em class="property"> = 'sans.perspectives.fitting.fitproblem'</em><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.__module__" title="Permalink to this definition">¶</a></dt>
447<dd></dd></dl>
448
449<dl class="staticmethod">
450<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.__new__">
451<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.perspectives.fitting.fitproblem.FitProblemComponent.__new__" title="Permalink to this definition">¶</a></dt>
452<dd></dd></dl>
453
454<dl class="method">
455<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.__reduce__">
456<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.__reduce__" title="Permalink to this definition">¶</a></dt>
457<dd><p>helper for pickle</p>
458</dd></dl>
459
460<dl class="method">
461<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.__reduce_ex__">
462<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
463<dd><p>helper for pickle</p>
464</dd></dl>
465
466<dl class="attribute">
467<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.__repr__">
468<tt class="descname">__repr__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.__repr__" title="Permalink to this definition">¶</a></dt>
469<dd><p>x.__repr__() &lt;==&gt; repr(x)</p>
470</dd></dl>
471
472<dl class="attribute">
473<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.__setattr__">
474<tt class="descname">__setattr__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.__setattr__" title="Permalink to this definition">¶</a></dt>
475<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
476</dd></dl>
477
478<dl class="attribute">
479<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.__str__">
480<tt class="descname">__str__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.__str__" title="Permalink to this definition">¶</a></dt>
481<dd><p>x.__str__() &lt;==&gt; str(x)</p>
482</dd></dl>
483
484<dl class="attribute">
485<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.__weakref__">
486<tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.__weakref__" title="Permalink to this definition">¶</a></dt>
487<dd><p>list of weak references to the object (if defined)</p>
488</dd></dl>
489
490<dl class="method">
491<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.clear_model_param">
492<tt class="descname">clear_model_param</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.clear_model_param" title="Permalink to this definition">¶</a></dt>
493<dd><p>clear constraint info</p>
494</dd></dl>
495
496<dl class="method">
497<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.enable_smearing">
498<tt class="descname">enable_smearing</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.enable_smearing" title="Permalink to this definition">¶</a></dt>
499<dd><table class="docutils field-list" frame="void" rules="none">
500<col class="field-name" />
501<col class="field-body" />
502<tbody valign="top">
503<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>flag</strong> &#8211; bool.When flag is 1 get the computer smear value. When</td>
504</tr>
505</tbody>
506</table>
507<p>flag is 0 ingore smear value.</p>
508</dd></dl>
509
510<dl class="method">
511<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.get_fit_data">
512<tt class="descname">get_fit_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.get_fit_data" title="Permalink to this definition">¶</a></dt>
513<dd></dd></dl>
514
515<dl class="method">
516<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.get_fit_tab_caption">
517<tt class="descname">get_fit_tab_caption</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.get_fit_tab_caption" title="Permalink to this definition">¶</a></dt>
518<dd><p>Return the caption of the page associated with object</p>
519</dd></dl>
520
521<dl class="method">
522<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.get_graph_id">
523<tt class="descname">get_graph_id</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.get_graph_id" title="Permalink to this definition">¶</a></dt>
524<dd><p>Get graph_id</p>
525</dd></dl>
526
527<dl class="method">
528<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.get_model">
529<tt class="descname">get_model</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.get_model" title="Permalink to this definition">¶</a></dt>
530<dd><table class="docutils field-list" frame="void" rules="none">
531<col class="field-name" />
532<col class="field-body" />
533<tbody valign="top">
534<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">saved model</td>
535</tr>
536</tbody>
537</table>
538</dd></dl>
539
540<dl class="method">
541<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.get_model_param">
542<tt class="descname">get_model_param</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.get_model_param" title="Permalink to this definition">¶</a></dt>
543<dd><p>return list of couple of parameter name and value</p>
544</dd></dl>
545
546<dl class="method">
547<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.get_name">
548<tt class="descname">get_name</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.get_name" title="Permalink to this definition">¶</a></dt>
549<dd></dd></dl>
550
551<dl class="method">
552<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.get_param2fit">
553<tt class="descname">get_param2fit</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.get_param2fit" title="Permalink to this definition">¶</a></dt>
554<dd><p>return the list param names to fit</p>
555</dd></dl>
556
557<dl class="method">
558<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.get_range">
559<tt class="descname">get_range</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.get_range" title="Permalink to this definition">¶</a></dt>
560<dd><table class="docutils field-list" frame="void" rules="none">
561<col class="field-name" />
562<col class="field-body" />
563<tbody valign="top">
564<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">fitting range</td>
565</tr>
566</tbody>
567</table>
568</dd></dl>
569
570<dl class="method">
571<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.get_residuals">
572<tt class="descname">get_residuals</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.get_residuals" title="Permalink to this definition">¶</a></dt>
573<dd><table class="docutils field-list" frame="void" rules="none">
574<col class="field-name" />
575<col class="field-body" />
576<tbody valign="top">
577<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">residuals</td>
578</tr>
579</tbody>
580</table>
581</dd></dl>
582
583<dl class="method">
584<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.get_result">
585<tt class="descname">get_result</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.get_result" title="Permalink to this definition">¶</a></dt>
586<dd><p>get result</p>
587</dd></dl>
588
589<dl class="method">
590<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.get_scheduled">
591<tt class="descname">get_scheduled</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.get_scheduled" title="Permalink to this definition">¶</a></dt>
592<dd><p>return true or false if a problem as being schedule for fitting</p>
593</dd></dl>
594
595<dl class="method">
596<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.get_smearer">
597<tt class="descname">get_smearer</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.get_smearer" title="Permalink to this definition">¶</a></dt>
598<dd><p>return smear object</p>
599</dd></dl>
600
601<dl class="method">
602<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.get_theory_data">
603<tt class="descname">get_theory_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.get_theory_data" title="Permalink to this definition">¶</a></dt>
604<dd><table class="docutils field-list" frame="void" rules="none">
605<col class="field-name" />
606<col class="field-body" />
607<tbody valign="top">
608<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">list of data dList</td>
609</tr>
610</tbody>
611</table>
612</dd></dl>
613
614<dl class="method">
615<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.get_weight">
616<tt class="descname">get_weight</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.get_weight" title="Permalink to this definition">¶</a></dt>
617<dd><p>get fitting weight</p>
618</dd></dl>
619
620<dl class="method">
621<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.save_model_name">
622<tt class="descname">save_model_name</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.save_model_name" title="Permalink to this definition">¶</a></dt>
623<dd></dd></dl>
624
625<dl class="method">
626<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.schedule_tofit">
627<tt class="descname">schedule_tofit</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.schedule_tofit" title="Permalink to this definition">¶</a></dt>
628<dd><p>set schedule to true to decide if this fit  must be performed</p>
629</dd></dl>
630
631<dl class="method">
632<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.set_fit_data">
633<tt class="descname">set_fit_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.set_fit_data" title="Permalink to this definition">¶</a></dt>
634<dd><dl class="docutils">
635<dt>Store of list of data and create  by create new fitproblem of each data</dt>
636<dd>id , if there was existing information about model, this information
637get copy to the new fitproblem</dd>
638</dl>
639<table class="docutils field-list" frame="void" rules="none">
640<col class="field-name" />
641<col class="field-body" />
642<tbody valign="top">
643<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>data</strong> &#8211; list of data selected</td>
644</tr>
645</tbody>
646</table>
647</dd></dl>
648
649<dl class="method">
650<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.set_fit_tab_caption">
651<tt class="descname">set_fit_tab_caption</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.set_fit_tab_caption" title="Permalink to this definition">¶</a></dt>
652<dd><p>store the caption of the page associated with object</p>
653</dd></dl>
654
655<dl class="method">
656<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.set_graph_id">
657<tt class="descname">set_graph_id</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.set_graph_id" title="Permalink to this definition">¶</a></dt>
658<dd><p>Set graph id (from data_group_id at the time the graph produced)</p>
659</dd></dl>
660
661<dl class="method">
662<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.set_model">
663<tt class="descname">set_model</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.set_model" title="Permalink to this definition">¶</a></dt>
664<dd><p>associates each model with its new created name
665:param model: model selected
666:param name: name created for model</p>
667</dd></dl>
668
669<dl class="method">
670<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.set_model_param">
671<tt class="descname">set_model_param</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.set_model_param" title="Permalink to this definition">¶</a></dt>
672<dd><p>Store the name and value of a parameter of this fitproblem&#8217;s model
673:param name: name of the given parameter
674:param value: value of that parameter</p>
675</dd></dl>
676
677<dl class="method">
678<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.set_param2fit">
679<tt class="descname">set_param2fit</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.set_param2fit" title="Permalink to this definition">¶</a></dt>
680<dd><p>Store param names to fit (checked)
681:param list: list of the param names</p>
682</dd></dl>
683
684<dl class="method">
685<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.set_range">
686<tt class="descname">set_range</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.set_range" title="Permalink to this definition">¶</a></dt>
687<dd><p>set fitting range</p>
688</dd></dl>
689
690<dl class="method">
691<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.set_residuals">
692<tt class="descname">set_residuals</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.set_residuals" title="Permalink to this definition">¶</a></dt>
693<dd><p>save a copy of residual
694:param data: data selected</p>
695</dd></dl>
696
697<dl class="method">
698<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.set_result">
699<tt class="descname">set_result</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.set_result" title="Permalink to this definition">¶</a></dt>
700<dd></dd></dl>
701
702<dl class="method">
703<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.set_theory_data">
704<tt class="descname">set_theory_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.set_theory_data" title="Permalink to this definition">¶</a></dt>
705<dd><p>save a copy of the data select to fit
706:param data: data selected</p>
707</dd></dl>
708
709<dl class="method">
710<dt id="sans.perspectives.fitting.fitproblem.FitProblemComponent.set_weight">
711<tt class="descname">set_weight</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent.set_weight" title="Permalink to this definition">¶</a></dt>
712<dd><p>set fitting range</p>
713</dd></dl>
714
715</dd></dl>
716
717<dl class="class">
718<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary">
719<em class="property">class </em><tt class="descclassname">sans.perspectives.fitting.fitproblem.</tt><tt class="descname">FitProblemDictionary</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary" title="Permalink to this definition">¶</a></dt>
720<dd><p>Bases: <a class="reference internal" href="#sans.perspectives.fitting.fitproblem.FitProblemComponent" title="sans.perspectives.fitting.fitproblem.FitProblemComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.perspectives.fitting.fitproblem.FitProblemComponent</span></tt></a>, <tt class="xref py py-class docutils literal"><span class="pre">dict</span></tt></p>
721<p>This module implements a dictionary of fitproblem objects</p>
722<dl class="attribute">
723<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__class__">
724<tt class="descname">__class__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.__class__" title="Permalink to this definition">¶</a></dt>
725<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
726</dd></dl>
727
728<dl class="attribute">
729<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__cmp__">
730<tt class="descname">__cmp__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.__cmp__" title="Permalink to this definition">¶</a></dt>
731<dd><p>x.__cmp__(y) &lt;==&gt; cmp(x,y)</p>
732</dd></dl>
733
734<dl class="method">
735<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__contains__">
736<tt class="descname">__contains__</tt><big>(</big><em>k</em><big>)</big> &rarr; True if D has a key k, else False<a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.__contains__" title="Permalink to this definition">¶</a></dt>
737<dd></dd></dl>
738
739<dl class="attribute">
740<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__delattr__">
741<tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.__delattr__" title="Permalink to this definition">¶</a></dt>
742<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
743</dd></dl>
744
745<dl class="attribute">
746<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__delitem__">
747<tt class="descname">__delitem__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.__delitem__" title="Permalink to this definition">¶</a></dt>
748<dd><p>x.__delitem__(y) &lt;==&gt; del x[y]</p>
749</dd></dl>
750
751<dl class="attribute">
752<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__dict__">
753<tt class="descname">__dict__</tt><em class="property"> = &lt;dictproxy object at 0x06294050&gt;</em><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.__dict__" title="Permalink to this definition">¶</a></dt>
754<dd></dd></dl>
755
756<dl class="attribute">
757<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__eq__">
758<tt class="descname">__eq__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.__eq__" title="Permalink to this definition">¶</a></dt>
759<dd><p>x.__eq__(y) &lt;==&gt; x==y</p>
760</dd></dl>
761
762<dl class="attribute">
763<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__ge__">
764<tt class="descname">__ge__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.__ge__" title="Permalink to this definition">¶</a></dt>
765<dd><p>x.__ge__(y) &lt;==&gt; x&gt;=y</p>
766</dd></dl>
767
768<dl class="attribute">
769<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__getattribute__">
770<tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.__getattribute__" title="Permalink to this definition">¶</a></dt>
771<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
772</dd></dl>
773
774<dl class="method">
775<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__getitem__">
776<tt class="descname">__getitem__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.__getitem__" title="Permalink to this definition">¶</a></dt>
777<dd><p>x.__getitem__(y) &lt;==&gt; x[y]</p>
778</dd></dl>
779
780<dl class="attribute">
781<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__gt__">
782<tt class="descname">__gt__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.__gt__" title="Permalink to this definition">¶</a></dt>
783<dd><p>x.__gt__(y) &lt;==&gt; x&gt;y</p>
784</dd></dl>
785
786<dl class="attribute">
787<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__hash__">
788<tt class="descname">__hash__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.__hash__" title="Permalink to this definition">¶</a></dt>
789<dd><p>x.__hash__() &lt;==&gt; hash(x)</p>
790</dd></dl>
791
792<dl class="method">
793<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__init__">
794<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.__init__" title="Permalink to this definition">¶</a></dt>
795<dd></dd></dl>
796
797<dl class="attribute">
798<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__iter__">
799<tt class="descname">__iter__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.__iter__" title="Permalink to this definition">¶</a></dt>
800<dd><p>x.__iter__() &lt;==&gt; iter(x)</p>
801</dd></dl>
802
803<dl class="attribute">
804<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__le__">
805<tt class="descname">__le__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.__le__" title="Permalink to this definition">¶</a></dt>
806<dd><p>x.__le__(y) &lt;==&gt; x&lt;=y</p>
807</dd></dl>
808
809<dl class="attribute">
810<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__len__">
811<tt class="descname">__len__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.__len__" title="Permalink to this definition">¶</a></dt>
812<dd><p>x.__len__() &lt;==&gt; len(x)</p>
813</dd></dl>
814
815<dl class="attribute">
816<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__lt__">
817<tt class="descname">__lt__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.__lt__" title="Permalink to this definition">¶</a></dt>
818<dd><p>x.__lt__(y) &lt;==&gt; x&lt;y</p>
819</dd></dl>
820
821<dl class="attribute">
822<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__module__">
823<tt class="descname">__module__</tt><em class="property"> = 'sans.perspectives.fitting.fitproblem'</em><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.__module__" title="Permalink to this definition">¶</a></dt>
824<dd></dd></dl>
825
826<dl class="attribute">
827<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__ne__">
828<tt class="descname">__ne__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.__ne__" title="Permalink to this definition">¶</a></dt>
829<dd><p>x.__ne__(y) &lt;==&gt; x!=y</p>
830</dd></dl>
831
832<dl class="staticmethod">
833<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__new__">
834<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.perspectives.fitting.fitproblem.FitProblemDictionary.__new__" title="Permalink to this definition">¶</a></dt>
835<dd></dd></dl>
836
837<dl class="method">
838<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__reduce__">
839<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.__reduce__" title="Permalink to this definition">¶</a></dt>
840<dd><p>helper for pickle</p>
841</dd></dl>
842
843<dl class="method">
844<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__reduce_ex__">
845<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
846<dd><p>helper for pickle</p>
847</dd></dl>
848
849<dl class="attribute">
850<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__repr__">
851<tt class="descname">__repr__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.__repr__" title="Permalink to this definition">¶</a></dt>
852<dd><p>x.__repr__() &lt;==&gt; repr(x)</p>
853</dd></dl>
854
855<dl class="attribute">
856<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__setattr__">
857<tt class="descname">__setattr__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.__setattr__" title="Permalink to this definition">¶</a></dt>
858<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
859</dd></dl>
860
861<dl class="attribute">
862<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__setitem__">
863<tt class="descname">__setitem__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.__setitem__" title="Permalink to this definition">¶</a></dt>
864<dd><p>x.__setitem__(i, y) &lt;==&gt; x[i]=y</p>
865</dd></dl>
866
867<dl class="attribute">
868<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__str__">
869<tt class="descname">__str__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.__str__" title="Permalink to this definition">¶</a></dt>
870<dd><p>x.__str__() &lt;==&gt; str(x)</p>
871</dd></dl>
872
873<dl class="attribute">
874<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.__weakref__">
875<tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.__weakref__" title="Permalink to this definition">¶</a></dt>
876<dd><p>list of weak references to the object (if defined)</p>
877</dd></dl>
878
879<dl class="method">
880<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.add_data">
881<tt class="descname">add_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.add_data" title="Permalink to this definition">¶</a></dt>
882<dd><p>Add data to the current dictionary of fitproblem. if data id does not
883exist create a new fit problem.
884:note: only data changes in the fit problem</p>
885</dd></dl>
886
887<dl class="method">
888<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.clear">
889<tt class="descname">clear</tt><big>(</big><big>)</big> &rarr; None.  Remove all items from D.<a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.clear" title="Permalink to this definition">¶</a></dt>
890<dd></dd></dl>
891
892<dl class="method">
893<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.clear_model_param">
894<tt class="descname">clear_model_param</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.clear_model_param" title="Permalink to this definition">¶</a></dt>
895<dd><p>clear constraint info</p>
896</dd></dl>
897
898<dl class="method">
899<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.copy">
900<tt class="descname">copy</tt><big>(</big><big>)</big> &rarr; a shallow copy of D<a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.copy" title="Permalink to this definition">¶</a></dt>
901<dd></dd></dl>
902
903<dl class="method">
904<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.enable_smearing">
905<tt class="descname">enable_smearing</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.enable_smearing" title="Permalink to this definition">¶</a></dt>
906<dd><table class="docutils field-list" frame="void" rules="none">
907<col class="field-name" />
908<col class="field-body" />
909<tbody valign="top">
910<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>flag</strong> &#8211; bool.When flag is 1 get the computer smear value. When</td>
911</tr>
912</tbody>
913</table>
914<p>flag is 0 ingore smear value.</p>
915</dd></dl>
916
917<dl class="staticmethod">
918<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.fromkeys">
919<em class="property">static </em><tt class="descname">fromkeys</tt><big>(</big><em>S</em><span class="optional">[</span>, <em>v</em><span class="optional">]</span><big>)</big> &rarr; New dict with keys from S and values equal to v.<a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.fromkeys" title="Permalink to this definition">¶</a></dt>
920<dd><p>v defaults to None.</p>
921</dd></dl>
922
923<dl class="method">
924<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.get">
925<tt class="descname">get</tt><big>(</big><em>k</em><span class="optional">[</span>, <em>d</em><span class="optional">]</span><big>)</big> &rarr; D[k] if k in D, else d.  d defaults to None.<a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.get" title="Permalink to this definition">¶</a></dt>
926<dd></dd></dl>
927
928<dl class="method">
929<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_batch_result">
930<tt class="descname">get_batch_result</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_batch_result" title="Permalink to this definition">¶</a></dt>
931<dd><p>get result</p>
932</dd></dl>
933
934<dl class="method">
935<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_fit_data">
936<tt class="descname">get_fit_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_fit_data" title="Permalink to this definition">¶</a></dt>
937<dd><p>return data for the given fitproblem id
938:param fid: is key representing a fitproblem. usually extract from data</p>
939<blockquote>
940<div>id</div></blockquote>
941</dd></dl>
942
943<dl class="method">
944<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_fit_problem">
945<tt class="descname">get_fit_problem</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_fit_problem" title="Permalink to this definition">¶</a></dt>
946<dd><p>return fitproblem contained in this dictionary</p>
947</dd></dl>
948
949<dl class="method">
950<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_fit_tab_caption">
951<tt class="descname">get_fit_tab_caption</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_fit_tab_caption" title="Permalink to this definition">¶</a></dt>
952<dd><p>Return the caption of the page associated with object</p>
953</dd></dl>
954
955<dl class="method">
956<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_graph_id">
957<tt class="descname">get_graph_id</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_graph_id" title="Permalink to this definition">¶</a></dt>
958<dd><p>Get graph_id</p>
959</dd></dl>
960
961<dl class="method">
962<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_model">
963<tt class="descname">get_model</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_model" title="Permalink to this definition">¶</a></dt>
964<dd><table class="docutils field-list" frame="void" rules="none">
965<col class="field-name" />
966<col class="field-body" />
967<tbody valign="top">
968<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">saved model</td>
969</tr>
970</tbody>
971</table>
972</dd></dl>
973
974<dl class="method">
975<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_model_param">
976<tt class="descname">get_model_param</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_model_param" title="Permalink to this definition">¶</a></dt>
977<dd><p>return list of couple of parameter name and value</p>
978</dd></dl>
979
980<dl class="method">
981<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_name">
982<tt class="descname">get_name</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_name" title="Permalink to this definition">¶</a></dt>
983<dd></dd></dl>
984
985<dl class="method">
986<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_param2fit">
987<tt class="descname">get_param2fit</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_param2fit" title="Permalink to this definition">¶</a></dt>
988<dd><p>return the list param names to fit</p>
989</dd></dl>
990
991<dl class="method">
992<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_range">
993<tt class="descname">get_range</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_range" title="Permalink to this definition">¶</a></dt>
994<dd><table class="docutils field-list" frame="void" rules="none">
995<col class="field-name" />
996<col class="field-body" />
997<tbody valign="top">
998<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">fitting range</td>
999</tr>
1000</tbody>
1001</table>
1002</dd></dl>
1003
1004<dl class="method">
1005<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_residuals">
1006<tt class="descname">get_residuals</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_residuals" title="Permalink to this definition">¶</a></dt>
1007<dd><table class="docutils field-list" frame="void" rules="none">
1008<col class="field-name" />
1009<col class="field-body" />
1010<tbody valign="top">
1011<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">residuals</td>
1012</tr>
1013</tbody>
1014</table>
1015</dd></dl>
1016
1017<dl class="method">
1018<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_result">
1019<tt class="descname">get_result</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_result" title="Permalink to this definition">¶</a></dt>
1020<dd><p>get result</p>
1021</dd></dl>
1022
1023<dl class="method">
1024<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_scheduled">
1025<tt class="descname">get_scheduled</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_scheduled" title="Permalink to this definition">¶</a></dt>
1026<dd><p>return true or false if a problem as being schedule for fitting</p>
1027</dd></dl>
1028
1029<dl class="method">
1030<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_smearer">
1031<tt class="descname">get_smearer</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_smearer" title="Permalink to this definition">¶</a></dt>
1032<dd><p>return smear object</p>
1033</dd></dl>
1034
1035<dl class="method">
1036<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_theory_data">
1037<tt class="descname">get_theory_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_theory_data" title="Permalink to this definition">¶</a></dt>
1038<dd><table class="docutils field-list" frame="void" rules="none">
1039<col class="field-name" />
1040<col class="field-body" />
1041<tbody valign="top">
1042<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">list of data dList</td>
1043</tr>
1044</tbody>
1045</table>
1046</dd></dl>
1047
1048<dl class="method">
1049<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_weight">
1050<tt class="descname">get_weight</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.get_weight" title="Permalink to this definition">¶</a></dt>
1051<dd><p>return fit weight</p>
1052</dd></dl>
1053
1054<dl class="method">
1055<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.has_key">
1056<tt class="descname">has_key</tt><big>(</big><em>k</em><big>)</big> &rarr; True if D has a key k, else False<a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.has_key" title="Permalink to this definition">¶</a></dt>
1057<dd></dd></dl>
1058
1059<dl class="method">
1060<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.items">
1061<tt class="descname">items</tt><big>(</big><big>)</big> &rarr; list of D's (key, value) pairs, as 2-tuples<a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.items" title="Permalink to this definition">¶</a></dt>
1062<dd></dd></dl>
1063
1064<dl class="method">
1065<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.iteritems">
1066<tt class="descname">iteritems</tt><big>(</big><big>)</big> &rarr; an iterator over the (key, value) items of D<a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.iteritems" title="Permalink to this definition">¶</a></dt>
1067<dd></dd></dl>
1068
1069<dl class="method">
1070<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.iterkeys">
1071<tt class="descname">iterkeys</tt><big>(</big><big>)</big> &rarr; an iterator over the keys of D<a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.iterkeys" title="Permalink to this definition">¶</a></dt>
1072<dd></dd></dl>
1073
1074<dl class="method">
1075<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.itervalues">
1076<tt class="descname">itervalues</tt><big>(</big><big>)</big> &rarr; an iterator over the values of D<a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.itervalues" title="Permalink to this definition">¶</a></dt>
1077<dd></dd></dl>
1078
1079<dl class="method">
1080<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.keys">
1081<tt class="descname">keys</tt><big>(</big><big>)</big> &rarr; list of D's keys<a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.keys" title="Permalink to this definition">¶</a></dt>
1082<dd></dd></dl>
1083
1084<dl class="method">
1085<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.pop">
1086<tt class="descname">pop</tt><big>(</big><em>k</em><span class="optional">[</span>, <em>d</em><span class="optional">]</span><big>)</big> &rarr; v, remove specified key and return the corresponding value<a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.pop" title="Permalink to this definition">¶</a></dt>
1087<dd><p>If key is not found, d is returned if given, otherwise KeyError is raised</p>
1088</dd></dl>
1089
1090<dl class="method">
1091<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.popitem">
1092<tt class="descname">popitem</tt><big>(</big><big>)</big> &rarr; (k, v), remove and return some (key, value) pair as a<a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.popitem" title="Permalink to this definition">¶</a></dt>
1093<dd><p>2-tuple; but raise KeyError if D is empty</p>
1094</dd></dl>
1095
1096<dl class="method">
1097<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.save_model_name">
1098<tt class="descname">save_model_name</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.save_model_name" title="Permalink to this definition">¶</a></dt>
1099<dd></dd></dl>
1100
1101<dl class="method">
1102<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.schedule_tofit">
1103<tt class="descname">schedule_tofit</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.schedule_tofit" title="Permalink to this definition">¶</a></dt>
1104<dd><p>set schedule to true to decide if this fit  must be performed</p>
1105</dd></dl>
1106
1107<dl class="method">
1108<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.set_batch_result">
1109<tt class="descname">set_batch_result</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.set_batch_result" title="Permalink to this definition">¶</a></dt>
1110<dd><p>set a list of result</p>
1111</dd></dl>
1112
1113<dl class="method">
1114<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.set_fit_data">
1115<tt class="descname">set_fit_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.set_fit_data" title="Permalink to this definition">¶</a></dt>
1116<dd><p>save a copy of the data select to fit
1117:param data: data selected</p>
1118</dd></dl>
1119
1120<dl class="method">
1121<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.set_fit_tab_caption">
1122<tt class="descname">set_fit_tab_caption</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.set_fit_tab_caption" title="Permalink to this definition">¶</a></dt>
1123<dd><p>store the caption of the page associated with object</p>
1124</dd></dl>
1125
1126<dl class="method">
1127<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.set_graph_id">
1128<tt class="descname">set_graph_id</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.set_graph_id" title="Permalink to this definition">¶</a></dt>
1129<dd><p>Set graph id (from data_group_id at the time the graph produced)</p>
1130</dd></dl>
1131
1132<dl class="method">
1133<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.set_model">
1134<tt class="descname">set_model</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.set_model" title="Permalink to this definition">¶</a></dt>
1135<dd><p>associates each model with its new created name
1136:param model: model selected
1137:param name: name created for model</p>
1138</dd></dl>
1139
1140<dl class="method">
1141<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.set_model_param">
1142<tt class="descname">set_model_param</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.set_model_param" title="Permalink to this definition">¶</a></dt>
1143<dd><p>Store the name and value of a parameter of this fitproblem&#8217;s model
1144:param name: name of the given parameter
1145:param value: value of that parameter</p>
1146</dd></dl>
1147
1148<dl class="method">
1149<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.set_param2fit">
1150<tt class="descname">set_param2fit</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.set_param2fit" title="Permalink to this definition">¶</a></dt>
1151<dd><p>Store param names to fit (checked)
1152:param list: list of the param names</p>
1153</dd></dl>
1154
1155<dl class="method">
1156<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.set_range">
1157<tt class="descname">set_range</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.set_range" title="Permalink to this definition">¶</a></dt>
1158<dd><p>set fitting range</p>
1159</dd></dl>
1160
1161<dl class="method">
1162<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.set_residuals">
1163<tt class="descname">set_residuals</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.set_residuals" title="Permalink to this definition">¶</a></dt>
1164<dd><p>save a copy of residual
1165:param data: data selected</p>
1166</dd></dl>
1167
1168<dl class="method">
1169<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.set_result">
1170<tt class="descname">set_result</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.set_result" title="Permalink to this definition">¶</a></dt>
1171<dd></dd></dl>
1172
1173<dl class="method">
1174<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.set_smearer">
1175<tt class="descname">set_smearer</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.set_smearer" title="Permalink to this definition">¶</a></dt>
1176<dd><p>save reference of  smear object on fitdata
1177:param smear: smear object from DataLoader</p>
1178</dd></dl>
1179
1180<dl class="method">
1181<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.set_theory_data">
1182<tt class="descname">set_theory_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.set_theory_data" title="Permalink to this definition">¶</a></dt>
1183<dd><p>save a copy of the data select to fit
1184:param data: data selected</p>
1185</dd></dl>
1186
1187<dl class="method">
1188<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.set_weight">
1189<tt class="descname">set_weight</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.set_weight" title="Permalink to this definition">¶</a></dt>
1190<dd><p>fit weight</p>
1191</dd></dl>
1192
1193<dl class="method">
1194<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.setdefault">
1195<tt class="descname">setdefault</tt><big>(</big><em>k</em><span class="optional">[</span>, <em>d</em><span class="optional">]</span><big>)</big> &rarr; D.get(k,d), also set D[k]=d if k not in D<a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.setdefault" title="Permalink to this definition">¶</a></dt>
1196<dd></dd></dl>
1197
1198<dl class="method">
1199<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.update">
1200<tt class="descname">update</tt><big>(</big><em>E</em>, <em>**F</em><big>)</big> &rarr; None.  Update D from E and F: for k in E: D[k] = E[k]<a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.update" title="Permalink to this definition">¶</a></dt>
1201<dd><p>(if E has keys else: for (k, v) in E: D[k] = v) then: for k in F: D[k] = F[k]</p>
1202</dd></dl>
1203
1204<dl class="method">
1205<dt id="sans.perspectives.fitting.fitproblem.FitProblemDictionary.values">
1206<tt class="descname">values</tt><big>(</big><big>)</big> &rarr; list of D's values<a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblemDictionary.values" title="Permalink to this definition">¶</a></dt>
1207<dd></dd></dl>
1208
1209</dd></dl>
1210
1211</div>
1212</div>
1213
1214
1215          </div>
1216        </div>
1217      </div>
1218      <div class="sphinxsidebar">
1219        <div class="sphinxsidebarwrapper">
1220  <h3><a href="../../../index.html">Table Of Contents</a></h3>
1221  <ul>
1222<li><a class="reference internal" href="#">fitproblem</a><ul>
1223<li><a class="reference internal" href="#sans-perspectives-fitting-fitproblem"><tt class="docutils literal"><span class="pre">sans.perspectives.fitting.fitproblem</span></tt></a></li>
1224</ul>
1225</li>
1226</ul>
1227
1228  <h4>Previous topic</h4>
1229  <p class="topless"><a href="fitpanel.html"
1230                        title="previous chapter">fitpanel</a></p>
1231  <h4>Next topic</h4>
1232  <p class="topless"><a href="fitting.html"
1233                        title="next chapter">fitting</a></p>
1234  <h3>This Page</h3>
1235  <ul class="this-page-menu">
1236    <li><a href="../../../_sources/api/perspectives/fitting/fitproblem.txt"
1237           rel="nofollow">Show Source</a></li>
1238  </ul>
1239<div id="searchbox" style="display: none">
1240  <h3>Quick search</h3>
1241    <form class="search" action="../../../search.html" method="get">
1242      <input type="text" name="q" />
1243      <input type="submit" value="Go" />
1244      <input type="hidden" name="check_keywords" value="yes" />
1245      <input type="hidden" name="area" value="default" />
1246    </form>
1247    <p class="searchtip" style="font-size: 90%">
1248    Enter search terms or a module, class or function name.
1249    </p>
1250</div>
1251<script type="text/javascript">$('#searchbox').show(0);</script>
1252        </div>
1253      </div>
1254      <div class="clearer"></div>
1255    </div>
1256    <div class="related">
1257      <h3>Navigation</h3>
1258      <ul>
1259        <li class="right" style="margin-right: 10px">
1260          <a href="../../../genindex.html" title="General Index"
1261             >index</a></li>
1262        <li class="right" >
1263          <a href="../../../py-modindex.html" title="Python Module Index"
1264             >modules</a> |</li>
1265        <li class="right" >
1266          <a href="fitting.html" title="fitting"
1267             >next</a> |</li>
1268        <li class="right" >
1269          <a href="fitpanel.html" title="fitpanel"
1270             >previous</a> |</li>
1271        <li><a href="../../../index.html">sansview 0.1.0 documentation</a> &raquo;</li>
1272          <li><a href="index.html" >Reference</a> &raquo;</li> 
1273      </ul>
1274    </div>
1275    <div class="footer">
1276        &copy; Copyright 2010, sans group.
1277      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.
1278    </div>
1279  </body>
1280</html>
Note: See TracBrowser for help on using the repository browser.