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