Changeset 30d3a1b in sasview for fittingview/docs/sphinx/html/api/perspectives/fitting/fitproblem.html
- Timestamp:
- Oct 24, 2011 1:15:13 PM (13 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 89b7858
- Parents:
- 63edfb2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/docs/sphinx/html/api/perspectives/fitting/fitproblem.html
r5a9a98f r30d3a1b 3 3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 4 4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 5 5 6 6 7 <html xmlns="http://www.w3.org/1999/xhtml"> … … 8 9 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 9 10 10 <title>fitproblem — sansview v0.1.0 documentation</title> 11 <title>fitproblem — sansview 0.1.0 documentation</title> 12 11 13 <link rel="stylesheet" href="../../../_static/default.css" type="text/css" /> 12 14 <link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" /> 15 13 16 <script type="text/javascript"> 14 17 var DOCUMENTATION_OPTIONS = { … … 23 26 <script type="text/javascript" src="../../../_static/underscore.js"></script> 24 27 <script type="text/javascript" src="../../../_static/doctools.js"></script> 25 <link rel="top" title="sansview v0.1.0 documentation" href="../../../index.html" />28 <link rel="top" title="sansview 0.1.0 documentation" href="../../../index.html" /> 26 29 <link rel="up" title="Reference" href="index.html" /> 27 30 <link rel="next" title="fitting" href="fitting.html" /> … … 44 47 <a href="fitpanel.html" title="fitpanel" 45 48 accesskey="P">previous</a> |</li> 46 <li><a href="../../../index.html">sansview v0.1.0 documentation</a> »</li>49 <li><a href="../../../index.html">sansview 0.1.0 documentation</a> »</li> 47 50 <li><a href="index.html" accesskey="U">Reference</a> »</li> 48 51 </ul> … … 56 59 <div class="section" id="fitproblem"> 57 60 <h1>fitproblem<a class="headerlink" href="#fitproblem" title="Permalink to this headline">¶</a></h1> 58 <div class="section" id=" module-sans.perspectives.fitting.fitproblem">59 < span id="sans-perspectives-fitting-fitproblem"></span><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="#module-sans.perspectives.fitting.fitproblem" title="Permalink to this headline">¶</a></h2>60 < dl class="class">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"> 61 64 <dt id="sans.perspectives.fitting.fitproblem.FitProblem"> 62 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> 63 <dd><p>FitProblem class allows to link a model with the new name created in _on_model, 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, 64 68 a name theory created with that model and the data fitted with the model. 65 69 FitProblem 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__(‘name’) <==> 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"> = <dictproxy object at 0x057468F0></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__(‘name’) <==> 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__() <==> 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> → 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__() <==> 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__(‘name’, value) <==> 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__() <==> 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 66 150 <dl class="method"> 67 151 <dt id="sans.perspectives.fitting.fitproblem.FitProblem.clear_model_param"> … … 71 155 72 156 <dl class="method"> 73 <dt id="sans.perspectives.fitting.fitproblem.FitProblem.clone"> 74 <tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.clone" title="Permalink to this definition">¶</a></dt> 75 <dd><p>copy fitproblem</p> 76 </dd></dl> 77 78 <dl class="method"> 79 <dt id="sans.perspectives.fitting.fitproblem.FitProblem.get_enable2D"> 80 <tt class="descname">get_enable2D</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.get_enable2D" title="Permalink to this definition">¶</a></dt> 81 <dd></dd></dl> 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> – 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> 82 169 83 170 <dl class="method"> 84 171 <dt id="sans.perspectives.fitting.fitproblem.FitProblem.get_fit_data"> 85 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> 86 <dd></dd></dl> 87 88 <dl class="method"> 89 <dt id="sans.perspectives.fitting.fitproblem.FitProblem.get_fit_data_list"> 90 <tt class="descname">get_fit_data_list</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.get_fit_data_list" title="Permalink to this definition">¶</a></dt> 91 <dd></dd></dl> 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> 92 182 93 183 <dl class="method"> … … 97 187 98 188 <dl class="method"> 99 <dt id="sans.perspectives.fitting.fitproblem.FitProblem.get_ index">100 <tt class="descname">get_ index</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.get_index" title="Permalink to this definition">¶</a></dt>101 <dd><p> get index of the model name</p>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> 102 192 </dd></dl> 103 193 … … 109 199 <col class="field-body" /> 110 200 <tbody valign="top"> 111 <tr class="field "><th class="field-name">Returns:</th><td class="field-body">saved model</td>201 <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">saved model</td> 112 202 </tr> 113 203 </tbody> … … 127 217 128 218 <dl class="method"> 129 <dt id="sans.perspectives.fitting.fitproblem.FitProblem.get_pointer_to_fitproblem"> 130 <tt class="descname">get_pointer_to_fitproblem</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.get_pointer_to_fitproblem" title="Permalink to this definition">¶</a></dt> 131 <dd><p>return dictionary of id of fitproblem</p> 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> 132 227 </dd></dl> 133 228 … … 139 234 <col class="field-body" /> 140 235 <tbody valign="top"> 141 <tr class="field"><th class="field-name">Returns:</th><td class="field-body">fitting range</td> 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> 142 250 </tr> 143 251 </tbody> … … 170 278 <col class="field-body" /> 171 279 <tbody valign="top"> 172 <tr class="field"><th class="field-name">Returns:</th><td class="field-body">list of data dList</td> 173 </tr> 174 </tbody> 175 </table> 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> 176 290 </dd></dl> 177 291 178 292 <dl class="method"> 179 293 <dt id="sans.perspectives.fitting.fitproblem.FitProblem.save_model_name"> 180 <tt class="descname">save_model_name</tt><big>(</big>< em>name</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.save_model_name" title="Permalink to this definition">¶</a></dt>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> 181 295 <dd></dd></dl> 182 296 183 297 <dl class="method"> 184 298 <dt id="sans.perspectives.fitting.fitproblem.FitProblem.schedule_tofit"> 185 <tt class="descname">schedule_tofit</tt><big>(</big>< em>schedule=0</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.schedule_tofit" title="Permalink to this definition">¶</a></dt>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> 186 300 <dd><p>set schedule to true to decide if this fit must be performed</p> 187 301 </dd></dl> 188 302 189 303 <dl class="method"> 190 <dt id="sans.perspectives.fitting.fitproblem.FitProblem.set_enable2D">191 <tt class="descname">set_enable2D</tt><big>(</big><em>enable2D</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.set_enable2D" title="Permalink to this definition">¶</a></dt>192 <dd></dd></dl>193 194 <dl class="method">195 304 <dt id="sans.perspectives.fitting.fitproblem.FitProblem.set_fit_data"> 196 <tt class="descname">set_fit_data</tt><big>(</big><em>data</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.set_fit_data" title="Permalink to this definition">¶</a></dt> 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’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> – 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> 197 381 <dd><p>save a copy of the data select to fit</p> 198 382 <table class="docutils field-list" frame="void" rules="none"> … … 200 384 <col class="field-body" /> 201 385 <tbody valign="top"> 202 <tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>data</strong> – data selected</td> 203 </tr> 204 </tbody> 205 </table> 206 </dd></dl> 207 208 <dl class="method"> 209 <dt id="sans.perspectives.fitting.fitproblem.FitProblem.set_fit_data_list"> 210 <tt class="descname">set_fit_data_list</tt><big>(</big><em>data_list</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.set_fit_data_list" title="Permalink to this definition">¶</a></dt> 211 <dd><p>save a copy of a list of data</p> 386 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>data</strong> – 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... 407 and retreive this information. This is an inferface 408 for 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__(‘name’) <==> 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"> = <dictproxy object at 0x057465D0></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__(‘name’) <==> 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__() <==> 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> → 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__() <==> 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__(‘name’, value) <==> 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__() <==> 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> – 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 637 get copy to the new fitproblem</dd> 638 </dl> 212 639 <table class="docutils field-list" frame="void" rules="none"> 213 640 <col class="field-name" /> 214 641 <col class="field-body" /> 215 642 <tbody valign="top"> 216 <tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>data_list</strong> – list of data</td> 217 </tr> 218 </tbody> 219 </table> 220 </dd></dl> 221 222 <dl class="method"> 223 <dt id="sans.perspectives.fitting.fitproblem.FitProblem.set_fit_tab_caption"> 224 <tt class="descname">set_fit_tab_caption</tt><big>(</big><em>caption</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.set_fit_tab_caption" title="Permalink to this definition">¶</a></dt> 225 <dd></dd></dl> 226 227 <dl class="method"> 228 <dt id="sans.perspectives.fitting.fitproblem.FitProblem.set_index"> 229 <tt class="descname">set_index</tt><big>(</big><em>index</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.set_index" title="Permalink to this definition">¶</a></dt> 230 <dd><p>set index of the model name</p> 231 </dd></dl> 232 233 <dl class="method"> 234 <dt id="sans.perspectives.fitting.fitproblem.FitProblem.set_model"> 235 <tt class="descname">set_model</tt><big>(</big><em>model</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.set_model" title="Permalink to this definition">¶</a></dt> 236 <dd><p>associates each model with its new created name</p> 237 <table class="docutils field-list" frame="void" rules="none"> 238 <col class="field-name" /> 239 <col class="field-body" /> 240 <tbody valign="top"> 241 <tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> 242 <li><strong>model</strong> – model selected</li> 243 <li><strong>name</strong> – name created for model</li> 244 </ul> 245 </td> 246 </tr> 247 </tbody> 248 </table> 249 </dd></dl> 250 251 <dl class="method"> 252 <dt id="sans.perspectives.fitting.fitproblem.FitProblem.set_model_param"> 253 <tt class="descname">set_model_param</tt><big>(</big><em>name</em>, <em>value=None</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.set_model_param" title="Permalink to this definition">¶</a></dt> 254 <dd><p>Store the name and value of a parameter of this fitproblem’s model</p> 255 <table class="docutils field-list" frame="void" rules="none"> 256 <col class="field-name" /> 257 <col class="field-body" /> 258 <tbody valign="top"> 259 <tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> 260 <li><strong>name</strong> – name of the given parameter</li> 261 <li><strong>value</strong> – value of that parameter</li> 262 </ul> 263 </td> 264 </tr> 265 </tbody> 266 </table> 267 </dd></dl> 268 269 <dl class="method"> 270 <dt id="sans.perspectives.fitting.fitproblem.FitProblem.set_pointer_to_fitproblem"> 271 <tt class="descname">set_pointer_to_fitproblem</tt><big>(</big><em>data_id</em>, <em>page_id</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.set_pointer_to_fitproblem" title="Permalink to this definition">¶</a></dt> 272 <dd></dd></dl> 273 274 <dl class="method"> 275 <dt id="sans.perspectives.fitting.fitproblem.FitProblem.set_range"> 276 <tt class="descname">set_range</tt><big>(</big><em>qmin=None</em>, <em>qmax=None</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.set_range" title="Permalink to this definition">¶</a></dt> 643 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>data</strong> – 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’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> 277 687 <dd><p>set fitting range</p> 278 688 </dd></dl> 279 689 280 690 <dl class="method"> 281 <dt id="sans.perspectives.fitting.fitproblem.FitProblem.set_result"> 282 <tt class="descname">set_result</tt><big>(</big><em>result</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.set_result" title="Permalink to this definition">¶</a></dt> 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) <==> 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> → 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__(‘name’) <==> 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) <==> 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"> = <dictproxy object at 0x06294050></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) <==> 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) <==> x>=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__(‘name’) <==> 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) <==> 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) <==> x>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__() <==> 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__() <==> 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) <==> x<=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__() <==> 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) <==> x<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) <==> 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> → 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__() <==> 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__(‘name’, value) <==> 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) <==> 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__() <==> 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 883 exist 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> → 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> → 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> – 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> → 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> → 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> → 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> → 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> → 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> → 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> → 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> → 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> → 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> → (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> 283 1110 <dd><p>set a list of result</p> 284 1111 </dd></dl> 285 1112 286 1113 <dl class="method"> 287 <dt id="sans.perspectives.fitting.fitproblem.FitProblem.set_smearer"> 288 <tt class="descname">set_smearer</tt><big>(</big><em>smearer</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.set_smearer" title="Permalink to this definition">¶</a></dt> 289 <dd><p>save reference of smear object on fitdata</p> 290 <table class="docutils field-list" frame="void" rules="none"> 291 <col class="field-name" /> 292 <col class="field-body" /> 293 <tbody valign="top"> 294 <tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>smear</strong> – smear object from DataLoader</td> 295 </tr> 296 </tbody> 297 </table> 298 </dd></dl> 299 300 <dl class="method"> 301 <dt id="sans.perspectives.fitting.fitproblem.FitProblem.set_theory_data"> 302 <tt class="descname">set_theory_data</tt><big>(</big><em>data</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fitproblem.FitProblem.set_theory_data" title="Permalink to this definition">¶</a></dt> 303 <dd><p>save a copy of the data select to fit</p> 304 <table class="docutils field-list" frame="void" rules="none"> 305 <col class="field-name" /> 306 <col class="field-body" /> 307 <tbody valign="top"> 308 <tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>data</strong> – data selected</td> 309 </tr> 310 </tbody> 311 </table> 312 </dd></dl> 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’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> → 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> → 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> → 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> 313 1208 314 1209 </dd></dl> … … 326 1221 <ul> 327 1222 <li><a class="reference internal" href="#">fitproblem</a><ul> 328 <li><a class="reference internal" href="# module-sans.perspectives.fitting.fitproblem"><tt class="docutils literal"><span class="pre">sans.perspectives.fitting.fitproblem</span></tt></a></li>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> 329 1224 </ul> 330 1225 </li> … … 345 1240 <h3>Quick search</h3> 346 1241 <form class="search" action="../../../search.html" method="get"> 347 <input type="text" name="q" size="18"/>1242 <input type="text" name="q" /> 348 1243 <input type="submit" value="Go" /> 349 1244 <input type="hidden" name="check_keywords" value="yes" /> … … 374 1269 <a href="fitpanel.html" title="fitpanel" 375 1270 >previous</a> |</li> 376 <li><a href="../../../index.html">sansview v0.1.0 documentation</a> »</li>1271 <li><a href="../../../index.html">sansview 0.1.0 documentation</a> »</li> 377 1272 <li><a href="index.html" >Reference</a> »</li> 378 1273 </ul> … … 380 1275 <div class="footer"> 381 1276 © Copyright 2010, sans group. 382 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1. 0.7.1277 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1. 383 1278 </div> 384 1279 </body>
Note: See TracChangeset
for help on using the changeset viewer.