Ignore:
Timestamp:
Oct 24, 2011 12:43:40 PM (13 years ago)
Author:
Gervaise Alina <gervyh@…>
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
Message:

sphinx build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansguiframe/docs/sphinx/html/api/dataFitting.html

    r96cbb53 rbce8148  
    33<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    44  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     5 
    56 
    67<html xmlns="http://www.w3.org/1999/xhtml"> 
     
    89    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    910     
    10     <title>dataFitting &mdash; guiframe v0.1.0 documentation</title> 
     11    <title>dataFitting &mdash; guiframe 0.1.0 documentation</title> 
     12     
    1113    <link rel="stylesheet" href="../_static/default.css" type="text/css" /> 
    1214    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> 
     15     
    1316    <script type="text/javascript"> 
    1417      var DOCUMENTATION_OPTIONS = { 
     
    2326    <script type="text/javascript" src="../_static/underscore.js"></script> 
    2427    <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" /> 
    2629    <link rel="up" title="Reference" href="index.html" /> 
    2730    <link rel="next" title="data_manager" href="data_manager.html" /> 
     
    4447          <a href="custom_pstats.html" title="custom_pstats" 
    4548             accesskey="P">previous</a> |</li> 
    46         <li><a href="../index.html">guiframe v0.1.0 documentation</a> &raquo;</li> 
     49        <li><a href="../index.html">guiframe 0.1.0 documentation</a> &raquo;</li> 
    4750          <li><a href="index.html" accesskey="U">Reference</a> &raquo;</li>  
    4851      </ul> 
     
    5659  <div class="section" id="datafitting"> 
    5760<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> 
    6164<dl class="class"> 
    6265<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> 
    6467<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> &#8211; the minimum value of x to plot.</li> 
    93 <li><strong>xmax</strong> &#8211; 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> &#8211; pointer to function that transforms x</li> 
    125 <li><strong>transdx</strong> &#8211; 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> &#8211; pointer to function that transforms y</li> 
    144 <li><strong>transdx</strong> &#8211; 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> &#8211; array of x values</li> 
    165 <li><strong>y</strong> &#8211; array of y values</li> 
    166 <li><strong>dx</strong> &#8211; array of  errors values on x</li> 
    167 <li><strong>dy</strong> &#8211; 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> &#8211; data set to add to the current one</td> 
     77</tr> 
     78<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td> 
     79</tr> 
     80<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     81<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td> 
     82</tr> 
     83</tbody> 
     84</table> 
     85</dd></dl> 
     86 
     87<dl class="attribute"> 
     88<dt id="sans.guiframe.dataFitting.Data1D.__class__"> 
     89<tt class="descname">__class__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__class__" title="Permalink to this definition">¶</a></dt> 
     90<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p> 
     91</dd></dl> 
     92 
     93<dl class="attribute"> 
     94<dt id="sans.guiframe.dataFitting.Data1D.__delattr__"> 
     95<tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__delattr__" title="Permalink to this definition">¶</a></dt> 
     96<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p> 
     97</dd></dl> 
     98 
     99<dl class="attribute"> 
     100<dt id="sans.guiframe.dataFitting.Data1D.__dict__"> 
     101<tt class="descname">__dict__</tt><em class="property"> = &lt;dictproxy object at 0x044B2450&gt;</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__dict__" title="Permalink to this definition">¶</a></dt> 
     102<dd></dd></dl> 
     103 
     104<dl class="method"> 
     105<dt id="sans.guiframe.dataFitting.Data1D.__div__"> 
     106<tt class="descname">__div__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__div__" title="Permalink to this definition">¶</a></dt> 
     107<dd><p>Divided a data set by another</p> 
     108<table class="docutils field-list" frame="void" rules="none"> 
     109<col class="field-name" /> 
     110<col class="field-body" /> 
     111<tbody valign="top"> 
     112<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set that the current one is divided by</td> 
     113</tr> 
     114<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td> 
     115</tr> 
     116<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     117<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td> 
     118</tr> 
     119</tbody> 
     120</table> 
     121</dd></dl> 
     122 
     123<dl class="attribute"> 
     124<dt id="sans.guiframe.dataFitting.Data1D.__getattribute__"> 
     125<tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__getattribute__" title="Permalink to this definition">¶</a></dt> 
     126<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p> 
     127</dd></dl> 
     128 
     129<dl class="attribute"> 
     130<dt id="sans.guiframe.dataFitting.Data1D.__hash__"> 
     131<tt class="descname">__hash__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__hash__" title="Permalink to this definition">¶</a></dt> 
     132<dd><p>x.__hash__() &lt;==&gt; hash(x)</p> 
     133</dd></dl> 
     134 
     135<dl class="method"> 
     136<dt id="sans.guiframe.dataFitting.Data1D.__init__"> 
     137<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__init__" title="Permalink to this definition">¶</a></dt> 
     138<dd></dd></dl> 
     139 
     140<dl class="attribute"> 
     141<dt id="sans.guiframe.dataFitting.Data1D.__module__"> 
     142<tt class="descname">__module__</tt><em class="property"> = 'sans.guiframe.dataFitting'</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__module__" title="Permalink to this definition">¶</a></dt> 
     143<dd></dd></dl> 
     144 
     145<dl class="method"> 
     146<dt id="sans.guiframe.dataFitting.Data1D.__mul__"> 
     147<tt class="descname">__mul__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__mul__" title="Permalink to this definition">¶</a></dt> 
     148<dd><p>Multiply two data sets</p> 
     149<table class="docutils field-list" frame="void" rules="none"> 
     150<col class="field-name" /> 
     151<col class="field-body" /> 
     152<tbody valign="top"> 
     153<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to subtract from the current one</td> 
     154</tr> 
     155<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td> 
     156</tr> 
     157<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     158<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td> 
     159</tr> 
     160</tbody> 
     161</table> 
     162</dd></dl> 
     163 
     164<dl class="staticmethod"> 
     165<dt id="sans.guiframe.dataFitting.Data1D.__new__"> 
     166<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>S</em>, <em>...</em><big>)</big> &rarr; a new object with type S, a subtype of T<a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__new__" title="Permalink to this definition">¶</a></dt> 
     167<dd></dd></dl> 
     168 
     169<dl class="method"> 
     170<dt id="sans.guiframe.dataFitting.Data1D.__radd__"> 
     171<tt class="descname">__radd__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__radd__" title="Permalink to this definition">¶</a></dt> 
     172<dd><p>Add two data sets</p> 
     173<table class="docutils field-list" frame="void" rules="none"> 
     174<col class="field-name" /> 
     175<col class="field-body" /> 
     176<tbody valign="top"> 
     177<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to add to the current one</td> 
     178</tr> 
     179<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td> 
     180</tr> 
     181<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     182<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td> 
     183</tr> 
     184</tbody> 
     185</table> 
     186</dd></dl> 
     187 
     188<dl class="method"> 
     189<dt id="sans.guiframe.dataFitting.Data1D.__rdiv__"> 
     190<tt class="descname">__rdiv__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__rdiv__" title="Permalink to this definition">¶</a></dt> 
     191<dd><p>Divided a data set by another</p> 
     192<table class="docutils field-list" frame="void" rules="none"> 
     193<col class="field-name" /> 
     194<col class="field-body" /> 
     195<tbody valign="top"> 
     196<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set that the current one is divided by</td> 
     197</tr> 
     198<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td> 
     199</tr> 
     200<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     201<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td> 
     202</tr> 
     203</tbody> 
     204</table> 
     205</dd></dl> 
     206 
     207<dl class="method"> 
     208<dt id="sans.guiframe.dataFitting.Data1D.__reduce__"> 
     209<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__reduce__" title="Permalink to this definition">¶</a></dt> 
     210<dd><p>helper for pickle</p> 
     211</dd></dl> 
     212 
     213<dl class="method"> 
     214<dt id="sans.guiframe.dataFitting.Data1D.__reduce_ex__"> 
     215<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__reduce_ex__" title="Permalink to this definition">¶</a></dt> 
     216<dd><p>helper for pickle</p> 
     217</dd></dl> 
     218 
     219<dl class="attribute"> 
     220<dt id="sans.guiframe.dataFitting.Data1D.__repr__"> 
     221<tt class="descname">__repr__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__repr__" title="Permalink to this definition">¶</a></dt> 
     222<dd><p>x.__repr__() &lt;==&gt; repr(x)</p> 
     223</dd></dl> 
     224 
     225<dl class="method"> 
     226<dt id="sans.guiframe.dataFitting.Data1D.__rmul__"> 
     227<tt class="descname">__rmul__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__rmul__" title="Permalink to this definition">¶</a></dt> 
     228<dd><p>Multiply two data sets</p> 
     229<table class="docutils field-list" frame="void" rules="none"> 
     230<col class="field-name" /> 
     231<col class="field-body" /> 
     232<tbody valign="top"> 
     233<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to subtract from the current one</td> 
     234</tr> 
     235<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td> 
     236</tr> 
     237<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     238<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td> 
     239</tr> 
     240</tbody> 
     241</table> 
     242</dd></dl> 
     243 
     244<dl class="method"> 
     245<dt id="sans.guiframe.dataFitting.Data1D.__rsub__"> 
     246<tt class="descname">__rsub__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__rsub__" title="Permalink to this definition">¶</a></dt> 
     247<dd><p>Subtract two data sets</p> 
     248<table class="docutils field-list" frame="void" rules="none"> 
     249<col class="field-name" /> 
     250<col class="field-body" /> 
     251<tbody valign="top"> 
     252<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to subtract from the current one</td> 
     253</tr> 
     254<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td> 
     255</tr> 
     256<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     257<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td> 
     258</tr> 
     259</tbody> 
     260</table> 
     261</dd></dl> 
     262 
     263<dl class="method"> 
     264<dt id="sans.guiframe.dataFitting.Data1D.__setattr__"> 
     265<tt class="descname">__setattr__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__setattr__" title="Permalink to this definition">¶</a></dt> 
     266<dd><p>Take care of changes in View when data is changed. 
     267This method is provided for backward compatibility.</p> 
     268</dd></dl> 
     269 
     270<dl class="method"> 
     271<dt id="sans.guiframe.dataFitting.Data1D.__str__"> 
     272<tt class="descname">__str__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__str__" title="Permalink to this definition">¶</a></dt> 
     273<dd><p>print data</p> 
     274</dd></dl> 
     275 
     276<dl class="method"> 
     277<dt id="sans.guiframe.dataFitting.Data1D.__sub__"> 
     278<tt class="descname">__sub__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__sub__" title="Permalink to this definition">¶</a></dt> 
     279<dd><p>Subtract two data sets</p> 
     280<table class="docutils field-list" frame="void" rules="none"> 
     281<col class="field-name" /> 
     282<col class="field-body" /> 
     283<tbody valign="top"> 
     284<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to subtract from the current one</td> 
     285</tr> 
     286<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td> 
     287</tr> 
     288<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     289<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td> 
     290</tr> 
     291</tbody> 
     292</table> 
     293</dd></dl> 
     294 
     295<dl class="attribute"> 
     296<dt id="sans.guiframe.dataFitting.Data1D.__weakref__"> 
     297<tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D.__weakref__" title="Permalink to this definition">¶</a></dt> 
     298<dd><p>list of weak references to the object (if defined)</p> 
     299</dd></dl> 
     300 
     301<dl class="method"> 
     302<dt id="sans.guiframe.dataFitting.Data1D._perform_operation"> 
     303<tt class="descname">_perform_operation</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D._perform_operation" title="Permalink to this definition">¶</a></dt> 
     304<dd></dd></dl> 
     305 
     306<dl class="method"> 
     307<dt id="sans.guiframe.dataFitting.Data1D._validity_check"> 
     308<tt class="descname">_validity_check</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D._validity_check" title="Permalink to this definition">¶</a></dt> 
     309<dd><p>Checks that the data lengths are compatible. 
     310Checks that the x vectors are compatible. 
     311Returns errors vectors equal to original 
     312errors vectors if they were present or vectors 
     313of zeros when none was found.</p> 
     314<table class="docutils field-list" frame="void" rules="none"> 
     315<col class="field-name" /> 
     316<col class="field-body" /> 
     317<tbody valign="top"> 
     318<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; other data set for operation</td> 
     319</tr> 
     320<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">dy for self, dy for other [numpy arrays]</td> 
     321</tr> 
     322<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     323<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">when lengths are not compatible</td> 
     324</tr> 
     325</tbody> 
     326</table> 
     327</dd></dl> 
     328 
     329<dl class="attribute"> 
     330<dt id="sans.guiframe.dataFitting.Data1D._xaxis"> 
     331<tt class="descname">_xaxis</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D._xaxis" title="Permalink to this definition">¶</a></dt> 
     332<dd></dd></dl> 
     333 
     334<dl class="attribute"> 
     335<dt id="sans.guiframe.dataFitting.Data1D._xunit"> 
     336<tt class="descname">_xunit</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D._xunit" title="Permalink to this definition">¶</a></dt> 
     337<dd></dd></dl> 
     338 
     339<dl class="attribute"> 
     340<dt id="sans.guiframe.dataFitting.Data1D._yaxis"> 
     341<tt class="descname">_yaxis</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D._yaxis" title="Permalink to this definition">¶</a></dt> 
     342<dd></dd></dl> 
     343 
     344<dl class="attribute"> 
     345<dt id="sans.guiframe.dataFitting.Data1D._yunit"> 
     346<tt class="descname">_yunit</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data1D._yunit" title="Permalink to this definition">¶</a></dt> 
     347<dd></dd></dl> 
    176348 
    177349<dl class="method"> 
    178350<dt id="sans.guiframe.dataFitting.Data1D.add_notes"> 
    179 <tt class="descclassname">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> 
    180352<dd><p>Add notes to datainfo</p> 
    181353</dd></dl> 
     
    183355<dl class="method"> 
    184356<dt id="sans.guiframe.dataFitting.Data1D.append_empty_process"> 
    185 <tt class="descclassname">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> 
    186358<dd></dd></dl> 
    187359 
    188360<dl class="method"> 
    189361<dt id="sans.guiframe.dataFitting.Data1D.changed"> 
    190 <tt class="descclassname">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> 
    191363<dd></dd></dl> 
    192364 
    193365<dl class="method"> 
    194366<dt id="sans.guiframe.dataFitting.Data1D.check_data_PlottableX"> 
    195 <tt class="descclassname">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> 
    196368<dd><p>Since no transformation is made for log10(x), check that  
    197369no negative values is plot in log scale</p> 
     
    200372<dl class="method"> 
    201373<dt id="sans.guiframe.dataFitting.Data1D.check_data_PlottableY"> 
    202 <tt class="descclassname">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> 
    203375<dd><p>Since no transformation is made for log10(y), check that  
    204376no negative values is plot in log scale</p> 
     
    207379<dl class="method"> 
    208380<dt id="sans.guiframe.dataFitting.Data1D.clone_without_data"> 
    209 <tt class="descclassname">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> 
    210382<dd><p>Clone the current object, without copying the data (which 
    211383will be filled out by a subsequent operation). 
     
    215387<col class="field-body" /> 
    216388<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"> 
    218390<li><strong>length</strong> &#8211; length of the data array to be initialized</li> 
    219391<li><strong>clone</strong> &#8211; if provided, the data will be copied to clone</li> 
     
    225397</dd></dl> 
    226398 
     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 
    227404<dl class="method"> 
    228405<dt id="sans.guiframe.dataFitting.Data1D.colors"> 
    229 <tt class="descclassname">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> 
    230407<dd><p>Return the number of colors need to render the object</p> 
    231408</dd></dl> 
     
    233410<dl class="method"> 
    234411<dt id="sans.guiframe.dataFitting.Data1D.copy_from_datainfo"> 
    235 <tt class="descclassname">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> 
    236413<dd><p>copy values of Data1D of type DataLaoder.Data_info</p> 
    237414</dd></dl> 
    238415 
     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 
    239456<dl class="method"> 
    240457<dt id="sans.guiframe.dataFitting.Data1D.get_xaxis"> 
    241 <tt class="descclassname">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> 
    242459<dd><p>Return the units and name of x-axis</p> 
    243460</dd></dl> 
     
    245462<dl class="method"> 
    246463<dt id="sans.guiframe.dataFitting.Data1D.get_yaxis"> 
    247 <tt class="descclassname">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> 
    248465<dd><p>Return the units and name of y- axis</p> 
    249466</dd></dl> 
    250467 
     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 
    251483<dl class="method"> 
    252484<dt id="sans.guiframe.dataFitting.Data1D.is_empty"> 
    253 <tt class="descclassname">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> 
    254486<dd><p>Returns True if there is no data stored in the plottable</p> 
    255487</dd></dl> 
     
    257489<dl class="method"> 
    258490<dt id="sans.guiframe.dataFitting.Data1D.is_slit_smeared"> 
    259 <tt class="descclassname">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> 
    260492<dd><p>Check whether the data has slit smearing information</p> 
    261493<table class="docutils field-list" frame="void" rules="none"> 
     
    263495<col class="field-body" /> 
    264496<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> 
    266498</tr> 
    267499</tbody> 
     
    271503<dl class="classmethod"> 
    272504<dt id="sans.guiframe.dataFitting.Data1D.labels"> 
    273 <em class="property">classmethod </em><tt class="descclassname">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> 
    274506<dd><p>Build a label mostly unique within a collection</p> 
    275507</dd></dl> 
    276508 
     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 
    277529<dl class="method"> 
    278530<dt id="sans.guiframe.dataFitting.Data1D.onFitRange"> 
    279 <tt class="descclassname">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> 
    280532<dd><p>It limits View data range to plot from min to max</p> 
    281533<table class="docutils field-list" frame="void" rules="none"> 
     
    283535<col class="field-body" /> 
    284536<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"> 
    286538<li><strong>xmin</strong> &#8211; the minimum value of x to plot.</li> 
    287539<li><strong>xmax</strong> &#8211; the maximum value of x to plot</li> 
     
    295547<dl class="method"> 
    296548<dt id="sans.guiframe.dataFitting.Data1D.onReset"> 
    297 <tt class="descclassname">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> 
    298550<dd><p>Reset x, y, dx, dy view with its parameters</p> 
    299551</dd></dl> 
    300552 
     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 
    301558<dl class="method"> 
    302559<dt id="sans.guiframe.dataFitting.Data1D.render"> 
    303 <tt class="descclassname">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> 
    304561<dd><p>Renders the plottable on the graph</p> 
    305562</dd></dl> 
     
    307564<dl class="method"> 
    308565<dt id="sans.guiframe.dataFitting.Data1D.reset_view"> 
    309 <tt class="descclassname">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> 
    310567<dd><p>Reload view with new value to plot</p> 
    311568</dd></dl> 
     
    313570<dl class="method"> 
    314571<dt id="sans.guiframe.dataFitting.Data1D.returnValuesOfView"> 
    315 <tt class="descclassname">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> 
    316573<dd><p>Return View parameters and it is used by Fit Dialog</p> 
    317574</dd></dl> 
    318575 
     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 
    319591<dl class="method"> 
    320592<dt id="sans.guiframe.dataFitting.Data1D.setLabel"> 
    321 <tt class="descclassname">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> 
    322594<dd><p>It takes a label of the x and y transformation and set View parameters</p> 
    323595<table class="docutils field-list" frame="void" rules="none"> 
     
    325597<col class="field-body" /> 
    326598<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"> 
    328600<li><strong>transx</strong> &#8211; The label of x transformation is sent by Properties Dialog</li> 
    329601<li><strong>transy</strong> &#8211; The label of y transformation is sent Properties Dialog</li> 
     
    337609<dl class="method"> 
    338610<dt id="sans.guiframe.dataFitting.Data1D.set_View"> 
    339 <tt class="descclassname">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> 
    340612<dd><p>Load View</p> 
    341613</dd></dl> 
     
    343615<dl class="method"> 
    344616<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> 
    346633<dd></dd></dl> 
    347634 
    348635<dl class="method"> 
    349636<dt id="sans.guiframe.dataFitting.Data1D.transformView"> 
    350 <tt class="descclassname">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> 
    351638<dd><p>It transforms x, y before displaying</p> 
    352639</dd></dl> 
     
    354641<dl class="method"> 
    355642<dt id="sans.guiframe.dataFitting.Data1D.transformX"> 
    356 <tt class="descclassname">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> 
    357644<dd><p>Receive pointers to function that transform x and dx  
    358645and set corresponding View pointers</p> 
     
    361648<col class="field-body" /> 
    362649<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"> 
    364651<li><strong>transx</strong> &#8211; pointer to function that transforms x</li> 
    365652<li><strong>transdx</strong> &#8211; pointer to function that transforms dx</li> 
     
    373660<dl class="method"> 
    374661<dt id="sans.guiframe.dataFitting.Data1D.transformY"> 
    375 <tt class="descclassname">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> 
    376663<dd><p>Receive pointers to function that transform y and dy  
    377664and set corresponding View pointers</p> 
     
    380667<col class="field-body" /> 
    381668<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"> 
    383670<li><strong>transy</strong> &#8211; pointer to function that transforms y</li> 
    384671<li><strong>transdy</strong> &#8211; pointer to function that transforms dy</li> 
     
    390677</dd></dl> 
    391678 
     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 
    392689<dl class="method"> 
    393690<dt id="sans.guiframe.dataFitting.Data1D.xaxis"> 
    394 <tt class="descclassname">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> 
    395692<dd><p>Set the name and unit of x_axis</p> 
    396693<table class="docutils field-list" frame="void" rules="none"> 
     
    398695<col class="field-body" /> 
    399696<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"> 
    401698<li><strong>name</strong> &#8211; the name of x-axis</li> 
    402699<li><strong>units</strong> &#8211; the units of x_axis</li> 
     
    408705</dd></dl> 
    409706 
     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 
    410717<dl class="method"> 
    411718<dt id="sans.guiframe.dataFitting.Data1D.yaxis"> 
    412 <tt class="descclassname">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> 
    413720<dd><p>Set the name and unit of y_axis</p> 
    414721<table class="docutils field-list" frame="void" rules="none"> 
     
    416723<col class="field-body" /> 
    417724<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"> 
    419726<li><strong>name</strong> &#8211; the name of y-axis</li> 
    420727<li><strong>units</strong> &#8211; the units of y_axis</li> 
     
    430737<dl class="class"> 
    431738<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> 
    433740<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> &#8211; the minimum value of x to plot.</li> 
    462 <li><strong>xmax</strong> &#8211; 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> &#8211; data set to add to the current one</td> 
     760</tr> 
     761<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td> 
     762</tr> 
     763<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     764<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td> 
     765</tr> 
     766</tbody> 
     767</table> 
     768</dd></dl> 
     769 
     770<dl class="attribute"> 
     771<dt id="sans.guiframe.dataFitting.Data2D.__class__"> 
     772<tt class="descname">__class__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__class__" title="Permalink to this definition">¶</a></dt> 
     773<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p> 
     774</dd></dl> 
     775 
     776<dl class="attribute"> 
     777<dt id="sans.guiframe.dataFitting.Data2D.__delattr__"> 
     778<tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__delattr__" title="Permalink to this definition">¶</a></dt> 
     779<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p> 
     780</dd></dl> 
     781 
     782<dl class="attribute"> 
     783<dt id="sans.guiframe.dataFitting.Data2D.__dict__"> 
     784<tt class="descname">__dict__</tt><em class="property"> = &lt;dictproxy object at 0x044B2DD0&gt;</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__dict__" title="Permalink to this definition">¶</a></dt> 
     785<dd></dd></dl> 
     786 
     787<dl class="method"> 
     788<dt id="sans.guiframe.dataFitting.Data2D.__div__"> 
     789<tt class="descname">__div__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__div__" title="Permalink to this definition">¶</a></dt> 
     790<dd><p>Divided a data set by another</p> 
     791<table class="docutils field-list" frame="void" rules="none"> 
     792<col class="field-name" /> 
     793<col class="field-body" /> 
     794<tbody valign="top"> 
     795<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set that the current one is divided by</td> 
     796</tr> 
     797<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td> 
     798</tr> 
     799<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     800<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td> 
     801</tr> 
     802</tbody> 
     803</table> 
     804</dd></dl> 
     805 
     806<dl class="attribute"> 
     807<dt id="sans.guiframe.dataFitting.Data2D.__getattribute__"> 
     808<tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__getattribute__" title="Permalink to this definition">¶</a></dt> 
     809<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p> 
     810</dd></dl> 
     811 
     812<dl class="attribute"> 
     813<dt id="sans.guiframe.dataFitting.Data2D.__hash__"> 
     814<tt class="descname">__hash__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__hash__" title="Permalink to this definition">¶</a></dt> 
     815<dd><p>x.__hash__() &lt;==&gt; hash(x)</p> 
     816</dd></dl> 
     817 
     818<dl class="method"> 
     819<dt id="sans.guiframe.dataFitting.Data2D.__init__"> 
     820<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__init__" title="Permalink to this definition">¶</a></dt> 
     821<dd></dd></dl> 
     822 
     823<dl class="attribute"> 
     824<dt id="sans.guiframe.dataFitting.Data2D.__module__"> 
     825<tt class="descname">__module__</tt><em class="property"> = 'sans.guiframe.dataFitting'</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__module__" title="Permalink to this definition">¶</a></dt> 
     826<dd></dd></dl> 
     827 
     828<dl class="method"> 
     829<dt id="sans.guiframe.dataFitting.Data2D.__mul__"> 
     830<tt class="descname">__mul__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__mul__" title="Permalink to this definition">¶</a></dt> 
     831<dd><p>Multiply two data sets</p> 
     832<table class="docutils field-list" frame="void" rules="none"> 
     833<col class="field-name" /> 
     834<col class="field-body" /> 
     835<tbody valign="top"> 
     836<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to subtract from the current one</td> 
     837</tr> 
     838<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td> 
     839</tr> 
     840<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     841<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td> 
     842</tr> 
     843</tbody> 
     844</table> 
     845</dd></dl> 
     846 
     847<dl class="staticmethod"> 
     848<dt id="sans.guiframe.dataFitting.Data2D.__new__"> 
     849<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>S</em>, <em>...</em><big>)</big> &rarr; a new object with type S, a subtype of T<a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__new__" title="Permalink to this definition">¶</a></dt> 
     850<dd></dd></dl> 
     851 
     852<dl class="method"> 
     853<dt id="sans.guiframe.dataFitting.Data2D.__radd__"> 
     854<tt class="descname">__radd__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__radd__" title="Permalink to this definition">¶</a></dt> 
     855<dd><p>Add two data sets</p> 
     856<table class="docutils field-list" frame="void" rules="none"> 
     857<col class="field-name" /> 
     858<col class="field-body" /> 
     859<tbody valign="top"> 
     860<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to add to the current one</td> 
     861</tr> 
     862<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td> 
     863</tr> 
     864<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     865<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td> 
     866</tr> 
     867</tbody> 
     868</table> 
     869</dd></dl> 
     870 
     871<dl class="method"> 
     872<dt id="sans.guiframe.dataFitting.Data2D.__rdiv__"> 
     873<tt class="descname">__rdiv__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__rdiv__" title="Permalink to this definition">¶</a></dt> 
     874<dd><p>Divided a data set by another</p> 
     875<table class="docutils field-list" frame="void" rules="none"> 
     876<col class="field-name" /> 
     877<col class="field-body" /> 
     878<tbody valign="top"> 
     879<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set that the current one is divided by</td> 
     880</tr> 
     881<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td> 
     882</tr> 
     883<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     884<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td> 
     885</tr> 
     886</tbody> 
     887</table> 
     888</dd></dl> 
     889 
     890<dl class="method"> 
     891<dt id="sans.guiframe.dataFitting.Data2D.__reduce__"> 
     892<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__reduce__" title="Permalink to this definition">¶</a></dt> 
     893<dd><p>helper for pickle</p> 
     894</dd></dl> 
     895 
     896<dl class="method"> 
     897<dt id="sans.guiframe.dataFitting.Data2D.__reduce_ex__"> 
     898<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__reduce_ex__" title="Permalink to this definition">¶</a></dt> 
     899<dd><p>helper for pickle</p> 
     900</dd></dl> 
     901 
     902<dl class="attribute"> 
     903<dt id="sans.guiframe.dataFitting.Data2D.__repr__"> 
     904<tt class="descname">__repr__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__repr__" title="Permalink to this definition">¶</a></dt> 
     905<dd><p>x.__repr__() &lt;==&gt; repr(x)</p> 
     906</dd></dl> 
     907 
     908<dl class="method"> 
     909<dt id="sans.guiframe.dataFitting.Data2D.__rmul__"> 
     910<tt class="descname">__rmul__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__rmul__" title="Permalink to this definition">¶</a></dt> 
     911<dd><p>Multiply two data sets</p> 
     912<table class="docutils field-list" frame="void" rules="none"> 
     913<col class="field-name" /> 
     914<col class="field-body" /> 
     915<tbody valign="top"> 
     916<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to subtract from the current one</td> 
     917</tr> 
     918<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td> 
     919</tr> 
     920<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     921<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td> 
     922</tr> 
     923</tbody> 
     924</table> 
     925</dd></dl> 
     926 
     927<dl class="method"> 
     928<dt id="sans.guiframe.dataFitting.Data2D.__rsub__"> 
     929<tt class="descname">__rsub__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__rsub__" title="Permalink to this definition">¶</a></dt> 
     930<dd><p>Subtract two data sets</p> 
     931<table class="docutils field-list" frame="void" rules="none"> 
     932<col class="field-name" /> 
     933<col class="field-body" /> 
     934<tbody valign="top"> 
     935<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to subtract from the current one</td> 
     936</tr> 
     937<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td> 
     938</tr> 
     939<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     940<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td> 
     941</tr> 
     942</tbody> 
     943</table> 
     944</dd></dl> 
     945 
     946<dl class="method"> 
     947<dt id="sans.guiframe.dataFitting.Data2D.__setattr__"> 
     948<tt class="descname">__setattr__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__setattr__" title="Permalink to this definition">¶</a></dt> 
     949<dd><p>Take care of changes in View when data is changed. 
     950This method is provided for backward compatibility.</p> 
     951</dd></dl> 
     952 
     953<dl class="method"> 
     954<dt id="sans.guiframe.dataFitting.Data2D.__str__"> 
     955<tt class="descname">__str__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__str__" title="Permalink to this definition">¶</a></dt> 
     956<dd><p>print data</p> 
     957</dd></dl> 
     958 
     959<dl class="method"> 
     960<dt id="sans.guiframe.dataFitting.Data2D.__sub__"> 
     961<tt class="descname">__sub__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__sub__" title="Permalink to this definition">¶</a></dt> 
     962<dd><p>Subtract two data sets</p> 
     963<table class="docutils field-list" frame="void" rules="none"> 
     964<col class="field-name" /> 
     965<col class="field-body" /> 
     966<tbody valign="top"> 
     967<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to subtract from the current one</td> 
     968</tr> 
     969<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td> 
     970</tr> 
     971<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     972<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td> 
     973</tr> 
     974</tbody> 
     975</table> 
     976</dd></dl> 
     977 
     978<dl class="attribute"> 
     979<dt id="sans.guiframe.dataFitting.Data2D.__weakref__"> 
     980<tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D.__weakref__" title="Permalink to this definition">¶</a></dt> 
     981<dd><p>list of weak references to the object (if defined)</p> 
     982</dd></dl> 
     983 
     984<dl class="method"> 
     985<dt id="sans.guiframe.dataFitting.Data2D._perform_operation"> 
     986<tt class="descname">_perform_operation</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D._perform_operation" title="Permalink to this definition">¶</a></dt> 
     987<dd><p>Perform 2D operations between data sets</p> 
     988<table class="docutils field-list" frame="void" rules="none"> 
     989<col class="field-name" /> 
     990<col class="field-body" /> 
     991<tbody valign="top"> 
     992<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> 
     993<li><strong>other</strong> &#8211; other data set</li> 
     994<li><strong>operation</strong> &#8211; function defining the operation</li> 
    463995</ul> 
    464996</td> 
     
    4691001 
    4701002<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> &#8211; pointer to function that transforms x</li> 
    494 <li><strong>transdx</strong> &#8211; 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> &#8211; pointer to function that transforms y</li> 
    513 <li><strong>transdx</strong> &#8211; 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> &#8211; array of x values</li> 
    534 <li><strong>y</strong> &#8211; array of y values</li> 
    535 <li><strong>dx</strong> &#8211; array of  errors values on x</li> 
    536 <li><strong>dy</strong> &#8211; 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. 
     1006Checks that the x vectors are compatible. 
     1007Returns errors vectors equal to original 
     1008errors vectors if they were present or vectors 
     1009of zeros when none was found.</p> 
     1010<table class="docutils field-list" frame="void" rules="none"> 
     1011<col class="field-name" /> 
     1012<col class="field-body" /> 
     1013<tbody valign="top"> 
     1014<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; other data set for operation</td> 
     1015</tr> 
     1016<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">dy for self, dy for other [numpy arrays]</td> 
     1017</tr> 
     1018<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     1019<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">when lengths are not compatible</td> 
     1020</tr> 
     1021</tbody> 
     1022</table> 
     1023</dd></dl> 
     1024 
     1025<dl class="attribute"> 
     1026<dt id="sans.guiframe.dataFitting.Data2D._xaxis"> 
     1027<tt class="descname">_xaxis</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D._xaxis" title="Permalink to this definition">¶</a></dt> 
     1028<dd></dd></dl> 
     1029 
     1030<dl class="attribute"> 
     1031<dt id="sans.guiframe.dataFitting.Data2D._xunit"> 
     1032<tt class="descname">_xunit</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D._xunit" title="Permalink to this definition">¶</a></dt> 
     1033<dd></dd></dl> 
     1034 
     1035<dl class="attribute"> 
     1036<dt id="sans.guiframe.dataFitting.Data2D._yaxis"> 
     1037<tt class="descname">_yaxis</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D._yaxis" title="Permalink to this definition">¶</a></dt> 
     1038<dd></dd></dl> 
     1039 
     1040<dl class="attribute"> 
     1041<dt id="sans.guiframe.dataFitting.Data2D._yunit"> 
     1042<tt class="descname">_yunit</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D._yunit" title="Permalink to this definition">¶</a></dt> 
     1043<dd></dd></dl> 
     1044 
     1045<dl class="attribute"> 
     1046<dt id="sans.guiframe.dataFitting.Data2D._zaxis"> 
     1047<tt class="descname">_zaxis</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D._zaxis" title="Permalink to this definition">¶</a></dt> 
     1048<dd></dd></dl> 
     1049 
     1050<dl class="attribute"> 
     1051<dt id="sans.guiframe.dataFitting.Data2D._zunit"> 
     1052<tt class="descname">_zunit</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Data2D._zunit" title="Permalink to this definition">¶</a></dt> 
     1053<dd></dd></dl> 
    5451054 
    5461055<dl class="method"> 
    5471056<dt id="sans.guiframe.dataFitting.Data2D.add_notes"> 
    548 <tt class="descclassname">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> 
    5491058<dd><p>Add notes to datainfo</p> 
    5501059</dd></dl> 
     
    5521061<dl class="method"> 
    5531062<dt id="sans.guiframe.dataFitting.Data2D.append_empty_process"> 
    554 <tt class="descclassname">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> 
    5551064<dd></dd></dl> 
    5561065 
    5571066<dl class="method"> 
    5581067<dt id="sans.guiframe.dataFitting.Data2D.changed"> 
    559 <tt class="descclassname">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> 
    5601069<dd></dd></dl> 
    5611070 
    5621071<dl class="method"> 
    5631072<dt id="sans.guiframe.dataFitting.Data2D.check_data_PlottableX"> 
    564 <tt class="descclassname">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> 
    5651074<dd><p>Since no transformation is made for log10(x), check that  
    5661075no negative values is plot in log scale</p> 
     
    5691078<dl class="method"> 
    5701079<dt id="sans.guiframe.dataFitting.Data2D.check_data_PlottableY"> 
    571 <tt class="descclassname">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> 
    5721081<dd><p>Since no transformation is made for log10(y), check that  
    5731082no negative values is plot in log scale</p> 
     
    5761085<dl class="method"> 
    5771086<dt id="sans.guiframe.dataFitting.Data2D.clone_without_data"> 
    578 <tt class="descclassname">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> 
    5791088<dd><p>Clone the current object, without copying the data (which 
    5801089will be filled out by a subsequent operation). 
     
    5841093<col class="field-body" /> 
    5851094<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"> 
    5871096<li><strong>length</strong> &#8211; length of the data array to be initialized</li> 
    5881097<li><strong>clone</strong> &#8211; if provided, the data will be copied to clone</li> 
     
    5941103</dd></dl> 
    5951104 
     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 
    5961110<dl class="method"> 
    5971111<dt id="sans.guiframe.dataFitting.Data2D.colors"> 
    598 <tt class="descclassname">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> 
    5991113<dd><p>Return the number of colors need to render the object</p> 
    6001114</dd></dl> 
     
    6021116<dl class="method"> 
    6031117<dt id="sans.guiframe.dataFitting.Data2D.copy_from_datainfo"> 
    604 <tt class="descclassname">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> 
    6051119<dd><p>copy value of Data2D of type DataLoader.data_info</p> 
    6061120</dd></dl> 
    6071121 
     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 
    6081172<dl class="method"> 
    6091173<dt id="sans.guiframe.dataFitting.Data2D.get_xaxis"> 
    610 <tt class="descclassname">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> 
    6111175<dd><p>Return the units and name of x-axis</p> 
    6121176</dd></dl> 
     
    6141178<dl class="method"> 
    6151179<dt id="sans.guiframe.dataFitting.Data2D.get_yaxis"> 
    616 <tt class="descclassname">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> 
    6171181<dd><p>Return the units and name of y- axis</p> 
    6181182</dd></dl> 
    6191183 
     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 
    6201199<dl class="method"> 
    6211200<dt id="sans.guiframe.dataFitting.Data2D.is_empty"> 
    622 <tt class="descclassname">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> 
    6231202<dd><p>Returns True if there is no data stored in the plottable</p> 
    6241203</dd></dl> 
     
    6261205<dl class="classmethod"> 
    6271206<dt id="sans.guiframe.dataFitting.Data2D.labels"> 
    628 <em class="property">classmethod </em><tt class="descclassname">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> 
    6291208<dd><p>Build a label mostly unique within a collection</p> 
    6301209</dd></dl> 
    6311210 
     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 
    6321236<dl class="method"> 
    6331237<dt id="sans.guiframe.dataFitting.Data2D.onFitRange"> 
    634 <tt class="descclassname">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> 
    6351239<dd><p>It limits View data range to plot from min to max</p> 
    6361240<table class="docutils field-list" frame="void" rules="none"> 
     
    6381242<col class="field-body" /> 
    6391243<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"> 
    6411245<li><strong>xmin</strong> &#8211; the minimum value of x to plot.</li> 
    6421246<li><strong>xmax</strong> &#8211; the maximum value of x to plot</li> 
     
    6501254<dl class="method"> 
    6511255<dt id="sans.guiframe.dataFitting.Data2D.onReset"> 
    652 <tt class="descclassname">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> 
    6531257<dd><p>Reset x, y, dx, dy view with its parameters</p> 
    6541258</dd></dl> 
    6551259 
     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 
    6561280<dl class="method"> 
    6571281<dt id="sans.guiframe.dataFitting.Data2D.render"> 
    658 <tt class="descclassname">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> 
    6591283<dd><p>Renders the plottable on the graph</p> 
    6601284</dd></dl> 
     
    6621286<dl class="method"> 
    6631287<dt id="sans.guiframe.dataFitting.Data2D.reset_view"> 
    664 <tt class="descclassname">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> 
    6651289<dd><p>Reload view with new value to plot</p> 
    6661290</dd></dl> 
     
    6681292<dl class="method"> 
    6691293<dt id="sans.guiframe.dataFitting.Data2D.returnValuesOfView"> 
    670 <tt class="descclassname">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> 
    6711295<dd><p>Return View parameters and it is used by Fit Dialog</p> 
    6721296</dd></dl> 
    6731297 
     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 
    6741313<dl class="method"> 
    6751314<dt id="sans.guiframe.dataFitting.Data2D.setLabel"> 
    676 <tt class="descclassname">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> 
    6771316<dd><p>It takes a label of the x and y transformation and set View parameters</p> 
    6781317<table class="docutils field-list" frame="void" rules="none"> 
     
    6801319<col class="field-body" /> 
    6811320<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"> 
    6831322<li><strong>transx</strong> &#8211; The label of x transformation is sent by Properties Dialog</li> 
    6841323<li><strong>transy</strong> &#8211; The label of y transformation is sent Properties Dialog</li> 
     
    6921331<dl class="method"> 
    6931332<dt id="sans.guiframe.dataFitting.Data2D.setValues"> 
    694 <tt class="descclassname">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> 
    6951334<dd><p>Use datainfo object to initialize data2D</p> 
    6961335<table class="docutils field-list" frame="void" rules="none"> 
     
    6981337<col class="field-body" /> 
    6991338<tbody valign="top"> 
    700 <tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>datainfo</strong> &#8211; object</td> 
     1339<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>datainfo</strong> &#8211; object</td> 
    7011340</tr> 
    7021341</tbody> 
     
    7061345<dl class="method"> 
    7071346<dt id="sans.guiframe.dataFitting.Data2D.set_View"> 
    708 <tt class="descclassname">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> 
    7091348<dd><p>Load View</p> 
    7101349</dd></dl> 
     
    7121351<dl class="method"> 
    7131352<dt id="sans.guiframe.dataFitting.Data2D.set_data"> 
    714 <tt class="descclassname">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> 
    7151354<dd></dd></dl> 
    7161355 
    7171356<dl class="method"> 
    7181357<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> 
    7201374<dd></dd></dl> 
    7211375 
    7221376<dl class="method"> 
    7231377<dt id="sans.guiframe.dataFitting.Data2D.transformView"> 
    724 <tt class="descclassname">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> 
    7251379<dd><p>It transforms x, y before displaying</p> 
    7261380</dd></dl> 
     
    7281382<dl class="method"> 
    7291383<dt id="sans.guiframe.dataFitting.Data2D.transformX"> 
    730 <tt class="descclassname">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> 
    7311385<dd><p>Receive pointers to function that transform x and dx  
    7321386and set corresponding View pointers</p> 
     
    7351389<col class="field-body" /> 
    7361390<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"> 
    7381392<li><strong>transx</strong> &#8211; pointer to function that transforms x</li> 
    7391393<li><strong>transdx</strong> &#8211; pointer to function that transforms dx</li> 
     
    7471401<dl class="method"> 
    7481402<dt id="sans.guiframe.dataFitting.Data2D.transformY"> 
    749 <tt class="descclassname">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> 
    7501404<dd><p>Receive pointers to function that transform y and dy  
    7511405and set corresponding View pointers</p> 
     
    7541408<col class="field-body" /> 
    7551409<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"> 
    7571411<li><strong>transy</strong> &#8211; pointer to function that transforms y</li> 
    7581412<li><strong>transdy</strong> &#8211; pointer to function that transforms dy</li> 
     
    7641418</dd></dl> 
    7651419 
     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 
    7661430<dl class="method"> 
    7671431<dt id="sans.guiframe.dataFitting.Data2D.xaxis"> 
    768 <tt class="descclassname">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> 
    7691433<dd><p>set x-axis</p> 
    7701434<table class="docutils field-list" frame="void" rules="none"> 
     
    7721436<col class="field-body" /> 
    7731437<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"> 
    7751439<li><strong>label</strong> &#8211; x-axis label</li> 
    7761440<li><strong>unit</strong> &#8211; x-axis unit</li> 
     
    7821446</dd></dl> 
    7831447 
     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 
    7841468<dl class="method"> 
    7851469<dt id="sans.guiframe.dataFitting.Data2D.yaxis"> 
    786 <tt class="descclassname">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> 
    7871471<dd><p>set y-axis</p> 
    7881472<table class="docutils field-list" frame="void" rules="none"> 
     
    7901474<col class="field-body" /> 
    7911475<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"> 
    7931477<li><strong>label</strong> &#8211; y-axis label</li> 
    7941478<li><strong>unit</strong> &#8211; y-axis unit</li> 
     
    8001484</dd></dl> 
    8011485 
     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 
    8021496<dl class="method"> 
    8031497<dt id="sans.guiframe.dataFitting.Data2D.zaxis"> 
    804 <tt class="descclassname">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> 
    8051499<dd><p>set z-axis</p> 
    8061500<table class="docutils field-list" frame="void" rules="none"> 
     
    8081502<col class="field-body" /> 
    8091503<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"> 
    8111505<li><strong>label</strong> &#8211; z-axis label</li> 
    8121506<li><strong>unit</strong> &#8211; z-axis unit</li> 
     
    8221516<dl class="class"> 
    8231517<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> 
    8251519<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> &#8211; the minimum value of x to plot.</li> 
    854 <li><strong>xmax</strong> &#8211; 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> &#8211; pointer to function that transforms x</li> 
    886 <li><strong>transdx</strong> &#8211; 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> &#8211; pointer to function that transforms y</li> 
    905 <li><strong>transdx</strong> &#8211; 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> &#8211; array of x values</li> 
    926 <li><strong>y</strong> &#8211; array of y values</li> 
    927 <li><strong>dx</strong> &#8211; array of  errors values on x</li> 
    928 <li><strong>dy</strong> &#8211; 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> &#8211; data set to add to the current one</td> 
     1529</tr> 
     1530<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td> 
     1531</tr> 
     1532<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     1533<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td> 
     1534</tr> 
     1535</tbody> 
     1536</table> 
     1537</dd></dl> 
     1538 
     1539<dl class="attribute"> 
     1540<dt id="sans.guiframe.dataFitting.Theory1D.__class__"> 
     1541<tt class="descname">__class__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__class__" title="Permalink to this definition">¶</a></dt> 
     1542<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p> 
     1543</dd></dl> 
     1544 
     1545<dl class="attribute"> 
     1546<dt id="sans.guiframe.dataFitting.Theory1D.__delattr__"> 
     1547<tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__delattr__" title="Permalink to this definition">¶</a></dt> 
     1548<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p> 
     1549</dd></dl> 
     1550 
     1551<dl class="attribute"> 
     1552<dt id="sans.guiframe.dataFitting.Theory1D.__dict__"> 
     1553<tt class="descname">__dict__</tt><em class="property"> = &lt;dictproxy object at 0x039C78D0&gt;</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__dict__" title="Permalink to this definition">¶</a></dt> 
     1554<dd></dd></dl> 
     1555 
     1556<dl class="method"> 
     1557<dt id="sans.guiframe.dataFitting.Theory1D.__div__"> 
     1558<tt class="descname">__div__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__div__" title="Permalink to this definition">¶</a></dt> 
     1559<dd><p>Divided a data set by another</p> 
     1560<table class="docutils field-list" frame="void" rules="none"> 
     1561<col class="field-name" /> 
     1562<col class="field-body" /> 
     1563<tbody valign="top"> 
     1564<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set that the current one is divided by</td> 
     1565</tr> 
     1566<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td> 
     1567</tr> 
     1568<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     1569<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td> 
     1570</tr> 
     1571</tbody> 
     1572</table> 
     1573</dd></dl> 
     1574 
     1575<dl class="attribute"> 
     1576<dt id="sans.guiframe.dataFitting.Theory1D.__getattribute__"> 
     1577<tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__getattribute__" title="Permalink to this definition">¶</a></dt> 
     1578<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p> 
     1579</dd></dl> 
     1580 
     1581<dl class="attribute"> 
     1582<dt id="sans.guiframe.dataFitting.Theory1D.__hash__"> 
     1583<tt class="descname">__hash__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__hash__" title="Permalink to this definition">¶</a></dt> 
     1584<dd><p>x.__hash__() &lt;==&gt; hash(x)</p> 
     1585</dd></dl> 
     1586 
     1587<dl class="method"> 
     1588<dt id="sans.guiframe.dataFitting.Theory1D.__init__"> 
     1589<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__init__" title="Permalink to this definition">¶</a></dt> 
     1590<dd></dd></dl> 
     1591 
     1592<dl class="attribute"> 
     1593<dt id="sans.guiframe.dataFitting.Theory1D.__module__"> 
     1594<tt class="descname">__module__</tt><em class="property"> = 'sans.guiframe.dataFitting'</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__module__" title="Permalink to this definition">¶</a></dt> 
     1595<dd></dd></dl> 
     1596 
     1597<dl class="method"> 
     1598<dt id="sans.guiframe.dataFitting.Theory1D.__mul__"> 
     1599<tt class="descname">__mul__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__mul__" title="Permalink to this definition">¶</a></dt> 
     1600<dd><p>Multiply two data sets</p> 
     1601<table class="docutils field-list" frame="void" rules="none"> 
     1602<col class="field-name" /> 
     1603<col class="field-body" /> 
     1604<tbody valign="top"> 
     1605<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to subtract from the current one</td> 
     1606</tr> 
     1607<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td> 
     1608</tr> 
     1609<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     1610<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td> 
     1611</tr> 
     1612</tbody> 
     1613</table> 
     1614</dd></dl> 
     1615 
     1616<dl class="staticmethod"> 
     1617<dt id="sans.guiframe.dataFitting.Theory1D.__new__"> 
     1618<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>S</em>, <em>...</em><big>)</big> &rarr; a new object with type S, a subtype of T<a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__new__" title="Permalink to this definition">¶</a></dt> 
     1619<dd></dd></dl> 
     1620 
     1621<dl class="method"> 
     1622<dt id="sans.guiframe.dataFitting.Theory1D.__radd__"> 
     1623<tt class="descname">__radd__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__radd__" title="Permalink to this definition">¶</a></dt> 
     1624<dd><p>Add two data sets</p> 
     1625<table class="docutils field-list" frame="void" rules="none"> 
     1626<col class="field-name" /> 
     1627<col class="field-body" /> 
     1628<tbody valign="top"> 
     1629<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to add to the current one</td> 
     1630</tr> 
     1631<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td> 
     1632</tr> 
     1633<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     1634<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td> 
     1635</tr> 
     1636</tbody> 
     1637</table> 
     1638</dd></dl> 
     1639 
     1640<dl class="method"> 
     1641<dt id="sans.guiframe.dataFitting.Theory1D.__rdiv__"> 
     1642<tt class="descname">__rdiv__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__rdiv__" title="Permalink to this definition">¶</a></dt> 
     1643<dd><p>Divided a data set by another</p> 
     1644<table class="docutils field-list" frame="void" rules="none"> 
     1645<col class="field-name" /> 
     1646<col class="field-body" /> 
     1647<tbody valign="top"> 
     1648<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set that the current one is divided by</td> 
     1649</tr> 
     1650<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td> 
     1651</tr> 
     1652<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     1653<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td> 
     1654</tr> 
     1655</tbody> 
     1656</table> 
     1657</dd></dl> 
     1658 
     1659<dl class="method"> 
     1660<dt id="sans.guiframe.dataFitting.Theory1D.__reduce__"> 
     1661<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__reduce__" title="Permalink to this definition">¶</a></dt> 
     1662<dd><p>helper for pickle</p> 
     1663</dd></dl> 
     1664 
     1665<dl class="method"> 
     1666<dt id="sans.guiframe.dataFitting.Theory1D.__reduce_ex__"> 
     1667<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__reduce_ex__" title="Permalink to this definition">¶</a></dt> 
     1668<dd><p>helper for pickle</p> 
     1669</dd></dl> 
     1670 
     1671<dl class="attribute"> 
     1672<dt id="sans.guiframe.dataFitting.Theory1D.__repr__"> 
     1673<tt class="descname">__repr__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__repr__" title="Permalink to this definition">¶</a></dt> 
     1674<dd><p>x.__repr__() &lt;==&gt; repr(x)</p> 
     1675</dd></dl> 
     1676 
     1677<dl class="method"> 
     1678<dt id="sans.guiframe.dataFitting.Theory1D.__rmul__"> 
     1679<tt class="descname">__rmul__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__rmul__" title="Permalink to this definition">¶</a></dt> 
     1680<dd><p>Multiply two data sets</p> 
     1681<table class="docutils field-list" frame="void" rules="none"> 
     1682<col class="field-name" /> 
     1683<col class="field-body" /> 
     1684<tbody valign="top"> 
     1685<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to subtract from the current one</td> 
     1686</tr> 
     1687<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td> 
     1688</tr> 
     1689<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     1690<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td> 
     1691</tr> 
     1692</tbody> 
     1693</table> 
     1694</dd></dl> 
     1695 
     1696<dl class="method"> 
     1697<dt id="sans.guiframe.dataFitting.Theory1D.__rsub__"> 
     1698<tt class="descname">__rsub__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__rsub__" title="Permalink to this definition">¶</a></dt> 
     1699<dd><p>Subtract two data sets</p> 
     1700<table class="docutils field-list" frame="void" rules="none"> 
     1701<col class="field-name" /> 
     1702<col class="field-body" /> 
     1703<tbody valign="top"> 
     1704<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to subtract from the current one</td> 
     1705</tr> 
     1706<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td> 
     1707</tr> 
     1708<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     1709<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td> 
     1710</tr> 
     1711</tbody> 
     1712</table> 
     1713</dd></dl> 
     1714 
     1715<dl class="method"> 
     1716<dt id="sans.guiframe.dataFitting.Theory1D.__setattr__"> 
     1717<tt class="descname">__setattr__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__setattr__" title="Permalink to this definition">¶</a></dt> 
     1718<dd><p>Take care of changes in View when data is changed. 
     1719This method is provided for backward compatibility.</p> 
     1720</dd></dl> 
     1721 
     1722<dl class="method"> 
     1723<dt id="sans.guiframe.dataFitting.Theory1D.__str__"> 
     1724<tt class="descname">__str__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__str__" title="Permalink to this definition">¶</a></dt> 
     1725<dd><p>print data</p> 
     1726</dd></dl> 
     1727 
     1728<dl class="method"> 
     1729<dt id="sans.guiframe.dataFitting.Theory1D.__sub__"> 
     1730<tt class="descname">__sub__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__sub__" title="Permalink to this definition">¶</a></dt> 
     1731<dd><p>Subtract two data sets</p> 
     1732<table class="docutils field-list" frame="void" rules="none"> 
     1733<col class="field-name" /> 
     1734<col class="field-body" /> 
     1735<tbody valign="top"> 
     1736<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; data set to subtract from the current one</td> 
     1737</tr> 
     1738<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data set</td> 
     1739</tr> 
     1740<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     1741<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">raised when two data sets are incompatible</td> 
     1742</tr> 
     1743</tbody> 
     1744</table> 
     1745</dd></dl> 
     1746 
     1747<dl class="attribute"> 
     1748<dt id="sans.guiframe.dataFitting.Theory1D.__weakref__"> 
     1749<tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D.__weakref__" title="Permalink to this definition">¶</a></dt> 
     1750<dd><p>list of weak references to the object (if defined)</p> 
     1751</dd></dl> 
     1752 
     1753<dl class="method"> 
     1754<dt id="sans.guiframe.dataFitting.Theory1D._perform_operation"> 
     1755<tt class="descname">_perform_operation</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D._perform_operation" title="Permalink to this definition">¶</a></dt> 
     1756<dd></dd></dl> 
     1757 
     1758<dl class="method"> 
     1759<dt id="sans.guiframe.dataFitting.Theory1D._validity_check"> 
     1760<tt class="descname">_validity_check</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D._validity_check" title="Permalink to this definition">¶</a></dt> 
     1761<dd><p>Checks that the data lengths are compatible. 
     1762Checks that the x vectors are compatible. 
     1763Returns errors vectors equal to original 
     1764errors vectors if they were present or vectors 
     1765of zeros when none was found.</p> 
     1766<table class="docutils field-list" frame="void" rules="none"> 
     1767<col class="field-name" /> 
     1768<col class="field-body" /> 
     1769<tbody valign="top"> 
     1770<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> &#8211; other data set for operation</td> 
     1771</tr> 
     1772<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">dy for self, dy for other [numpy arrays]</td> 
     1773</tr> 
     1774<tr class="field-odd field"><th class="field-name" colspan="2">Raises ValueError:</th></tr> 
     1775<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">when lengths are not compatible</td> 
     1776</tr> 
     1777</tbody> 
     1778</table> 
     1779</dd></dl> 
     1780 
     1781<dl class="attribute"> 
     1782<dt id="sans.guiframe.dataFitting.Theory1D._xaxis"> 
     1783<tt class="descname">_xaxis</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D._xaxis" title="Permalink to this definition">¶</a></dt> 
     1784<dd></dd></dl> 
     1785 
     1786<dl class="attribute"> 
     1787<dt id="sans.guiframe.dataFitting.Theory1D._xunit"> 
     1788<tt class="descname">_xunit</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D._xunit" title="Permalink to this definition">¶</a></dt> 
     1789<dd></dd></dl> 
     1790 
     1791<dl class="attribute"> 
     1792<dt id="sans.guiframe.dataFitting.Theory1D._yaxis"> 
     1793<tt class="descname">_yaxis</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D._yaxis" title="Permalink to this definition">¶</a></dt> 
     1794<dd></dd></dl> 
     1795 
     1796<dl class="attribute"> 
     1797<dt id="sans.guiframe.dataFitting.Theory1D._yunit"> 
     1798<tt class="descname">_yunit</tt><em class="property"> = ''</em><a class="headerlink" href="#sans.guiframe.dataFitting.Theory1D._yunit" title="Permalink to this definition">¶</a></dt> 
     1799<dd></dd></dl> 
    9371800 
    9381801<dl class="method"> 
    9391802<dt id="sans.guiframe.dataFitting.Theory1D.add_notes"> 
    940 <tt class="descclassname">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> 
    9411804<dd><p>Add notes to datainfo</p> 
    9421805</dd></dl> 
     
    9441807<dl class="method"> 
    9451808<dt id="sans.guiframe.dataFitting.Theory1D.append_empty_process"> 
    946 <tt class="descclassname">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> 
    9471810<dd></dd></dl> 
    9481811 
    9491812<dl class="method"> 
    9501813<dt id="sans.guiframe.dataFitting.Theory1D.changed"> 
    951 <tt class="descclassname">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> 
    9521815<dd></dd></dl> 
    9531816 
    9541817<dl class="method"> 
    9551818<dt id="sans.guiframe.dataFitting.Theory1D.check_data_PlottableX"> 
    956 <tt class="descclassname">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> 
    9571820<dd><p>Since no transformation is made for log10(x), check that  
    9581821no negative values is plot in log scale</p> 
     
    9611824<dl class="method"> 
    9621825<dt id="sans.guiframe.dataFitting.Theory1D.check_data_PlottableY"> 
    963 <tt class="descclassname">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> 
    9641827<dd><p>Since no transformation is made for log10(y), check that  
    9651828no negative values is plot in log scale</p> 
     
    9681831<dl class="method"> 
    9691832<dt id="sans.guiframe.dataFitting.Theory1D.clone_without_data"> 
    970 <tt class="descclassname">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> 
    9711834<dd><p>Clone the current object, without copying the data (which 
    9721835will be filled out by a subsequent operation). 
     
    9761839<col class="field-body" /> 
    9771840<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"> 
    9791842<li><strong>length</strong> &#8211; length of the data array to be initialized</li> 
    9801843<li><strong>clone</strong> &#8211; if provided, the data will be copied to clone</li> 
     
    9861849</dd></dl> 
    9871850 
     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 
    9881856<dl class="method"> 
    9891857<dt id="sans.guiframe.dataFitting.Theory1D.colors"> 
    990 <tt class="descclassname">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> 
    9911859<dd><p>Return the number of colors need to render the object</p> 
    9921860</dd></dl> 
     
    9941862<dl class="method"> 
    9951863<dt id="sans.guiframe.dataFitting.Theory1D.copy_from_datainfo"> 
    996 <tt class="descclassname">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> 
    9971865<dd><p>copy values of Data1D of type DataLaoder.Data_info</p> 
    9981866</dd></dl> 
    9991867 
     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 
    10001908<dl class="method"> 
    10011909<dt id="sans.guiframe.dataFitting.Theory1D.get_xaxis"> 
    1002 <tt class="descclassname">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> 
    10031911<dd><p>Return the units and name of x-axis</p> 
    10041912</dd></dl> 
     
    10061914<dl class="method"> 
    10071915<dt id="sans.guiframe.dataFitting.Theory1D.get_yaxis"> 
    1008 <tt class="descclassname">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> 
    10091917<dd><p>Return the units and name of y- axis</p> 
    10101918</dd></dl> 
    10111919 
     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 
    10121935<dl class="method"> 
    10131936<dt id="sans.guiframe.dataFitting.Theory1D.is_empty"> 
    1014 <tt class="descclassname">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> 
    10151938<dd><p>Returns True if there is no data stored in the plottable</p> 
    10161939</dd></dl> 
     
    10181941<dl class="method"> 
    10191942<dt id="sans.guiframe.dataFitting.Theory1D.is_slit_smeared"> 
    1020 <tt class="descclassname">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> 
    10211944<dd><p>Check whether the data has slit smearing information</p> 
    10221945<table class="docutils field-list" frame="void" rules="none"> 
     
    10241947<col class="field-body" /> 
    10251948<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> 
    10271950</tr> 
    10281951</tbody> 
     
    10321955<dl class="classmethod"> 
    10331956<dt id="sans.guiframe.dataFitting.Theory1D.labels"> 
    1034 <em class="property">classmethod </em><tt class="descclassname">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> 
    10351958<dd><p>Build a label mostly unique within a collection</p> 
    10361959</dd></dl> 
    10371960 
     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 
    10381981<dl class="method"> 
    10391982<dt id="sans.guiframe.dataFitting.Theory1D.onFitRange"> 
    1040 <tt class="descclassname">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> 
    10411984<dd><p>It limits View data range to plot from min to max</p> 
    10421985<table class="docutils field-list" frame="void" rules="none"> 
     
    10441987<col class="field-body" /> 
    10451988<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"> 
    10471990<li><strong>xmin</strong> &#8211; the minimum value of x to plot.</li> 
    10481991<li><strong>xmax</strong> &#8211; the maximum value of x to plot</li> 
     
    10561999<dl class="method"> 
    10572000<dt id="sans.guiframe.dataFitting.Theory1D.onReset"> 
    1058 <tt class="descclassname">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> 
    10592002<dd><p>Reset x, y, dx, dy view with its parameters</p> 
    10602003</dd></dl> 
    10612004 
     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 
    10622010<dl class="method"> 
    10632011<dt id="sans.guiframe.dataFitting.Theory1D.render"> 
    1064 <tt class="descclassname">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> 
    10652013<dd></dd></dl> 
    10662014 
    10672015<dl class="method"> 
    10682016<dt id="sans.guiframe.dataFitting.Theory1D.reset_view"> 
    1069 <tt class="descclassname">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> 
    10702018<dd><p>Reload view with new value to plot</p> 
    10712019</dd></dl> 
     
    10732021<dl class="method"> 
    10742022<dt id="sans.guiframe.dataFitting.Theory1D.returnValuesOfView"> 
    1075 <tt class="descclassname">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> 
    10762024<dd><p>Return View parameters and it is used by Fit Dialog</p> 
    10772025</dd></dl> 
    10782026 
     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 
    10792042<dl class="method"> 
    10802043<dt id="sans.guiframe.dataFitting.Theory1D.setLabel"> 
    1081 <tt class="descclassname">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> 
    10822045<dd><p>It takes a label of the x and y transformation and set View parameters</p> 
    10832046<table class="docutils field-list" frame="void" rules="none"> 
     
    10852048<col class="field-body" /> 
    10862049<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"> 
    10882051<li><strong>transx</strong> &#8211; The label of x transformation is sent by Properties Dialog</li> 
    10892052<li><strong>transy</strong> &#8211; The label of y transformation is sent Properties Dialog</li> 
     
    10972060<dl class="method"> 
    10982061<dt id="sans.guiframe.dataFitting.Theory1D.set_View"> 
    1099 <tt class="descclassname">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> 
    11002063<dd><p>Load View</p> 
    11012064</dd></dl> 
     
    11032066<dl class="method"> 
    11042067<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> 
    11062084<dd></dd></dl> 
    11072085 
    11082086<dl class="method"> 
    11092087<dt id="sans.guiframe.dataFitting.Theory1D.transformView"> 
    1110 <tt class="descclassname">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> 
    11112089<dd><p>It transforms x, y before displaying</p> 
    11122090</dd></dl> 
     
    11142092<dl class="method"> 
    11152093<dt id="sans.guiframe.dataFitting.Theory1D.transformX"> 
    1116 <tt class="descclassname">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> 
    11172095<dd><p>Receive pointers to function that transform x and dx  
    11182096and set corresponding View pointers</p> 
     
    11212099<col class="field-body" /> 
    11222100<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"> 
    11242102<li><strong>transx</strong> &#8211; pointer to function that transforms x</li> 
    11252103<li><strong>transdx</strong> &#8211; pointer to function that transforms dx</li> 
     
    11332111<dl class="method"> 
    11342112<dt id="sans.guiframe.dataFitting.Theory1D.transformY"> 
    1135 <tt class="descclassname">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> 
    11362114<dd><p>Receive pointers to function that transform y and dy  
    11372115and set corresponding View pointers</p> 
     
    11402118<col class="field-body" /> 
    11412119<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"> 
    11432121<li><strong>transy</strong> &#8211; pointer to function that transforms y</li> 
    11442122<li><strong>transdy</strong> &#8211; pointer to function that transforms dy</li> 
     
    11502128</dd></dl> 
    11512129 
     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 
    11522140<dl class="method"> 
    11532141<dt id="sans.guiframe.dataFitting.Theory1D.xaxis"> 
    1154 <tt class="descclassname">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> 
    11552143<dd><p>Set the name and unit of x_axis</p> 
    11562144<table class="docutils field-list" frame="void" rules="none"> 
     
    11582146<col class="field-body" /> 
    11592147<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"> 
    11612149<li><strong>name</strong> &#8211; the name of x-axis</li> 
    11622150<li><strong>units</strong> &#8211; the units of x_axis</li> 
     
    11682156</dd></dl> 
    11692157 
     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 
    11702168<dl class="method"> 
    11712169<dt id="sans.guiframe.dataFitting.Theory1D.yaxis"> 
    1172 <tt class="descclassname">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> 
    11732171<dd><p>Set the name and unit of y_axis</p> 
    11742172<table class="docutils field-list" frame="void" rules="none"> 
     
    11762174<col class="field-body" /> 
    11772175<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"> 
    11792177<li><strong>name</strong> &#8211; the name of y-axis</li> 
    11802178<li><strong>units</strong> &#8211; the units of y_axis</li> 
     
    11862184</dd></dl> 
    11872185 
     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> 
    11882192</dd></dl> 
    11892193 
     
    12002204  <ul> 
    12012205<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> 
    12032207</ul> 
    12042208</li> 
     
    12192223  <h3>Quick search</h3> 
    12202224    <form class="search" action="../search.html" method="get"> 
    1221       <input type="text" name="q" size="18" /> 
     2225      <input type="text" name="q" /> 
    12222226      <input type="submit" value="Go" /> 
    12232227      <input type="hidden" name="check_keywords" value="yes" /> 
     
    12482252          <a href="custom_pstats.html" title="custom_pstats" 
    12492253             >previous</a> |</li> 
    1250         <li><a href="../index.html">guiframe v0.1.0 documentation</a> &raquo;</li> 
     2254        <li><a href="../index.html">guiframe 0.1.0 documentation</a> &raquo;</li> 
    12512255          <li><a href="index.html" >Reference</a> &raquo;</li>  
    12522256      </ul> 
     
    12542258    <div class="footer"> 
    12552259        &copy; 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. 
    12572261    </div> 
    12582262  </body> 
Note: See TracChangeset for help on using the changeset viewer.