Index: sansinvariant/docs/sphinx/html/api/index.html
===================================================================
--- sansinvariant/docs/sphinx/html/api/index.html	(revision 67cd7c0f8b174d4a0d9f2e93ae72e1f39ed60d82)
+++ sansinvariant/docs/sphinx/html/api/index.html	(revision 67cd7c0f8b174d4a0d9f2e93ae72e1f39ed60d82)
@@ -0,0 +1,140 @@
+
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    
+    <title>Reference &mdash; invariant 0.1.0 documentation</title>
+    
+    <link rel="stylesheet" href="../_static/default.css" type="text/css" />
+    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
+    
+    <script type="text/javascript">
+      var DOCUMENTATION_OPTIONS = {
+        URL_ROOT:    '../',
+        VERSION:     '0.1.0',
+        COLLAPSE_INDEX: false,
+        FILE_SUFFIX: '.html',
+        HAS_SOURCE:  true
+      };
+    </script>
+    <script type="text/javascript" src="../_static/jquery.js"></script>
+    <script type="text/javascript" src="../_static/underscore.js"></script>
+    <script type="text/javascript" src="../_static/doctools.js"></script>
+    <link rel="top" title="invariant 0.1.0 documentation" href="../index.html" />
+    <link rel="next" title="invariant" href="invariant.html" />
+    <link rel="prev" title="Welcome to invariantâs documentation!" href="../index.html" /> 
+  </head>
+  <body>
+    <div class="related">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="../genindex.html" title="General Index"
+             accesskey="I">index</a></li>
+        <li class="right" >
+          <a href="../py-modindex.html" title="Python Module Index"
+             >modules</a> |</li>
+        <li class="right" >
+          <a href="invariant.html" title="invariant"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="../index.html" title="Welcome to invariantâs documentation!"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">invariant 0.1.0 documentation</a> &raquo;</li> 
+      </ul>
+    </div>  
+
+    <div class="document">
+      <div class="documentwrapper">
+        <div class="bodywrapper">
+          <div class="body">
+            
+  <div class="section" id="reference">
+<span id="api-index"></span><h1>Reference<a class="headerlink" href="#reference" title="Permalink to this headline">Â¶</a></h1>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Release:</th><td class="field-body">0.1.0</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Date:</th><td class="field-body">October 24, 2011</td>
+</tr>
+</tbody>
+</table>
+<div class="toctree-wrapper compound">
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="invariant.html">invariant</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="invariant.html#sans-invariant-invariant"><tt class="docutils literal"><span class="pre">sans.invariant.invariant</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="invariant_mapper.html">invariant_mapper</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="invariant_mapper.html#sans-invariant-invariant-mapper"><tt class="docutils literal"><span class="pre">sans.invariant.invariant_mapper</span></tt></a></li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+
+
+          </div>
+        </div>
+      </div>
+      <div class="sphinxsidebar">
+        <div class="sphinxsidebarwrapper">
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="../index.html"
+                        title="previous chapter">Welcome to invariant&#8217;s documentation!</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="invariant.html"
+                        title="next chapter">invariant</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/index.txt"
+           rel="nofollow">Show Source</a></li>
+  </ul>
+<div id="searchbox" style="display: none">
+  <h3>Quick search</h3>
+    <form class="search" action="../search.html" method="get">
+      <input type="text" name="q" />
+      <input type="submit" value="Go" />
+      <input type="hidden" name="check_keywords" value="yes" />
+      <input type="hidden" name="area" value="default" />
+    </form>
+    <p class="searchtip" style="font-size: 90%">
+    Enter search terms or a module, class or function name.
+    </p>
+</div>
+<script type="text/javascript">$('#searchbox').show(0);</script>
+        </div>
+      </div>
+      <div class="clearer"></div>
+    </div>
+    <div class="related">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="../genindex.html" title="General Index"
+             >index</a></li>
+        <li class="right" >
+          <a href="../py-modindex.html" title="Python Module Index"
+             >modules</a> |</li>
+        <li class="right" >
+          <a href="invariant.html" title="invariant"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="../index.html" title="Welcome to invariantâs documentation!"
+             >previous</a> |</li>
+        <li><a href="../index.html">invariant 0.1.0 documentation</a> &raquo;</li> 
+      </ul>
+    </div>
+    <div class="footer">
+        &copy; Copyright 2010, sans group.
+      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.
+    </div>
+  </body>
+</html>
Index: sansinvariant/docs/sphinx/html/api/invariant.html
===================================================================
--- sansinvariant/docs/sphinx/html/api/invariant.html	(revision 67cd7c0f8b174d4a0d9f2e93ae72e1f39ed60d82)
+++ sansinvariant/docs/sphinx/html/api/invariant.html	(revision 67cd7c0f8b174d4a0d9f2e93ae72e1f39ed60d82)
@@ -0,0 +1,1244 @@
+
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    
+    <title>invariant &mdash; invariant 0.1.0 documentation</title>
+    
+    <link rel="stylesheet" href="../_static/default.css" type="text/css" />
+    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
+    
+    <script type="text/javascript">
+      var DOCUMENTATION_OPTIONS = {
+        URL_ROOT:    '../',
+        VERSION:     '0.1.0',
+        COLLAPSE_INDEX: false,
+        FILE_SUFFIX: '.html',
+        HAS_SOURCE:  true
+      };
+    </script>
+    <script type="text/javascript" src="../_static/jquery.js"></script>
+    <script type="text/javascript" src="../_static/underscore.js"></script>
+    <script type="text/javascript" src="../_static/doctools.js"></script>
+    <link rel="top" title="invariant 0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="invariant_mapper" href="invariant_mapper.html" />
+    <link rel="prev" title="Reference" href="index.html" /> 
+  </head>
+  <body>
+    <div class="related">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="../genindex.html" title="General Index"
+             accesskey="I">index</a></li>
+        <li class="right" >
+          <a href="../py-modindex.html" title="Python Module Index"
+             >modules</a> |</li>
+        <li class="right" >
+          <a href="invariant_mapper.html" title="invariant_mapper"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="index.html" title="Reference"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">invariant 0.1.0 documentation</a> &raquo;</li>
+          <li><a href="index.html" accesskey="U">Reference</a> &raquo;</li> 
+      </ul>
+    </div>  
+
+    <div class="document">
+      <div class="documentwrapper">
+        <div class="bodywrapper">
+          <div class="body">
+            
+  <div class="section" id="invariant">
+<h1>invariant<a class="headerlink" href="#invariant" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="sans-invariant-invariant">
+<h2><a class="reference internal" href="#module-sans.invariant.invariant" title="sans.invariant.invariant"><tt class="xref py py-mod docutils literal"><span class="pre">sans.invariant.invariant</span></tt></a><a class="headerlink" href="#sans-invariant-invariant" title="Permalink to this headline">Â¶</a></h2>
+<span class="target" id="module-sans.invariant.invariant"></span><p>This module implements invariant and its related computations.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">author:</th><td class="field-body">Gervaise B. Alina/UTK</td>
+</tr>
+<tr class="field-even field"><th class="field-name">author:</th><td class="field-body">Mathieu Doucet/UTK</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">author:</th><td class="field-body">Jae Cho/UTK</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.invariant.invariant.Extrapolator">
+<em class="property">class </em><tt class="descclassname">sans.invariant.invariant.</tt><tt class="descname">Extrapolator</tt><a class="headerlink" href="#sans.invariant.invariant.Extrapolator" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Extrapolate I(q) distribution using a given model</p>
+<dl class="method">
+<dt id="sans.invariant.invariant.Extrapolator.__init__">
+<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.Extrapolator.__init__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Determine a and b given a linear equation y = ax + b</p>
+<p>If a model is given, it will be used to linearize the data before 
+the extrapolation is performed. If None,
+a simple linear fit will be done.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>data</strong> &#8211; data containing x and y  such as  y = ax + b</li>
+<li><strong>model</strong> &#8211; optional Transform object</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.Extrapolator.__module__">
+<tt class="descname">__module__</tt><em class="property"> = 'sans.invariant.invariant'</em><a class="headerlink" href="#sans.invariant.invariant.Extrapolator.__module__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.Extrapolator.fit">
+<tt class="descname">fit</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.Extrapolator.fit" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Fit data for y = ax + b  return a and b</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>power</strong> &#8211; a fixed, otherwise None</li>
+<li><strong>qmin</strong> &#8211; Minimum Q-value</li>
+<li><strong>qmax</strong> &#8211; Maximum Q-value</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="sans.invariant.invariant.Guinier">
+<em class="property">class </em><tt class="descclassname">sans.invariant.invariant.</tt><tt class="descname">Guinier</tt><a class="headerlink" href="#sans.invariant.invariant.Guinier" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="#sans.invariant.invariant.Transform" title="sans.invariant.invariant.Transform"><tt class="xref py py-class docutils literal"><span class="pre">sans.invariant.invariant.Transform</span></tt></a></p>
+<p>class of type Transform that performs operations related to guinier 
+function</p>
+<dl class="attribute">
+<dt id="sans.invariant.invariant.Guinier.__class__">
+<tt class="descname">__class__</tt><a class="headerlink" href="#sans.invariant.invariant.Guinier.__class__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.Guinier.__delattr__">
+<tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.invariant.invariant.Guinier.__delattr__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.Guinier.__dict__">
+<tt class="descname">__dict__</tt><em class="property"> = &lt;dictproxy object at 0x0202B090&gt;</em><a class="headerlink" href="#sans.invariant.invariant.Guinier.__dict__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.Guinier.__getattribute__">
+<tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.invariant.invariant.Guinier.__getattribute__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.Guinier.__hash__">
+<tt class="descname">__hash__</tt><a class="headerlink" href="#sans.invariant.invariant.Guinier.__hash__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__hash__() &lt;==&gt; hash(x)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.Guinier.__init__">
+<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.Guinier.__init__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.Guinier.__module__">
+<tt class="descname">__module__</tt><em class="property"> = 'sans.invariant.invariant'</em><a class="headerlink" href="#sans.invariant.invariant.Guinier.__module__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="staticmethod">
+<dt id="sans.invariant.invariant.Guinier.__new__">
+<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.invariant.invariant.Guinier.__new__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.Guinier.__reduce__">
+<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.Guinier.__reduce__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.Guinier.__reduce_ex__">
+<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.Guinier.__reduce_ex__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.Guinier.__repr__">
+<tt class="descname">__repr__</tt><a class="headerlink" href="#sans.invariant.invariant.Guinier.__repr__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__repr__() &lt;==&gt; repr(x)</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.Guinier.__setattr__">
+<tt class="descname">__setattr__</tt><a class="headerlink" href="#sans.invariant.invariant.Guinier.__setattr__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.Guinier.__str__">
+<tt class="descname">__str__</tt><a class="headerlink" href="#sans.invariant.invariant.Guinier.__str__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__str__() &lt;==&gt; str(x)</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.Guinier.__weakref__">
+<tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.invariant.invariant.Guinier.__weakref__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>list of weak references to the object (if defined)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.Guinier._guinier">
+<tt class="descname">_guinier</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.Guinier._guinier" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Retrive the guinier function after apply an inverse guinier function
+to x
+Compute a F(x) = scale* e-((radius*x)**2/3).</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>x</strong> &#8211; a vector of q values</li>
+<li><strong>scale</strong> &#8211; the scale value</li>
+<li><strong>radius</strong> &#8211; the guinier radius value</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">F(x)</p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.Guinier.evaluate_model">
+<tt class="descname">evaluate_model</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.Guinier.evaluate_model" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>return F(x)= scale* e-((radius*x)**2/3)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.Guinier.evaluate_model_errors">
+<tt class="descname">evaluate_model_errors</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.Guinier.evaluate_model_errors" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns the error on I(q) for the given array of q-values</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; array of q-values</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.Guinier.extract_model_parameters">
+<tt class="descname">extract_model_parameters</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.Guinier.extract_model_parameters" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>assign new value to the scale and the radius</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.Guinier.get_allowed_bins">
+<tt class="descname">get_allowed_bins</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.Guinier.get_allowed_bins" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Goes through the data points and returns a list of boolean values
+to indicate whether each points is allowed by the model or not.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>data</strong> &#8211; Data1D object</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.Guinier.linearize_data">
+<tt class="descname">linearize_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.Guinier.linearize_data" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Linearize data so that a linear fit can be performed. 
+Filter out the data that can&#8217;t be transformed.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>data</strong> &#8211; LoadData1D instance</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.Guinier.linearize_q_value">
+<tt class="descname">linearize_q_value</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.Guinier.linearize_q_value" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Transform the input q-value for linearization</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>value</strong> &#8211; q-value</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">q*q</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="sans.invariant.invariant.InvariantCalculator">
+<em class="property">class </em><tt class="descclassname">sans.invariant.invariant.</tt><tt class="descname">InvariantCalculator</tt><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p>
+<p>Compute invariant if data is given.
+Can provide volume fraction and surface area if the user provides
+Porod constant  and contrast values.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Precondition :</th><td class="field-body">the user must send a data of type DataLoader.Data1D
+the user provide background and scale values.</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Note :</th><td class="field-body">Some computations depends on each others.</td>
+</tr>
+</tbody>
+</table>
+<dl class="attribute">
+<dt id="sans.invariant.invariant.InvariantCalculator.__class__">
+<tt class="descname">__class__</tt><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator.__class__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.InvariantCalculator.__delattr__">
+<tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator.__delattr__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.InvariantCalculator.__dict__">
+<tt class="descname">__dict__</tt><em class="property"> = &lt;dictproxy object at 0x0202B2F0&gt;</em><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator.__dict__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.InvariantCalculator.__getattribute__">
+<tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator.__getattribute__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.InvariantCalculator.__hash__">
+<tt class="descname">__hash__</tt><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator.__hash__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__hash__() &lt;==&gt; hash(x)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.InvariantCalculator.__init__">
+<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator.__init__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Initialize variables.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>data</strong> &#8211; data must be of type DataLoader.Data1D</li>
+<li><strong>background</strong> &#8211; Background value. The data will be corrected 
+before processing</li>
+<li><strong>scale</strong> &#8211; Scaling factor for I(q). The data will be corrected
+before processing</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.InvariantCalculator.__module__">
+<tt class="descname">__module__</tt><em class="property"> = 'sans.invariant.invariant'</em><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator.__module__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="staticmethod">
+<dt id="sans.invariant.invariant.InvariantCalculator.__new__">
+<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.invariant.invariant.InvariantCalculator.__new__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.InvariantCalculator.__reduce__">
+<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator.__reduce__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.InvariantCalculator.__reduce_ex__">
+<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator.__reduce_ex__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.InvariantCalculator.__repr__">
+<tt class="descname">__repr__</tt><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator.__repr__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__repr__() &lt;==&gt; repr(x)</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.InvariantCalculator.__setattr__">
+<tt class="descname">__setattr__</tt><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator.__setattr__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.InvariantCalculator.__str__">
+<tt class="descname">__str__</tt><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator.__str__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__str__() &lt;==&gt; str(x)</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.InvariantCalculator.__weakref__">
+<tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator.__weakref__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>list of weak references to the object (if defined)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.InvariantCalculator._fit">
+<tt class="descname">_fit</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator._fit" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>fit data with function using 
+data = self._get_data()
+fx = Functor(data , function)
+y = data.y
+slope, constant = linalg.lstsq(y,fx)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>qmin</strong> &#8211; data first q value to consider during the fit</li>
+<li><strong>qmax</strong> &#8211; data last q value to consider during the fit</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+<p>:param power : power value to consider for power-law 
+:param function: the function to use during the fit</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Return a:</th><td class="field-body">the scale of the function</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Return b:</th><td class="field-body">the other parameter of the function for guinier will be radius
+for power_law will be the power value</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.InvariantCalculator._get_data">
+<tt class="descname">_get_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator._get_data" title="Permalink to this definition">Â¶</a></dt>
+<dd><table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Note :</th><td class="field-body">this function must be call before computing any type
+of invariant</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new data = self._scale <a href="#id1"><span class="problematic" id="id2">*</span></a>data - self._background</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.InvariantCalculator._get_extrapolated_data">
+<tt class="descname">_get_extrapolated_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator._get_extrapolated_data" title="Permalink to this definition">Â¶</a></dt>
+<dd><table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">extrapolate data create from data</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.InvariantCalculator._get_qstar">
+<tt class="descname">_get_qstar</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator._get_qstar" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Compute invariant for pinhole data.
+This invariant is given by:</p>
+<div class="highlight-python"><pre>q_star = x0**2 *y0 *dx0 +x1**2 *y1 *dx1 
+            + ..+ xn**2 *yn *dxn    for non smeared data
+            
+q_star = dxl0 *x0 *y0 *dx0 +dxl1 *x1 *y1 *dx1 
+            + ..+ dlxn *xn *yn *dxn    for smeared data
+            
+where n &gt;= len(data.x)-1
+dxl = slit height dQl
+dxi = 1/2*(xi+1 - xi) + (xi - xi-1)
+dx0 = (x1 - x0)/2
+dxn = (xn - xn-1)/2</pre>
+</div>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>data</strong> &#8211; the data to use to compute invariant.</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Return q_star:</th><td class="field-body">invariant value for pinhole data. q_star &gt; 0</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.InvariantCalculator._get_qstar_uncertainty">
+<tt class="descname">_get_qstar_uncertainty</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator._get_qstar_uncertainty" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Compute invariant uncertainty with with pinhole data.
+This uncertainty is given as follow:</p>
+<div class="highlight-python"><pre>dq_star = math.sqrt[(x0**2*(dy0)*dx0)**2 +
+     (x1**2 *(dy1)*dx1)**2 + ..+ (xn**2 *(dyn)*dxn)**2 ]</pre>
+</div>
+<p>where n &gt;= len(data.x)-1
+dxi = 1/2*(xi+1 - xi) + (xi - xi-1)
+dx0 = (x1 - x0)/2
+dxn = (xn - xn-1)/2
+dyn: error on dy</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>data</strong> &#8211; </td>
+</tr>
+<tr class="field-even field"><th class="field-name">Note :</th><td class="field-body">if data doesn&#8217;t contain dy assume dy= math.sqrt(data.y)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.InvariantCalculator.get_data">
+<tt class="descname">get_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator.get_data" title="Permalink to this definition">Â¶</a></dt>
+<dd><table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">self._data</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.InvariantCalculator.get_extra_data_high">
+<tt class="descname">get_extra_data_high</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator.get_extra_data_high" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns the extrapolated data used for the high-Q invariant calculation.
+By default, the distribution will cover the data points used for the 
+extrapolation. The number of overlap points is a parameter (npts_in).
+By default, the maximum q-value of the distribution will be Q_MAXIMUM, 
+the maximum q-value used when extrapolating for the purpose of the 
+invariant calculation.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>npts_in</strong> &#8211; number of data points for which the
+extrapolated data overlap</li>
+<li><strong>q_end</strong> &#8211; is the maximum value to uses for extrapolated data</li>
+<li><strong>npts</strong> &#8211; the number of points in the extrapolated distribution</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.InvariantCalculator.get_extra_data_low">
+<tt class="descname">get_extra_data_low</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator.get_extra_data_low" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns the extrapolated data used for the loew-Q invariant calculation.
+By default, the distribution will cover the data points used for the 
+extrapolation. The number of overlap points is a parameter (npts_in).
+By default, the maximum q-value of the distribution will be  
+the minimum q-value used when extrapolating for the purpose of the 
+invariant calculation.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>npts_in</strong> &#8211; number of data points for which
+the extrapolated data overlap</li>
+<li><strong>q_start</strong> &#8211; is the minimum value to uses for extrapolated data</li>
+<li><strong>npts</strong> &#8211; the number of points in the extrapolated distribution</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.InvariantCalculator.get_extrapolation_power">
+<tt class="descname">get_extrapolation_power</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator.get_extrapolation_power" title="Permalink to this definition">Â¶</a></dt>
+<dd><table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">the fitted power for power law function for a given</td>
+</tr>
+</tbody>
+</table>
+<p>extrapolation range</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.InvariantCalculator.get_qstar">
+<tt class="descname">get_qstar</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator.get_qstar" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Compute the invariant of the local copy of data.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>extrapolation</strong> &#8211; string to apply optional extrapolation</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Return q_star:</th><td class="field-body">invariant of the data within data&#8217;s q range</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">Warning :</th><td class="field-body">When using setting data to Data1D ,
+the user is responsible of
+checking that the scale and the background are
+properly apply to the data</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.InvariantCalculator.get_qstar_high">
+<tt class="descname">get_qstar_high</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator.get_qstar_high" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Compute the invariant for extrapolated data at high q range.</p>
+<dl class="docutils">
+<dt>Implementation:</dt>
+<dd>data = self._get_extra_data_high()
+return self._get_qstar()</dd>
+</dl>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Return q_star:</th><td class="field-body">the invariant for data extrapolated at high q.</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.InvariantCalculator.get_qstar_low">
+<tt class="descname">get_qstar_low</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator.get_qstar_low" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Compute the invariant for extrapolated data at low q range.</p>
+<dl class="docutils">
+<dt>Implementation:</dt>
+<dd>data = self._get_extra_data_low()
+return self._get_qstar()</dd>
+</dl>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Return q_star:</th><td class="field-body">the invariant for data extrapolated at low q.</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.InvariantCalculator.get_qstar_with_error">
+<tt class="descname">get_qstar_with_error</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator.get_qstar_with_error" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Compute the invariant uncertainty.
+This uncertainty computation depends on whether or not the data is
+smeared.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>extrapolation</strong> &#8211; string to apply optional extrapolation</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">invariant, the invariant uncertainty</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.InvariantCalculator.get_surface">
+<tt class="descname">get_surface</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator.get_surface" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Compute the specific surface from the data.</p>
+<p>Implementation:</p>
+<div class="highlight-python"><pre>V =  self.get_volume_fraction(contrast, extrapolation)
+
+Compute the surface given by:
+  surface = (2*pi *V(1- V)*porod_const)/ q_star</pre>
+</div>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>contrast</strong> &#8211; contrast value to compute the volume</li>
+<li><strong>porod_const</strong> &#8211; Porod constant to compute the surface</li>
+<li><strong>extrapolation</strong> &#8211; string to apply optional extrapolation</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">specific surface</p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.InvariantCalculator.get_surface_with_error">
+<tt class="descname">get_surface_with_error</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator.get_surface_with_error" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Compute uncertainty of the surface value as well as the surface value.
+The uncertainty is given as follow:</p>
+<div class="highlight-python"><pre>dS = porod_const *2*pi[( dV -2*V*dV)/q_star
+     + dq_star(v-v**2)
+     
+q_star: the invariant value
+dq_star: the invariant uncertainty
+V: the volume fraction value
+dV: the volume uncertainty</pre>
+</div>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>contrast</strong> &#8211; contrast value</li>
+<li><strong>porod_const</strong> &#8211; porod constant value</li>
+<li><strong>extrapolation</strong> &#8211; string to apply optional extrapolation</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Return S, dS:</th><td class="field-body"><p class="first last">the surface, with its uncertainty</p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.InvariantCalculator.get_volume_fraction">
+<tt class="descname">get_volume_fraction</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator.get_volume_fraction" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Compute volume fraction is deduced as follow:</p>
+<div class="highlight-python"><pre>q_star = 2*(pi*contrast)**2* volume( 1- volume)
+for k = 10^(-8)*q_star/(2*(pi*|contrast|)**2)
+we get 2 values of volume:
+     with   1 - 4 * k &gt;= 0
+     volume1 = (1- sqrt(1- 4*k))/2
+     volume2 = (1+ sqrt(1- 4*k))/2
+
+q_star: the invariant value included extrapolation is applied
+             unit  1/A^(3)*1/cm
+        q_star = self.get_qstar()
+        
+the result returned will be 0 &lt;= volume &lt;= 1</pre>
+</div>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>contrast</strong> &#8211; contrast value provides by the user of type float.
+contrast unit is 1/A^(2)= 10^(16)cm^(2)</li>
+<li><strong>extrapolation</strong> &#8211; string to apply optional extrapolation</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">volume fraction</p>
+</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">Note :</th><td class="field-body"><p class="first last">volume fraction must have no unit</p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.InvariantCalculator.get_volume_fraction_with_error">
+<tt class="descname">get_volume_fraction_with_error</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator.get_volume_fraction_with_error" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Compute uncertainty on volume value as well as the volume fraction
+This uncertainty is given by the following equation:</p>
+<div class="highlight-python"><pre>dV = 0.5 * (4*k* dq_star) /(2* math.sqrt(1-k* q_star))
+                     
+for k = 10^(-8)*q_star/(2*(pi*|contrast|)**2)
+
+q_star: the invariant value including extrapolated value if existing
+dq_star: the invariant uncertainty
+dV: the volume uncertainty</pre>
+</div>
+<p>The uncertainty will be set to -1 if it can&#8217;t be computed.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>contrast</strong> &#8211; contrast value</li>
+<li><strong>extrapolation</strong> &#8211; string to apply optional extrapolation</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">V, dV = volume fraction, error on volume fraction</p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.InvariantCalculator.set_extrapolation">
+<tt class="descname">set_extrapolation</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.InvariantCalculator.set_extrapolation" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the extrapolation parameters for the high or low Q-range.
+Note that this does not turn extrapolation on or off.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>range</strong> &#8211; a keyword set the type of extrapolation . type string</li>
+<li><strong>npts</strong> &#8211; the numbers of q points of data to consider
+for extrapolation</li>
+<li><strong>function</strong> &#8211; a keyword to select the function to use
+for extrapolation.
+of type string.</li>
+<li><strong>power</strong> &#8211; an power to apply power_low function</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="sans.invariant.invariant.PowerLaw">
+<em class="property">class </em><tt class="descclassname">sans.invariant.invariant.</tt><tt class="descname">PowerLaw</tt><a class="headerlink" href="#sans.invariant.invariant.PowerLaw" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="#sans.invariant.invariant.Transform" title="sans.invariant.invariant.Transform"><tt class="xref py py-class docutils literal"><span class="pre">sans.invariant.invariant.Transform</span></tt></a></p>
+<p>class of type transform that perform operation related to power_law 
+function</p>
+<dl class="attribute">
+<dt id="sans.invariant.invariant.PowerLaw.__class__">
+<tt class="descname">__class__</tt><a class="headerlink" href="#sans.invariant.invariant.PowerLaw.__class__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.PowerLaw.__delattr__">
+<tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.invariant.invariant.PowerLaw.__delattr__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.PowerLaw.__dict__">
+<tt class="descname">__dict__</tt><em class="property"> = &lt;dictproxy object at 0x01FC3EF0&gt;</em><a class="headerlink" href="#sans.invariant.invariant.PowerLaw.__dict__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.PowerLaw.__getattribute__">
+<tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.invariant.invariant.PowerLaw.__getattribute__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.PowerLaw.__hash__">
+<tt class="descname">__hash__</tt><a class="headerlink" href="#sans.invariant.invariant.PowerLaw.__hash__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__hash__() &lt;==&gt; hash(x)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.PowerLaw.__init__">
+<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.PowerLaw.__init__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.PowerLaw.__module__">
+<tt class="descname">__module__</tt><em class="property"> = 'sans.invariant.invariant'</em><a class="headerlink" href="#sans.invariant.invariant.PowerLaw.__module__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="staticmethod">
+<dt id="sans.invariant.invariant.PowerLaw.__new__">
+<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.invariant.invariant.PowerLaw.__new__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.PowerLaw.__reduce__">
+<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.PowerLaw.__reduce__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.PowerLaw.__reduce_ex__">
+<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.PowerLaw.__reduce_ex__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.PowerLaw.__repr__">
+<tt class="descname">__repr__</tt><a class="headerlink" href="#sans.invariant.invariant.PowerLaw.__repr__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__repr__() &lt;==&gt; repr(x)</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.PowerLaw.__setattr__">
+<tt class="descname">__setattr__</tt><a class="headerlink" href="#sans.invariant.invariant.PowerLaw.__setattr__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.PowerLaw.__str__">
+<tt class="descname">__str__</tt><a class="headerlink" href="#sans.invariant.invariant.PowerLaw.__str__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__str__() &lt;==&gt; str(x)</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.PowerLaw.__weakref__">
+<tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.invariant.invariant.PowerLaw.__weakref__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>list of weak references to the object (if defined)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.PowerLaw._power_law">
+<tt class="descname">_power_law</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.PowerLaw._power_law" title="Permalink to this definition">Â¶</a></dt>
+<dd><dl class="docutils">
+<dt>F(x) = scale* (x)^(-power)</dt>
+<dd>when power= 4. the model is porod 
+else power_law</dd>
+<dt>The model has three parameters: ::</dt>
+<dd><ol class="first last arabic simple">
+<li>x: a vector of q values</li>
+<li>power: power of the function</li>
+<li>scale : scale factor value</li>
+</ol>
+</dd>
+</dl>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; array</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">F(x)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.PowerLaw.evaluate_model">
+<tt class="descname">evaluate_model</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.PowerLaw.evaluate_model" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>given a scale and a radius transform x, y using a power_law
+function</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.PowerLaw.evaluate_model_errors">
+<tt class="descname">evaluate_model_errors</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.PowerLaw.evaluate_model_errors" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns the error on I(q) for the given array of q-values
+:param x: array of q-values</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.PowerLaw.extract_model_parameters">
+<tt class="descname">extract_model_parameters</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.PowerLaw.extract_model_parameters" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Assign new value to the scale and the power</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.PowerLaw.get_allowed_bins">
+<tt class="descname">get_allowed_bins</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.PowerLaw.get_allowed_bins" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Goes through the data points and returns a list of boolean values
+to indicate whether each points is allowed by the model or not.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>data</strong> &#8211; Data1D object</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.PowerLaw.linearize_data">
+<tt class="descname">linearize_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.PowerLaw.linearize_data" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Linearize data so that a linear fit can be performed. 
+Filter out the data that can&#8217;t be transformed.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>data</strong> &#8211; LoadData1D instance</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.PowerLaw.linearize_q_value">
+<tt class="descname">linearize_q_value</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.PowerLaw.linearize_q_value" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Transform the input q-value for linearization</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>value</strong> &#8211; q-value</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">log(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="sans.invariant.invariant.Transform">
+<em class="property">class </em><tt class="descclassname">sans.invariant.invariant.</tt><tt class="descname">Transform</tt><a class="headerlink" href="#sans.invariant.invariant.Transform" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p>
+<p>Define interface that need to compute a function or an inverse
+function given some x, y</p>
+<dl class="attribute">
+<dt id="sans.invariant.invariant.Transform.__class__">
+<tt class="descname">__class__</tt><a class="headerlink" href="#sans.invariant.invariant.Transform.__class__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.Transform.__delattr__">
+<tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.invariant.invariant.Transform.__delattr__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.Transform.__dict__">
+<tt class="descname">__dict__</tt><em class="property"> = &lt;dictproxy object at 0x02041A70&gt;</em><a class="headerlink" href="#sans.invariant.invariant.Transform.__dict__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.Transform.__getattribute__">
+<tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.invariant.invariant.Transform.__getattribute__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.Transform.__hash__">
+<tt class="descname">__hash__</tt><a class="headerlink" href="#sans.invariant.invariant.Transform.__hash__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__hash__() &lt;==&gt; hash(x)</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.Transform.__init__">
+<tt class="descname">__init__</tt><a class="headerlink" href="#sans.invariant.invariant.Transform.__init__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__init__(...) initializes x; see x.__class__.__doc__ for signature</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.Transform.__module__">
+<tt class="descname">__module__</tt><em class="property"> = 'sans.invariant.invariant'</em><a class="headerlink" href="#sans.invariant.invariant.Transform.__module__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="staticmethod">
+<dt id="sans.invariant.invariant.Transform.__new__">
+<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.invariant.invariant.Transform.__new__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.Transform.__reduce__">
+<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.Transform.__reduce__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.Transform.__reduce_ex__">
+<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.Transform.__reduce_ex__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.Transform.__repr__">
+<tt class="descname">__repr__</tt><a class="headerlink" href="#sans.invariant.invariant.Transform.__repr__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__repr__() &lt;==&gt; repr(x)</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.Transform.__setattr__">
+<tt class="descname">__setattr__</tt><a class="headerlink" href="#sans.invariant.invariant.Transform.__setattr__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.Transform.__str__">
+<tt class="descname">__str__</tt><a class="headerlink" href="#sans.invariant.invariant.Transform.__str__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__str__() &lt;==&gt; str(x)</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.invariant.invariant.Transform.__weakref__">
+<tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.invariant.invariant.Transform.__weakref__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>list of weak references to the object (if defined)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.Transform.evaluate_model">
+<tt class="descname">evaluate_model</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.Transform.evaluate_model" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns an array f(x) values where f is the Transform function.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.Transform.evaluate_model_errors">
+<tt class="descname">evaluate_model_errors</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.Transform.evaluate_model_errors" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns an array of I(q) errors</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.Transform.extract_model_parameters">
+<tt class="descname">extract_model_parameters</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.Transform.extract_model_parameters" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>set private member</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.Transform.get_allowed_bins">
+<tt class="descname">get_allowed_bins</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.Transform.get_allowed_bins" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Goes through the data points and returns a list of boolean values
+to indicate whether each points is allowed by the model or not.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>data</strong> &#8211; Data1D object</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.Transform.linearize_data">
+<tt class="descname">linearize_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.Transform.linearize_data" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Linearize data so that a linear fit can be performed. 
+Filter out the data that can&#8217;t be transformed.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>data</strong> &#8211; LoadData1D instance</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.invariant.invariant.Transform.linearize_q_value">
+<tt class="descname">linearize_q_value</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant.Transform.linearize_q_value" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Transform the input q-value for linearization</p>
+</dd></dl>
+
+</dd></dl>
+
+</div>
+</div>
+
+
+          </div>
+        </div>
+      </div>
+      <div class="sphinxsidebar">
+        <div class="sphinxsidebarwrapper">
+  <h3><a href="../index.html">Table Of Contents</a></h3>
+  <ul>
+<li><a class="reference internal" href="#">invariant</a><ul>
+<li><a class="reference internal" href="#sans-invariant-invariant"><tt class="docutils literal"><span class="pre">sans.invariant.invariant</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="index.html"
+                        title="previous chapter">Reference</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="invariant_mapper.html"
+                        title="next chapter">invariant_mapper</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/invariant.txt"
+           rel="nofollow">Show Source</a></li>
+  </ul>
+<div id="searchbox" style="display: none">
+  <h3>Quick search</h3>
+    <form class="search" action="../search.html" method="get">
+      <input type="text" name="q" />
+      <input type="submit" value="Go" />
+      <input type="hidden" name="check_keywords" value="yes" />
+      <input type="hidden" name="area" value="default" />
+    </form>
+    <p class="searchtip" style="font-size: 90%">
+    Enter search terms or a module, class or function name.
+    </p>
+</div>
+<script type="text/javascript">$('#searchbox').show(0);</script>
+        </div>
+      </div>
+      <div class="clearer"></div>
+    </div>
+    <div class="related">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="../genindex.html" title="General Index"
+             >index</a></li>
+        <li class="right" >
+          <a href="../py-modindex.html" title="Python Module Index"
+             >modules</a> |</li>
+        <li class="right" >
+          <a href="invariant_mapper.html" title="invariant_mapper"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="index.html" title="Reference"
+             >previous</a> |</li>
+        <li><a href="../index.html">invariant 0.1.0 documentation</a> &raquo;</li>
+          <li><a href="index.html" >Reference</a> &raquo;</li> 
+      </ul>
+    </div>
+    <div class="footer">
+        &copy; Copyright 2010, sans group.
+      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.
+    </div>
+  </body>
+</html>
Index: sansinvariant/docs/sphinx/html/api/invariant_mapper.html
===================================================================
--- sansinvariant/docs/sphinx/html/api/invariant_mapper.html	(revision 67cd7c0f8b174d4a0d9f2e93ae72e1f39ed60d82)
+++ sansinvariant/docs/sphinx/html/api/invariant_mapper.html	(revision 67cd7c0f8b174d4a0d9f2e93ae72e1f39ed60d82)
@@ -0,0 +1,160 @@
+
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    
+    <title>invariant_mapper &mdash; invariant 0.1.0 documentation</title>
+    
+    <link rel="stylesheet" href="../_static/default.css" type="text/css" />
+    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
+    
+    <script type="text/javascript">
+      var DOCUMENTATION_OPTIONS = {
+        URL_ROOT:    '../',
+        VERSION:     '0.1.0',
+        COLLAPSE_INDEX: false,
+        FILE_SUFFIX: '.html',
+        HAS_SOURCE:  true
+      };
+    </script>
+    <script type="text/javascript" src="../_static/jquery.js"></script>
+    <script type="text/javascript" src="../_static/underscore.js"></script>
+    <script type="text/javascript" src="../_static/doctools.js"></script>
+    <link rel="top" title="invariant 0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="prev" title="invariant" href="invariant.html" /> 
+  </head>
+  <body>
+    <div class="related">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="../genindex.html" title="General Index"
+             accesskey="I">index</a></li>
+        <li class="right" >
+          <a href="../py-modindex.html" title="Python Module Index"
+             >modules</a> |</li>
+        <li class="right" >
+          <a href="invariant.html" title="invariant"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">invariant 0.1.0 documentation</a> &raquo;</li>
+          <li><a href="index.html" accesskey="U">Reference</a> &raquo;</li> 
+      </ul>
+    </div>  
+
+    <div class="document">
+      <div class="documentwrapper">
+        <div class="bodywrapper">
+          <div class="body">
+            
+  <div class="section" id="invariant-mapper">
+<h1>invariant_mapper<a class="headerlink" href="#invariant-mapper" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="sans-invariant-invariant-mapper">
+<h2><a class="reference internal" href="#module-sans.invariant.invariant_mapper" title="sans.invariant.invariant_mapper"><tt class="xref py py-mod docutils literal"><span class="pre">sans.invariant.invariant_mapper</span></tt></a><a class="headerlink" href="#sans-invariant-invariant-mapper" title="Permalink to this headline">Â¶</a></h2>
+<span class="target" id="module-sans.invariant.invariant_mapper"></span><p>This module is a wrapper to a map function. It allows to loop through 
+different invariant objects to call the same function</p>
+<dl class="function">
+<dt id="sans.invariant.invariant_mapper.get_qstar">
+<tt class="descclassname">sans.invariant.invariant_mapper.</tt><tt class="descname">get_qstar</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant_mapper.get_qstar" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Get invariant value (Q*)</p>
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.invariant.invariant_mapper.get_qstar_with_error">
+<tt class="descclassname">sans.invariant.invariant_mapper.</tt><tt class="descname">get_qstar_with_error</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant_mapper.get_qstar_with_error" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Get invariant value with uncertainty</p>
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.invariant.invariant_mapper.get_surface">
+<tt class="descclassname">sans.invariant.invariant_mapper.</tt><tt class="descname">get_surface</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant_mapper.get_surface" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Get surface with uncertainty</p>
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.invariant.invariant_mapper.get_surface_with_error">
+<tt class="descclassname">sans.invariant.invariant_mapper.</tt><tt class="descname">get_surface_with_error</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant_mapper.get_surface_with_error" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Get surface with uncertainty</p>
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.invariant.invariant_mapper.get_volume_fraction">
+<tt class="descclassname">sans.invariant.invariant_mapper.</tt><tt class="descname">get_volume_fraction</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant_mapper.get_volume_fraction" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Get volume fraction</p>
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.invariant.invariant_mapper.get_volume_fraction_with_error">
+<tt class="descclassname">sans.invariant.invariant_mapper.</tt><tt class="descname">get_volume_fraction_with_error</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.invariant.invariant_mapper.get_volume_fraction_with_error" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Get volume fraction with uncertainty</p>
+</dd></dl>
+
+</div>
+</div>
+
+
+          </div>
+        </div>
+      </div>
+      <div class="sphinxsidebar">
+        <div class="sphinxsidebarwrapper">
+  <h3><a href="../index.html">Table Of Contents</a></h3>
+  <ul>
+<li><a class="reference internal" href="#">invariant_mapper</a><ul>
+<li><a class="reference internal" href="#sans-invariant-invariant-mapper"><tt class="docutils literal"><span class="pre">sans.invariant.invariant_mapper</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="invariant.html"
+                        title="previous chapter">invariant</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/invariant_mapper.txt"
+           rel="nofollow">Show Source</a></li>
+  </ul>
+<div id="searchbox" style="display: none">
+  <h3>Quick search</h3>
+    <form class="search" action="../search.html" method="get">
+      <input type="text" name="q" />
+      <input type="submit" value="Go" />
+      <input type="hidden" name="check_keywords" value="yes" />
+      <input type="hidden" name="area" value="default" />
+    </form>
+    <p class="searchtip" style="font-size: 90%">
+    Enter search terms or a module, class or function name.
+    </p>
+</div>
+<script type="text/javascript">$('#searchbox').show(0);</script>
+        </div>
+      </div>
+      <div class="clearer"></div>
+    </div>
+    <div class="related">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="../genindex.html" title="General Index"
+             >index</a></li>
+        <li class="right" >
+          <a href="../py-modindex.html" title="Python Module Index"
+             >modules</a> |</li>
+        <li class="right" >
+          <a href="invariant.html" title="invariant"
+             >previous</a> |</li>
+        <li><a href="../index.html">invariant 0.1.0 documentation</a> &raquo;</li>
+          <li><a href="index.html" >Reference</a> &raquo;</li> 
+      </ul>
+    </div>
+    <div class="footer">
+        &copy; Copyright 2010, sans group.
+      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.
+    </div>
+  </body>
+</html>
