Index: sansmodels/docs/sphinx/html/api/AddComponent.html
===================================================================
--- sansmodels/docs/sphinx/html/api/AddComponent.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/AddComponent.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,316 @@
+
+
+<!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>AddComponent &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="BarBellModel" href="BarBellModel.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="BarBellModel.html" title="BarBellModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="index.html" title="Reference"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="addcomponent">
+<h1>AddComponent<a class="headerlink" href="#addcomponent" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.AddComponent">
+<span id="sans-models-addcomponent"></span><h2><a class="reference internal" href="#module-sans.models.AddComponent" title="sans.models.AddComponent"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.AddComponent</span></tt></a><a class="headerlink" href="#module-sans.models.AddComponent" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide base functionality for all model components</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">author:</th><td class="field-body">Mathieu Doucet / UTK</td>
+</tr>
+<tr class="field"><th class="field-name">contact:</th><td class="field-body"><a class="reference external" href="mailto:mathieu&#46;doucet&#37;&#52;&#48;nist&#46;gov">mathieu<span>&#46;</span>doucet<span>&#64;</span>nist<span>&#46;</span>gov</a></td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.AddComponent.AddComponent">
+<em class="property">class </em><tt class="descclassname">sans.models.AddComponent.</tt><tt class="descname">AddComponent</tt><big>(</big><em>base=None</em>, <em>other=None</em><big>)</big><a class="headerlink" href="#sans.models.AddComponent.AddComponent" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Basic model component for Addition
+Provides basic arithmetics</p>
+<dl class="method">
+<dt id="sans.models.AddComponent.AddComponent.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.AddComponent.AddComponent.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.AddComponent.AddComponent.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.AddComponent.AddComponent.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.AddComponent.AddComponent.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.AddComponent.AddComponent.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.AddComponent.AddComponent.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.AddComponent.AddComponent.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.AddComponent.AddComponent.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.AddComponent.AddComponent.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">value of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.AddComponent.AddComponent.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.AddComponent.AddComponent.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.AddComponent.AddComponent.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.AddComponent.AddComponent.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.AddComponent.AddComponent.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.AddComponent.AddComponent.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.AddComponent.AddComponent.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.AddComponent.AddComponent.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.AddComponent.AddComponent.run">
+<tt class="descname">run</tt><big>(</big><em>x=0</em><big>)</big><a class="headerlink" href="#sans.models.AddComponent.AddComponent.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate each part of the component and sum the results</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input parameter</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">value of the model at x</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.AddComponent.AddComponent.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0</em><big>)</big><a class="headerlink" href="#sans.models.AddComponent.AddComponent.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate each part of the component and sum the results</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input parameter</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">value of the model at x</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.AddComponent.AddComponent.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.AddComponent.AddComponent.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of parameter to set</li>
+<li><strong>value</strong> &#8211; value to give the paramter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.AddComponent.AddComponent.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.AddComponent.AddComponent.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">AddComponent</a><ul>
+<li><a class="reference internal" href="#module-sans.models.AddComponent"><tt class="docutils literal"><span class="pre">sans.models.AddComponent</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="BarBellModel.html"
+                        title="next chapter">BarBellModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/AddComponent.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" size="18" />
+      <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="BarBellModel.html" title="BarBellModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="index.html" title="Reference"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/BCCrystalModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/BCCrystalModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/BCCrystalModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,350 @@
+
+
+<!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>BCCrystalModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="BEPolyelectrolyte" href="BEPolyelectrolyte.html" />
+    <link rel="prev" title="BaseModel" href="BaseModel.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="BEPolyelectrolyte.html" title="BEPolyelectrolyte"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="BaseModel.html" title="BaseModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="bccrystalmodel">
+<h1>BCCrystalModel<a class="headerlink" href="#bccrystalmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.BCCrystalModel">
+<span id="sans-models-bccrystalmodel"></span><h2><a class="reference internal" href="#module-sans.models.BCCrystalModel" title="sans.models.BCCrystalModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.BCCrystalModel</span></tt></a><a class="headerlink" href="#module-sans.models.BCCrystalModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionscc.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.BCCrystalModel.BCCrystalModel">
+<em class="property">class </em><tt class="descclassname">sans.models.BCCrystalModel.</tt><tt class="descname">BCCrystalModel</tt><a class="headerlink" href="#sans.models.BCCrystalModel.BCCrystalModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CBCCrystalModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a BCCrystalModel model. 
+This file was auto-generated from ..c_extensionscc.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+dnn             = 220.0 [A]
+d_factor        = 0.06 
+radius          = 40.0 [A]
+sldSph          = 3e-06 [1/A^(2)]
+sldSolv         = 6.3e-06 [1/A^(2)]
+background      = 0.0 [1/cm]
+theta           = 0.0 [deg]
+phi             = 0.0 [deg]
+psi             = 0.0 [deg]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.BCCrystalModel.BCCrystalModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BCCrystalModel.BCCrystalModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BCCrystalModel.BCCrystalModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BCCrystalModel.BCCrystalModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.BCCrystalModel.BCCrystalModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.BCCrystalModel.BCCrystalModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BCCrystalModel.BCCrystalModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.BCCrystalModel.BCCrystalModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BCCrystalModel.BCCrystalModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BCCrystalModel.BCCrystalModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BCCrystalModel.BCCrystalModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.BCCrystalModel.BCCrystalModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BCCrystalModel.BCCrystalModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BCCrystalModel.BCCrystalModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BCCrystalModel.BCCrystalModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.BCCrystalModel.BCCrystalModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BCCrystalModel.BCCrystalModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.BCCrystalModel.BCCrystalModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BCCrystalModel.BCCrystalModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.BCCrystalModel.BCCrystalModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.BCCrystalModel.BCCrystalModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.BCCrystalModel.BCCrystalModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.BCCrystalModel.BCCrystalModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.BCCrystalModel.BCCrystalModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.BCCrystalModel.BCCrystalModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.BCCrystalModel.BCCrystalModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BCCrystalModel.BCCrystalModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.BCCrystalModel.BCCrystalModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BCCrystalModel.BCCrystalModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.BCCrystalModel.BCCrystalModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BCCrystalModel.BCCrystalModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.BCCrystalModel.BCCrystalModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BCCrystalModel.BCCrystalModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.BCCrystalModel.BCCrystalModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BCCrystalModel.BCCrystalModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.BCCrystalModel.BCCrystalModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.BCCrystalModel.create_BCCrystalModel">
+<tt class="descclassname">sans.models.BCCrystalModel.</tt><tt class="descname">create_BCCrystalModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BCCrystalModel.create_BCCrystalModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">BCCrystalModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.BCCrystalModel"><tt class="docutils literal"><span class="pre">sans.models.BCCrystalModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="BaseModel.html"
+                        title="previous chapter">BaseModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="BEPolyelectrolyte.html"
+                        title="next chapter">BEPolyelectrolyte</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/BCCrystalModel.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" size="18" />
+      <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="BEPolyelectrolyte.html" title="BEPolyelectrolyte"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="BaseModel.html" title="BaseModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/BEPolyelectrolyte.html
===================================================================
--- sansmodels/docs/sphinx/html/api/BEPolyelectrolyte.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/BEPolyelectrolyte.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,300 @@
+
+
+<!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>BEPolyelectrolyte &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="BinaryHSModel" href="BinaryHSModel.html" />
+    <link rel="prev" title="BCCrystalModel" href="BCCrystalModel.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="BinaryHSModel.html" title="BinaryHSModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="BCCrystalModel.html" title="BCCrystalModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="bepolyelectrolyte">
+<h1>BEPolyelectrolyte<a class="headerlink" href="#bepolyelectrolyte" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.BEPolyelectrolyte">
+<span id="sans-models-bepolyelectrolyte"></span><h2><a class="reference internal" href="#module-sans.models.BEPolyelectrolyte" title="sans.models.BEPolyelectrolyte"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.BEPolyelectrolyte</span></tt></a><a class="headerlink" href="#module-sans.models.BEPolyelectrolyte" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide F(x) = K*1/(4*pi*Lb*(alpha)^(2))*(q^(2)+k2)/(1+(r02)^(2))*(q^(2)+k2)                       <a href="#id1"><span class="problematic" id="id2">*</span></a>(q^(2)-(12*h*C/b^(2)))
+BEPolyelectrolyte as a BaseComponent model</p>
+<dl class="class">
+<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte">
+<em class="property">class </em><tt class="descclassname">sans.models.BEPolyelectrolyte.</tt><tt class="descname">BEPolyelectrolyte</tt><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a BEPolyelectrolyte.</p>
+<p>F(x) = K*1/(4*pi*Lb*(alpha)^(2))*(q^(2)+k2)/(1+(r02)^(2))*(q^(2)+k2)                       <a href="#id3"><span class="problematic" id="id4">*</span></a>(q^(2)-(12*h*C/b^(2)))</p>
+<dl class="docutils">
+<dt>The model has Eight parameters: </dt>
+<dd>K        =  Constrast factor of the polymer
+Lb       =  Bjerrum length
+H        =  virial parameter
+B        =  monomer length
+Cs       =  Concentration of monovalent salt 
+alpha    =  ionazation degree 
+C        = polymer molar concentration
+bkd      = background</dd>
+</dl>
+<dl class="method">
+<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [r, theta])
+&#64;return: (debye value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [qx, qy])
+&#64;return: debye value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BEPolyelectrolyte.BEPolyelectrolyte.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.BEPolyelectrolyte.BEPolyelectrolyte.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">BEPolyelectrolyte</a><ul>
+<li><a class="reference internal" href="#module-sans.models.BEPolyelectrolyte"><tt class="docutils literal"><span class="pre">sans.models.BEPolyelectrolyte</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="BCCrystalModel.html"
+                        title="previous chapter">BCCrystalModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="BinaryHSModel.html"
+                        title="next chapter">BinaryHSModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/BEPolyelectrolyte.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" size="18" />
+      <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="BinaryHSModel.html" title="BinaryHSModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="BCCrystalModel.html" title="BCCrystalModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/BarBellModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/BarBellModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/BarBellModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,349 @@
+
+
+<!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>BarBellModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="BaseComponent" href="BaseComponent.html" />
+    <link rel="prev" title="AddComponent" href="AddComponent.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="BaseComponent.html" title="BaseComponent"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="AddComponent.html" title="AddComponent"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="barbellmodel">
+<h1>BarBellModel<a class="headerlink" href="#barbellmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.BarBellModel">
+<span id="sans-models-barbellmodel"></span><h2><a class="reference internal" href="#module-sans.models.BarBellModel" title="sans.models.BarBellModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.BarBellModel</span></tt></a><a class="headerlink" href="#module-sans.models.BarBellModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionsarbell.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.BarBellModel.BarBellModel">
+<em class="property">class </em><tt class="descclassname">sans.models.BarBellModel.</tt><tt class="descname">BarBellModel</tt><a class="headerlink" href="#sans.models.BarBellModel.BarBellModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CBarBellModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a BarBellModel model. 
+This file was auto-generated from ..c_extensionsarbell.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+rad_bar         = 20.0 [A]
+len_bar         = 400.0 [A]
+rad_bell        = 40.0 [A]
+sld_barbell     = 1e-06 [1/A^(2)]
+sld_solv        = 6.3e-06 [1/A^(2)]
+background      = 0.0 [1/cm]
+theta           = 0.0 [deg]
+phi             = 0.0 [deg]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.BarBellModel.BarBellModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BarBellModel.BarBellModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BarBellModel.BarBellModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BarBellModel.BarBellModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.BarBellModel.BarBellModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.BarBellModel.BarBellModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BarBellModel.BarBellModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.BarBellModel.BarBellModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BarBellModel.BarBellModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BarBellModel.BarBellModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BarBellModel.BarBellModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.BarBellModel.BarBellModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BarBellModel.BarBellModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BarBellModel.BarBellModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BarBellModel.BarBellModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.BarBellModel.BarBellModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BarBellModel.BarBellModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.BarBellModel.BarBellModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BarBellModel.BarBellModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.BarBellModel.BarBellModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.BarBellModel.BarBellModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.BarBellModel.BarBellModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.BarBellModel.BarBellModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.BarBellModel.BarBellModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.BarBellModel.BarBellModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.BarBellModel.BarBellModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BarBellModel.BarBellModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.BarBellModel.BarBellModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BarBellModel.BarBellModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.BarBellModel.BarBellModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BarBellModel.BarBellModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.BarBellModel.BarBellModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BarBellModel.BarBellModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.BarBellModel.BarBellModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BarBellModel.BarBellModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.BarBellModel.BarBellModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.BarBellModel.create_BarBellModel">
+<tt class="descclassname">sans.models.BarBellModel.</tt><tt class="descname">create_BarBellModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BarBellModel.create_BarBellModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">BarBellModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.BarBellModel"><tt class="docutils literal"><span class="pre">sans.models.BarBellModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="AddComponent.html"
+                        title="previous chapter">AddComponent</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="BaseComponent.html"
+                        title="next chapter">BaseComponent</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/BarBellModel.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" size="18" />
+      <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="BaseComponent.html" title="BaseComponent"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="AddComponent.html" title="AddComponent"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/BaseComponent.html
===================================================================
--- sansmodels/docs/sphinx/html/api/BaseComponent.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/BaseComponent.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,281 @@
+
+
+<!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>BaseComponent &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="BaseModel" href="BaseModel.html" />
+    <link rel="prev" title="BarBellModel" href="BarBellModel.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="BaseModel.html" title="BaseModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="BarBellModel.html" title="BarBellModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="basecomponent">
+<h1>BaseComponent<a class="headerlink" href="#basecomponent" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.BaseComponent">
+<span id="sans-models-basecomponent"></span><h2><a class="reference internal" href="#module-sans.models.BaseComponent" title="sans.models.BaseComponent"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.BaseComponent</span></tt></a><a class="headerlink" href="#module-sans.models.BaseComponent" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide base functionality for all model components</p>
+<dl class="class">
+<dt id="sans.models.BaseComponent.BaseComponent">
+<em class="property">class </em><tt class="descclassname">sans.models.BaseComponent.</tt><tt class="descname">BaseComponent</tt><a class="headerlink" href="#sans.models.BaseComponent.BaseComponent" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Basic model component</p>
+<p>Since version 0.5.0, basic operations are no longer supported.</p>
+<dl class="method">
+<dt id="sans.models.BaseComponent.BaseComponent.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BaseComponent.BaseComponent.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BaseComponent.BaseComponent.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BaseComponent.BaseComponent.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BaseComponent.BaseComponent.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.BaseComponent.BaseComponent.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BaseComponent.BaseComponent.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BaseComponent.BaseComponent.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BaseComponent.BaseComponent.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.BaseComponent.BaseComponent.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BaseComponent.BaseComponent.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BaseComponent.BaseComponent.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BaseComponent.BaseComponent.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.BaseComponent.BaseComponent.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BaseComponent.BaseComponent.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.BaseComponent.BaseComponent.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BaseComponent.BaseComponent.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.BaseComponent.BaseComponent.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BaseComponent.BaseComponent.run">
+<tt class="descname">run</tt><big>(</big><em>x</em><big>)</big><a class="headerlink" href="#sans.models.BaseComponent.BaseComponent.run" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BaseComponent.BaseComponent.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x</em><big>)</big><a class="headerlink" href="#sans.models.BaseComponent.BaseComponent.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BaseComponent.BaseComponent.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.BaseComponent.BaseComponent.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BaseComponent.BaseComponent.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.BaseComponent.BaseComponent.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">BaseComponent</a><ul>
+<li><a class="reference internal" href="#module-sans.models.BaseComponent"><tt class="docutils literal"><span class="pre">sans.models.BaseComponent</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="BarBellModel.html"
+                        title="previous chapter">BarBellModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="BaseModel.html"
+                        title="next chapter">BaseModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/BaseComponent.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" size="18" />
+      <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="BaseModel.html" title="BaseModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="BarBellModel.html" title="BarBellModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/BaseModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/BaseModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/BaseModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,238 @@
+
+
+<!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>BaseModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="BCCrystalModel" href="BCCrystalModel.html" />
+    <link rel="prev" title="BaseComponent" href="BaseComponent.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="BCCrystalModel.html" title="BCCrystalModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="BaseComponent.html" title="BaseComponent"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="basemodel">
+<h1>BaseModel<a class="headerlink" href="#basemodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.BaseModel">
+<span id="sans-models-basemodel"></span><h2><a class="reference internal" href="#module-sans.models.BaseModel" title="sans.models.BaseModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.BaseModel</span></tt></a><a class="headerlink" href="#module-sans.models.BaseModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide base functionality for all model components</p>
+<p>The following has changed since going from BaseComponent to BaseModel:</p>
+<blockquote>
+<div><ul class="simple">
+<li>Arithmetic operation between models is no longer supported.
+It was found to be of little use and not very flexible.</li>
+<li>Parameters are now stored as Parameter object to provide 
+the necessary extra information like limits, units, etc...</li>
+</ul>
+</div></blockquote>
+<dl class="class">
+<dt id="sans.models.BaseModel.BaseModel">
+<em class="property">class </em><tt class="descclassname">sans.models.BaseModel.</tt><tt class="descname">BaseModel</tt><a class="headerlink" href="#sans.models.BaseModel.BaseModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="ModelAdaptor.html#sans.models.ModelAdaptor.ModelAdaptor" title="sans.models.ModelAdaptor.ModelAdaptor"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.ModelAdaptor.ModelAdaptor</span></tt></a></p>
+<p>Basic model component</p>
+<dl class="method">
+<dt id="sans.models.BaseModel.BaseModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BaseModel.BaseModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BaseModel.BaseModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BaseModel.BaseModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BaseModel.BaseModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.BaseModel.BaseModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BaseModel.BaseModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BaseModel.BaseModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BaseModel.BaseModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.BaseModel.BaseModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BaseModel.BaseModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.BaseModel.BaseModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BaseModel.BaseModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0</em><big>)</big><a class="headerlink" href="#sans.models.BaseModel.BaseModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BaseModel.BaseModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0</em><big>)</big><a class="headerlink" href="#sans.models.BaseModel.BaseModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BaseModel.BaseModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.BaseModel.BaseModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BaseModel.BaseModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.BaseModel.BaseModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="sans.models.BaseModel.Parameter">
+<em class="property">class </em><tt class="descclassname">sans.models.BaseModel.</tt><tt class="descname">Parameter</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.BaseModel.Parameter" 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>Parameter class</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.BaseModel.ParameterProperty">
+<tt class="descclassname">sans.models.BaseModel.</tt><tt class="descname">ParameterProperty</tt><a class="headerlink" href="#sans.models.BaseModel.ParameterProperty" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameter property allow direct access to
+the parameter values</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="#">BaseModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.BaseModel"><tt class="docutils literal"><span class="pre">sans.models.BaseModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="BaseComponent.html"
+                        title="previous chapter">BaseComponent</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="BCCrystalModel.html"
+                        title="next chapter">BCCrystalModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/BaseModel.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" size="18" />
+      <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="BCCrystalModel.html" title="BCCrystalModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="BaseComponent.html" title="BaseComponent"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/BinaryHSModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/BinaryHSModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/BinaryHSModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,348 @@
+
+
+<!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>BinaryHSModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="BinaryHSPSF11Model" href="BinaryHSPSF11Model.html" />
+    <link rel="prev" title="BEPolyelectrolyte" href="BEPolyelectrolyte.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="BinaryHSPSF11Model.html" title="BinaryHSPSF11Model"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="BEPolyelectrolyte.html" title="BEPolyelectrolyte"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="binaryhsmodel">
+<h1>BinaryHSModel<a class="headerlink" href="#binaryhsmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.BinaryHSModel">
+<span id="sans-models-binaryhsmodel"></span><h2><a class="reference internal" href="#module-sans.models.BinaryHSModel" title="sans.models.BinaryHSModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.BinaryHSModel</span></tt></a><a class="headerlink" href="#module-sans.models.BinaryHSModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionsinaryHS.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.BinaryHSModel.BinaryHSModel">
+<em class="property">class </em><tt class="descclassname">sans.models.BinaryHSModel.</tt><tt class="descname">BinaryHSModel</tt><a class="headerlink" href="#sans.models.BinaryHSModel.BinaryHSModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CBinaryHSModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a BinaryHSModel model. 
+This file was auto-generated from ..c_extensionsinaryHS.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>l_radius        = 100.0 [A]
+s_radius        = 25.0 [A]
+vol_frac_ls     = 0.1 
+vol_frac_ss     = 0.2 
+ls_sld          = 3.5e-06 [1/A^(2)]
+ss_sld          = 5e-07 [1/A^(2)]
+solvent_sld     = 6.36e-06 [1/A^(2)]
+background      = 0.001 [1/cm]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.BinaryHSModel.BinaryHSModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BinaryHSModel.BinaryHSModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BinaryHSModel.BinaryHSModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BinaryHSModel.BinaryHSModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.BinaryHSModel.BinaryHSModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.BinaryHSModel.BinaryHSModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BinaryHSModel.BinaryHSModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.BinaryHSModel.BinaryHSModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BinaryHSModel.BinaryHSModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BinaryHSModel.BinaryHSModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BinaryHSModel.BinaryHSModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.BinaryHSModel.BinaryHSModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BinaryHSModel.BinaryHSModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BinaryHSModel.BinaryHSModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BinaryHSModel.BinaryHSModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.BinaryHSModel.BinaryHSModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BinaryHSModel.BinaryHSModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.BinaryHSModel.BinaryHSModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BinaryHSModel.BinaryHSModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.BinaryHSModel.BinaryHSModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.BinaryHSModel.BinaryHSModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.BinaryHSModel.BinaryHSModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.BinaryHSModel.BinaryHSModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.BinaryHSModel.BinaryHSModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.BinaryHSModel.BinaryHSModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.BinaryHSModel.BinaryHSModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BinaryHSModel.BinaryHSModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.BinaryHSModel.BinaryHSModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BinaryHSModel.BinaryHSModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.BinaryHSModel.BinaryHSModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BinaryHSModel.BinaryHSModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.BinaryHSModel.BinaryHSModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BinaryHSModel.BinaryHSModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.BinaryHSModel.BinaryHSModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BinaryHSModel.BinaryHSModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.BinaryHSModel.BinaryHSModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.BinaryHSModel.create_BinaryHSModel">
+<tt class="descclassname">sans.models.BinaryHSModel.</tt><tt class="descname">create_BinaryHSModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BinaryHSModel.create_BinaryHSModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">BinaryHSModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.BinaryHSModel"><tt class="docutils literal"><span class="pre">sans.models.BinaryHSModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="BEPolyelectrolyte.html"
+                        title="previous chapter">BEPolyelectrolyte</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="BinaryHSPSF11Model.html"
+                        title="next chapter">BinaryHSPSF11Model</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/BinaryHSModel.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" size="18" />
+      <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="BinaryHSPSF11Model.html" title="BinaryHSPSF11Model"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="BEPolyelectrolyte.html" title="BEPolyelectrolyte"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/BinaryHSPSF11Model.html
===================================================================
--- sansmodels/docs/sphinx/html/api/BinaryHSPSF11Model.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/BinaryHSPSF11Model.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,129 @@
+
+
+<!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>BinaryHSPSF11Model &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="BroadPeakModel" href="BroadPeakModel.html" />
+    <link rel="prev" title="BinaryHSModel" href="BinaryHSModel.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="BroadPeakModel.html" title="BroadPeakModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="BinaryHSModel.html" title="BinaryHSModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="binaryhspsf11model">
+<h1>BinaryHSPSF11Model<a class="headerlink" href="#binaryhspsf11model" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="sans-models-binaryhspsf11model">
+<h2><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.BinaryHSPSF11Model</span></tt><a class="headerlink" href="#sans-models-binaryhspsf11model" title="Permalink to this headline">Â¶</a></h2>
+</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="#">BinaryHSPSF11Model</a><ul>
+<li><a class="reference internal" href="#sans-models-binaryhspsf11model"><tt class="docutils literal"><span class="pre">sans.models.BinaryHSPSF11Model</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="BinaryHSModel.html"
+                        title="previous chapter">BinaryHSModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="BroadPeakModel.html"
+                        title="next chapter">BroadPeakModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/BinaryHSPSF11Model.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" size="18" />
+      <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="BroadPeakModel.html" title="BroadPeakModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="BinaryHSModel.html" title="BinaryHSModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/BroadPeakModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/BroadPeakModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/BroadPeakModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,289 @@
+
+
+<!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>BroadPeakModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="CappedCylinderModel" href="CappedCylinderModel.html" />
+    <link rel="prev" title="BinaryHSPSF11Model" href="BinaryHSPSF11Model.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="CappedCylinderModel.html" title="CappedCylinderModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="BinaryHSPSF11Model.html" title="BinaryHSPSF11Model"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="broadpeakmodel">
+<h1>BroadPeakModel<a class="headerlink" href="#broadpeakmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.BroadPeakModel">
+<span id="sans-models-broadpeakmodel"></span><h2><a class="reference internal" href="#module-sans.models.BroadPeakModel" title="sans.models.BroadPeakModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.BroadPeakModel</span></tt></a><a class="headerlink" href="#module-sans.models.BroadPeakModel" title="Permalink to this headline">Â¶</a></h2>
+<p>BroadPeakModel function as a BaseComponent model</p>
+<dl class="class">
+<dt id="sans.models.BroadPeakModel.BroadPeakModel">
+<em class="property">class </em><tt class="descclassname">sans.models.BroadPeakModel.</tt><tt class="descname">BroadPeakModel</tt><a class="headerlink" href="#sans.models.BroadPeakModel.BroadPeakModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a BroadPeakModel.
+I(q) = I(q) = scale_p/pow(qval,exponent)+scale_l/
+(1.0 + pow((qval*length_l),exponent_l) )+ background</p>
+<dl class="method">
+<dt id="sans.models.BroadPeakModel.BroadPeakModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BroadPeakModel.BroadPeakModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BroadPeakModel.BroadPeakModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BroadPeakModel.BroadPeakModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BroadPeakModel.BroadPeakModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.BroadPeakModel.BroadPeakModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BroadPeakModel.BroadPeakModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BroadPeakModel.BroadPeakModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BroadPeakModel.BroadPeakModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.BroadPeakModel.BroadPeakModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BroadPeakModel.BroadPeakModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.BroadPeakModel.BroadPeakModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BroadPeakModel.BroadPeakModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.BroadPeakModel.BroadPeakModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BroadPeakModel.BroadPeakModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.BroadPeakModel.BroadPeakModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BroadPeakModel.BroadPeakModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.BroadPeakModel.BroadPeakModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BroadPeakModel.BroadPeakModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.BroadPeakModel.BroadPeakModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<p>param x: input q-value (float or [float, float] as [r, theta])
+return: (scattering value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BroadPeakModel.BroadPeakModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.BroadPeakModel.BroadPeakModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<p>param x: input q-value (float or [float, float] as [qx, qy])
+return: scattering value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BroadPeakModel.BroadPeakModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.BroadPeakModel.BroadPeakModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.BroadPeakModel.BroadPeakModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.BroadPeakModel.BroadPeakModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">BroadPeakModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.BroadPeakModel"><tt class="docutils literal"><span class="pre">sans.models.BroadPeakModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="BinaryHSPSF11Model.html"
+                        title="previous chapter">BinaryHSPSF11Model</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="CappedCylinderModel.html"
+                        title="next chapter">CappedCylinderModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/BroadPeakModel.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" size="18" />
+      <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="CappedCylinderModel.html" title="CappedCylinderModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="BinaryHSPSF11Model.html" title="BinaryHSPSF11Model"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/CSParallelepipedModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/CSParallelepipedModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/CSParallelepipedModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,356 @@
+
+
+<!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>CSParallelepipedModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="CylinderModel" href="CylinderModel.html" />
+    <link rel="prev" title="Cos" href="Cos.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="CylinderModel.html" title="CylinderModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="Cos.html" title="Cos"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="csparallelepipedmodel">
+<h1>CSParallelepipedModel<a class="headerlink" href="#csparallelepipedmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.CSParallelepipedModel">
+<span id="sans-models-csparallelepipedmodel"></span><h2><a class="reference internal" href="#module-sans.models.CSParallelepipedModel" title="sans.models.CSParallelepipedModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.CSParallelepipedModel</span></tt></a><a class="headerlink" href="#module-sans.models.CSParallelepipedModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionscsparallelepiped.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.CSParallelepipedModel.CSParallelepipedModel">
+<em class="property">class </em><tt class="descclassname">sans.models.CSParallelepipedModel.</tt><tt class="descname">CSParallelepipedModel</tt><a class="headerlink" href="#sans.models.CSParallelepipedModel.CSParallelepipedModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CCSParallelepipedModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a CSParallelepipedModel model. 
+This file was auto-generated from ..c_extensionscsparallelepiped.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+shortA          = 35.0 [A]
+midB            = 75.0 [A]
+longC           = 400.0 [A]
+rimA            = 10.0 [A]
+rimB            = 10.0 [A]
+rimC            = 10.0 [A]
+sld_rimA        = 2e-06 [1/A^(2)]
+sld_rimB        = 4e-06 [1/A^(2)]
+sld_rimC        = 2e-06 [1/A^(2)]
+sld_pcore       = 1e-06 [1/A^(2)]
+sld_solv        = 6e-06 [1/A^(2)]
+background      = 0.06 [1/cm]
+parallel_theta  = 0.0 [deg]
+parallel_phi    = 0.0 [deg]
+parallel_psi    = 0.0 [deg]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.CSParallelepipedModel.CSParallelepipedModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CSParallelepipedModel.CSParallelepipedModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CSParallelepipedModel.CSParallelepipedModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CSParallelepipedModel.CSParallelepipedModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CSParallelepipedModel.CSParallelepipedModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.CSParallelepipedModel.CSParallelepipedModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CSParallelepipedModel.CSParallelepipedModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.CSParallelepipedModel.CSParallelepipedModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CSParallelepipedModel.CSParallelepipedModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CSParallelepipedModel.CSParallelepipedModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CSParallelepipedModel.CSParallelepipedModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.CSParallelepipedModel.CSParallelepipedModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CSParallelepipedModel.CSParallelepipedModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CSParallelepipedModel.CSParallelepipedModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CSParallelepipedModel.CSParallelepipedModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CSParallelepipedModel.CSParallelepipedModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CSParallelepipedModel.CSParallelepipedModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CSParallelepipedModel.CSParallelepipedModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CSParallelepipedModel.CSParallelepipedModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.CSParallelepipedModel.CSParallelepipedModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CSParallelepipedModel.CSParallelepipedModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.CSParallelepipedModel.CSParallelepipedModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CSParallelepipedModel.CSParallelepipedModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.CSParallelepipedModel.CSParallelepipedModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CSParallelepipedModel.CSParallelepipedModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.CSParallelepipedModel.CSParallelepipedModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CSParallelepipedModel.CSParallelepipedModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.CSParallelepipedModel.CSParallelepipedModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CSParallelepipedModel.CSParallelepipedModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.CSParallelepipedModel.CSParallelepipedModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CSParallelepipedModel.CSParallelepipedModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.CSParallelepipedModel.CSParallelepipedModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CSParallelepipedModel.CSParallelepipedModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CSParallelepipedModel.CSParallelepipedModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CSParallelepipedModel.CSParallelepipedModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.CSParallelepipedModel.CSParallelepipedModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.CSParallelepipedModel.create_CSParallelepipedModel">
+<tt class="descclassname">sans.models.CSParallelepipedModel.</tt><tt class="descname">create_CSParallelepipedModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CSParallelepipedModel.create_CSParallelepipedModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">CSParallelepipedModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.CSParallelepipedModel"><tt class="docutils literal"><span class="pre">sans.models.CSParallelepipedModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="Cos.html"
+                        title="previous chapter">Cos</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="CylinderModel.html"
+                        title="next chapter">CylinderModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/CSParallelepipedModel.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" size="18" />
+      <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="CylinderModel.html" title="CylinderModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="Cos.html" title="Cos"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/CappedCylinderModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/CappedCylinderModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/CappedCylinderModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,349 @@
+
+
+<!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>CappedCylinderModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="Constant" href="Constant.html" />
+    <link rel="prev" title="BroadPeakModel" href="BroadPeakModel.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="Constant.html" title="Constant"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="BroadPeakModel.html" title="BroadPeakModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="cappedcylindermodel">
+<h1>CappedCylinderModel<a class="headerlink" href="#cappedcylindermodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.CappedCylinderModel">
+<span id="sans-models-cappedcylindermodel"></span><h2><a class="reference internal" href="#module-sans.models.CappedCylinderModel" title="sans.models.CappedCylinderModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.CappedCylinderModel</span></tt></a><a class="headerlink" href="#module-sans.models.CappedCylinderModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionscapcyl.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.CappedCylinderModel.CappedCylinderModel">
+<em class="property">class </em><tt class="descclassname">sans.models.CappedCylinderModel.</tt><tt class="descname">CappedCylinderModel</tt><a class="headerlink" href="#sans.models.CappedCylinderModel.CappedCylinderModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CCappedCylinderModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a CappedCylinderModel model. 
+This file was auto-generated from ..c_extensionscapcyl.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+rad_cyl         = 20.0 [A]
+len_cyl         = 400.0 [A]
+rad_cap         = 40.0 [A]
+sld_capcyl      = 1e-06 [1/A^(2)]
+sld_solv        = 6.3e-06 [1/A^(2)]
+background      = 0.0 [1/cm]
+theta           = 0.0 [deg]
+phi             = 0.0 [deg]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.CappedCylinderModel.CappedCylinderModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CappedCylinderModel.CappedCylinderModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CappedCylinderModel.CappedCylinderModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CappedCylinderModel.CappedCylinderModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CappedCylinderModel.CappedCylinderModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.CappedCylinderModel.CappedCylinderModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CappedCylinderModel.CappedCylinderModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.CappedCylinderModel.CappedCylinderModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CappedCylinderModel.CappedCylinderModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CappedCylinderModel.CappedCylinderModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CappedCylinderModel.CappedCylinderModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.CappedCylinderModel.CappedCylinderModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CappedCylinderModel.CappedCylinderModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CappedCylinderModel.CappedCylinderModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CappedCylinderModel.CappedCylinderModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CappedCylinderModel.CappedCylinderModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CappedCylinderModel.CappedCylinderModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CappedCylinderModel.CappedCylinderModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CappedCylinderModel.CappedCylinderModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.CappedCylinderModel.CappedCylinderModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CappedCylinderModel.CappedCylinderModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.CappedCylinderModel.CappedCylinderModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CappedCylinderModel.CappedCylinderModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.CappedCylinderModel.CappedCylinderModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CappedCylinderModel.CappedCylinderModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.CappedCylinderModel.CappedCylinderModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CappedCylinderModel.CappedCylinderModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.CappedCylinderModel.CappedCylinderModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CappedCylinderModel.CappedCylinderModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.CappedCylinderModel.CappedCylinderModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CappedCylinderModel.CappedCylinderModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.CappedCylinderModel.CappedCylinderModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CappedCylinderModel.CappedCylinderModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CappedCylinderModel.CappedCylinderModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CappedCylinderModel.CappedCylinderModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.CappedCylinderModel.CappedCylinderModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.CappedCylinderModel.create_CappedCylinderModel">
+<tt class="descclassname">sans.models.CappedCylinderModel.</tt><tt class="descname">create_CappedCylinderModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CappedCylinderModel.create_CappedCylinderModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">CappedCylinderModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.CappedCylinderModel"><tt class="docutils literal"><span class="pre">sans.models.CappedCylinderModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="BroadPeakModel.html"
+                        title="previous chapter">BroadPeakModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="Constant.html"
+                        title="next chapter">Constant</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/CappedCylinderModel.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" size="18" />
+      <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="Constant.html" title="Constant"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="BroadPeakModel.html" title="BroadPeakModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/Constant.html
===================================================================
--- sansmodels/docs/sphinx/html/api/Constant.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/Constant.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,290 @@
+
+
+<!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>Constant &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="CoreFourShellModel" href="CoreFourShellModel.html" />
+    <link rel="prev" title="CappedCylinderModel" href="CappedCylinderModel.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="CoreFourShellModel.html" title="CoreFourShellModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="CappedCylinderModel.html" title="CappedCylinderModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="constant">
+<h1>Constant<a class="headerlink" href="#constant" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.Constant">
+<span id="sans-models-constant"></span><h2><a class="reference internal" href="#module-sans.models.Constant" title="sans.models.Constant"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.Constant</span></tt></a><a class="headerlink" href="#module-sans.models.Constant" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide constant function as a BaseComponent model</p>
+<dl class="class">
+<dt id="sans.models.Constant.Constant">
+<em class="property">class </em><tt class="descclassname">sans.models.Constant.</tt><tt class="descname">Constant</tt><a class="headerlink" href="#sans.models.Constant.Constant" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a constant model. 
+List of default parameters:</p>
+<blockquote>
+<div>value           = 1.0</div></blockquote>
+<dl class="method">
+<dt id="sans.models.Constant.Constant.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Constant.Constant.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Constant.Constant.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Constant.Constant.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Constant.Constant.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.Constant.Constant.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Constant.Constant.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Constant.Constant.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Constant.Constant.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.Constant.Constant.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Constant.Constant.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Constant.Constant.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Constant.Constant.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.Constant.Constant.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Constant.Constant.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.Constant.Constant.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Constant.Constant.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.Constant.Constant.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Constant.Constant.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.Constant.Constant.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: unused
+&#64;return: (constant value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Constant.Constant.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.Constant.Constant.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: unused
+&#64;return: constant value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Constant.Constant.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.Constant.Constant.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Constant.Constant.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.Constant.Constant.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">Constant</a><ul>
+<li><a class="reference internal" href="#module-sans.models.Constant"><tt class="docutils literal"><span class="pre">sans.models.Constant</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="CappedCylinderModel.html"
+                        title="previous chapter">CappedCylinderModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="CoreFourShellModel.html"
+                        title="next chapter">CoreFourShellModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/Constant.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" size="18" />
+      <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="CoreFourShellModel.html" title="CoreFourShellModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="CappedCylinderModel.html" title="CappedCylinderModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/CoreFourShellModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/CoreFourShellModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/CoreFourShellModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,353 @@
+
+
+<!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>CoreFourShellModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="CoreMultiShellModel" href="CoreMultiShellModel.html" />
+    <link rel="prev" title="Constant" href="Constant.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="CoreMultiShellModel.html" title="CoreMultiShellModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="Constant.html" title="Constant"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="corefourshellmodel">
+<h1>CoreFourShellModel<a class="headerlink" href="#corefourshellmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.CoreFourShellModel">
+<span id="sans-models-corefourshellmodel"></span><h2><a class="reference internal" href="#module-sans.models.CoreFourShellModel" title="sans.models.CoreFourShellModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.CoreFourShellModel</span></tt></a><a class="headerlink" href="#module-sans.models.CoreFourShellModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionscorefourshell.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.CoreFourShellModel.CoreFourShellModel">
+<em class="property">class </em><tt class="descclassname">sans.models.CoreFourShellModel.</tt><tt class="descname">CoreFourShellModel</tt><a class="headerlink" href="#sans.models.CoreFourShellModel.CoreFourShellModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CCoreFourShellModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a CoreFourShellModel model. 
+This file was auto-generated from ..c_extensionscorefourshell.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+rad_core0       = 60.0 [A]
+sld_core0       = 6.4e-06 [1/A^(2)]
+thick_shell1    = 10.0 [A]
+sld_shell1      = 1e-06 [1/A^(2)]
+thick_shell2    = 10.0 [A]
+sld_shell2      = 2e-06 [1/A^(2)]
+thick_shell3    = 10.0 [A]
+sld_shell3      = 3e-06 [1/A^(2)]
+thick_shell4    = 10.0 [A]
+sld_shell4      = 4e-06 [1/A^(2)]
+sld_solv        = 6.4e-06 [1/A^(2)]
+background      = 0.001 [1/cm]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.CoreFourShellModel.CoreFourShellModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreFourShellModel.CoreFourShellModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreFourShellModel.CoreFourShellModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreFourShellModel.CoreFourShellModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CoreFourShellModel.CoreFourShellModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.CoreFourShellModel.CoreFourShellModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreFourShellModel.CoreFourShellModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.CoreFourShellModel.CoreFourShellModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreFourShellModel.CoreFourShellModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreFourShellModel.CoreFourShellModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreFourShellModel.CoreFourShellModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.CoreFourShellModel.CoreFourShellModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreFourShellModel.CoreFourShellModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreFourShellModel.CoreFourShellModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreFourShellModel.CoreFourShellModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CoreFourShellModel.CoreFourShellModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreFourShellModel.CoreFourShellModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CoreFourShellModel.CoreFourShellModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreFourShellModel.CoreFourShellModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.CoreFourShellModel.CoreFourShellModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CoreFourShellModel.CoreFourShellModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.CoreFourShellModel.CoreFourShellModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CoreFourShellModel.CoreFourShellModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.CoreFourShellModel.CoreFourShellModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CoreFourShellModel.CoreFourShellModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.CoreFourShellModel.CoreFourShellModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreFourShellModel.CoreFourShellModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.CoreFourShellModel.CoreFourShellModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreFourShellModel.CoreFourShellModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.CoreFourShellModel.CoreFourShellModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreFourShellModel.CoreFourShellModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.CoreFourShellModel.CoreFourShellModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreFourShellModel.CoreFourShellModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CoreFourShellModel.CoreFourShellModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreFourShellModel.CoreFourShellModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.CoreFourShellModel.CoreFourShellModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.CoreFourShellModel.create_CoreFourShellModel">
+<tt class="descclassname">sans.models.CoreFourShellModel.</tt><tt class="descname">create_CoreFourShellModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreFourShellModel.create_CoreFourShellModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">CoreFourShellModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.CoreFourShellModel"><tt class="docutils literal"><span class="pre">sans.models.CoreFourShellModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="Constant.html"
+                        title="previous chapter">Constant</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="CoreMultiShellModel.html"
+                        title="next chapter">CoreMultiShellModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/CoreFourShellModel.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" size="18" />
+      <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="CoreMultiShellModel.html" title="CoreMultiShellModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="Constant.html" title="Constant"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/CoreMultiShellModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/CoreMultiShellModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/CoreMultiShellModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,254 @@
+
+
+<!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>CoreMultiShellModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="CoreShellCylinderModel" href="CoreShellCylinderModel.html" />
+    <link rel="prev" title="CoreFourShellModel" href="CoreFourShellModel.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="CoreShellCylinderModel.html" title="CoreShellCylinderModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="CoreFourShellModel.html" title="CoreFourShellModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="coremultishellmodel">
+<h1>CoreMultiShellModel<a class="headerlink" href="#coremultishellmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.CoreMultiShellModel">
+<span id="sans-models-coremultishellmodel"></span><h2><a class="reference internal" href="#module-sans.models.CoreMultiShellModel" title="sans.models.CoreMultiShellModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.CoreMultiShellModel</span></tt></a><a class="headerlink" href="#module-sans.models.CoreMultiShellModel" title="Permalink to this headline">Â¶</a></h2>
+<dl class="class">
+<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel">
+<em class="property">class </em><tt class="descclassname">sans.models.CoreMultiShellModel.</tt><tt class="descname">CoreMultiShellModel</tt><big>(</big><em>multfactor=1</em><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>This multi-model is based on CoreFourShellModel and provides the capability
+of changing the number of shells between 1 and 4.</p>
+<dl class="method">
+<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<p>: param x: input q[], or [qx[], qy[]]
+: return: scattering function P(q[])</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.getProfile">
+<tt class="descname">getProfile</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.getProfile" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Get SLD profile</p>
+<dl class="docutils">
+<dt>: return: (r, beta) where r is a list of radius of the transition points</dt>
+<dd>beta is a list of the corresponding SLD values</dd>
+</dl>
+<p>: Note: This works only for func_shell# = 2.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<p>: param x: input q-value (float or [float, float] as [r, theta])
+: return: (DAB value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<p>: param x: input q-value (float or [float, float] as [qx, qy])
+: return: DAB value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<p>: param name: name of the parameter
+: param value: value of the parameter</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreMultiShellModel.CoreMultiShellModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.CoreMultiShellModel.CoreMultiShellModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<p>: param parameter: name of the parameter [string]
+:dispersion: dispersion object of type DispersionModel</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="#">CoreMultiShellModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.CoreMultiShellModel"><tt class="docutils literal"><span class="pre">sans.models.CoreMultiShellModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="CoreFourShellModel.html"
+                        title="previous chapter">CoreFourShellModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="CoreShellCylinderModel.html"
+                        title="next chapter">CoreShellCylinderModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/CoreMultiShellModel.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" size="18" />
+      <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="CoreShellCylinderModel.html" title="CoreShellCylinderModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="CoreFourShellModel.html" title="CoreFourShellModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/CoreShellCylinderModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/CoreShellCylinderModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/CoreShellCylinderModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,350 @@
+
+
+<!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>CoreShellCylinderModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="CoreShellEllipsoidModel" href="CoreShellEllipsoidModel.html" />
+    <link rel="prev" title="CoreMultiShellModel" href="CoreMultiShellModel.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="CoreShellEllipsoidModel.html" title="CoreShellEllipsoidModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="CoreMultiShellModel.html" title="CoreMultiShellModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="coreshellcylindermodel">
+<h1>CoreShellCylinderModel<a class="headerlink" href="#coreshellcylindermodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.CoreShellCylinderModel">
+<span id="sans-models-coreshellcylindermodel"></span><h2><a class="reference internal" href="#module-sans.models.CoreShellCylinderModel" title="sans.models.CoreShellCylinderModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.CoreShellCylinderModel</span></tt></a><a class="headerlink" href="#module-sans.models.CoreShellCylinderModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionscore_shell_cylinder.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.CoreShellCylinderModel.CoreShellCylinderModel">
+<em class="property">class </em><tt class="descclassname">sans.models.CoreShellCylinderModel.</tt><tt class="descname">CoreShellCylinderModel</tt><a class="headerlink" href="#sans.models.CoreShellCylinderModel.CoreShellCylinderModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CCoreShellCylinderModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a CoreShellCylinderModel model. 
+This file was auto-generated from ..c_extensionscore_shell_cylinder.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+radius          = 20.0 [A]
+thickness       = 10.0 [A]
+length          = 400.0 [A]
+core_sld        = 1e-06 [1/A^(2)]
+shell_sld       = 4e-06 [1/A^(2)]
+solvent_sld     = 1e-06 [1/A^(2)]
+background      = 0.0 [1/cm]
+axis_theta      = 90.0 [deg]
+axis_phi        = 0.0 [deg]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.CoreShellCylinderModel.CoreShellCylinderModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreShellCylinderModel.CoreShellCylinderModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellCylinderModel.CoreShellCylinderModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreShellCylinderModel.CoreShellCylinderModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CoreShellCylinderModel.CoreShellCylinderModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.CoreShellCylinderModel.CoreShellCylinderModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellCylinderModel.CoreShellCylinderModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.CoreShellCylinderModel.CoreShellCylinderModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellCylinderModel.CoreShellCylinderModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreShellCylinderModel.CoreShellCylinderModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellCylinderModel.CoreShellCylinderModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellCylinderModel.CoreShellCylinderModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellCylinderModel.CoreShellCylinderModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreShellCylinderModel.CoreShellCylinderModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellCylinderModel.CoreShellCylinderModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellCylinderModel.CoreShellCylinderModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellCylinderModel.CoreShellCylinderModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellCylinderModel.CoreShellCylinderModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellCylinderModel.CoreShellCylinderModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellCylinderModel.CoreShellCylinderModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CoreShellCylinderModel.CoreShellCylinderModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.CoreShellCylinderModel.CoreShellCylinderModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CoreShellCylinderModel.CoreShellCylinderModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.CoreShellCylinderModel.CoreShellCylinderModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CoreShellCylinderModel.CoreShellCylinderModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.CoreShellCylinderModel.CoreShellCylinderModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellCylinderModel.CoreShellCylinderModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellCylinderModel.CoreShellCylinderModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellCylinderModel.CoreShellCylinderModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellCylinderModel.CoreShellCylinderModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellCylinderModel.CoreShellCylinderModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellCylinderModel.CoreShellCylinderModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellCylinderModel.CoreShellCylinderModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellCylinderModel.CoreShellCylinderModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellCylinderModel.CoreShellCylinderModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellCylinderModel.CoreShellCylinderModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.CoreShellCylinderModel.create_CoreShellCylinderModel">
+<tt class="descclassname">sans.models.CoreShellCylinderModel.</tt><tt class="descname">create_CoreShellCylinderModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreShellCylinderModel.create_CoreShellCylinderModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">CoreShellCylinderModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.CoreShellCylinderModel"><tt class="docutils literal"><span class="pre">sans.models.CoreShellCylinderModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="CoreMultiShellModel.html"
+                        title="previous chapter">CoreMultiShellModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="CoreShellEllipsoidModel.html"
+                        title="next chapter">CoreShellEllipsoidModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/CoreShellCylinderModel.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" size="18" />
+      <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="CoreShellEllipsoidModel.html" title="CoreShellEllipsoidModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="CoreMultiShellModel.html" title="CoreMultiShellModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/CoreShellEllipsoidModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/CoreShellEllipsoidModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/CoreShellEllipsoidModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,351 @@
+
+
+<!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>CoreShellEllipsoidModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="CoreShellModel" href="CoreShellModel.html" />
+    <link rel="prev" title="CoreShellCylinderModel" href="CoreShellCylinderModel.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="CoreShellModel.html" title="CoreShellModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="CoreShellCylinderModel.html" title="CoreShellCylinderModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="coreshellellipsoidmodel">
+<h1>CoreShellEllipsoidModel<a class="headerlink" href="#coreshellellipsoidmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.CoreShellEllipsoidModel">
+<span id="sans-models-coreshellellipsoidmodel"></span><h2><a class="reference internal" href="#module-sans.models.CoreShellEllipsoidModel" title="sans.models.CoreShellEllipsoidModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.CoreShellEllipsoidModel</span></tt></a><a class="headerlink" href="#module-sans.models.CoreShellEllipsoidModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionsspheroid.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel">
+<em class="property">class </em><tt class="descclassname">sans.models.CoreShellEllipsoidModel.</tt><tt class="descname">CoreShellEllipsoidModel</tt><a class="headerlink" href="#sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CCoreShellEllipsoidModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a CoreShellEllipsoidModel model. 
+This file was auto-generated from ..c_extensionsspheroid.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+equat_core      = 200.0 [A]
+polar_core      = 20.0 [A]
+equat_shell     = 250.0 [A]
+polar_shell     = 30.0 [A]
+sld_core        = 2e-06 [1/A^(2)]
+sld_shell       = 1e-06 [1/A^(2)]
+sld_solvent     = 6.3e-06 [1/A^(2)]
+background      = 0.001 [1/cm]
+axis_theta      = 0.0 [deg]
+axis_phi        = 0.0 [deg]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.CoreShellEllipsoidModel.create_CoreShellEllipsoidModel">
+<tt class="descclassname">sans.models.CoreShellEllipsoidModel.</tt><tt class="descname">create_CoreShellEllipsoidModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreShellEllipsoidModel.create_CoreShellEllipsoidModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">CoreShellEllipsoidModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.CoreShellEllipsoidModel"><tt class="docutils literal"><span class="pre">sans.models.CoreShellEllipsoidModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="CoreShellCylinderModel.html"
+                        title="previous chapter">CoreShellCylinderModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="CoreShellModel.html"
+                        title="next chapter">CoreShellModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/CoreShellEllipsoidModel.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" size="18" />
+      <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="CoreShellModel.html" title="CoreShellModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="CoreShellCylinderModel.html" title="CoreShellCylinderModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/CoreShellModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/CoreShellModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/CoreShellModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,347 @@
+
+
+<!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>CoreShellModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="CorrLengthModel" href="CorrLengthModel.html" />
+    <link rel="prev" title="CoreShellEllipsoidModel" href="CoreShellEllipsoidModel.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="CorrLengthModel.html" title="CorrLengthModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="CoreShellEllipsoidModel.html" title="CoreShellEllipsoidModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="coreshellmodel">
+<h1>CoreShellModel<a class="headerlink" href="#coreshellmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.CoreShellModel">
+<span id="sans-models-coreshellmodel"></span><h2><a class="reference internal" href="#module-sans.models.CoreShellModel" title="sans.models.CoreShellModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.CoreShellModel</span></tt></a><a class="headerlink" href="#module-sans.models.CoreShellModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionscore_shell.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.CoreShellModel.CoreShellModel">
+<em class="property">class </em><tt class="descclassname">sans.models.CoreShellModel.</tt><tt class="descname">CoreShellModel</tt><a class="headerlink" href="#sans.models.CoreShellModel.CoreShellModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CCoreShellModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a CoreShellModel model. 
+This file was auto-generated from ..c_extensionscore_shell.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+radius          = 60.0 [A]
+thickness       = 10.0 [A]
+core_sld        = 1e-06 [1/A^(2)]
+shell_sld       = 2e-06 [1/A^(2)]
+solvent_sld     = 3e-06 [1/A^(2)]
+background      = 0.0 [1/cm]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.CoreShellModel.CoreShellModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreShellModel.CoreShellModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellModel.CoreShellModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreShellModel.CoreShellModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CoreShellModel.CoreShellModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.CoreShellModel.CoreShellModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellModel.CoreShellModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.CoreShellModel.CoreShellModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellModel.CoreShellModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreShellModel.CoreShellModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellModel.CoreShellModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellModel.CoreShellModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellModel.CoreShellModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreShellModel.CoreShellModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellModel.CoreShellModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellModel.CoreShellModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellModel.CoreShellModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellModel.CoreShellModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellModel.CoreShellModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellModel.CoreShellModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CoreShellModel.CoreShellModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.CoreShellModel.CoreShellModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CoreShellModel.CoreShellModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.CoreShellModel.CoreShellModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CoreShellModel.CoreShellModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.CoreShellModel.CoreShellModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellModel.CoreShellModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellModel.CoreShellModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellModel.CoreShellModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellModel.CoreShellModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellModel.CoreShellModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellModel.CoreShellModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellModel.CoreShellModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellModel.CoreShellModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CoreShellModel.CoreShellModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.CoreShellModel.CoreShellModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.CoreShellModel.create_CoreShellModel">
+<tt class="descclassname">sans.models.CoreShellModel.</tt><tt class="descname">create_CoreShellModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CoreShellModel.create_CoreShellModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">CoreShellModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.CoreShellModel"><tt class="docutils literal"><span class="pre">sans.models.CoreShellModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="CoreShellEllipsoidModel.html"
+                        title="previous chapter">CoreShellEllipsoidModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="CorrLengthModel.html"
+                        title="next chapter">CorrLengthModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/CoreShellModel.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" size="18" />
+      <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="CorrLengthModel.html" title="CorrLengthModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="CoreShellEllipsoidModel.html" title="CoreShellEllipsoidModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/CorrLengthModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/CorrLengthModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/CorrLengthModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,289 @@
+
+
+<!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>CorrLengthModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="Cos" href="Cos.html" />
+    <link rel="prev" title="CoreShellModel" href="CoreShellModel.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="Cos.html" title="Cos"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="CoreShellModel.html" title="CoreShellModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="corrlengthmodel">
+<h1>CorrLengthModel<a class="headerlink" href="#corrlengthmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.CorrLengthModel">
+<span id="sans-models-corrlengthmodel"></span><h2><a class="reference internal" href="#module-sans.models.CorrLengthModel" title="sans.models.CorrLengthModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.CorrLengthModel</span></tt></a><a class="headerlink" href="#module-sans.models.CorrLengthModel" title="Permalink to this headline">Â¶</a></h2>
+<p>CorrLengthModel function as a BaseComponent model</p>
+<dl class="class">
+<dt id="sans.models.CorrLengthModel.CorrLengthModel">
+<em class="property">class </em><tt class="descclassname">sans.models.CorrLengthModel.</tt><tt class="descname">CorrLengthModel</tt><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a CorrLengthModel.
+I(q) = I(q) = scale_p/pow(q,exponent)+scale_l/
+(1.0 + pow((q*length_l),exponent_l) )+ background</p>
+<dl class="method">
+<dt id="sans.models.CorrLengthModel.CorrLengthModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CorrLengthModel.CorrLengthModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CorrLengthModel.CorrLengthModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CorrLengthModel.CorrLengthModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CorrLengthModel.CorrLengthModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CorrLengthModel.CorrLengthModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CorrLengthModel.CorrLengthModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CorrLengthModel.CorrLengthModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CorrLengthModel.CorrLengthModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CorrLengthModel.CorrLengthModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<p>param x: input q-value (float or [float, float] as [r, theta])
+return: (scattering value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CorrLengthModel.CorrLengthModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<p>param x: input q-value (float or [float, float] as [qx, qy])
+return: scattering value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CorrLengthModel.CorrLengthModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CorrLengthModel.CorrLengthModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">CorrLengthModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.CorrLengthModel"><tt class="docutils literal"><span class="pre">sans.models.CorrLengthModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="CoreShellModel.html"
+                        title="previous chapter">CoreShellModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="Cos.html"
+                        title="next chapter">Cos</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/CorrLengthModel.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" size="18" />
+      <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="Cos.html" title="Cos"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="CoreShellModel.html" title="CoreShellModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/Cos.html
===================================================================
--- sansmodels/docs/sphinx/html/api/Cos.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/Cos.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,287 @@
+
+
+<!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>Cos &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="CSParallelepipedModel" href="CSParallelepipedModel.html" />
+    <link rel="prev" title="CorrLengthModel" href="CorrLengthModel.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="CSParallelepipedModel.html" title="CSParallelepipedModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="CorrLengthModel.html" title="CorrLengthModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="cos">
+<h1>Cos<a class="headerlink" href="#cos" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.Cos">
+<span id="sans-models-cos"></span><h2><a class="reference internal" href="#module-sans.models.Cos" title="sans.models.Cos"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.Cos</span></tt></a><a class="headerlink" href="#module-sans.models.Cos" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide cos(x) function as a BaseComponent model</p>
+<dl class="class">
+<dt id="sans.models.Cos.Cos">
+<em class="property">class </em><tt class="descclassname">sans.models.Cos.</tt><tt class="descname">Cos</tt><a class="headerlink" href="#sans.models.Cos.Cos" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a cos(x) model.</p>
+<dl class="method">
+<dt id="sans.models.Cos.Cos.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Cos.Cos.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Cos.Cos.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Cos.Cos.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Cos.Cos.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.Cos.Cos.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Cos.Cos.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Cos.Cos.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Cos.Cos.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.Cos.Cos.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Cos.Cos.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Cos.Cos.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Cos.Cos.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.Cos.Cos.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Cos.Cos.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.Cos.Cos.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Cos.Cos.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.Cos.Cos.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Cos.Cos.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.Cos.Cos.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input x, or [x, phi] [radian]
+&#64;return: cos(x) or cos(x*cos(phi))*cos(x*cos(phi))</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Cos.Cos.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.Cos.Cos.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input x, or [x, y] [radian]
+&#64;return: cos(x) or cos(x)*cos(y)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Cos.Cos.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.Cos.Cos.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Cos.Cos.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.Cos.Cos.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">Cos</a><ul>
+<li><a class="reference internal" href="#module-sans.models.Cos"><tt class="docutils literal"><span class="pre">sans.models.Cos</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="CorrLengthModel.html"
+                        title="previous chapter">CorrLengthModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="CSParallelepipedModel.html"
+                        title="next chapter">CSParallelepipedModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/Cos.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" size="18" />
+      <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="CSParallelepipedModel.html" title="CSParallelepipedModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="CorrLengthModel.html" title="CorrLengthModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/CylinderModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/CylinderModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/CylinderModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,348 @@
+
+
+<!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>CylinderModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="DABModel" href="DABModel.html" />
+    <link rel="prev" title="CSParallelepipedModel" href="CSParallelepipedModel.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="DABModel.html" title="DABModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="CSParallelepipedModel.html" title="CSParallelepipedModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="cylindermodel">
+<h1>CylinderModel<a class="headerlink" href="#cylindermodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.CylinderModel">
+<span id="sans-models-cylindermodel"></span><h2><a class="reference internal" href="#module-sans.models.CylinderModel" title="sans.models.CylinderModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.CylinderModel</span></tt></a><a class="headerlink" href="#module-sans.models.CylinderModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionscylinder.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.CylinderModel.CylinderModel">
+<em class="property">class </em><tt class="descclassname">sans.models.CylinderModel.</tt><tt class="descname">CylinderModel</tt><a class="headerlink" href="#sans.models.CylinderModel.CylinderModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CCylinderModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a CylinderModel model. 
+This file was auto-generated from ..c_extensionscylinder.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+radius          = 20.0 [A]
+length          = 400.0 [A]
+sldCyl          = 4e-06 [1/A^(2)]
+sldSolv         = 1e-06 [1/A^(2)]
+background      = 0.0 [1/cm]
+cyl_theta       = 60.0 [deg]
+cyl_phi         = 60.0 [deg]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.CylinderModel.CylinderModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CylinderModel.CylinderModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CylinderModel.CylinderModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CylinderModel.CylinderModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CylinderModel.CylinderModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.CylinderModel.CylinderModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CylinderModel.CylinderModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.CylinderModel.CylinderModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CylinderModel.CylinderModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CylinderModel.CylinderModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CylinderModel.CylinderModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.CylinderModel.CylinderModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CylinderModel.CylinderModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CylinderModel.CylinderModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CylinderModel.CylinderModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CylinderModel.CylinderModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CylinderModel.CylinderModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CylinderModel.CylinderModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CylinderModel.CylinderModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.CylinderModel.CylinderModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CylinderModel.CylinderModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.CylinderModel.CylinderModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CylinderModel.CylinderModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.CylinderModel.CylinderModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.CylinderModel.CylinderModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.CylinderModel.CylinderModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CylinderModel.CylinderModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.CylinderModel.CylinderModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CylinderModel.CylinderModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.CylinderModel.CylinderModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CylinderModel.CylinderModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.CylinderModel.CylinderModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CylinderModel.CylinderModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CylinderModel.CylinderModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.CylinderModel.CylinderModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.CylinderModel.CylinderModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.CylinderModel.create_CylinderModel">
+<tt class="descclassname">sans.models.CylinderModel.</tt><tt class="descname">create_CylinderModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CylinderModel.create_CylinderModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">CylinderModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.CylinderModel"><tt class="docutils literal"><span class="pre">sans.models.CylinderModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="CSParallelepipedModel.html"
+                        title="previous chapter">CSParallelepipedModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="DABModel.html"
+                        title="next chapter">DABModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/CylinderModel.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" size="18" />
+      <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="DABModel.html" title="DABModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="CSParallelepipedModel.html" title="CSParallelepipedModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/DABModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/DABModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/DABModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,295 @@
+
+
+<!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>DABModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="DebyeModel" href="DebyeModel.html" />
+    <link rel="prev" title="CylinderModel" href="CylinderModel.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="DebyeModel.html" title="DebyeModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="CylinderModel.html" title="CylinderModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="dabmodel">
+<h1>DABModel<a class="headerlink" href="#dabmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.DABModel">
+<span id="sans-models-dabmodel"></span><h2><a class="reference internal" href="#module-sans.models.DABModel" title="sans.models.DABModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.DABModel</span></tt></a><a class="headerlink" href="#module-sans.models.DABModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide F(x) = scale/( 1 + (x*L)^2 )^(2) + background
+DAB (Debye Anderson Brumberger) function as a BaseComponent model</p>
+<dl class="class">
+<dt id="sans.models.DABModel.DABModel">
+<em class="property">class </em><tt class="descclassname">sans.models.DABModel.</tt><tt class="descname">DABModel</tt><a class="headerlink" href="#sans.models.DABModel.DABModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a DAB model.</p>
+<p>F(x) = scale*(L^3)/( 1 + (x*L)^2 )^(2) + background</p>
+<dl class="docutils">
+<dt>The model has three parameters: </dt>
+<dd>L             =  Correlation Length
+scale         =  scale factor
+background    =  incoherent background</dd>
+</dl>
+<dl class="method">
+<dt id="sans.models.DABModel.DABModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.DABModel.DABModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DABModel.DABModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.DABModel.DABModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DABModel.DABModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.DABModel.DABModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DABModel.DABModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.DABModel.DABModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DABModel.DABModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.DABModel.DABModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DABModel.DABModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.DABModel.DABModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DABModel.DABModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.DABModel.DABModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DABModel.DABModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.DABModel.DABModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DABModel.DABModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.DABModel.DABModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DABModel.DABModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.DABModel.DABModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [r, theta])
+&#64;return: (DAB value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DABModel.DABModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.DABModel.DABModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [qx, qy])
+&#64;return: DAB value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DABModel.DABModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.DABModel.DABModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DABModel.DABModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.DABModel.DABModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">DABModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.DABModel"><tt class="docutils literal"><span class="pre">sans.models.DABModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="CylinderModel.html"
+                        title="previous chapter">CylinderModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="DebyeModel.html"
+                        title="next chapter">DebyeModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/DABModel.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" size="18" />
+      <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="DebyeModel.html" title="DebyeModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="CylinderModel.html" title="CylinderModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/DebyeModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/DebyeModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/DebyeModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,297 @@
+
+
+<!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>DebyeModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="DiamCylFunc" href="DiamCylFunc.html" />
+    <link rel="prev" title="DABModel" href="DABModel.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="DiamCylFunc.html" title="DiamCylFunc"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="DABModel.html" title="DABModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="debyemodel">
+<h1>DebyeModel<a class="headerlink" href="#debyemodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.DebyeModel">
+<span id="sans-models-debyemodel"></span><h2><a class="reference internal" href="#module-sans.models.DebyeModel" title="sans.models.DebyeModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.DebyeModel</span></tt></a><a class="headerlink" href="#module-sans.models.DebyeModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide F(x) = 2( exp(-x) + x - 1 )/x**2
+with x = (q*R_g)**2</p>
+<p>Debye function as a BaseComponent model</p>
+<dl class="class">
+<dt id="sans.models.DebyeModel.DebyeModel">
+<em class="property">class </em><tt class="descclassname">sans.models.DebyeModel.</tt><tt class="descname">DebyeModel</tt><a class="headerlink" href="#sans.models.DebyeModel.DebyeModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a Debye model.</p>
+<p>F(x) = 2( exp(-x) + x - 1 )/x**2
+with x = (q*R_g)**2</p>
+<dl class="docutils">
+<dt>The model has three parameters: </dt>
+<dd>Rg     =  radius of gyration
+scale  =  scale factor
+bkd    =  Constant background</dd>
+</dl>
+<dl class="method">
+<dt id="sans.models.DebyeModel.DebyeModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.DebyeModel.DebyeModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DebyeModel.DebyeModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.DebyeModel.DebyeModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DebyeModel.DebyeModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.DebyeModel.DebyeModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DebyeModel.DebyeModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.DebyeModel.DebyeModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DebyeModel.DebyeModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.DebyeModel.DebyeModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DebyeModel.DebyeModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.DebyeModel.DebyeModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DebyeModel.DebyeModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.DebyeModel.DebyeModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DebyeModel.DebyeModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.DebyeModel.DebyeModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DebyeModel.DebyeModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.DebyeModel.DebyeModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DebyeModel.DebyeModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.DebyeModel.DebyeModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [r, theta])
+&#64;return: (debye value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DebyeModel.DebyeModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.DebyeModel.DebyeModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [qx, qy])
+&#64;return: debye value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DebyeModel.DebyeModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.DebyeModel.DebyeModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DebyeModel.DebyeModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.DebyeModel.DebyeModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">DebyeModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.DebyeModel"><tt class="docutils literal"><span class="pre">sans.models.DebyeModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="DABModel.html"
+                        title="previous chapter">DABModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="DiamCylFunc.html"
+                        title="next chapter">DiamCylFunc</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/DebyeModel.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" size="18" />
+      <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="DiamCylFunc.html" title="DiamCylFunc"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="DABModel.html" title="DABModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/DiamCylFunc.html
===================================================================
--- sansmodels/docs/sphinx/html/api/DiamCylFunc.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/DiamCylFunc.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,342 @@
+
+
+<!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>DiamCylFunc &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="DiamEllipFunc" href="DiamEllipFunc.html" />
+    <link rel="prev" title="DebyeModel" href="DebyeModel.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="DiamEllipFunc.html" title="DiamEllipFunc"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="DebyeModel.html" title="DebyeModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="diamcylfunc">
+<h1>DiamCylFunc<a class="headerlink" href="#diamcylfunc" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.DiamCylFunc">
+<span id="sans-models-diamcylfunc"></span><h2><a class="reference internal" href="#module-sans.models.DiamCylFunc" title="sans.models.DiamCylFunc"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.DiamCylFunc</span></tt></a><a class="headerlink" href="#module-sans.models.DiamCylFunc" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionsDiamCyl.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.DiamCylFunc.DiamCylFunc">
+<em class="property">class </em><tt class="descclassname">sans.models.DiamCylFunc.</tt><tt class="descname">DiamCylFunc</tt><a class="headerlink" href="#sans.models.DiamCylFunc.DiamCylFunc" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CDiamCylFunc</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a DiamCylFunc model. 
+This file was auto-generated from ..c_extensionsDiamCyl.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>radius          = 20.0 A
+length          = 400.0 A</div></blockquote>
+<dl class="method">
+<dt id="sans.models.DiamCylFunc.DiamCylFunc.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.DiamCylFunc.DiamCylFunc.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DiamCylFunc.DiamCylFunc.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.DiamCylFunc.DiamCylFunc.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.DiamCylFunc.DiamCylFunc.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.DiamCylFunc.DiamCylFunc.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DiamCylFunc.DiamCylFunc.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.DiamCylFunc.DiamCylFunc.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DiamCylFunc.DiamCylFunc.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.DiamCylFunc.DiamCylFunc.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DiamCylFunc.DiamCylFunc.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.DiamCylFunc.DiamCylFunc.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DiamCylFunc.DiamCylFunc.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.DiamCylFunc.DiamCylFunc.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DiamCylFunc.DiamCylFunc.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.DiamCylFunc.DiamCylFunc.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DiamCylFunc.DiamCylFunc.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.DiamCylFunc.DiamCylFunc.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DiamCylFunc.DiamCylFunc.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.DiamCylFunc.DiamCylFunc.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.DiamCylFunc.DiamCylFunc.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.DiamCylFunc.DiamCylFunc.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.DiamCylFunc.DiamCylFunc.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.DiamCylFunc.DiamCylFunc.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.DiamCylFunc.DiamCylFunc.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.DiamCylFunc.DiamCylFunc.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DiamCylFunc.DiamCylFunc.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.DiamCylFunc.DiamCylFunc.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DiamCylFunc.DiamCylFunc.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.DiamCylFunc.DiamCylFunc.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DiamCylFunc.DiamCylFunc.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.DiamCylFunc.DiamCylFunc.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DiamCylFunc.DiamCylFunc.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.DiamCylFunc.DiamCylFunc.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DiamCylFunc.DiamCylFunc.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.DiamCylFunc.DiamCylFunc.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.DiamCylFunc.create_DiamCylFunc">
+<tt class="descclassname">sans.models.DiamCylFunc.</tt><tt class="descname">create_DiamCylFunc</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.DiamCylFunc.create_DiamCylFunc" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">DiamCylFunc</a><ul>
+<li><a class="reference internal" href="#module-sans.models.DiamCylFunc"><tt class="docutils literal"><span class="pre">sans.models.DiamCylFunc</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="DebyeModel.html"
+                        title="previous chapter">DebyeModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="DiamEllipFunc.html"
+                        title="next chapter">DiamEllipFunc</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/DiamCylFunc.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" size="18" />
+      <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="DiamEllipFunc.html" title="DiamEllipFunc"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="DebyeModel.html" title="DebyeModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/DiamEllipFunc.html
===================================================================
--- sansmodels/docs/sphinx/html/api/DiamEllipFunc.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/DiamEllipFunc.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,342 @@
+
+
+<!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>DiamEllipFunc &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="DisperseModel" href="DisperseModel.html" />
+    <link rel="prev" title="DiamCylFunc" href="DiamCylFunc.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="DisperseModel.html" title="DisperseModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="DiamCylFunc.html" title="DiamCylFunc"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="diamellipfunc">
+<h1>DiamEllipFunc<a class="headerlink" href="#diamellipfunc" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.DiamEllipFunc">
+<span id="sans-models-diamellipfunc"></span><h2><a class="reference internal" href="#module-sans.models.DiamEllipFunc" title="sans.models.DiamEllipFunc"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.DiamEllipFunc</span></tt></a><a class="headerlink" href="#module-sans.models.DiamEllipFunc" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionsDiamEllip.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.DiamEllipFunc.DiamEllipFunc">
+<em class="property">class </em><tt class="descclassname">sans.models.DiamEllipFunc.</tt><tt class="descname">DiamEllipFunc</tt><a class="headerlink" href="#sans.models.DiamEllipFunc.DiamEllipFunc" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CDiamEllipFunc</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a DiamEllipFunc model. 
+This file was auto-generated from ..c_extensionsDiamEllip.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>radius_a        = 20.0 A
+radius_b        = 400.0 A</div></blockquote>
+<dl class="method">
+<dt id="sans.models.DiamEllipFunc.DiamEllipFunc.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.DiamEllipFunc.DiamEllipFunc.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DiamEllipFunc.DiamEllipFunc.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.DiamEllipFunc.DiamEllipFunc.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.DiamEllipFunc.DiamEllipFunc.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.DiamEllipFunc.DiamEllipFunc.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DiamEllipFunc.DiamEllipFunc.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.DiamEllipFunc.DiamEllipFunc.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DiamEllipFunc.DiamEllipFunc.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.DiamEllipFunc.DiamEllipFunc.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DiamEllipFunc.DiamEllipFunc.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.DiamEllipFunc.DiamEllipFunc.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DiamEllipFunc.DiamEllipFunc.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.DiamEllipFunc.DiamEllipFunc.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DiamEllipFunc.DiamEllipFunc.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.DiamEllipFunc.DiamEllipFunc.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DiamEllipFunc.DiamEllipFunc.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.DiamEllipFunc.DiamEllipFunc.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DiamEllipFunc.DiamEllipFunc.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.DiamEllipFunc.DiamEllipFunc.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.DiamEllipFunc.DiamEllipFunc.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.DiamEllipFunc.DiamEllipFunc.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.DiamEllipFunc.DiamEllipFunc.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.DiamEllipFunc.DiamEllipFunc.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.DiamEllipFunc.DiamEllipFunc.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.DiamEllipFunc.DiamEllipFunc.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DiamEllipFunc.DiamEllipFunc.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.DiamEllipFunc.DiamEllipFunc.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DiamEllipFunc.DiamEllipFunc.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.DiamEllipFunc.DiamEllipFunc.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DiamEllipFunc.DiamEllipFunc.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.DiamEllipFunc.DiamEllipFunc.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DiamEllipFunc.DiamEllipFunc.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.DiamEllipFunc.DiamEllipFunc.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DiamEllipFunc.DiamEllipFunc.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.DiamEllipFunc.DiamEllipFunc.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.DiamEllipFunc.create_DiamEllipFunc">
+<tt class="descclassname">sans.models.DiamEllipFunc.</tt><tt class="descname">create_DiamEllipFunc</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.DiamEllipFunc.create_DiamEllipFunc" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">DiamEllipFunc</a><ul>
+<li><a class="reference internal" href="#module-sans.models.DiamEllipFunc"><tt class="docutils literal"><span class="pre">sans.models.DiamEllipFunc</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="DiamCylFunc.html"
+                        title="previous chapter">DiamCylFunc</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="DisperseModel.html"
+                        title="next chapter">DisperseModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/DiamEllipFunc.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" size="18" />
+      <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="DisperseModel.html" title="DisperseModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="DiamCylFunc.html" title="DiamCylFunc"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/DisperseModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/DisperseModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/DisperseModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,314 @@
+
+
+<!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>DisperseModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="dispersion_models" href="dispersion_models.html" />
+    <link rel="prev" title="DiamEllipFunc" href="DiamEllipFunc.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="dispersion_models.html" title="dispersion_models"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="DiamEllipFunc.html" title="DiamEllipFunc"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="dispersemodel">
+<h1>DisperseModel<a class="headerlink" href="#dispersemodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.DisperseModel">
+<span id="sans-models-dispersemodel"></span><h2><a class="reference internal" href="#module-sans.models.DisperseModel" title="sans.models.DisperseModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.DisperseModel</span></tt></a><a class="headerlink" href="#module-sans.models.DisperseModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Wrapper for the Disperser class extension</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">author:</th><td class="field-body">Mathieu Doucet / UTK</td>
+</tr>
+<tr class="field"><th class="field-name">contact:</th><td class="field-body"><a class="reference external" href="mailto:mathieu&#46;doucet&#37;&#52;&#48;nist&#46;gov">mathieu<span>&#46;</span>doucet<span>&#64;</span>nist<span>&#46;</span>gov</a></td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.DisperseModel.DisperseModel">
+<em class="property">class </em><tt class="descclassname">sans.models.DisperseModel.</tt><tt class="descname">DisperseModel</tt><big>(</big><em>model</em>, <em>paramList</em>, <em>sigmaList</em><big>)</big><a class="headerlink" href="#sans.models.DisperseModel.DisperseModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">Disperser</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Wrapper class for the Disperser extension
+Python class that takes a model and averages its output
+for a distribution of its parameters.</p>
+<p>The parameters to be varied are specified at instantiation time.
+The distributions are Gaussian, with std deviations specified for
+each parameter at instantiation time.</p>
+<p>Example:</p>
+<div class="highlight-python"><div class="highlight"><pre><span class="n">cyl</span> <span class="o">=</span> <span class="n">ModelFactory</span><span class="p">()</span><span class="o">.</span><span class="n">getModel</span><span class="p">(</span><span class="s">&quot;CylinderModel&quot;</span><span class="p">)</span>
+<span class="n">disp</span> <span class="o">=</span> <span class="n">DisperseModel</span><span class="p">(</span><span class="n">cyl</span><span class="p">,</span> <span class="p">[</span><span class="s">&#39;cyl_phi&#39;</span><span class="p">],</span> <span class="p">[</span><span class="mf">0.3</span><span class="p">])</span>
+<span class="n">disp</span><span class="o">.</span><span class="n">run</span><span class="p">([</span><span class="mf">0.01</span><span class="p">,</span> <span class="mf">1.57</span><span class="p">])</span>
+</pre></div>
+</div>
+<dl class="method">
+<dt id="sans.models.DisperseModel.DisperseModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.DisperseModel.DisperseModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DisperseModel.DisperseModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.DisperseModel.DisperseModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DisperseModel.DisperseModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.DisperseModel.DisperseModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DisperseModel.DisperseModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.DisperseModel.DisperseModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DisperseModel.DisperseModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.DisperseModel.DisperseModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DisperseModel.DisperseModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.DisperseModel.DisperseModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DisperseModel.DisperseModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.DisperseModel.DisperseModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DisperseModel.DisperseModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.DisperseModel.DisperseModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DisperseModel.DisperseModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.DisperseModel.DisperseModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.DisperseModel.DisperseModel.model">
+<tt class="descname">model</tt><a class="headerlink" href="#sans.models.DisperseModel.DisperseModel.model" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Model to disperse</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.DisperseModel.DisperseModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.DisperseModel.DisperseModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DisperseModel.DisperseModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.DisperseModel.DisperseModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DisperseModel.DisperseModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.DisperseModel.DisperseModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DisperseModel.DisperseModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.DisperseModel.DisperseModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DisperseModel.DisperseModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.DisperseModel.DisperseModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">DisperseModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.DisperseModel"><tt class="docutils literal"><span class="pre">sans.models.DisperseModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="DiamEllipFunc.html"
+                        title="previous chapter">DiamEllipFunc</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="dispersion_models.html"
+                        title="next chapter">dispersion_models</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/DisperseModel.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" size="18" />
+      <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="dispersion_models.html" title="dispersion_models"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="DiamEllipFunc.html" title="DiamEllipFunc"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/DivComponent.html
===================================================================
--- sansmodels/docs/sphinx/html/api/DivComponent.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/DivComponent.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,274 @@
+
+
+<!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>DivComponent &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="EllipsoidModel" href="EllipsoidModel.html" />
+    <link rel="prev" title="dispersion_models" href="dispersion_models.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="EllipsoidModel.html" title="EllipsoidModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="dispersion_models.html" title="dispersion_models"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="divcomponent">
+<h1>DivComponent<a class="headerlink" href="#divcomponent" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.DivComponent">
+<span id="sans-models-divcomponent"></span><h2><a class="reference internal" href="#module-sans.models.DivComponent" title="sans.models.DivComponent"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.DivComponent</span></tt></a><a class="headerlink" href="#module-sans.models.DivComponent" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide base functionality for all model components
+&#64;author: Mathieu Doucet / UTK
+&#64;contact: <a class="reference external" href="mailto:mathieu&#46;doucet&#37;&#52;&#48;nist&#46;gov">mathieu<span>&#46;</span>doucet<span>&#64;</span>nist<span>&#46;</span>gov</a></p>
+<dl class="class">
+<dt id="sans.models.DivComponent.DivComponent">
+<em class="property">class </em><tt class="descclassname">sans.models.DivComponent.</tt><tt class="descname">DivComponent</tt><big>(</big><em>base=None</em>, <em>other=None</em><big>)</big><a class="headerlink" href="#sans.models.DivComponent.DivComponent" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Basic model component for Division
+Provides basic arithmetics</p>
+<dl class="method">
+<dt id="sans.models.DivComponent.DivComponent.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.DivComponent.DivComponent.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DivComponent.DivComponent.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.DivComponent.DivComponent.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DivComponent.DivComponent.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.DivComponent.DivComponent.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DivComponent.DivComponent.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.DivComponent.DivComponent.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DivComponent.DivComponent.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.DivComponent.DivComponent.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter
+&#64;param name: name of the parameter
+&#64;return: value of the parameter</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DivComponent.DivComponent.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.DivComponent.DivComponent.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DivComponent.DivComponent.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.DivComponent.DivComponent.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DivComponent.DivComponent.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.DivComponent.DivComponent.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DivComponent.DivComponent.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.DivComponent.DivComponent.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DivComponent.DivComponent.run">
+<tt class="descname">run</tt><big>(</big><em>x=0</em><big>)</big><a class="headerlink" href="#sans.models.DivComponent.DivComponent.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate each part of the component and sum the results
+&#64;param x: input parameter
+&#64;return: value of the model at x</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DivComponent.DivComponent.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0</em><big>)</big><a class="headerlink" href="#sans.models.DivComponent.DivComponent.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate each part of the component and sum the results
+&#64;param x: input parameter
+&#64;return: value of the model at x</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DivComponent.DivComponent.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.DivComponent.DivComponent.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter
+&#64;param name: name of parameter to set
+&#64;param value: value to give the paramter</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.DivComponent.DivComponent.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.DivComponent.DivComponent.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">DivComponent</a><ul>
+<li><a class="reference internal" href="#module-sans.models.DivComponent"><tt class="docutils literal"><span class="pre">sans.models.DivComponent</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="dispersion_models.html"
+                        title="previous chapter">dispersion_models</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="EllipsoidModel.html"
+                        title="next chapter">EllipsoidModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/DivComponent.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" size="18" />
+      <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="EllipsoidModel.html" title="EllipsoidModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="dispersion_models.html" title="dispersion_models"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/EllipsoidModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/EllipsoidModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/EllipsoidModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,348 @@
+
+
+<!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>EllipsoidModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="EllipticalCylinderModel" href="EllipticalCylinderModel.html" />
+    <link rel="prev" title="DivComponent" href="DivComponent.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="EllipticalCylinderModel.html" title="EllipticalCylinderModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="DivComponent.html" title="DivComponent"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="ellipsoidmodel">
+<h1>EllipsoidModel<a class="headerlink" href="#ellipsoidmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.EllipsoidModel">
+<span id="sans-models-ellipsoidmodel"></span><h2><a class="reference internal" href="#module-sans.models.EllipsoidModel" title="sans.models.EllipsoidModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.EllipsoidModel</span></tt></a><a class="headerlink" href="#module-sans.models.EllipsoidModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionsellipsoid.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.EllipsoidModel.EllipsoidModel">
+<em class="property">class </em><tt class="descclassname">sans.models.EllipsoidModel.</tt><tt class="descname">EllipsoidModel</tt><a class="headerlink" href="#sans.models.EllipsoidModel.EllipsoidModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CEllipsoidModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a EllipsoidModel model. 
+This file was auto-generated from ..c_extensionsellipsoid.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+radius_a        = 20.0 [A]
+radius_b        = 400.0 [A]
+sldEll          = 4e-06 [1/A^(2)]
+sldSolv         = 1e-06 [1/A^(2)]
+background      = 0.0 [1/cm]
+axis_theta      = 90.0 [deg]
+axis_phi        = 0.0 [deg]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.EllipsoidModel.EllipsoidModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.EllipsoidModel.EllipsoidModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.EllipsoidModel.EllipsoidModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.EllipsoidModel.EllipsoidModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.EllipsoidModel.EllipsoidModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.EllipsoidModel.EllipsoidModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.EllipsoidModel.EllipsoidModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.EllipsoidModel.EllipsoidModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.EllipsoidModel.EllipsoidModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.EllipsoidModel.EllipsoidModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.EllipsoidModel.EllipsoidModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.EllipsoidModel.EllipsoidModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.EllipsoidModel.EllipsoidModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.EllipsoidModel.EllipsoidModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.EllipsoidModel.EllipsoidModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.EllipsoidModel.EllipsoidModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.EllipsoidModel.EllipsoidModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.EllipsoidModel.EllipsoidModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.EllipsoidModel.EllipsoidModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.EllipsoidModel.EllipsoidModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.EllipsoidModel.EllipsoidModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.EllipsoidModel.EllipsoidModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.EllipsoidModel.EllipsoidModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.EllipsoidModel.EllipsoidModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.EllipsoidModel.EllipsoidModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.EllipsoidModel.EllipsoidModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.EllipsoidModel.EllipsoidModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.EllipsoidModel.EllipsoidModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.EllipsoidModel.EllipsoidModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.EllipsoidModel.EllipsoidModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.EllipsoidModel.EllipsoidModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.EllipsoidModel.EllipsoidModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.EllipsoidModel.EllipsoidModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.EllipsoidModel.EllipsoidModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.EllipsoidModel.EllipsoidModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.EllipsoidModel.EllipsoidModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.EllipsoidModel.create_EllipsoidModel">
+<tt class="descclassname">sans.models.EllipsoidModel.</tt><tt class="descname">create_EllipsoidModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.EllipsoidModel.create_EllipsoidModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">EllipsoidModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.EllipsoidModel"><tt class="docutils literal"><span class="pre">sans.models.EllipsoidModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="DivComponent.html"
+                        title="previous chapter">DivComponent</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="EllipticalCylinderModel.html"
+                        title="next chapter">EllipticalCylinderModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/EllipsoidModel.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" size="18" />
+      <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="EllipticalCylinderModel.html" title="EllipticalCylinderModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="DivComponent.html" title="DivComponent"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/EllipticalCylinderModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/EllipticalCylinderModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/EllipticalCylinderModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,350 @@
+
+
+<!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>EllipticalCylinderModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="FCCrystalModel" href="FCCrystalModel.html" />
+    <link rel="prev" title="EllipsoidModel" href="EllipsoidModel.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="FCCrystalModel.html" title="FCCrystalModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="EllipsoidModel.html" title="EllipsoidModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="ellipticalcylindermodel">
+<h1>EllipticalCylinderModel<a class="headerlink" href="#ellipticalcylindermodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.EllipticalCylinderModel">
+<span id="sans-models-ellipticalcylindermodel"></span><h2><a class="reference internal" href="#module-sans.models.EllipticalCylinderModel" title="sans.models.EllipticalCylinderModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.EllipticalCylinderModel</span></tt></a><a class="headerlink" href="#module-sans.models.EllipticalCylinderModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionselliptical_cylinder.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.EllipticalCylinderModel.EllipticalCylinderModel">
+<em class="property">class </em><tt class="descclassname">sans.models.EllipticalCylinderModel.</tt><tt class="descname">EllipticalCylinderModel</tt><a class="headerlink" href="#sans.models.EllipticalCylinderModel.EllipticalCylinderModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CEllipticalCylinderModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a EllipticalCylinderModel model. 
+This file was auto-generated from ..c_extensionselliptical_cylinder.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+r_minor         = 20.0 [A]
+r_ratio         = 1.5 
+length          = 400.0 [A]
+sldCyl          = 4e-06 [1/A^(2)]
+sldSolv         = 1e-06 [1/A^(2)]
+background      = 0.0 [1/cm]
+cyl_theta       = 90.0 [deg]
+cyl_phi         = 0.0 [deg]
+cyl_psi         = 0.0 [deg]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.EllipticalCylinderModel.EllipticalCylinderModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.EllipticalCylinderModel.EllipticalCylinderModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.EllipticalCylinderModel.EllipticalCylinderModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.EllipticalCylinderModel.EllipticalCylinderModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.EllipticalCylinderModel.EllipticalCylinderModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.EllipticalCylinderModel.EllipticalCylinderModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.EllipticalCylinderModel.EllipticalCylinderModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.EllipticalCylinderModel.EllipticalCylinderModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.EllipticalCylinderModel.EllipticalCylinderModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.EllipticalCylinderModel.EllipticalCylinderModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.EllipticalCylinderModel.EllipticalCylinderModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.EllipticalCylinderModel.EllipticalCylinderModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.EllipticalCylinderModel.EllipticalCylinderModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.EllipticalCylinderModel.EllipticalCylinderModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.EllipticalCylinderModel.EllipticalCylinderModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.EllipticalCylinderModel.EllipticalCylinderModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.EllipticalCylinderModel.EllipticalCylinderModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.EllipticalCylinderModel.EllipticalCylinderModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.EllipticalCylinderModel.EllipticalCylinderModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.EllipticalCylinderModel.EllipticalCylinderModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.EllipticalCylinderModel.EllipticalCylinderModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.EllipticalCylinderModel.EllipticalCylinderModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.EllipticalCylinderModel.EllipticalCylinderModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.EllipticalCylinderModel.EllipticalCylinderModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.EllipticalCylinderModel.EllipticalCylinderModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.EllipticalCylinderModel.EllipticalCylinderModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.EllipticalCylinderModel.EllipticalCylinderModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.EllipticalCylinderModel.EllipticalCylinderModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.EllipticalCylinderModel.EllipticalCylinderModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.EllipticalCylinderModel.EllipticalCylinderModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.EllipticalCylinderModel.EllipticalCylinderModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.EllipticalCylinderModel.EllipticalCylinderModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.EllipticalCylinderModel.EllipticalCylinderModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.EllipticalCylinderModel.EllipticalCylinderModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.EllipticalCylinderModel.EllipticalCylinderModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.EllipticalCylinderModel.EllipticalCylinderModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.EllipticalCylinderModel.create_EllipticalCylinderModel">
+<tt class="descclassname">sans.models.EllipticalCylinderModel.</tt><tt class="descname">create_EllipticalCylinderModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.EllipticalCylinderModel.create_EllipticalCylinderModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">EllipticalCylinderModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.EllipticalCylinderModel"><tt class="docutils literal"><span class="pre">sans.models.EllipticalCylinderModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="EllipsoidModel.html"
+                        title="previous chapter">EllipsoidModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="FCCrystalModel.html"
+                        title="next chapter">FCCrystalModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/EllipticalCylinderModel.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" size="18" />
+      <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="FCCrystalModel.html" title="FCCrystalModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="EllipsoidModel.html" title="EllipsoidModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/FCCrystalModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/FCCrystalModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/FCCrystalModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,352 @@
+
+
+<!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>FCCrystalModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="FlexCylEllipXModel" href="FlexCylEllipXModel.html" />
+    <link rel="prev" title="EllipticalCylinderModel" href="EllipticalCylinderModel.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="FlexCylEllipXModel.html" title="FlexCylEllipXModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="EllipticalCylinderModel.html" title="EllipticalCylinderModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="fccrystalmodel">
+<h1>FCCrystalModel<a class="headerlink" href="#fccrystalmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.FCCrystalModel">
+<span id="sans-models-fccrystalmodel"></span><h2><a class="reference internal" href="#module-sans.models.FCCrystalModel" title="sans.models.FCCrystalModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.FCCrystalModel</span></tt></a><a class="headerlink" href="#module-sans.models.FCCrystalModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensions
+cc.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.FCCrystalModel.FCCrystalModel">
+<em class="property">class </em><tt class="descclassname">sans.models.FCCrystalModel.</tt><tt class="descname">FCCrystalModel</tt><a class="headerlink" href="#sans.models.FCCrystalModel.FCCrystalModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CFCCrystalModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a FCCrystalModel model. 
+This file was auto-generated from ..c_extensions
+cc.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+dnn             = 220.0 [A]
+d_factor        = 0.06 
+radius          = 40.0 [A]
+sldSph          = 3e-06 [1/A^(2)]
+sldSolv         = 6.3e-06 [1/A^(2)]
+background      = 0.0 [1/cm]
+theta           = 0.0 [deg]
+phi             = 0.0 [deg]
+psi             = 0.0 [deg]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.FCCrystalModel.FCCrystalModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FCCrystalModel.FCCrystalModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FCCrystalModel.FCCrystalModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FCCrystalModel.FCCrystalModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.FCCrystalModel.FCCrystalModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.FCCrystalModel.FCCrystalModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FCCrystalModel.FCCrystalModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.FCCrystalModel.FCCrystalModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FCCrystalModel.FCCrystalModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FCCrystalModel.FCCrystalModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FCCrystalModel.FCCrystalModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.FCCrystalModel.FCCrystalModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FCCrystalModel.FCCrystalModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FCCrystalModel.FCCrystalModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FCCrystalModel.FCCrystalModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.FCCrystalModel.FCCrystalModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FCCrystalModel.FCCrystalModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.FCCrystalModel.FCCrystalModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FCCrystalModel.FCCrystalModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.FCCrystalModel.FCCrystalModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.FCCrystalModel.FCCrystalModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.FCCrystalModel.FCCrystalModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.FCCrystalModel.FCCrystalModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.FCCrystalModel.FCCrystalModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.FCCrystalModel.FCCrystalModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.FCCrystalModel.FCCrystalModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FCCrystalModel.FCCrystalModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.FCCrystalModel.FCCrystalModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FCCrystalModel.FCCrystalModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.FCCrystalModel.FCCrystalModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FCCrystalModel.FCCrystalModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.FCCrystalModel.FCCrystalModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FCCrystalModel.FCCrystalModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.FCCrystalModel.FCCrystalModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FCCrystalModel.FCCrystalModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.FCCrystalModel.FCCrystalModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.FCCrystalModel.create_FCCrystalModel">
+<tt class="descclassname">sans.models.FCCrystalModel.</tt><tt class="descname">create_FCCrystalModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FCCrystalModel.create_FCCrystalModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">FCCrystalModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.FCCrystalModel"><tt class="docutils literal"><span class="pre">sans.models.FCCrystalModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="EllipticalCylinderModel.html"
+                        title="previous chapter">EllipticalCylinderModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="FlexCylEllipXModel.html"
+                        title="next chapter">FlexCylEllipXModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/FCCrystalModel.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" size="18" />
+      <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="FlexCylEllipXModel.html" title="FlexCylEllipXModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="EllipticalCylinderModel.html" title="EllipticalCylinderModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/FlexCylEllipXModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/FlexCylEllipXModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/FlexCylEllipXModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,350 @@
+
+
+<!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>FlexCylEllipXModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="FlexibleCylinderModel" href="FlexibleCylinderModel.html" />
+    <link rel="prev" title="FCCrystalModel" href="FCCrystalModel.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="FlexibleCylinderModel.html" title="FlexibleCylinderModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="FCCrystalModel.html" title="FCCrystalModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="flexcylellipxmodel">
+<h1>FlexCylEllipXModel<a class="headerlink" href="#flexcylellipxmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.FlexCylEllipXModel">
+<span id="sans-models-flexcylellipxmodel"></span><h2><a class="reference internal" href="#module-sans.models.FlexCylEllipXModel" title="sans.models.FlexCylEllipXModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.FlexCylEllipXModel</span></tt></a><a class="headerlink" href="#module-sans.models.FlexCylEllipXModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensions
+lexcyl_ellipX.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.FlexCylEllipXModel.FlexCylEllipXModel">
+<em class="property">class </em><tt class="descclassname">sans.models.FlexCylEllipXModel.</tt><tt class="descname">FlexCylEllipXModel</tt><a class="headerlink" href="#sans.models.FlexCylEllipXModel.FlexCylEllipXModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CFlexCylEllipXModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a FlexCylEllipXModel model. 
+This file was auto-generated from ..c_extensions
+lexcyl_ellipX.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+length          = 1000.0 [A]
+kuhn_length     = 100.0 [A]
+radius          = 20.0 [A]
+axis_ratio      = 1.5 
+sldCyl          = 1e-06 [1/A^(2)]
+sldSolv         = 6.3e-06 [1/A^(2)]
+background      = 0.0001 [1/cm]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.FlexCylEllipXModel.FlexCylEllipXModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FlexCylEllipXModel.FlexCylEllipXModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FlexCylEllipXModel.FlexCylEllipXModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FlexCylEllipXModel.FlexCylEllipXModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.FlexCylEllipXModel.FlexCylEllipXModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.FlexCylEllipXModel.FlexCylEllipXModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FlexCylEllipXModel.FlexCylEllipXModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.FlexCylEllipXModel.FlexCylEllipXModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FlexCylEllipXModel.FlexCylEllipXModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FlexCylEllipXModel.FlexCylEllipXModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FlexCylEllipXModel.FlexCylEllipXModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.FlexCylEllipXModel.FlexCylEllipXModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FlexCylEllipXModel.FlexCylEllipXModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FlexCylEllipXModel.FlexCylEllipXModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FlexCylEllipXModel.FlexCylEllipXModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.FlexCylEllipXModel.FlexCylEllipXModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FlexCylEllipXModel.FlexCylEllipXModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.FlexCylEllipXModel.FlexCylEllipXModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FlexCylEllipXModel.FlexCylEllipXModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.FlexCylEllipXModel.FlexCylEllipXModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.FlexCylEllipXModel.FlexCylEllipXModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.FlexCylEllipXModel.FlexCylEllipXModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.FlexCylEllipXModel.FlexCylEllipXModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.FlexCylEllipXModel.FlexCylEllipXModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.FlexCylEllipXModel.FlexCylEllipXModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.FlexCylEllipXModel.FlexCylEllipXModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FlexCylEllipXModel.FlexCylEllipXModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.FlexCylEllipXModel.FlexCylEllipXModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FlexCylEllipXModel.FlexCylEllipXModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.FlexCylEllipXModel.FlexCylEllipXModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FlexCylEllipXModel.FlexCylEllipXModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.FlexCylEllipXModel.FlexCylEllipXModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FlexCylEllipXModel.FlexCylEllipXModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.FlexCylEllipXModel.FlexCylEllipXModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FlexCylEllipXModel.FlexCylEllipXModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.FlexCylEllipXModel.FlexCylEllipXModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.FlexCylEllipXModel.create_FlexCylEllipXModel">
+<tt class="descclassname">sans.models.FlexCylEllipXModel.</tt><tt class="descname">create_FlexCylEllipXModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FlexCylEllipXModel.create_FlexCylEllipXModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">FlexCylEllipXModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.FlexCylEllipXModel"><tt class="docutils literal"><span class="pre">sans.models.FlexCylEllipXModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="FCCrystalModel.html"
+                        title="previous chapter">FCCrystalModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="FlexibleCylinderModel.html"
+                        title="next chapter">FlexibleCylinderModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/FlexCylEllipXModel.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" size="18" />
+      <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="FlexibleCylinderModel.html" title="FlexibleCylinderModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="FCCrystalModel.html" title="FCCrystalModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/FlexibleCylinderModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/FlexibleCylinderModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/FlexibleCylinderModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,349 @@
+
+
+<!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>FlexibleCylinderModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="FractalAbsModel" href="FractalAbsModel.html" />
+    <link rel="prev" title="FlexCylEllipXModel" href="FlexCylEllipXModel.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="FractalAbsModel.html" title="FractalAbsModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="FlexCylEllipXModel.html" title="FlexCylEllipXModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="flexiblecylindermodel">
+<h1>FlexibleCylinderModel<a class="headerlink" href="#flexiblecylindermodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.FlexibleCylinderModel">
+<span id="sans-models-flexiblecylindermodel"></span><h2><a class="reference internal" href="#module-sans.models.FlexibleCylinderModel" title="sans.models.FlexibleCylinderModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.FlexibleCylinderModel</span></tt></a><a class="headerlink" href="#module-sans.models.FlexibleCylinderModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensions
+lexible_cylinder.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.FlexibleCylinderModel.FlexibleCylinderModel">
+<em class="property">class </em><tt class="descclassname">sans.models.FlexibleCylinderModel.</tt><tt class="descname">FlexibleCylinderModel</tt><a class="headerlink" href="#sans.models.FlexibleCylinderModel.FlexibleCylinderModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CFlexibleCylinderModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a FlexibleCylinderModel model. 
+This file was auto-generated from ..c_extensions
+lexible_cylinder.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+length          = 1000.0 [A]
+kuhn_length     = 100.0 [A]
+radius          = 20.0 [A]
+sldCyl          = 1e-06 [1/A^(2)]
+sldSolv         = 6.3e-06 [1/A^(2)]
+background      = 0.0001 [1/cm]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.FlexibleCylinderModel.FlexibleCylinderModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FlexibleCylinderModel.FlexibleCylinderModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FlexibleCylinderModel.FlexibleCylinderModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FlexibleCylinderModel.FlexibleCylinderModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.FlexibleCylinderModel.FlexibleCylinderModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.FlexibleCylinderModel.FlexibleCylinderModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FlexibleCylinderModel.FlexibleCylinderModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.FlexibleCylinderModel.FlexibleCylinderModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FlexibleCylinderModel.FlexibleCylinderModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FlexibleCylinderModel.FlexibleCylinderModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FlexibleCylinderModel.FlexibleCylinderModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.FlexibleCylinderModel.FlexibleCylinderModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FlexibleCylinderModel.FlexibleCylinderModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FlexibleCylinderModel.FlexibleCylinderModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FlexibleCylinderModel.FlexibleCylinderModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.FlexibleCylinderModel.FlexibleCylinderModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FlexibleCylinderModel.FlexibleCylinderModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.FlexibleCylinderModel.FlexibleCylinderModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FlexibleCylinderModel.FlexibleCylinderModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.FlexibleCylinderModel.FlexibleCylinderModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.FlexibleCylinderModel.FlexibleCylinderModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.FlexibleCylinderModel.FlexibleCylinderModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.FlexibleCylinderModel.FlexibleCylinderModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.FlexibleCylinderModel.FlexibleCylinderModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.FlexibleCylinderModel.FlexibleCylinderModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.FlexibleCylinderModel.FlexibleCylinderModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FlexibleCylinderModel.FlexibleCylinderModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.FlexibleCylinderModel.FlexibleCylinderModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FlexibleCylinderModel.FlexibleCylinderModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.FlexibleCylinderModel.FlexibleCylinderModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FlexibleCylinderModel.FlexibleCylinderModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.FlexibleCylinderModel.FlexibleCylinderModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FlexibleCylinderModel.FlexibleCylinderModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.FlexibleCylinderModel.FlexibleCylinderModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FlexibleCylinderModel.FlexibleCylinderModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.FlexibleCylinderModel.FlexibleCylinderModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.FlexibleCylinderModel.create_FlexibleCylinderModel">
+<tt class="descclassname">sans.models.FlexibleCylinderModel.</tt><tt class="descname">create_FlexibleCylinderModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FlexibleCylinderModel.create_FlexibleCylinderModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">FlexibleCylinderModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.FlexibleCylinderModel"><tt class="docutils literal"><span class="pre">sans.models.FlexibleCylinderModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="FlexCylEllipXModel.html"
+                        title="previous chapter">FlexCylEllipXModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="FractalAbsModel.html"
+                        title="next chapter">FractalAbsModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/FlexibleCylinderModel.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" size="18" />
+      <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="FractalAbsModel.html" title="FractalAbsModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="FlexCylEllipXModel.html" title="FlexCylEllipXModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/FractalAbsModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/FractalAbsModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/FractalAbsModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,331 @@
+
+
+<!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>FractalAbsModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="FractalCoreShellModel" href="FractalCoreShellModel.html" />
+    <link rel="prev" title="FlexibleCylinderModel" href="FlexibleCylinderModel.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="FractalCoreShellModel.html" title="FractalCoreShellModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="FlexibleCylinderModel.html" title="FlexibleCylinderModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="fractalabsmodel">
+<h1>FractalAbsModel<a class="headerlink" href="#fractalabsmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.FractalAbsModel">
+<span id="sans-models-fractalabsmodel"></span><h2><a class="reference internal" href="#module-sans.models.FractalAbsModel" title="sans.models.FractalAbsModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.FractalAbsModel</span></tt></a><a class="headerlink" href="#module-sans.models.FractalAbsModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide F(x)= P(<a href="#id1"><span class="problematic" id="id2">|x|</span></a>)*S(<a href="#id3"><span class="problematic" id="id4">|x|</span></a>) + bkd
+Fractal as a BaseComponent model</p>
+<dl class="class">
+<dt id="sans.models.FractalAbsModel.FractalAbsModel">
+<em class="property">class </em><tt class="descclassname">sans.models.FractalAbsModel.</tt><tt class="descname">FractalAbsModel</tt><a class="headerlink" href="#sans.models.FractalAbsModel.FractalAbsModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="FractalModel.html#sans.models.FractalModel.FractalModel" title="sans.models.FractalModel.FractalModel"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.FractalModel.FractalModel</span></tt></a></p>
+<p>Class that evaluates a Fractal function.</p>
+<p>F(<a href="#id5"><span class="problematic" id="id6">|x|</span></a>)= P(<a href="#id7"><span class="problematic" id="id8">|x|</span></a>)*S(<a href="#id9"><span class="problematic" id="id10">|x|</span></a>) + bkd
+The model has Seven parameters:</p>
+<blockquote>
+<div>scale        =  Volume fraction
+radius       =  Block radius
+fractal_dim  =  Fractal dimension
+corr_length  =  correlation Length
+block_sld    =  SDL block
+solvent_sld  =  SDL solvent
+background   =  background</div></blockquote>
+<dl class="method">
+<dt id="sans.models.FractalAbsModel.FractalAbsModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalAbsModel.FractalAbsModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalAbsModel.FractalAbsModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalAbsModel.FractalAbsModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.FractalAbsModel.FractalAbsModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.FractalAbsModel.FractalAbsModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalAbsModel.FractalAbsModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.FractalAbsModel.FractalAbsModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalAbsModel.FractalAbsModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalAbsModel.FractalAbsModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalAbsModel.FractalAbsModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.FractalAbsModel.FractalAbsModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalAbsModel.FractalAbsModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalAbsModel.FractalAbsModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalAbsModel.FractalAbsModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.FractalAbsModel.FractalAbsModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalAbsModel.FractalAbsModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.FractalAbsModel.FractalAbsModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalAbsModel.FractalAbsModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.FractalAbsModel.FractalAbsModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.FractalAbsModel.FractalAbsModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.FractalAbsModel.FractalAbsModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.FractalAbsModel.FractalAbsModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.FractalAbsModel.FractalAbsModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.FractalAbsModel.FractalAbsModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.FractalAbsModel.FractalAbsModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalAbsModel.FractalAbsModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.FractalAbsModel.FractalAbsModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalAbsModel.FractalAbsModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.FractalAbsModel.FractalAbsModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalAbsModel.FractalAbsModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.FractalAbsModel.FractalAbsModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalAbsModel.FractalAbsModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.FractalAbsModel.FractalAbsModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalAbsModel.FractalAbsModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.FractalAbsModel.FractalAbsModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</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="#">FractalAbsModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.FractalAbsModel"><tt class="docutils literal"><span class="pre">sans.models.FractalAbsModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="FlexibleCylinderModel.html"
+                        title="previous chapter">FlexibleCylinderModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="FractalCoreShellModel.html"
+                        title="next chapter">FractalCoreShellModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/FractalAbsModel.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" size="18" />
+      <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="FractalCoreShellModel.html" title="FractalCoreShellModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="FlexibleCylinderModel.html" title="FlexibleCylinderModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/FractalCoreShellModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/FractalCoreShellModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/FractalCoreShellModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,294 @@
+
+
+<!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>FractalCoreShellModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="FractalModel" href="FractalModel.html" />
+    <link rel="prev" title="FractalAbsModel" href="FractalAbsModel.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="FractalModel.html" title="FractalModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="FractalAbsModel.html" title="FractalAbsModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="fractalcoreshellmodel">
+<h1>FractalCoreShellModel<a class="headerlink" href="#fractalcoreshellmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.FractalCoreShellModel">
+<span id="sans-models-fractalcoreshellmodel"></span><h2><a class="reference internal" href="#module-sans.models.FractalCoreShellModel" title="sans.models.FractalCoreShellModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.FractalCoreShellModel</span></tt></a><a class="headerlink" href="#module-sans.models.FractalCoreShellModel" title="Permalink to this headline">Â¶</a></h2>
+<dl class="class">
+<dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel">
+<em class="property">class </em><tt class="descclassname">sans.models.FractalCoreShellModel.</tt><tt class="descname">FractalCoreShellModel</tt><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a FractalCoreShellModel
+List of default parameters:
+volfraction     = 0.05
+radius          = 20.0 [A]
+thickness       = 5.0 [A]
+frac_dim        = 2.0
+cor_length      = 100 [A]
+core_sld        = 3.5e-006 [1/A^(2)]
+shell_sld       = 1.0e-006 [1/A^(2)]
+solvent_sld     = 6.35e-006 [1/A^(2)]
+background      = 0.0 [1/cm]</p>
+<dl class="method">
+<dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<p>: param x: input q-value (float or [float, float] as [r, theta])
+: return: (DAB value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<p>: param x: input q-value (float or [float, float] as [qx, qy])
+: return: DAB value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<p>: param name: name of the parameter
+: param value: value of the parameter</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<p>: param parameter: name of the parameter [string]
+:dispersion: dispersion object of type DispersionModel</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="#">FractalCoreShellModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.FractalCoreShellModel"><tt class="docutils literal"><span class="pre">sans.models.FractalCoreShellModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="FractalAbsModel.html"
+                        title="previous chapter">FractalAbsModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="FractalModel.html"
+                        title="next chapter">FractalModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/FractalCoreShellModel.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" size="18" />
+      <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="FractalModel.html" title="FractalModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="FractalAbsModel.html" title="FractalAbsModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/FractalMode_pymodell.html
===================================================================
--- sansmodels/docs/sphinx/html/api/FractalMode_pymodell.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/FractalMode_pymodell.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,298 @@
+
+
+<!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>FractalMode_pymodell &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="FuzzySphereModel" href="FuzzySphereModel.html" />
+    <link rel="prev" title="FractalModel" href="FractalModel.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="FuzzySphereModel.html" title="FuzzySphereModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="FractalModel.html" title="FractalModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="fractalmode-pymodell">
+<h1>FractalMode_pymodell<a class="headerlink" href="#fractalmode-pymodell" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.FractalMode_pymodell">
+<span id="sans-models-fractalmode-pymodell"></span><h2><a class="reference internal" href="#module-sans.models.FractalMode_pymodell" title="sans.models.FractalMode_pymodell"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.FractalMode_pymodell</span></tt></a><a class="headerlink" href="#module-sans.models.FractalMode_pymodell" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide F(x)= P(x)*S(x) + bkd
+Fractal as a BaseComponent model</p>
+<dl class="class">
+<dt id="sans.models.FractalMode_pymodell.FractalModel">
+<em class="property">class </em><tt class="descclassname">sans.models.FractalMode_pymodell.</tt><tt class="descname">FractalModel</tt><a class="headerlink" href="#sans.models.FractalMode_pymodell.FractalModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a Fractal function.</p>
+<p>F(x)= P(x)*S(x) + bkd
+The model has Seven parameters:</p>
+<blockquote>
+<div>scale        =  Volume fraction
+radius       =  Block radius
+fractal_dim  =  Fractal dimension
+corr_length  =  correlation Length
+block_sld    =  SDL block
+solvent_sld  =  SDL solvent
+background   =  background</div></blockquote>
+<dl class="method">
+<dt id="sans.models.FractalMode_pymodell.FractalModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalMode_pymodell.FractalModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalMode_pymodell.FractalModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalMode_pymodell.FractalModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalMode_pymodell.FractalModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.FractalMode_pymodell.FractalModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalMode_pymodell.FractalModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalMode_pymodell.FractalModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalMode_pymodell.FractalModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.FractalMode_pymodell.FractalModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalMode_pymodell.FractalModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalMode_pymodell.FractalModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalMode_pymodell.FractalModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.FractalMode_pymodell.FractalModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalMode_pymodell.FractalModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.FractalMode_pymodell.FractalModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalMode_pymodell.FractalModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.FractalMode_pymodell.FractalModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalMode_pymodell.FractalModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.FractalMode_pymodell.FractalModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [r, theta])
+&#64;return: (Fractal value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalMode_pymodell.FractalModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.FractalMode_pymodell.FractalModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [qx, qy])
+&#64;return: Fractal value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalMode_pymodell.FractalModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.FractalMode_pymodell.FractalModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalMode_pymodell.FractalModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.FractalMode_pymodell.FractalModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">FractalMode_pymodell</a><ul>
+<li><a class="reference internal" href="#module-sans.models.FractalMode_pymodell"><tt class="docutils literal"><span class="pre">sans.models.FractalMode_pymodell</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="FractalModel.html"
+                        title="previous chapter">FractalModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="FuzzySphereModel.html"
+                        title="next chapter">FuzzySphereModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/FractalMode_pymodell.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" size="18" />
+      <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="FuzzySphereModel.html" title="FuzzySphereModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="FractalModel.html" title="FractalModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/FractalModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/FractalModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/FractalModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,349 @@
+
+
+<!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>FractalModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="FractalMode_pymodell" href="FractalMode_pymodell.html" />
+    <link rel="prev" title="FractalCoreShellModel" href="FractalCoreShellModel.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="FractalMode_pymodell.html" title="FractalMode_pymodell"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="FractalCoreShellModel.html" title="FractalCoreShellModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="fractalmodel">
+<h1>FractalModel<a class="headerlink" href="#fractalmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.FractalModel">
+<span id="sans-models-fractalmodel"></span><h2><a class="reference internal" href="#module-sans.models.FractalModel" title="sans.models.FractalModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.FractalModel</span></tt></a><a class="headerlink" href="#module-sans.models.FractalModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensions
+ractal.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.FractalModel.FractalModel">
+<em class="property">class </em><tt class="descclassname">sans.models.FractalModel.</tt><tt class="descname">FractalModel</tt><a class="headerlink" href="#sans.models.FractalModel.FractalModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CFractalModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a FractalModel model. 
+This file was auto-generated from ..c_extensions
+ractal.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 0.05 
+radius          = 5.0 [A]
+fractal_dim     = 2.0 
+cor_length      = 100.0 [A]
+sldBlock        = 2e-06 [1/A^(2)]
+sldSolv         = 6.35e-06 [1/A^(2)]
+background      = 0.0 [1/cm]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.FractalModel.FractalModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalModel.FractalModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalModel.FractalModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalModel.FractalModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.FractalModel.FractalModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.FractalModel.FractalModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalModel.FractalModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.FractalModel.FractalModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalModel.FractalModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalModel.FractalModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalModel.FractalModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.FractalModel.FractalModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalModel.FractalModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalModel.FractalModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalModel.FractalModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.FractalModel.FractalModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalModel.FractalModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.FractalModel.FractalModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalModel.FractalModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.FractalModel.FractalModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.FractalModel.FractalModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.FractalModel.FractalModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.FractalModel.FractalModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.FractalModel.FractalModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.FractalModel.FractalModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.FractalModel.FractalModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalModel.FractalModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.FractalModel.FractalModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalModel.FractalModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.FractalModel.FractalModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalModel.FractalModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.FractalModel.FractalModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalModel.FractalModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.FractalModel.FractalModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FractalModel.FractalModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.FractalModel.FractalModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.FractalModel.create_FractalModel">
+<tt class="descclassname">sans.models.FractalModel.</tt><tt class="descname">create_FractalModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalModel.create_FractalModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">FractalModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.FractalModel"><tt class="docutils literal"><span class="pre">sans.models.FractalModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="FractalCoreShellModel.html"
+                        title="previous chapter">FractalCoreShellModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="FractalMode_pymodell.html"
+                        title="next chapter">FractalMode_pymodell</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/FractalModel.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" size="18" />
+      <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="FractalMode_pymodell.html" title="FractalMode_pymodell"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="FractalCoreShellModel.html" title="FractalCoreShellModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/FuzzySphereModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/FuzzySphereModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/FuzzySphereModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,348 @@
+
+
+<!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>FuzzySphereModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="Gaussian" href="Gaussian.html" />
+    <link rel="prev" title="FractalMode_pymodell" href="FractalMode_pymodell.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="Gaussian.html" title="Gaussian"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="FractalMode_pymodell.html" title="FractalMode_pymodell"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="fuzzyspheremodel">
+<h1>FuzzySphereModel<a class="headerlink" href="#fuzzyspheremodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.FuzzySphereModel">
+<span id="sans-models-fuzzyspheremodel"></span><h2><a class="reference internal" href="#module-sans.models.FuzzySphereModel" title="sans.models.FuzzySphereModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.FuzzySphereModel</span></tt></a><a class="headerlink" href="#module-sans.models.FuzzySphereModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensions
+uzzysphere.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.FuzzySphereModel.FuzzySphereModel">
+<em class="property">class </em><tt class="descclassname">sans.models.FuzzySphereModel.</tt><tt class="descname">FuzzySphereModel</tt><a class="headerlink" href="#sans.models.FuzzySphereModel.FuzzySphereModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CFuzzySphereModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a FuzzySphereModel model. 
+This file was auto-generated from ..c_extensions
+uzzysphere.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 0.01 
+radius          = 60.0 [A]
+fuzziness       = 10.0 [A]
+sldSph          = 1e-06 [1/A^(2)]
+sldSolv         = 3e-06 [1/A^(2)]
+background      = 0.001 [1/cm]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.FuzzySphereModel.FuzzySphereModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FuzzySphereModel.FuzzySphereModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FuzzySphereModel.FuzzySphereModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FuzzySphereModel.FuzzySphereModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.FuzzySphereModel.FuzzySphereModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.FuzzySphereModel.FuzzySphereModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FuzzySphereModel.FuzzySphereModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.FuzzySphereModel.FuzzySphereModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FuzzySphereModel.FuzzySphereModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FuzzySphereModel.FuzzySphereModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FuzzySphereModel.FuzzySphereModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.FuzzySphereModel.FuzzySphereModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FuzzySphereModel.FuzzySphereModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FuzzySphereModel.FuzzySphereModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FuzzySphereModel.FuzzySphereModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.FuzzySphereModel.FuzzySphereModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FuzzySphereModel.FuzzySphereModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.FuzzySphereModel.FuzzySphereModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FuzzySphereModel.FuzzySphereModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.FuzzySphereModel.FuzzySphereModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.FuzzySphereModel.FuzzySphereModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.FuzzySphereModel.FuzzySphereModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.FuzzySphereModel.FuzzySphereModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.FuzzySphereModel.FuzzySphereModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.FuzzySphereModel.FuzzySphereModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.FuzzySphereModel.FuzzySphereModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FuzzySphereModel.FuzzySphereModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.FuzzySphereModel.FuzzySphereModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FuzzySphereModel.FuzzySphereModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.FuzzySphereModel.FuzzySphereModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FuzzySphereModel.FuzzySphereModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.FuzzySphereModel.FuzzySphereModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FuzzySphereModel.FuzzySphereModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.FuzzySphereModel.FuzzySphereModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.FuzzySphereModel.FuzzySphereModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.FuzzySphereModel.FuzzySphereModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.FuzzySphereModel.create_FuzzySphereModel">
+<tt class="descclassname">sans.models.FuzzySphereModel.</tt><tt class="descname">create_FuzzySphereModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FuzzySphereModel.create_FuzzySphereModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">FuzzySphereModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.FuzzySphereModel"><tt class="docutils literal"><span class="pre">sans.models.FuzzySphereModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="FractalMode_pymodell.html"
+                        title="previous chapter">FractalMode_pymodell</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="Gaussian.html"
+                        title="next chapter">Gaussian</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/FuzzySphereModel.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" size="18" />
+      <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="Gaussian.html" title="Gaussian"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="FractalMode_pymodell.html" title="FractalMode_pymodell"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/GaussLorentzGelModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/GaussLorentzGelModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/GaussLorentzGelModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,301 @@
+
+
+<!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>GaussLorentzGelModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="GuinierModel" href="GuinierModel.html" />
+    <link rel="prev" title="Gaussian" href="Gaussian.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="GuinierModel.html" title="GuinierModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="Gaussian.html" title="Gaussian"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="gausslorentzgelmodel">
+<h1>GaussLorentzGelModel<a class="headerlink" href="#gausslorentzgelmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.GaussLorentzGelModel">
+<span id="sans-models-gausslorentzgelmodel"></span><h2><a class="reference internal" href="#module-sans.models.GaussLorentzGelModel" title="sans.models.GaussLorentzGelModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.GaussLorentzGelModel</span></tt></a><a class="headerlink" href="#module-sans.models.GaussLorentzGelModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide I(q) = I_0 exp ( - R_g^2 q^2 / 3.0)
+GaussLorentzGel function as a BaseComponent model</p>
+<dl class="class">
+<dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel">
+<em class="property">class </em><tt class="descclassname">sans.models.GaussLorentzGelModel.</tt><tt class="descname">GaussLorentzGelModel</tt><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a GaussLorentzGel model.</p>
+<dl class="docutils">
+<dt>I(q) = scale_g*exp(- q^2*Z^2 / 2)+scale_l/(1+q^2*z^2)</dt>
+<dd><ul class="first last simple">
+<li>background</li>
+</ul>
+</dd>
+<dt>List of default parameters:</dt>
+<dd>scale_g = Gauss scale factor
+Z = Static correlation length
+scale_l = Lorentzian scale factor
+z = Dynamic correlation length
+background = Incoherent background</dd>
+</dl>
+<dl class="method">
+<dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [r, theta])
+&#64;return: (guinier value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [qx, qy])
+&#64;return: guinier value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">GaussLorentzGelModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.GaussLorentzGelModel"><tt class="docutils literal"><span class="pre">sans.models.GaussLorentzGelModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="Gaussian.html"
+                        title="previous chapter">Gaussian</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="GuinierModel.html"
+                        title="next chapter">GuinierModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/GaussLorentzGelModel.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" size="18" />
+      <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="GuinierModel.html" title="GuinierModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="Gaussian.html" title="Gaussian"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/Gaussian.html
===================================================================
--- sansmodels/docs/sphinx/html/api/Gaussian.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/Gaussian.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,337 @@
+
+
+<!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>Gaussian &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="GaussLorentzGelModel" href="GaussLorentzGelModel.html" />
+    <link rel="prev" title="FuzzySphereModel" href="FuzzySphereModel.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="GaussLorentzGelModel.html" title="GaussLorentzGelModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="FuzzySphereModel.html" title="FuzzySphereModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="gaussian">
+<h1>Gaussian<a class="headerlink" href="#gaussian" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.Gaussian">
+<span id="sans-models-gaussian"></span><h2><a class="reference internal" href="#module-sans.models.Gaussian" title="sans.models.Gaussian"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.Gaussian</span></tt></a><a class="headerlink" href="#module-sans.models.Gaussian" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionsgaussian.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.Gaussian.Gaussian">
+<em class="property">class </em><tt class="descclassname">sans.models.Gaussian.</tt><tt class="descname">Gaussian</tt><a class="headerlink" href="#sans.models.Gaussian.Gaussian" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CGaussian</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a Gaussian model. 
+This file was auto-generated from ..c_extensionsgaussian.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+sigma           = 1.0 
+center          = 0.0</div></blockquote>
+<dl class="method">
+<dt id="sans.models.Gaussian.Gaussian.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Gaussian.Gaussian.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Gaussian.Gaussian.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Gaussian.Gaussian.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Gaussian.Gaussian.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.Gaussian.Gaussian.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Gaussian.Gaussian.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Gaussian.Gaussian.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Gaussian.Gaussian.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.Gaussian.Gaussian.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Gaussian.Gaussian.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Gaussian.Gaussian.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Gaussian.Gaussian.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.Gaussian.Gaussian.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Gaussian.Gaussian.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.Gaussian.Gaussian.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Gaussian.Gaussian.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.Gaussian.Gaussian.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.Gaussian.Gaussian.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.Gaussian.Gaussian.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.Gaussian.Gaussian.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.Gaussian.Gaussian.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.Gaussian.Gaussian.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.Gaussian.Gaussian.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Gaussian.Gaussian.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.Gaussian.Gaussian.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Gaussian.Gaussian.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.Gaussian.Gaussian.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Gaussian.Gaussian.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.Gaussian.Gaussian.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Gaussian.Gaussian.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.Gaussian.Gaussian.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Gaussian.Gaussian.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.Gaussian.Gaussian.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.Gaussian.create_Gaussian">
+<tt class="descclassname">sans.models.Gaussian.</tt><tt class="descname">create_Gaussian</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Gaussian.create_Gaussian" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">Gaussian</a><ul>
+<li><a class="reference internal" href="#module-sans.models.Gaussian"><tt class="docutils literal"><span class="pre">sans.models.Gaussian</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="FuzzySphereModel.html"
+                        title="previous chapter">FuzzySphereModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="GaussLorentzGelModel.html"
+                        title="next chapter">GaussLorentzGelModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/Gaussian.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" size="18" />
+      <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="GaussLorentzGelModel.html" title="GaussLorentzGelModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="FuzzySphereModel.html" title="FuzzySphereModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/GuinierModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/GuinierModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/GuinierModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,294 @@
+
+
+<!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>GuinierModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="GuinierPorodModel" href="GuinierPorodModel.html" />
+    <link rel="prev" title="GaussLorentzGelModel" href="GaussLorentzGelModel.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="GuinierPorodModel.html" title="GuinierPorodModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="GaussLorentzGelModel.html" title="GaussLorentzGelModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="guiniermodel">
+<h1>GuinierModel<a class="headerlink" href="#guiniermodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.GuinierModel">
+<span id="sans-models-guiniermodel"></span><h2><a class="reference internal" href="#module-sans.models.GuinierModel" title="sans.models.GuinierModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.GuinierModel</span></tt></a><a class="headerlink" href="#module-sans.models.GuinierModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide I(q) = I_0 exp ( - R_g^2 q^2 / 3.0)
+Guinier function as a BaseComponent model</p>
+<dl class="class">
+<dt id="sans.models.GuinierModel.GuinierModel">
+<em class="property">class </em><tt class="descclassname">sans.models.GuinierModel.</tt><tt class="descname">GuinierModel</tt><a class="headerlink" href="#sans.models.GuinierModel.GuinierModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a Guinier model.</p>
+<p>I(q) = I_0 exp ( - R_g^2 q^2 / 3.0 )</p>
+<dl class="docutils">
+<dt>List of default parameters:</dt>
+<dd>I_0 = Scale
+R_g = Radius of gyration</dd>
+</dl>
+<dl class="method">
+<dt id="sans.models.GuinierModel.GuinierModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GuinierModel.GuinierModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GuinierModel.GuinierModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GuinierModel.GuinierModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GuinierModel.GuinierModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.GuinierModel.GuinierModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GuinierModel.GuinierModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GuinierModel.GuinierModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GuinierModel.GuinierModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.GuinierModel.GuinierModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GuinierModel.GuinierModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GuinierModel.GuinierModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GuinierModel.GuinierModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.GuinierModel.GuinierModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GuinierModel.GuinierModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.GuinierModel.GuinierModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GuinierModel.GuinierModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.GuinierModel.GuinierModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GuinierModel.GuinierModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.GuinierModel.GuinierModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [r, theta])
+&#64;return: (guinier value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GuinierModel.GuinierModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.GuinierModel.GuinierModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [qx, qy])
+&#64;return: guinier value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GuinierModel.GuinierModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.GuinierModel.GuinierModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GuinierModel.GuinierModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.GuinierModel.GuinierModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">GuinierModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.GuinierModel"><tt class="docutils literal"><span class="pre">sans.models.GuinierModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="GaussLorentzGelModel.html"
+                        title="previous chapter">GaussLorentzGelModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="GuinierPorodModel.html"
+                        title="next chapter">GuinierPorodModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/GuinierModel.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" size="18" />
+      <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="GuinierPorodModel.html" title="GuinierPorodModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="GaussLorentzGelModel.html" title="GaussLorentzGelModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/GuinierPorodModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/GuinierPorodModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/GuinierPorodModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,295 @@
+
+
+<!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>GuinierPorodModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="HardsphereStructure" href="HardsphereStructure.html" />
+    <link rel="prev" title="GuinierModel" href="GuinierModel.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="HardsphereStructure.html" title="HardsphereStructure"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="GuinierModel.html" title="GuinierModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="guinierporodmodel">
+<h1>GuinierPorodModel<a class="headerlink" href="#guinierporodmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.GuinierPorodModel">
+<span id="sans-models-guinierporodmodel"></span><h2><a class="reference internal" href="#module-sans.models.GuinierPorodModel" title="sans.models.GuinierPorodModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.GuinierPorodModel</span></tt></a><a class="headerlink" href="#module-sans.models.GuinierPorodModel" title="Permalink to this headline">Â¶</a></h2>
+<dl class="docutils">
+<dt>I(q) = scale/q^s* exp ( - R_g^2 q^2 / (3-s) ) for q&lt;= ql</dt>
+<dd>= scale/q^m*exp((-ql^2*Rg^2)/(3-s))*ql^(m-s) for q&gt;=ql</dd>
+</dl>
+<p>Guinier function as a BaseComponent model</p>
+<dl class="class">
+<dt id="sans.models.GuinierPorodModel.GuinierPorodModel">
+<em class="property">class </em><tt class="descclassname">sans.models.GuinierPorodModel.</tt><tt class="descname">GuinierPorodModel</tt><a class="headerlink" href="#sans.models.GuinierPorodModel.GuinierPorodModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a GuinierPorod model.</p>
+<dl class="docutils">
+<dt>I(q) = scale/q^s* exp ( - R_g^2 q^2 / (3-s) ) for q&lt;= ql</dt>
+<dd>= scale/q^m*exp((-ql^2*Rg^2)/(3-s))*ql^(m-s) for q&gt;=ql</dd>
+</dl>
+<dl class="method">
+<dt id="sans.models.GuinierPorodModel.GuinierPorodModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GuinierPorodModel.GuinierPorodModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GuinierPorodModel.GuinierPorodModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GuinierPorodModel.GuinierPorodModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GuinierPorodModel.GuinierPorodModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.GuinierPorodModel.GuinierPorodModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GuinierPorodModel.GuinierPorodModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GuinierPorodModel.GuinierPorodModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GuinierPorodModel.GuinierPorodModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.GuinierPorodModel.GuinierPorodModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GuinierPorodModel.GuinierPorodModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GuinierPorodModel.GuinierPorodModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GuinierPorodModel.GuinierPorodModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.GuinierPorodModel.GuinierPorodModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GuinierPorodModel.GuinierPorodModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.GuinierPorodModel.GuinierPorodModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GuinierPorodModel.GuinierPorodModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.GuinierPorodModel.GuinierPorodModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GuinierPorodModel.GuinierPorodModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.GuinierPorodModel.GuinierPorodModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [r, theta])
+&#64;return: (guinier value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GuinierPorodModel.GuinierPorodModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.GuinierPorodModel.GuinierPorodModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [qx, qy])
+&#64;return: guinier value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GuinierPorodModel.GuinierPorodModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.GuinierPorodModel.GuinierPorodModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.GuinierPorodModel.GuinierPorodModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.GuinierPorodModel.GuinierPorodModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">GuinierPorodModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.GuinierPorodModel"><tt class="docutils literal"><span class="pre">sans.models.GuinierPorodModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="GuinierModel.html"
+                        title="previous chapter">GuinierModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="HardsphereStructure.html"
+                        title="next chapter">HardsphereStructure</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/GuinierPorodModel.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" size="18" />
+      <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="HardsphereStructure.html" title="HardsphereStructure"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="GuinierModel.html" title="GuinierModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/HardsphereStructure.html
===================================================================
--- sansmodels/docs/sphinx/html/api/HardsphereStructure.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/HardsphereStructure.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,342 @@
+
+
+<!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>HardsphereStructure &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="HayterMSAStructure" href="HayterMSAStructure.html" />
+    <link rel="prev" title="GuinierPorodModel" href="GuinierPorodModel.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="HayterMSAStructure.html" title="HayterMSAStructure"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="GuinierPorodModel.html" title="GuinierPorodModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="hardspherestructure">
+<h1>HardsphereStructure<a class="headerlink" href="#hardspherestructure" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.HardsphereStructure">
+<span id="sans-models-hardspherestructure"></span><h2><a class="reference internal" href="#module-sans.models.HardsphereStructure" title="sans.models.HardsphereStructure"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.HardsphereStructure</span></tt></a><a class="headerlink" href="#module-sans.models.HardsphereStructure" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionsHardsphere.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.HardsphereStructure.HardsphereStructure">
+<em class="property">class </em><tt class="descclassname">sans.models.HardsphereStructure.</tt><tt class="descname">HardsphereStructure</tt><a class="headerlink" href="#sans.models.HardsphereStructure.HardsphereStructure" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CHardsphereStructure</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a HardsphereStructure model. 
+This file was auto-generated from ..c_extensionsHardsphere.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>effect_radius   = 50.0 [A]
+volfraction     = 0.2</div></blockquote>
+<dl class="method">
+<dt id="sans.models.HardsphereStructure.HardsphereStructure.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.HardsphereStructure.HardsphereStructure.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HardsphereStructure.HardsphereStructure.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.HardsphereStructure.HardsphereStructure.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.HardsphereStructure.HardsphereStructure.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.HardsphereStructure.HardsphereStructure.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HardsphereStructure.HardsphereStructure.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.HardsphereStructure.HardsphereStructure.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HardsphereStructure.HardsphereStructure.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.HardsphereStructure.HardsphereStructure.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HardsphereStructure.HardsphereStructure.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.HardsphereStructure.HardsphereStructure.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HardsphereStructure.HardsphereStructure.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.HardsphereStructure.HardsphereStructure.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HardsphereStructure.HardsphereStructure.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.HardsphereStructure.HardsphereStructure.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HardsphereStructure.HardsphereStructure.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.HardsphereStructure.HardsphereStructure.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HardsphereStructure.HardsphereStructure.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.HardsphereStructure.HardsphereStructure.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.HardsphereStructure.HardsphereStructure.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.HardsphereStructure.HardsphereStructure.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.HardsphereStructure.HardsphereStructure.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.HardsphereStructure.HardsphereStructure.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.HardsphereStructure.HardsphereStructure.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.HardsphereStructure.HardsphereStructure.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HardsphereStructure.HardsphereStructure.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.HardsphereStructure.HardsphereStructure.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HardsphereStructure.HardsphereStructure.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.HardsphereStructure.HardsphereStructure.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HardsphereStructure.HardsphereStructure.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.HardsphereStructure.HardsphereStructure.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HardsphereStructure.HardsphereStructure.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.HardsphereStructure.HardsphereStructure.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HardsphereStructure.HardsphereStructure.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.HardsphereStructure.HardsphereStructure.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.HardsphereStructure.create_HardsphereStructure">
+<tt class="descclassname">sans.models.HardsphereStructure.</tt><tt class="descname">create_HardsphereStructure</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.HardsphereStructure.create_HardsphereStructure" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">HardsphereStructure</a><ul>
+<li><a class="reference internal" href="#module-sans.models.HardsphereStructure"><tt class="docutils literal"><span class="pre">sans.models.HardsphereStructure</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="GuinierPorodModel.html"
+                        title="previous chapter">GuinierPorodModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="HayterMSAStructure.html"
+                        title="next chapter">HayterMSAStructure</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/HardsphereStructure.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" size="18" />
+      <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="HayterMSAStructure.html" title="HayterMSAStructure"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="GuinierPorodModel.html" title="GuinierPorodModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/HayterMSAStructure.html
===================================================================
--- sansmodels/docs/sphinx/html/api/HayterMSAStructure.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/HayterMSAStructure.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,346 @@
+
+
+<!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>HayterMSAStructure &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="HollowCylinderModel" href="HollowCylinderModel.html" />
+    <link rel="prev" title="HardsphereStructure" href="HardsphereStructure.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="HollowCylinderModel.html" title="HollowCylinderModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="HardsphereStructure.html" title="HardsphereStructure"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="haytermsastructure">
+<h1>HayterMSAStructure<a class="headerlink" href="#haytermsastructure" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.HayterMSAStructure">
+<span id="sans-models-haytermsastructure"></span><h2><a class="reference internal" href="#module-sans.models.HayterMSAStructure" title="sans.models.HayterMSAStructure"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.HayterMSAStructure</span></tt></a><a class="headerlink" href="#module-sans.models.HayterMSAStructure" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionsHayterMSA.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.HayterMSAStructure.HayterMSAStructure">
+<em class="property">class </em><tt class="descclassname">sans.models.HayterMSAStructure.</tt><tt class="descname">HayterMSAStructure</tt><a class="headerlink" href="#sans.models.HayterMSAStructure.HayterMSAStructure" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CHayterMSAStructure</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a HayterMSAStructure model. 
+This file was auto-generated from ..c_extensionsHayterMSA.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>effect_radius   = 20.75 [A]
+charge          = 19.0 
+volfraction     = 0.0192 
+temperature     = 318.16 [K]
+saltconc        = 0.0 [M]
+dielectconst    = 71.08</div></blockquote>
+<dl class="method">
+<dt id="sans.models.HayterMSAStructure.HayterMSAStructure.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.HayterMSAStructure.HayterMSAStructure.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HayterMSAStructure.HayterMSAStructure.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.HayterMSAStructure.HayterMSAStructure.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.HayterMSAStructure.HayterMSAStructure.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.HayterMSAStructure.HayterMSAStructure.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HayterMSAStructure.HayterMSAStructure.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.HayterMSAStructure.HayterMSAStructure.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HayterMSAStructure.HayterMSAStructure.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.HayterMSAStructure.HayterMSAStructure.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HayterMSAStructure.HayterMSAStructure.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.HayterMSAStructure.HayterMSAStructure.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HayterMSAStructure.HayterMSAStructure.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.HayterMSAStructure.HayterMSAStructure.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HayterMSAStructure.HayterMSAStructure.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.HayterMSAStructure.HayterMSAStructure.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HayterMSAStructure.HayterMSAStructure.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.HayterMSAStructure.HayterMSAStructure.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HayterMSAStructure.HayterMSAStructure.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.HayterMSAStructure.HayterMSAStructure.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.HayterMSAStructure.HayterMSAStructure.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.HayterMSAStructure.HayterMSAStructure.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.HayterMSAStructure.HayterMSAStructure.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.HayterMSAStructure.HayterMSAStructure.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.HayterMSAStructure.HayterMSAStructure.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.HayterMSAStructure.HayterMSAStructure.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HayterMSAStructure.HayterMSAStructure.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.HayterMSAStructure.HayterMSAStructure.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HayterMSAStructure.HayterMSAStructure.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.HayterMSAStructure.HayterMSAStructure.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HayterMSAStructure.HayterMSAStructure.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.HayterMSAStructure.HayterMSAStructure.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HayterMSAStructure.HayterMSAStructure.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.HayterMSAStructure.HayterMSAStructure.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HayterMSAStructure.HayterMSAStructure.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.HayterMSAStructure.HayterMSAStructure.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.HayterMSAStructure.create_HayterMSAStructure">
+<tt class="descclassname">sans.models.HayterMSAStructure.</tt><tt class="descname">create_HayterMSAStructure</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.HayterMSAStructure.create_HayterMSAStructure" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">HayterMSAStructure</a><ul>
+<li><a class="reference internal" href="#module-sans.models.HayterMSAStructure"><tt class="docutils literal"><span class="pre">sans.models.HayterMSAStructure</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="HardsphereStructure.html"
+                        title="previous chapter">HardsphereStructure</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="HollowCylinderModel.html"
+                        title="next chapter">HollowCylinderModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/HayterMSAStructure.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" size="18" />
+      <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="HollowCylinderModel.html" title="HollowCylinderModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="HardsphereStructure.html" title="HardsphereStructure"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/HollowCylinderModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/HollowCylinderModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/HollowCylinderModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,349 @@
+
+
+<!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>HollowCylinderModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="LamellarFFHGModel" href="LamellarFFHGModel.html" />
+    <link rel="prev" title="HayterMSAStructure" href="HayterMSAStructure.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="LamellarFFHGModel.html" title="LamellarFFHGModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="HayterMSAStructure.html" title="HayterMSAStructure"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="hollowcylindermodel">
+<h1>HollowCylinderModel<a class="headerlink" href="#hollowcylindermodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.HollowCylinderModel">
+<span id="sans-models-hollowcylindermodel"></span><h2><a class="reference internal" href="#module-sans.models.HollowCylinderModel" title="sans.models.HollowCylinderModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.HollowCylinderModel</span></tt></a><a class="headerlink" href="#module-sans.models.HollowCylinderModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionshollow_cylinder.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.HollowCylinderModel.HollowCylinderModel">
+<em class="property">class </em><tt class="descclassname">sans.models.HollowCylinderModel.</tt><tt class="descname">HollowCylinderModel</tt><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CHollowCylinderModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a HollowCylinderModel model. 
+This file was auto-generated from ..c_extensionshollow_cylinder.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+core_radius     = 20.0 [A]
+radius          = 30.0 [A]
+length          = 400.0 [A]
+sldCyl          = 6.3e-06 [1/A^(2)]
+sldSolv         = 1e-06 [1/A^(2)]
+background      = 0.01 [1/cm]
+axis_theta      = 90.0 [deg]
+axis_phi        = 0.0 [deg]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.HollowCylinderModel.create_HollowCylinderModel">
+<tt class="descclassname">sans.models.HollowCylinderModel.</tt><tt class="descname">create_HollowCylinderModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.create_HollowCylinderModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">HollowCylinderModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.HollowCylinderModel"><tt class="docutils literal"><span class="pre">sans.models.HollowCylinderModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="HayterMSAStructure.html"
+                        title="previous chapter">HayterMSAStructure</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="LamellarFFHGModel.html"
+                        title="next chapter">LamellarFFHGModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/HollowCylinderModel.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" size="18" />
+      <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="LamellarFFHGModel.html" title="LamellarFFHGModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="HayterMSAStructure.html" title="HayterMSAStructure"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/LamellarFFHGModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/LamellarFFHGModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/LamellarFFHGModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,347 @@
+
+
+<!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>LamellarFFHGModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="LamellarModel" href="LamellarModel.html" />
+    <link rel="prev" title="HollowCylinderModel" href="HollowCylinderModel.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="LamellarModel.html" title="LamellarModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="HollowCylinderModel.html" title="HollowCylinderModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="lamellarffhgmodel">
+<h1>LamellarFFHGModel<a class="headerlink" href="#lamellarffhgmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.LamellarFFHGModel">
+<span id="sans-models-lamellarffhgmodel"></span><h2><a class="reference internal" href="#module-sans.models.LamellarFFHGModel" title="sans.models.LamellarFFHGModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.LamellarFFHGModel</span></tt></a><a class="headerlink" href="#module-sans.models.LamellarFFHGModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionslamellarFF_HG.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.LamellarFFHGModel.LamellarFFHGModel">
+<em class="property">class </em><tt class="descclassname">sans.models.LamellarFFHGModel.</tt><tt class="descname">LamellarFFHGModel</tt><a class="headerlink" href="#sans.models.LamellarFFHGModel.LamellarFFHGModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CLamellarFFHGModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a LamellarFFHGModel model. 
+This file was auto-generated from ..c_extensionslamellarFF_HG.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+t_length        = 15.0 [A]
+h_thickness     = 10.0 [A]
+sld_tail        = 4e-07 [1/A^(2)]
+sld_head        = 3e-06 [1/A^(2)]
+sld_solvent     = 6e-06 [1/A^(2)]
+background      = 0.0 [1/cm]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.LamellarFFHGModel.LamellarFFHGModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LamellarFFHGModel.LamellarFFHGModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarFFHGModel.LamellarFFHGModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LamellarFFHGModel.LamellarFFHGModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.LamellarFFHGModel.LamellarFFHGModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.LamellarFFHGModel.LamellarFFHGModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarFFHGModel.LamellarFFHGModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.LamellarFFHGModel.LamellarFFHGModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarFFHGModel.LamellarFFHGModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LamellarFFHGModel.LamellarFFHGModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarFFHGModel.LamellarFFHGModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.LamellarFFHGModel.LamellarFFHGModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarFFHGModel.LamellarFFHGModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LamellarFFHGModel.LamellarFFHGModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarFFHGModel.LamellarFFHGModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.LamellarFFHGModel.LamellarFFHGModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarFFHGModel.LamellarFFHGModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.LamellarFFHGModel.LamellarFFHGModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarFFHGModel.LamellarFFHGModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.LamellarFFHGModel.LamellarFFHGModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.LamellarFFHGModel.LamellarFFHGModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.LamellarFFHGModel.LamellarFFHGModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.LamellarFFHGModel.LamellarFFHGModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.LamellarFFHGModel.LamellarFFHGModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.LamellarFFHGModel.LamellarFFHGModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.LamellarFFHGModel.LamellarFFHGModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarFFHGModel.LamellarFFHGModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.LamellarFFHGModel.LamellarFFHGModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarFFHGModel.LamellarFFHGModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.LamellarFFHGModel.LamellarFFHGModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarFFHGModel.LamellarFFHGModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.LamellarFFHGModel.LamellarFFHGModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarFFHGModel.LamellarFFHGModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.LamellarFFHGModel.LamellarFFHGModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarFFHGModel.LamellarFFHGModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.LamellarFFHGModel.LamellarFFHGModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.LamellarFFHGModel.create_LamellarFFHGModel">
+<tt class="descclassname">sans.models.LamellarFFHGModel.</tt><tt class="descname">create_LamellarFFHGModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LamellarFFHGModel.create_LamellarFFHGModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">LamellarFFHGModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.LamellarFFHGModel"><tt class="docutils literal"><span class="pre">sans.models.LamellarFFHGModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="HollowCylinderModel.html"
+                        title="previous chapter">HollowCylinderModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="LamellarModel.html"
+                        title="next chapter">LamellarModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/LamellarFFHGModel.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" size="18" />
+      <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="LamellarModel.html" title="LamellarModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="HollowCylinderModel.html" title="HollowCylinderModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/LamellarModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/LamellarModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/LamellarModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,345 @@
+
+
+<!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>LamellarModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="LamellarPCrystalModel" href="LamellarPCrystalModel.html" />
+    <link rel="prev" title="LamellarFFHGModel" href="LamellarFFHGModel.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="LamellarPCrystalModel.html" title="LamellarPCrystalModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="LamellarFFHGModel.html" title="LamellarFFHGModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="lamellarmodel">
+<h1>LamellarModel<a class="headerlink" href="#lamellarmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.LamellarModel">
+<span id="sans-models-lamellarmodel"></span><h2><a class="reference internal" href="#module-sans.models.LamellarModel" title="sans.models.LamellarModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.LamellarModel</span></tt></a><a class="headerlink" href="#module-sans.models.LamellarModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionslamellar.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.LamellarModel.LamellarModel">
+<em class="property">class </em><tt class="descclassname">sans.models.LamellarModel.</tt><tt class="descname">LamellarModel</tt><a class="headerlink" href="#sans.models.LamellarModel.LamellarModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CLamellarModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a LamellarModel model. 
+This file was auto-generated from ..c_extensionslamellar.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+bi_thick        = 50.0 [A]
+sld_bi          = 1e-06 [1/A^(2)]
+sld_sol         = 6.3e-06 [1/A^(2)]
+background      = 0.0 [1/cm]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.LamellarModel.LamellarModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LamellarModel.LamellarModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarModel.LamellarModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LamellarModel.LamellarModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.LamellarModel.LamellarModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.LamellarModel.LamellarModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarModel.LamellarModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.LamellarModel.LamellarModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarModel.LamellarModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LamellarModel.LamellarModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarModel.LamellarModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.LamellarModel.LamellarModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarModel.LamellarModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LamellarModel.LamellarModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarModel.LamellarModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.LamellarModel.LamellarModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarModel.LamellarModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.LamellarModel.LamellarModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarModel.LamellarModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.LamellarModel.LamellarModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.LamellarModel.LamellarModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.LamellarModel.LamellarModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.LamellarModel.LamellarModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.LamellarModel.LamellarModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.LamellarModel.LamellarModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.LamellarModel.LamellarModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarModel.LamellarModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.LamellarModel.LamellarModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarModel.LamellarModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.LamellarModel.LamellarModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarModel.LamellarModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.LamellarModel.LamellarModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarModel.LamellarModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.LamellarModel.LamellarModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarModel.LamellarModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.LamellarModel.LamellarModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.LamellarModel.create_LamellarModel">
+<tt class="descclassname">sans.models.LamellarModel.</tt><tt class="descname">create_LamellarModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LamellarModel.create_LamellarModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">LamellarModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.LamellarModel"><tt class="docutils literal"><span class="pre">sans.models.LamellarModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="LamellarFFHGModel.html"
+                        title="previous chapter">LamellarFFHGModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="LamellarPCrystalModel.html"
+                        title="next chapter">LamellarPCrystalModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/LamellarModel.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" size="18" />
+      <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="LamellarPCrystalModel.html" title="LamellarPCrystalModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="LamellarFFHGModel.html" title="LamellarFFHGModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/LamellarPCrystalModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/LamellarPCrystalModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/LamellarPCrystalModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,348 @@
+
+
+<!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>LamellarPCrystalModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="LamellarPSHGModel" href="LamellarPSHGModel.html" />
+    <link rel="prev" title="LamellarModel" href="LamellarModel.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="LamellarPSHGModel.html" title="LamellarPSHGModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="LamellarModel.html" title="LamellarModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="lamellarpcrystalmodel">
+<h1>LamellarPCrystalModel<a class="headerlink" href="#lamellarpcrystalmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.LamellarPCrystalModel">
+<span id="sans-models-lamellarpcrystalmodel"></span><h2><a class="reference internal" href="#module-sans.models.LamellarPCrystalModel" title="sans.models.LamellarPCrystalModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.LamellarPCrystalModel</span></tt></a><a class="headerlink" href="#module-sans.models.LamellarPCrystalModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionslamellarPC.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.LamellarPCrystalModel.LamellarPCrystalModel">
+<em class="property">class </em><tt class="descclassname">sans.models.LamellarPCrystalModel.</tt><tt class="descname">LamellarPCrystalModel</tt><a class="headerlink" href="#sans.models.LamellarPCrystalModel.LamellarPCrystalModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CLamellarPCrystalModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a LamellarPCrystalModel model. 
+This file was auto-generated from ..c_extensionslamellarPC.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+thickness       = 33.0 [A]
+Nlayers         = 20.0 
+spacing         = 250.0 [A]
+pd_spacing      = 0.0 
+sld_layer       = 1e-06 [1/A^(2)]
+sld_solvent     = 6.34e-06 [1/A^(2)]
+background      = 0.0 [1/cm]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.LamellarPCrystalModel.LamellarPCrystalModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LamellarPCrystalModel.LamellarPCrystalModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPCrystalModel.LamellarPCrystalModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LamellarPCrystalModel.LamellarPCrystalModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.LamellarPCrystalModel.LamellarPCrystalModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.LamellarPCrystalModel.LamellarPCrystalModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPCrystalModel.LamellarPCrystalModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.LamellarPCrystalModel.LamellarPCrystalModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPCrystalModel.LamellarPCrystalModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LamellarPCrystalModel.LamellarPCrystalModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPCrystalModel.LamellarPCrystalModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPCrystalModel.LamellarPCrystalModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPCrystalModel.LamellarPCrystalModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LamellarPCrystalModel.LamellarPCrystalModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPCrystalModel.LamellarPCrystalModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPCrystalModel.LamellarPCrystalModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPCrystalModel.LamellarPCrystalModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPCrystalModel.LamellarPCrystalModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPCrystalModel.LamellarPCrystalModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPCrystalModel.LamellarPCrystalModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.LamellarPCrystalModel.LamellarPCrystalModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.LamellarPCrystalModel.LamellarPCrystalModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.LamellarPCrystalModel.LamellarPCrystalModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.LamellarPCrystalModel.LamellarPCrystalModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.LamellarPCrystalModel.LamellarPCrystalModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.LamellarPCrystalModel.LamellarPCrystalModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPCrystalModel.LamellarPCrystalModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPCrystalModel.LamellarPCrystalModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPCrystalModel.LamellarPCrystalModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPCrystalModel.LamellarPCrystalModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPCrystalModel.LamellarPCrystalModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPCrystalModel.LamellarPCrystalModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPCrystalModel.LamellarPCrystalModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPCrystalModel.LamellarPCrystalModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPCrystalModel.LamellarPCrystalModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPCrystalModel.LamellarPCrystalModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.LamellarPCrystalModel.create_LamellarPCrystalModel">
+<tt class="descclassname">sans.models.LamellarPCrystalModel.</tt><tt class="descname">create_LamellarPCrystalModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LamellarPCrystalModel.create_LamellarPCrystalModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">LamellarPCrystalModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.LamellarPCrystalModel"><tt class="docutils literal"><span class="pre">sans.models.LamellarPCrystalModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="LamellarModel.html"
+                        title="previous chapter">LamellarModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="LamellarPSHGModel.html"
+                        title="next chapter">LamellarPSHGModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/LamellarPCrystalModel.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" size="18" />
+      <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="LamellarPSHGModel.html" title="LamellarPSHGModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="LamellarModel.html" title="LamellarModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/LamellarPSHGModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/LamellarPSHGModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/LamellarPSHGModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,350 @@
+
+
+<!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>LamellarPSHGModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="LamellarPSModel" href="LamellarPSModel.html" />
+    <link rel="prev" title="LamellarPCrystalModel" href="LamellarPCrystalModel.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="LamellarPSModel.html" title="LamellarPSModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="LamellarPCrystalModel.html" title="LamellarPCrystalModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="lamellarpshgmodel">
+<h1>LamellarPSHGModel<a class="headerlink" href="#lamellarpshgmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.LamellarPSHGModel">
+<span id="sans-models-lamellarpshgmodel"></span><h2><a class="reference internal" href="#module-sans.models.LamellarPSHGModel" title="sans.models.LamellarPSHGModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.LamellarPSHGModel</span></tt></a><a class="headerlink" href="#module-sans.models.LamellarPSHGModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionslamellarPS_HG.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.LamellarPSHGModel.LamellarPSHGModel">
+<em class="property">class </em><tt class="descclassname">sans.models.LamellarPSHGModel.</tt><tt class="descname">LamellarPSHGModel</tt><a class="headerlink" href="#sans.models.LamellarPSHGModel.LamellarPSHGModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CLamellarPSHGModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a LamellarPSHGModel model. 
+This file was auto-generated from ..c_extensionslamellarPS_HG.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+spacing         = 40.0 [A]
+deltaT          = 10.0 [A]
+deltaH          = 2.0 [A]
+sld_tail        = 4e-07 [1/A^(2)]
+sld_head        = 2e-06 [1/A^(2)]
+sld_solvent     = 6e-06 [1/A^(2)]
+n_plates        = 30.0 
+caille          = 0.001 
+background      = 0.001 [1/cm]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.LamellarPSHGModel.LamellarPSHGModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LamellarPSHGModel.LamellarPSHGModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPSHGModel.LamellarPSHGModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LamellarPSHGModel.LamellarPSHGModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.LamellarPSHGModel.LamellarPSHGModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.LamellarPSHGModel.LamellarPSHGModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPSHGModel.LamellarPSHGModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.LamellarPSHGModel.LamellarPSHGModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPSHGModel.LamellarPSHGModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LamellarPSHGModel.LamellarPSHGModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPSHGModel.LamellarPSHGModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPSHGModel.LamellarPSHGModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPSHGModel.LamellarPSHGModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LamellarPSHGModel.LamellarPSHGModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPSHGModel.LamellarPSHGModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPSHGModel.LamellarPSHGModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPSHGModel.LamellarPSHGModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPSHGModel.LamellarPSHGModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPSHGModel.LamellarPSHGModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPSHGModel.LamellarPSHGModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.LamellarPSHGModel.LamellarPSHGModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.LamellarPSHGModel.LamellarPSHGModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.LamellarPSHGModel.LamellarPSHGModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.LamellarPSHGModel.LamellarPSHGModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.LamellarPSHGModel.LamellarPSHGModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.LamellarPSHGModel.LamellarPSHGModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPSHGModel.LamellarPSHGModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPSHGModel.LamellarPSHGModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPSHGModel.LamellarPSHGModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPSHGModel.LamellarPSHGModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPSHGModel.LamellarPSHGModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPSHGModel.LamellarPSHGModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPSHGModel.LamellarPSHGModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPSHGModel.LamellarPSHGModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPSHGModel.LamellarPSHGModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPSHGModel.LamellarPSHGModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.LamellarPSHGModel.create_LamellarPSHGModel">
+<tt class="descclassname">sans.models.LamellarPSHGModel.</tt><tt class="descname">create_LamellarPSHGModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LamellarPSHGModel.create_LamellarPSHGModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">LamellarPSHGModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.LamellarPSHGModel"><tt class="docutils literal"><span class="pre">sans.models.LamellarPSHGModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="LamellarPCrystalModel.html"
+                        title="previous chapter">LamellarPCrystalModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="LamellarPSModel.html"
+                        title="next chapter">LamellarPSModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/LamellarPSHGModel.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" size="18" />
+      <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="LamellarPSModel.html" title="LamellarPSModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="LamellarPCrystalModel.html" title="LamellarPCrystalModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/LamellarPSModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/LamellarPSModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/LamellarPSModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,348 @@
+
+
+<!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>LamellarPSModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="LineModel" href="LineModel.html" />
+    <link rel="prev" title="LamellarPSHGModel" href="LamellarPSHGModel.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="LineModel.html" title="LineModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="LamellarPSHGModel.html" title="LamellarPSHGModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="lamellarpsmodel">
+<h1>LamellarPSModel<a class="headerlink" href="#lamellarpsmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.LamellarPSModel">
+<span id="sans-models-lamellarpsmodel"></span><h2><a class="reference internal" href="#module-sans.models.LamellarPSModel" title="sans.models.LamellarPSModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.LamellarPSModel</span></tt></a><a class="headerlink" href="#module-sans.models.LamellarPSModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionslamellarPS.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.LamellarPSModel.LamellarPSModel">
+<em class="property">class </em><tt class="descclassname">sans.models.LamellarPSModel.</tt><tt class="descname">LamellarPSModel</tt><a class="headerlink" href="#sans.models.LamellarPSModel.LamellarPSModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CLamellarPSModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a LamellarPSModel model. 
+This file was auto-generated from ..c_extensionslamellarPS.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+spacing         = 400.0 [A]
+delta           = 30.0 [A]
+sld_bi          = 6.3e-06 [1/A^(2)]
+sld_sol         = 1e-06 [1/A^(2)]
+n_plates        = 20.0 
+caille          = 0.1 
+background      = 0.0 [1/cm]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.LamellarPSModel.LamellarPSModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LamellarPSModel.LamellarPSModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPSModel.LamellarPSModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LamellarPSModel.LamellarPSModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.LamellarPSModel.LamellarPSModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.LamellarPSModel.LamellarPSModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPSModel.LamellarPSModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.LamellarPSModel.LamellarPSModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPSModel.LamellarPSModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LamellarPSModel.LamellarPSModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPSModel.LamellarPSModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPSModel.LamellarPSModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPSModel.LamellarPSModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LamellarPSModel.LamellarPSModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPSModel.LamellarPSModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPSModel.LamellarPSModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPSModel.LamellarPSModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPSModel.LamellarPSModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPSModel.LamellarPSModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPSModel.LamellarPSModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.LamellarPSModel.LamellarPSModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.LamellarPSModel.LamellarPSModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.LamellarPSModel.LamellarPSModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.LamellarPSModel.LamellarPSModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.LamellarPSModel.LamellarPSModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.LamellarPSModel.LamellarPSModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPSModel.LamellarPSModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPSModel.LamellarPSModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPSModel.LamellarPSModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPSModel.LamellarPSModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPSModel.LamellarPSModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPSModel.LamellarPSModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPSModel.LamellarPSModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPSModel.LamellarPSModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LamellarPSModel.LamellarPSModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.LamellarPSModel.LamellarPSModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.LamellarPSModel.create_LamellarPSModel">
+<tt class="descclassname">sans.models.LamellarPSModel.</tt><tt class="descname">create_LamellarPSModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LamellarPSModel.create_LamellarPSModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">LamellarPSModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.LamellarPSModel"><tt class="docutils literal"><span class="pre">sans.models.LamellarPSModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="LamellarPSHGModel.html"
+                        title="previous chapter">LamellarPSHGModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="LineModel.html"
+                        title="next chapter">LineModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/LamellarPSModel.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" size="18" />
+      <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="LineModel.html" title="LineModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="LamellarPSHGModel.html" title="LamellarPSHGModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/LineModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/LineModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/LineModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,270 @@
+
+
+<!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>LineModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="LogNormal" href="LogNormal.html" />
+    <link rel="prev" title="LamellarPSModel" href="LamellarPSModel.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="LogNormal.html" title="LogNormal"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="LamellarPSModel.html" title="LamellarPSModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="linemodel">
+<h1>LineModel<a class="headerlink" href="#linemodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.LineModel">
+<span id="sans-models-linemodel"></span><h2><a class="reference internal" href="#module-sans.models.LineModel" title="sans.models.LineModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.LineModel</span></tt></a><a class="headerlink" href="#module-sans.models.LineModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide Line function (y= A + Bx) as a BaseComponent model</p>
+<dl class="class">
+<dt id="sans.models.LineModel.LineModel">
+<em class="property">class </em><tt class="descclassname">sans.models.LineModel.</tt><tt class="descname">LineModel</tt><a class="headerlink" href="#sans.models.LineModel.LineModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a linear model.</p>
+<p>f(x) = A + Bx</p>
+<dl class="docutils">
+<dt>List of default parameters:</dt>
+<dd>A = 1.0
+B = 1.0</dd>
+</dl>
+<dl class="method">
+<dt id="sans.models.LineModel.LineModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LineModel.LineModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LineModel.LineModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LineModel.LineModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LineModel.LineModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.LineModel.LineModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LineModel.LineModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LineModel.LineModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LineModel.LineModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.LineModel.LineModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LineModel.LineModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LineModel.LineModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LineModel.LineModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.LineModel.LineModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LineModel.LineModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.LineModel.LineModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LineModel.LineModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.LineModel.LineModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LineModel.LineModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.LineModel.LineModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: simple value
+&#64;return: (Line value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LineModel.LineModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.LineModel.LineModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: simple value
+&#64;return: Line value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LineModel.LineModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.LineModel.LineModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LineModel.LineModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.LineModel.LineModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">LineModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.LineModel"><tt class="docutils literal"><span class="pre">sans.models.LineModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="LamellarPSModel.html"
+                        title="previous chapter">LamellarPSModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="LogNormal.html"
+                        title="next chapter">LogNormal</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/LineModel.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" size="18" />
+      <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="LogNormal.html" title="LogNormal"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="LamellarPSModel.html" title="LamellarPSModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/LogNormal.html
===================================================================
--- sansmodels/docs/sphinx/html/api/LogNormal.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/LogNormal.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,337 @@
+
+
+<!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>LogNormal &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="Lorentzian" href="Lorentzian.html" />
+    <link rel="prev" title="LineModel" href="LineModel.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="Lorentzian.html" title="Lorentzian"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="LineModel.html" title="LineModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="lognormal">
+<h1>LogNormal<a class="headerlink" href="#lognormal" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.LogNormal">
+<span id="sans-models-lognormal"></span><h2><a class="reference internal" href="#module-sans.models.LogNormal" title="sans.models.LogNormal"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.LogNormal</span></tt></a><a class="headerlink" href="#module-sans.models.LogNormal" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionslogNormal.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.LogNormal.LogNormal">
+<em class="property">class </em><tt class="descclassname">sans.models.LogNormal.</tt><tt class="descname">LogNormal</tt><a class="headerlink" href="#sans.models.LogNormal.LogNormal" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CLogNormal</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a LogNormal model. 
+This file was auto-generated from ..c_extensionslogNormal.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+sigma           = 1.0 
+center          = 0.0</div></blockquote>
+<dl class="method">
+<dt id="sans.models.LogNormal.LogNormal.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LogNormal.LogNormal.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LogNormal.LogNormal.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LogNormal.LogNormal.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LogNormal.LogNormal.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.LogNormal.LogNormal.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LogNormal.LogNormal.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LogNormal.LogNormal.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LogNormal.LogNormal.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.LogNormal.LogNormal.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LogNormal.LogNormal.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LogNormal.LogNormal.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LogNormal.LogNormal.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.LogNormal.LogNormal.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LogNormal.LogNormal.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.LogNormal.LogNormal.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LogNormal.LogNormal.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.LogNormal.LogNormal.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.LogNormal.LogNormal.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.LogNormal.LogNormal.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.LogNormal.LogNormal.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.LogNormal.LogNormal.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.LogNormal.LogNormal.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.LogNormal.LogNormal.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LogNormal.LogNormal.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.LogNormal.LogNormal.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LogNormal.LogNormal.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.LogNormal.LogNormal.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LogNormal.LogNormal.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.LogNormal.LogNormal.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LogNormal.LogNormal.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.LogNormal.LogNormal.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LogNormal.LogNormal.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.LogNormal.LogNormal.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.LogNormal.create_LogNormal">
+<tt class="descclassname">sans.models.LogNormal.</tt><tt class="descname">create_LogNormal</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LogNormal.create_LogNormal" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">LogNormal</a><ul>
+<li><a class="reference internal" href="#module-sans.models.LogNormal"><tt class="docutils literal"><span class="pre">sans.models.LogNormal</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="LineModel.html"
+                        title="previous chapter">LineModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="Lorentzian.html"
+                        title="next chapter">Lorentzian</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/LogNormal.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" size="18" />
+      <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="Lorentzian.html" title="Lorentzian"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="LineModel.html" title="LineModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/LorentzModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/LorentzModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/LorentzModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,295 @@
+
+
+<!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>LorentzModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="ModelAdaptor" href="ModelAdaptor.html" />
+    <link rel="prev" title="Lorentzian" href="Lorentzian.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="ModelAdaptor.html" title="ModelAdaptor"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="Lorentzian.html" title="Lorentzian"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="lorentzmodel">
+<h1>LorentzModel<a class="headerlink" href="#lorentzmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.LorentzModel">
+<span id="sans-models-lorentzmodel"></span><h2><a class="reference internal" href="#module-sans.models.LorentzModel" title="sans.models.LorentzModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.LorentzModel</span></tt></a><a class="headerlink" href="#module-sans.models.LorentzModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide F(x) = scale/( 1 + (x*L)^2 ) + bkd
+Lorentz (Ornstein-Zernicke) function as a BaseComponent model</p>
+<dl class="class">
+<dt id="sans.models.LorentzModel.LorentzModel">
+<em class="property">class </em><tt class="descclassname">sans.models.LorentzModel.</tt><tt class="descname">LorentzModel</tt><a class="headerlink" href="#sans.models.LorentzModel.LorentzModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a Lorentz (Ornstein-Zernicke) model.</p>
+<p>F(x) = scale/( 1 + (x*L)^2 ) + bkd</p>
+<dl class="docutils">
+<dt>The model has three parameters: </dt>
+<dd>L     =  screen Length
+scale  =  scale factor
+bkd    =  incoherent background</dd>
+</dl>
+<dl class="method">
+<dt id="sans.models.LorentzModel.LorentzModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LorentzModel.LorentzModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LorentzModel.LorentzModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LorentzModel.LorentzModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LorentzModel.LorentzModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.LorentzModel.LorentzModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LorentzModel.LorentzModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LorentzModel.LorentzModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LorentzModel.LorentzModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.LorentzModel.LorentzModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LorentzModel.LorentzModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.LorentzModel.LorentzModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LorentzModel.LorentzModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.LorentzModel.LorentzModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LorentzModel.LorentzModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.LorentzModel.LorentzModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LorentzModel.LorentzModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.LorentzModel.LorentzModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LorentzModel.LorentzModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.LorentzModel.LorentzModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [r, theta])
+&#64;return: (Lorentz value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LorentzModel.LorentzModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.LorentzModel.LorentzModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [qx, qy])
+&#64;return: Lorentz value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LorentzModel.LorentzModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.LorentzModel.LorentzModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.LorentzModel.LorentzModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.LorentzModel.LorentzModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">LorentzModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.LorentzModel"><tt class="docutils literal"><span class="pre">sans.models.LorentzModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="Lorentzian.html"
+                        title="previous chapter">Lorentzian</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="ModelAdaptor.html"
+                        title="next chapter">ModelAdaptor</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/LorentzModel.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" size="18" />
+      <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="ModelAdaptor.html" title="ModelAdaptor"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="Lorentzian.html" title="Lorentzian"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/Lorentzian.html
===================================================================
--- sansmodels/docs/sphinx/html/api/Lorentzian.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/Lorentzian.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,337 @@
+
+
+<!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>Lorentzian &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="LorentzModel" href="LorentzModel.html" />
+    <link rel="prev" title="LogNormal" href="LogNormal.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="LorentzModel.html" title="LorentzModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="LogNormal.html" title="LogNormal"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="lorentzian">
+<h1>Lorentzian<a class="headerlink" href="#lorentzian" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.Lorentzian">
+<span id="sans-models-lorentzian"></span><h2><a class="reference internal" href="#module-sans.models.Lorentzian" title="sans.models.Lorentzian"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.Lorentzian</span></tt></a><a class="headerlink" href="#module-sans.models.Lorentzian" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionslorentzian.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.Lorentzian.Lorentzian">
+<em class="property">class </em><tt class="descclassname">sans.models.Lorentzian.</tt><tt class="descname">Lorentzian</tt><a class="headerlink" href="#sans.models.Lorentzian.Lorentzian" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CLorentzian</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a Lorentzian model. 
+This file was auto-generated from ..c_extensionslorentzian.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+gamma           = 1.0 
+center          = 0.0</div></blockquote>
+<dl class="method">
+<dt id="sans.models.Lorentzian.Lorentzian.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Lorentzian.Lorentzian.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Lorentzian.Lorentzian.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Lorentzian.Lorentzian.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Lorentzian.Lorentzian.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.Lorentzian.Lorentzian.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Lorentzian.Lorentzian.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Lorentzian.Lorentzian.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Lorentzian.Lorentzian.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.Lorentzian.Lorentzian.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Lorentzian.Lorentzian.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Lorentzian.Lorentzian.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Lorentzian.Lorentzian.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.Lorentzian.Lorentzian.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Lorentzian.Lorentzian.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.Lorentzian.Lorentzian.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Lorentzian.Lorentzian.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.Lorentzian.Lorentzian.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.Lorentzian.Lorentzian.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.Lorentzian.Lorentzian.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.Lorentzian.Lorentzian.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.Lorentzian.Lorentzian.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.Lorentzian.Lorentzian.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.Lorentzian.Lorentzian.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Lorentzian.Lorentzian.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.Lorentzian.Lorentzian.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Lorentzian.Lorentzian.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.Lorentzian.Lorentzian.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Lorentzian.Lorentzian.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.Lorentzian.Lorentzian.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Lorentzian.Lorentzian.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.Lorentzian.Lorentzian.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Lorentzian.Lorentzian.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.Lorentzian.Lorentzian.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.Lorentzian.create_Lorentzian">
+<tt class="descclassname">sans.models.Lorentzian.</tt><tt class="descname">create_Lorentzian</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Lorentzian.create_Lorentzian" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">Lorentzian</a><ul>
+<li><a class="reference internal" href="#module-sans.models.Lorentzian"><tt class="docutils literal"><span class="pre">sans.models.Lorentzian</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="LogNormal.html"
+                        title="previous chapter">LogNormal</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="LorentzModel.html"
+                        title="next chapter">LorentzModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/Lorentzian.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" size="18" />
+      <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="LorentzModel.html" title="LorentzModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="LogNormal.html" title="LogNormal"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/ModelAdaptor.html
===================================================================
--- sansmodels/docs/sphinx/html/api/ModelAdaptor.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/ModelAdaptor.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,263 @@
+
+
+<!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>ModelAdaptor &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="ModelFactory" href="ModelFactory.html" />
+    <link rel="prev" title="LorentzModel" href="LorentzModel.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="ModelFactory.html" title="ModelFactory"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="LorentzModel.html" title="LorentzModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="modeladaptor">
+<h1>ModelAdaptor<a class="headerlink" href="#modeladaptor" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.ModelAdaptor">
+<span id="sans-models-modeladaptor"></span><h2><a class="reference internal" href="#module-sans.models.ModelAdaptor" title="sans.models.ModelAdaptor"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.ModelAdaptor</span></tt></a><a class="headerlink" href="#module-sans.models.ModelAdaptor" title="Permalink to this headline">Â¶</a></h2>
+<p>This software was developed by the University of Tennessee as part of the
+Distributed Data Analysis of Neutron Scattering Experiments (DANSE)
+project funded by the US National Science Foundation.</p>
+<p>If you use DANSE applications to do scientific research that leads to
+publication, we ask that you acknowledge the use of the software with the
+following sentence:</p>
+<p>&#8220;This work benefited from DANSE software developed under NSF award DMR-0520547.&#8221;</p>
+<p>copyright 2008, University of Tennessee</p>
+<dl class="class">
+<dt id="sans.models.ModelAdaptor.ModelAdaptor">
+<em class="property">class </em><tt class="descclassname">sans.models.ModelAdaptor.</tt><tt class="descname">ModelAdaptor</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ModelAdaptor" 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>Model adaptor to provide old-style model functionality</p>
+<dl class="method">
+<dt id="sans.models.ModelAdaptor.ModelAdaptor.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.ModelAdaptor.ModelAdaptor.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ModelAdaptor.ModelAdaptor.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.ModelAdaptor.ModelAdaptor.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ModelAdaptor.ModelAdaptor.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.ModelAdaptor.ModelAdaptor.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="sans.models.ModelAdaptor.ParameterDict">
+<em class="property">class </em><tt class="descclassname">sans.models.ModelAdaptor.</tt><tt class="descname">ParameterDict</tt><big>(</big><em>parameters</em><big>)</big><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">dict</span></tt></p>
+<p>Parameter dictionary used for backward 
+compatibility between the old-style &#8216;params&#8217;
+dictionary and the new-style &#8216;parameters&#8217;
+dictionary.</p>
+<dl class="attribute">
+<dt id="sans.models.ModelAdaptor.ParameterDict.clear">
+<tt class="descname">clear</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.clear" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>D.clear() -&gt; None.  Remove all items from D.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.ModelAdaptor.ParameterDict.copy">
+<tt class="descname">copy</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.copy" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>D.copy() -&gt; a shallow copy of D</p>
+</dd></dl>
+
+<dl class="staticmethod">
+<dt id="sans.models.ModelAdaptor.ParameterDict.fromkeys">
+<em class="property">static </em><tt class="descname">fromkeys</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.fromkeys" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>dict.fromkeys(S[,v]) -&gt; New dict with keys from S and values equal to v.
+v defaults to None.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.ModelAdaptor.ParameterDict.get">
+<tt class="descname">get</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.get" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>D.get(k[,d]) -&gt; D[k] if k in D, else d.  d defaults to None.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.ModelAdaptor.ParameterDict.has_key">
+<tt class="descname">has_key</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.has_key" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>D.has_key(k) -&gt; True if D has a key k, else False</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.ModelAdaptor.ParameterDict.items">
+<tt class="descname">items</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.items" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>D.items() -&gt; list of D&#8217;s (key, value) pairs, as 2-tuples</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.ModelAdaptor.ParameterDict.iteritems">
+<tt class="descname">iteritems</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.iteritems" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>D.iteritems() -&gt; an iterator over the (key, value) items of D</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.ModelAdaptor.ParameterDict.iterkeys">
+<tt class="descname">iterkeys</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.iterkeys" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>D.iterkeys() -&gt; an iterator over the keys of D</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.ModelAdaptor.ParameterDict.itervalues">
+<tt class="descname">itervalues</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.itervalues" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>D.itervalues() -&gt; an iterator over the values of D</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.ModelAdaptor.ParameterDict.keys">
+<tt class="descname">keys</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.keys" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>D.keys() -&gt; list of D&#8217;s keys</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.ModelAdaptor.ParameterDict.pop">
+<tt class="descname">pop</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.pop" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>D.pop(k[,d]) -&gt; v, remove specified key and return the corresponding value
+If key is not found, d is returned if given, otherwise KeyError is raised</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.ModelAdaptor.ParameterDict.popitem">
+<tt class="descname">popitem</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.popitem" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>D.popitem() -&gt; (k, v), remove and return some (key, value) pair as a
+2-tuple; but raise KeyError if D is empty</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.ModelAdaptor.ParameterDict.setdefault">
+<tt class="descname">setdefault</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.setdefault" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>D.setdefault(k[,d]) -&gt; D.get(k,d), also set D[k]=d if k not in D</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.ModelAdaptor.ParameterDict.update">
+<tt class="descname">update</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.update" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>D.update(E, <a href="#id1"><span class="problematic" id="id2">**</span></a>F) -&gt; None.  Update D from E and F: for k in E: D[k] = E[k]
+(if E has keys else: for (k, v) in E: D[k] = v) then: for k in F: D[k] = F[k]</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.ModelAdaptor.ParameterDict.values">
+<tt class="descname">values</tt><a class="headerlink" href="#sans.models.ModelAdaptor.ParameterDict.values" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>D.values() -&gt; list of D&#8217;s values</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="#">ModelAdaptor</a><ul>
+<li><a class="reference internal" href="#module-sans.models.ModelAdaptor"><tt class="docutils literal"><span class="pre">sans.models.ModelAdaptor</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="LorentzModel.html"
+                        title="previous chapter">LorentzModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="ModelFactory.html"
+                        title="next chapter">ModelFactory</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/ModelAdaptor.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" size="18" />
+      <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="ModelFactory.html" title="ModelFactory"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="LorentzModel.html" title="LorentzModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/ModelFactory.html
===================================================================
--- sansmodels/docs/sphinx/html/api/ModelFactory.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/ModelFactory.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,155 @@
+
+
+<!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>ModelFactory &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="ModelIO" href="ModelIO.html" />
+    <link rel="prev" title="ModelAdaptor" href="ModelAdaptor.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="ModelIO.html" title="ModelIO"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="ModelAdaptor.html" title="ModelAdaptor"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="modelfactory">
+<h1>ModelFactory<a class="headerlink" href="#modelfactory" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.ModelFactory">
+<span id="sans-models-modelfactory"></span><h2><a class="reference internal" href="#module-sans.models.ModelFactory" title="sans.models.ModelFactory"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.ModelFactory</span></tt></a><a class="headerlink" href="#module-sans.models.ModelFactory" title="Permalink to this headline">Â¶</a></h2>
+<p>Model factory
+Class that creates models by looking up the name of a model
+in the models directory</p>
+<p>&#64;author: Mathieu Doucet / UTK
+&#64;contact: <a class="reference external" href="mailto:mathieu&#46;doucet&#37;&#52;&#48;nist&#46;gov">mathieu<span>&#46;</span>doucet<span>&#64;</span>nist<span>&#46;</span>gov</a></p>
+<dl class="class">
+<dt id="sans.models.ModelFactory.ModelFactory">
+<em class="property">class </em><tt class="descclassname">sans.models.ModelFactory.</tt><tt class="descname">ModelFactory</tt><a class="headerlink" href="#sans.models.ModelFactory.ModelFactory" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Class to create available models</p>
+<dl class="method">
+<dt id="sans.models.ModelFactory.ModelFactory.getAllModels">
+<tt class="descname">getAllModels</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ModelFactory.ModelFactory.getAllModels" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a list of all available models 
+&#64;return: python list object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ModelFactory.ModelFactory.getModel">
+<tt class="descname">getModel</tt><big>(</big><em>name='BaseComponent'</em><big>)</big><a class="headerlink" href="#sans.models.ModelFactory.ModelFactory.getModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns the model if found 
+&#64;param name: name of the model to look for
+&#64;return: the model object</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="#">ModelFactory</a><ul>
+<li><a class="reference internal" href="#module-sans.models.ModelFactory"><tt class="docutils literal"><span class="pre">sans.models.ModelFactory</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="ModelAdaptor.html"
+                        title="previous chapter">ModelAdaptor</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="ModelIO.html"
+                        title="next chapter">ModelIO</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/ModelFactory.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" size="18" />
+      <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="ModelIO.html" title="ModelIO"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="ModelAdaptor.html" title="ModelAdaptor"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/ModelIO.html
===================================================================
--- sansmodels/docs/sphinx/html/api/ModelIO.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/ModelIO.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,183 @@
+
+
+<!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>ModelIO &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="MulComponent" href="MulComponent.html" />
+    <link rel="prev" title="ModelFactory" href="ModelFactory.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="MulComponent.html" title="MulComponent"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="ModelFactory.html" title="ModelFactory"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="modelio">
+<h1>ModelIO<a class="headerlink" href="#modelio" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.ModelIO">
+<span id="sans-models-modelio"></span><h2><a class="reference internal" href="#module-sans.models.ModelIO" title="sans.models.ModelIO"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.ModelIO</span></tt></a><a class="headerlink" href="#module-sans.models.ModelIO" title="Permalink to this headline">Â¶</a></h2>
+<p>Model IO
+Class that saves and loads composite models from files
+The parameters of the models are not set. The loaded
+model object will have the default parameters for all
+sub-models.</p>
+<p>&#64;author: Mathieu Doucet / UTK
+&#64;contact: <a class="reference external" href="mailto:mathieu&#46;doucet&#37;&#52;&#48;nist&#46;gov">mathieu<span>&#46;</span>doucet<span>&#64;</span>nist<span>&#46;</span>gov</a></p>
+<dl class="class">
+<dt id="sans.models.ModelIO.ModelIO">
+<em class="property">class </em><tt class="descclassname">sans.models.ModelIO.</tt><tt class="descname">ModelIO</tt><big>(</big><em>factory</em><big>)</big><a class="headerlink" href="#sans.models.ModelIO.ModelIO" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Class to create composite models from file or save a model</p>
+<dl class="method">
+<dt id="sans.models.ModelIO.ModelIO.load">
+<tt class="descname">load</tt><big>(</big><em>filename</em><big>)</big><a class="headerlink" href="#sans.models.ModelIO.ModelIO.load" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Load a model from a file
+&#64;param file: file to load
+&#64;return: a new BaseComponent</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ModelIO.ModelIO.lookupComponentNodes">
+<tt class="descname">lookupComponentNodes</tt><big>(</big><em>node</em><big>)</big><a class="headerlink" href="#sans.models.ModelIO.ModelIO.lookupComponentNodes" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Look up a component node among the children of a node 
+&#64;param node: the minidom node to investigate
+&#64;return: the model object described by the component node, None otherwise</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ModelIO.ModelIO.modelToXML">
+<tt class="descname">modelToXML</tt><big>(</big><em>model</em><big>)</big><a class="headerlink" href="#sans.models.ModelIO.ModelIO.modelToXML" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Saves XML representation of the component
+&#64;param model: model to save
+&#64;param file: name of file to write to (if None, a string is returned)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ModelIO.ModelIO.processComponentNode">
+<tt class="descname">processComponentNode</tt><big>(</big><em>node</em>, <em>model</em><big>)</big><a class="headerlink" href="#sans.models.ModelIO.ModelIO.processComponentNode" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Process an XML &#8216;Component&#8217; node in a model file 
+&#64;param node: XML minidom node to process
+&#64;param model: model object to build from</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ModelIO.ModelIO.save">
+<tt class="descname">save</tt><big>(</big><em>model</em>, <em>filename</em><big>)</big><a class="headerlink" href="#sans.models.ModelIO.ModelIO.save" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Save the XML representation of a model to a file
+&#64;param model: XML representation of the model
+&#64;param filename: the path of the file to write to
+&#64;return: True if everything went well</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="#">ModelIO</a><ul>
+<li><a class="reference internal" href="#module-sans.models.ModelIO"><tt class="docutils literal"><span class="pre">sans.models.ModelIO</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="ModelFactory.html"
+                        title="previous chapter">ModelFactory</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="MulComponent.html"
+                        title="next chapter">MulComponent</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/ModelIO.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" size="18" />
+      <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="MulComponent.html" title="MulComponent"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="ModelFactory.html" title="ModelFactory"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/MulComponent.html
===================================================================
--- sansmodels/docs/sphinx/html/api/MulComponent.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/MulComponent.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,274 @@
+
+
+<!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>MulComponent &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="MultiplicationModel" href="MultiplicationModel.html" />
+    <link rel="prev" title="ModelIO" href="ModelIO.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="MultiplicationModel.html" title="MultiplicationModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="ModelIO.html" title="ModelIO"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="mulcomponent">
+<h1>MulComponent<a class="headerlink" href="#mulcomponent" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.MulComponent">
+<span id="sans-models-mulcomponent"></span><h2><a class="reference internal" href="#module-sans.models.MulComponent" title="sans.models.MulComponent"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.MulComponent</span></tt></a><a class="headerlink" href="#module-sans.models.MulComponent" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide base functionality for all model components
+&#64;author: Mathieu Doucet / UTK
+&#64;contact: <a class="reference external" href="mailto:mathieu&#46;doucet&#37;&#52;&#48;nist&#46;gov">mathieu<span>&#46;</span>doucet<span>&#64;</span>nist<span>&#46;</span>gov</a></p>
+<dl class="class">
+<dt id="sans.models.MulComponent.MulComponent">
+<em class="property">class </em><tt class="descclassname">sans.models.MulComponent.</tt><tt class="descname">MulComponent</tt><big>(</big><em>base=None</em>, <em>other=None</em><big>)</big><a class="headerlink" href="#sans.models.MulComponent.MulComponent" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Basic model component for Multiply
+Provides basic arithmetics</p>
+<dl class="method">
+<dt id="sans.models.MulComponent.MulComponent.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.MulComponent.MulComponent.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MulComponent.MulComponent.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.MulComponent.MulComponent.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MulComponent.MulComponent.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.MulComponent.MulComponent.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MulComponent.MulComponent.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.MulComponent.MulComponent.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MulComponent.MulComponent.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.MulComponent.MulComponent.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter
+&#64;param name: name of the parameter
+&#64;return: value of the parameter</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MulComponent.MulComponent.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.MulComponent.MulComponent.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MulComponent.MulComponent.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.MulComponent.MulComponent.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MulComponent.MulComponent.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.MulComponent.MulComponent.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MulComponent.MulComponent.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.MulComponent.MulComponent.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MulComponent.MulComponent.run">
+<tt class="descname">run</tt><big>(</big><em>x=0</em><big>)</big><a class="headerlink" href="#sans.models.MulComponent.MulComponent.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate each part of the component and sum the results
+&#64;param x: input parameter
+&#64;return: value of the model at x</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MulComponent.MulComponent.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0</em><big>)</big><a class="headerlink" href="#sans.models.MulComponent.MulComponent.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate each part of the component and sum the results
+&#64;param x: input parameter
+&#64;return: value of the model at x</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MulComponent.MulComponent.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.MulComponent.MulComponent.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter
+&#64;param name: name of parameter to set
+&#64;param value: value to give the paramter</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MulComponent.MulComponent.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.MulComponent.MulComponent.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">MulComponent</a><ul>
+<li><a class="reference internal" href="#module-sans.models.MulComponent"><tt class="docutils literal"><span class="pre">sans.models.MulComponent</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="ModelIO.html"
+                        title="previous chapter">ModelIO</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="MultiplicationModel.html"
+                        title="next chapter">MultiplicationModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/MulComponent.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" size="18" />
+      <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="MultiplicationModel.html" title="MultiplicationModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="ModelIO.html" title="ModelIO"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/MultiShellModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/MultiShellModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/MultiShellModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,348 @@
+
+
+<!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>MultiShellModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="NewCylinderModel" href="NewCylinderModel.html" />
+    <link rel="prev" title="MultiplicationModel" href="MultiplicationModel.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="NewCylinderModel.html" title="NewCylinderModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="MultiplicationModel.html" title="MultiplicationModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="multishellmodel">
+<h1>MultiShellModel<a class="headerlink" href="#multishellmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.MultiShellModel">
+<span id="sans-models-multishellmodel"></span><h2><a class="reference internal" href="#module-sans.models.MultiShellModel" title="sans.models.MultiShellModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.MultiShellModel</span></tt></a><a class="headerlink" href="#module-sans.models.MultiShellModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionsmultishell.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.MultiShellModel.MultiShellModel">
+<em class="property">class </em><tt class="descclassname">sans.models.MultiShellModel.</tt><tt class="descname">MultiShellModel</tt><a class="headerlink" href="#sans.models.MultiShellModel.MultiShellModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CMultiShellModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a MultiShellModel model. 
+This file was auto-generated from ..c_extensionsmultishell.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+core_radius     = 60.0 [A]
+s_thickness     = 10.0 [A]
+w_thickness     = 10.0 [A]
+core_sld        = 6.4e-06 [1/A^(2)]
+shell_sld       = 4e-07 [1/A^(2)]
+n_pairs         = 2.0 
+background      = 0.0 [1/cm]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.MultiShellModel.MultiShellModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.MultiShellModel.MultiShellModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiShellModel.MultiShellModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.MultiShellModel.MultiShellModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.MultiShellModel.MultiShellModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.MultiShellModel.MultiShellModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiShellModel.MultiShellModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.MultiShellModel.MultiShellModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiShellModel.MultiShellModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.MultiShellModel.MultiShellModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiShellModel.MultiShellModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.MultiShellModel.MultiShellModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiShellModel.MultiShellModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.MultiShellModel.MultiShellModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiShellModel.MultiShellModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.MultiShellModel.MultiShellModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiShellModel.MultiShellModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.MultiShellModel.MultiShellModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiShellModel.MultiShellModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.MultiShellModel.MultiShellModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.MultiShellModel.MultiShellModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.MultiShellModel.MultiShellModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.MultiShellModel.MultiShellModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.MultiShellModel.MultiShellModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.MultiShellModel.MultiShellModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.MultiShellModel.MultiShellModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiShellModel.MultiShellModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.MultiShellModel.MultiShellModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiShellModel.MultiShellModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.MultiShellModel.MultiShellModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiShellModel.MultiShellModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.MultiShellModel.MultiShellModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiShellModel.MultiShellModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.MultiShellModel.MultiShellModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiShellModel.MultiShellModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.MultiShellModel.MultiShellModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.MultiShellModel.create_MultiShellModel">
+<tt class="descclassname">sans.models.MultiShellModel.</tt><tt class="descname">create_MultiShellModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.MultiShellModel.create_MultiShellModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">MultiShellModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.MultiShellModel"><tt class="docutils literal"><span class="pre">sans.models.MultiShellModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="MultiplicationModel.html"
+                        title="previous chapter">MultiplicationModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="NewCylinderModel.html"
+                        title="next chapter">NewCylinderModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/MultiShellModel.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" size="18" />
+      <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="NewCylinderModel.html" title="NewCylinderModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="MultiplicationModel.html" title="MultiplicationModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/MultiplicationModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/MultiplicationModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/MultiplicationModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,265 @@
+
+
+<!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>MultiplicationModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="MultiShellModel" href="MultiShellModel.html" />
+    <link rel="prev" title="MulComponent" href="MulComponent.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="MultiShellModel.html" title="MultiShellModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="MulComponent.html" title="MulComponent"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="multiplicationmodel">
+<h1>MultiplicationModel<a class="headerlink" href="#multiplicationmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.MultiplicationModel">
+<span id="sans-models-multiplicationmodel"></span><h2><a class="reference internal" href="#module-sans.models.MultiplicationModel" title="sans.models.MultiplicationModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.MultiplicationModel</span></tt></a><a class="headerlink" href="#module-sans.models.MultiplicationModel" title="Permalink to this headline">Â¶</a></h2>
+<dl class="class">
+<dt id="sans.models.MultiplicationModel.MultiplicationModel">
+<em class="property">class </em><tt class="descclassname">sans.models.MultiplicationModel.</tt><tt class="descname">MultiplicationModel</tt><big>(</big><em>p_model</em>, <em>s_model</em><big>)</big><a class="headerlink" href="#sans.models.MultiplicationModel.MultiplicationModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Use for P(Q)*S(Q); function call must be in the order of P(Q) and then S(Q):
+The model parameters are combined from both models, P(Q) and S(Q), except 1) &#8216;effect_radius&#8217; of S(Q)
+which will be calculated from P(Q) via calculate_ER(), 
+and 2) &#8216;scale&#8217; in P model which is synchronized w/ volfraction in S 
+then P*S is multiplied by a new param, &#8216;scale_factor&#8217;.
+The polydispersion is applicable only to P(Q), not to S(Q).
+Note: P(Q) refers to &#8216;form factor&#8217; model while S(Q) does to &#8216;structure factor&#8217;.</p>
+<dl class="method">
+<dt id="sans.models.MultiplicationModel.MultiplicationModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.MultiplicationModel.MultiplicationModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiplicationModel.MultiplicationModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.MultiplicationModel.MultiplicationModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiplicationModel.MultiplicationModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.MultiplicationModel.MultiplicationModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates
+&#64;param x: input q[], or [qx[], qy[]]
+&#64;return: scattering function P(q[])</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiplicationModel.MultiplicationModel.fill_description">
+<tt class="descname">fill_description</tt><big>(</big><em>p_model</em>, <em>s_model</em><big>)</big><a class="headerlink" href="#sans.models.MultiplicationModel.MultiplicationModel.fill_description" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Fill the description for P(Q)*S(Q)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiplicationModel.MultiplicationModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.MultiplicationModel.MultiplicationModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiplicationModel.MultiplicationModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.MultiplicationModel.MultiplicationModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiplicationModel.MultiplicationModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.MultiplicationModel.MultiplicationModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiplicationModel.MultiplicationModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.MultiplicationModel.MultiplicationModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiplicationModel.MultiplicationModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.MultiplicationModel.MultiplicationModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiplicationModel.MultiplicationModel.getProfile">
+<tt class="descname">getProfile</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.MultiplicationModel.MultiplicationModel.getProfile" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Get SLD profile of p_model if exists</p>
+<dl class="docutils">
+<dt>: return: (r, beta) where r is a list of radius of the transition points</dt>
+<dd>beta is a list of the corresponding SLD values</dd>
+</dl>
+<p>: Note: This works only for func_shell# = 2 (exp function).</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiplicationModel.MultiplicationModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.MultiplicationModel.MultiplicationModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiplicationModel.MultiplicationModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.MultiplicationModel.MultiplicationModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [r, theta])
+&#64;return: (scattering function value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiplicationModel.MultiplicationModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.MultiplicationModel.MultiplicationModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [qx, qy])
+&#64;return: scattering function value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiplicationModel.MultiplicationModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.MultiplicationModel.MultiplicationModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<p>&#64;param name: name of the parameter
+&#64;param value: value of the parameter</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiplicationModel.MultiplicationModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.MultiplicationModel.MultiplicationModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.MultiplicationModel.MultiplicationModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.MultiplicationModel.MultiplicationModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter
+&#64;param parameter: name of the parameter [string]
+&#64;dispersion: dispersion object of type DispersionModel</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="#">MultiplicationModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.MultiplicationModel"><tt class="docutils literal"><span class="pre">sans.models.MultiplicationModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="MulComponent.html"
+                        title="previous chapter">MulComponent</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="MultiShellModel.html"
+                        title="next chapter">MultiShellModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/MultiplicationModel.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" size="18" />
+      <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="MultiShellModel.html" title="MultiShellModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="MulComponent.html" title="MulComponent"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/NewCylinderModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/NewCylinderModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/NewCylinderModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,279 @@
+
+
+<!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>NewCylinderModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="NoStructure" href="NoStructure.html" />
+    <link rel="prev" title="MultiShellModel" href="MultiShellModel.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="NoStructure.html" title="NoStructure"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="MultiShellModel.html" title="MultiShellModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="newcylindermodel">
+<h1>NewCylinderModel<a class="headerlink" href="#newcylindermodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.NewCylinderModel">
+<span id="sans-models-newcylindermodel"></span><h2><a class="reference internal" href="#module-sans.models.NewCylinderModel" title="sans.models.NewCylinderModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.NewCylinderModel</span></tt></a><a class="headerlink" href="#module-sans.models.NewCylinderModel" title="Permalink to this headline">Â¶</a></h2>
+<p>This software was developed by the University of Tennessee as part of the
+Distributed Data Analysis of Neutron Scattering Experiments (DANSE)
+project funded by the US National Science Foundation.</p>
+<p>If you use DANSE applications to do scientific research that leads to
+publication, we ask that you acknowledge the use of the software with the
+following sentence:</p>
+<p>&#8220;This work benefited from DANSE software developed under NSF award DMR-0520547.&#8221;</p>
+<p>copyright 2008, University of Tennessee</p>
+<dl class="class">
+<dt id="sans.models.NewCylinderModel.CylinderModel">
+<em class="property">class </em><tt class="descclassname">sans.models.NewCylinderModel.</tt><tt class="descname">CylinderModel</tt><a class="headerlink" href="#sans.models.NewCylinderModel.CylinderModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CCylinderModel</span></tt>, <a class="reference internal" href="BaseModel.html#sans.models.BaseModel.BaseModel" title="sans.models.BaseModel.BaseModel"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseModel.BaseModel</span></tt></a></p>
+<p>Class that evaluates a CylinderModel model. 
+This file was auto-generated from ../c_extensions/cylinder.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+radius          = 20.0 A
+length          = 400.0 A
+contrast        = 3e-006 A-2
+background      = 0.0 cm-1
+cyl_theta       = 1.0 rad
+cyl_phi         = 1.0 rad</div></blockquote>
+<dl class="attribute">
+<dt id="sans.models.NewCylinderModel.CylinderModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><a class="headerlink" href="#sans.models.NewCylinderModel.CylinderModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model at a given Q or Q, phi</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NewCylinderModel.CylinderModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NewCylinderModel.CylinderModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.NewCylinderModel.CylinderModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.NewCylinderModel.CylinderModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.NewCylinderModel.CylinderModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><a class="headerlink" href="#sans.models.NewCylinderModel.CylinderModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model at a given Q or Qx, Qy vector</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NewCylinderModel.CylinderModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.NewCylinderModel.CylinderModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NewCylinderModel.CylinderModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NewCylinderModel.CylinderModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NewCylinderModel.CylinderModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.NewCylinderModel.CylinderModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NewCylinderModel.CylinderModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.NewCylinderModel.CylinderModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.NewCylinderModel.CylinderModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.NewCylinderModel.CylinderModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.NewCylinderModel.CylinderModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.NewCylinderModel.CylinderModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.NewCylinderModel.CylinderModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.NewCylinderModel.CylinderModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NewCylinderModel.CylinderModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.NewCylinderModel.CylinderModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q, or [q,phi]
+&#64;return: scattering function P(q)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NewCylinderModel.CylinderModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.NewCylinderModel.CylinderModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates
+&#64;param x: input q, or [qx, qy]
+&#64;return: scattering function P(q)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NewCylinderModel.CylinderModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.NewCylinderModel.CylinderModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NewCylinderModel.CylinderModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.NewCylinderModel.CylinderModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NewCylinderModel.CylinderModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.NewCylinderModel.CylinderModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter
+&#64;param parameter: name of the parameter [string]
+&#64;dispersion: dispersion object of type DispersionModel</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="#">NewCylinderModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.NewCylinderModel"><tt class="docutils literal"><span class="pre">sans.models.NewCylinderModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="MultiShellModel.html"
+                        title="previous chapter">MultiShellModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="NoStructure.html"
+                        title="next chapter">NoStructure</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/NewCylinderModel.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" size="18" />
+      <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="NoStructure.html" title="NoStructure"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="MultiShellModel.html" title="MultiShellModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/NoStructure.html
===================================================================
--- sansmodels/docs/sphinx/html/api/NoStructure.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/NoStructure.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,287 @@
+
+
+<!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>NoStructure &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="NullModel" href="NullModel.html" />
+    <link rel="prev" title="NewCylinderModel" href="NewCylinderModel.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="NullModel.html" title="NullModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="NewCylinderModel.html" title="NewCylinderModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="nostructure">
+<h1>NoStructure<a class="headerlink" href="#nostructure" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.NoStructure">
+<span id="sans-models-nostructure"></span><h2><a class="reference internal" href="#module-sans.models.NoStructure" title="sans.models.NoStructure"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.NoStructure</span></tt></a><a class="headerlink" href="#module-sans.models.NoStructure" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide sin(x) function as a BaseComponent model</p>
+<dl class="class">
+<dt id="sans.models.NoStructure.NoStructure">
+<em class="property">class </em><tt class="descclassname">sans.models.NoStructure.</tt><tt class="descname">NoStructure</tt><a class="headerlink" href="#sans.models.NoStructure.NoStructure" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a sin(x) model.</p>
+<dl class="method">
+<dt id="sans.models.NoStructure.NoStructure.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NoStructure.NoStructure.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NoStructure.NoStructure.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NoStructure.NoStructure.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NoStructure.NoStructure.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NoStructure.NoStructure.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NoStructure.NoStructure.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NoStructure.NoStructure.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NoStructure.NoStructure.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NoStructure.NoStructure.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input x
+&#64;return: 1</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NoStructure.NoStructure.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input x, or [x, y] [radian]
+&#64;return: sin(x) or sin(x)*sin(y)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NoStructure.NoStructure.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NoStructure.NoStructure.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">NoStructure</a><ul>
+<li><a class="reference internal" href="#module-sans.models.NoStructure"><tt class="docutils literal"><span class="pre">sans.models.NoStructure</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="NewCylinderModel.html"
+                        title="previous chapter">NewCylinderModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="NullModel.html"
+                        title="next chapter">NullModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/NoStructure.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" size="18" />
+      <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="NullModel.html" title="NullModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="NewCylinderModel.html" title="NewCylinderModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/NullModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/NullModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/NullModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,287 @@
+
+
+<!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>NullModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="OblateModel" href="OblateModel.html" />
+    <link rel="prev" title="NoStructure" href="NoStructure.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="OblateModel.html" title="OblateModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="NoStructure.html" title="NoStructure"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="nullmodel">
+<h1>NullModel<a class="headerlink" href="#nullmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.NullModel">
+<span id="sans-models-nullmodel"></span><h2><a class="reference internal" href="#module-sans.models.NullModel" title="sans.models.NullModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.NullModel</span></tt></a><a class="headerlink" href="#module-sans.models.NullModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide sin(x) function as a BaseComponent model</p>
+<dl class="class">
+<dt id="sans.models.NullModel.NullModel">
+<em class="property">class </em><tt class="descclassname">sans.models.NullModel.</tt><tt class="descname">NullModel</tt><a class="headerlink" href="#sans.models.NullModel.NullModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a sin(x) model.</p>
+<dl class="method">
+<dt id="sans.models.NullModel.NullModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NullModel.NullModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NullModel.NullModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NullModel.NullModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NullModel.NullModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.NullModel.NullModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NullModel.NullModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NullModel.NullModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NullModel.NullModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.NullModel.NullModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NullModel.NullModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NullModel.NullModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NullModel.NullModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.NullModel.NullModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NullModel.NullModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.NullModel.NullModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NullModel.NullModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.NullModel.NullModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NullModel.NullModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.NullModel.NullModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input x
+&#64;return: 1</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NullModel.NullModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.NullModel.NullModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input x, or [x, y] [radian]
+&#64;return: sin(x) or sin(x)*sin(y)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NullModel.NullModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.NullModel.NullModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.NullModel.NullModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.NullModel.NullModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">NullModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.NullModel"><tt class="docutils literal"><span class="pre">sans.models.NullModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="NoStructure.html"
+                        title="previous chapter">NoStructure</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="OblateModel.html"
+                        title="next chapter">OblateModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/NullModel.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" size="18" />
+      <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="OblateModel.html" title="OblateModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="NoStructure.html" title="NoStructure"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/OblateModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/OblateModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/OblateModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,129 @@
+
+
+<!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>OblateModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="OnionExpShellModel" href="OnionExpShellModel.html" />
+    <link rel="prev" title="NullModel" href="NullModel.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="OnionExpShellModel.html" title="OnionExpShellModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="NullModel.html" title="NullModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="oblatemodel">
+<h1>OblateModel<a class="headerlink" href="#oblatemodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="sans-models-oblatemodel">
+<h2><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.OblateModel</span></tt><a class="headerlink" href="#sans-models-oblatemodel" title="Permalink to this headline">Â¶</a></h2>
+</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="#">OblateModel</a><ul>
+<li><a class="reference internal" href="#sans-models-oblatemodel"><tt class="docutils literal"><span class="pre">sans.models.OblateModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="NullModel.html"
+                        title="previous chapter">NullModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="OnionExpShellModel.html"
+                        title="next chapter">OnionExpShellModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/OblateModel.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" size="18" />
+      <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="OnionExpShellModel.html" title="OnionExpShellModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="NullModel.html" title="NullModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/OnionExpShellModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/OnionExpShellModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/OnionExpShellModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,254 @@
+
+
+<!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>OnionExpShellModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="OnionModel" href="OnionModel.html" />
+    <link rel="prev" title="OblateModel" href="OblateModel.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="OnionModel.html" title="OnionModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="OblateModel.html" title="OblateModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="onionexpshellmodel">
+<h1>OnionExpShellModel<a class="headerlink" href="#onionexpshellmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.OnionExpShellModel">
+<span id="sans-models-onionexpshellmodel"></span><h2><a class="reference internal" href="#module-sans.models.OnionExpShellModel" title="sans.models.OnionExpShellModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.OnionExpShellModel</span></tt></a><a class="headerlink" href="#module-sans.models.OnionExpShellModel" title="Permalink to this headline">Â¶</a></h2>
+<dl class="class">
+<dt id="sans.models.OnionExpShellModel.OnionExpShellModel">
+<em class="property">class </em><tt class="descclassname">sans.models.OnionExpShellModel.</tt><tt class="descname">OnionExpShellModel</tt><big>(</big><em>n_shells=1</em><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>This multi-model is based on CoreMultiShellModel with exponential 
+func shells and provides the capability
+of changing the number of shells between 1 and 10.</p>
+<dl class="method">
+<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<p>: param x: input q[], or [qx[], qy[]]
+: return: scattering function P(q[])</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.getProfile">
+<tt class="descname">getProfile</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.getProfile" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Get SLD profile</p>
+<dl class="docutils">
+<dt>: return: (r, beta) where r is a list of radius of the transition </dt>
+<dd>points and  beta is a list of the corresponding SLD values</dd>
+</dl>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<p>: param x: input q-value (float or [float, float] as [r, theta])
+: return: (I value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<p>: param x: input q-value (float or [float, float] as [qx, qy])
+: return: I value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<p>: param name: name of the parameter
+: param value: value of the parameter</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<p>: param parameter: name of the parameter [string]
+:dispersion: dispersion object of type DispersionModel</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="#">OnionExpShellModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.OnionExpShellModel"><tt class="docutils literal"><span class="pre">sans.models.OnionExpShellModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="OblateModel.html"
+                        title="previous chapter">OblateModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="OnionModel.html"
+                        title="next chapter">OnionModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/OnionExpShellModel.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" size="18" />
+      <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="OnionModel.html" title="OnionModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="OblateModel.html" title="OblateModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/OnionModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/OnionModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/OnionModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,396 @@
+
+
+<!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>OnionModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="ParallelepipedModel" href="ParallelepipedModel.html" />
+    <link rel="prev" title="OnionExpShellModel" href="OnionExpShellModel.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="ParallelepipedModel.html" title="ParallelepipedModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="OnionExpShellModel.html" title="OnionExpShellModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="onionmodel">
+<h1>OnionModel<a class="headerlink" href="#onionmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.OnionModel">
+<span id="sans-models-onionmodel"></span><h2><a class="reference internal" href="#module-sans.models.OnionModel" title="sans.models.OnionModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.OnionModel</span></tt></a><a class="headerlink" href="#module-sans.models.OnionModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionsonion.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.OnionModel.OnionModel">
+<em class="property">class </em><tt class="descclassname">sans.models.OnionModel.</tt><tt class="descname">OnionModel</tt><a class="headerlink" href="#sans.models.OnionModel.OnionModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">COnionModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a OnionModel model. 
+This file was auto-generated from ..c_extensionsonion.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>n_shells        = 1.0 
+scale           = 1.0 
+rad_core0       = 200.0 [A]
+sld_core0       = 1e-06 [1/A^(2)]
+sld_solv        = 6.4e-06 [1/A^(2)]
+background      = 0.0 [1/cm]
+sld_out_shell1  = 2e-06 [1/A^(2)]
+sld_out_shell2  = 2.5e-06 [1/A^(2)]
+sld_out_shell3  = 3e-06 [1/A^(2)]
+sld_out_shell4  = 3.5e-06 [1/A^(2)]
+sld_out_shell5  = 4e-06 [1/A^(2)]
+sld_out_shell6  = 4.5e-06 [1/A^(2)]
+sld_out_shell7  = 5e-06 [1/A^(2)]
+sld_out_shell8  = 5.5e-06 [1/A^(2)]
+sld_out_shell9  = 6e-06 [1/A^(2)]
+sld_out_shell10 = 6.2e-06 [1/A^(2)]
+sld_in_shell1   = 1.7e-06 [1/A^(2)]
+sld_in_shell2   = 2.2e-06 [1/A^(2)]
+sld_in_shell3   = 2.7e-06 [1/A^(2)]
+sld_in_shell4   = 3.2e-06 [1/A^(2)]
+sld_in_shell5   = 3.7e-06 [1/A^(2)]
+sld_in_shell6   = 4.2e-06 [1/A^(2)]
+sld_in_shell7   = 4.7e-06 [1/A^(2)]
+sld_in_shell8   = 5.2e-06 [1/A^(2)]
+sld_in_shell9   = 5.7e-06 [1/A^(2)]
+sld_in_shell10  = 6e-06 [1/A^(2)]
+A_shell1        = 1.0 
+A_shell2        = 1.0 
+A_shell3        = 1.0 
+A_shell4        = 1.0 
+A_shell5        = 1.0 
+A_shell6        = 1.0 
+A_shell7        = 1.0 
+A_shell8        = 1.0 
+A_shell9        = 1.0 
+A_shell10       = 1.0 
+thick_shell1    = 50.0 [A]
+thick_shell2    = 50.0 [A]
+thick_shell3    = 50.0 [A]
+thick_shell4    = 50.0 [A]
+thick_shell5    = 50.0 [A]
+thick_shell6    = 50.0 [A]
+thick_shell7    = 50.0 [A]
+thick_shell8    = 50.0 [A]
+thick_shell9    = 50.0 [A]
+thick_shell10   = 50.0 [A]
+func_shell1     = 2.0 
+func_shell2     = 2.0 
+func_shell3     = 2.0 
+func_shell4     = 2.0 
+func_shell5     = 2.0 
+func_shell6     = 2.0 
+func_shell7     = 2.0 
+func_shell8     = 2.0 
+func_shell9     = 2.0 
+func_shell10    = 2.0</div></blockquote>
+<dl class="method">
+<dt id="sans.models.OnionModel.OnionModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.OnionModel.OnionModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionModel.OnionModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.OnionModel.OnionModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.OnionModel.OnionModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.OnionModel.OnionModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionModel.OnionModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.OnionModel.OnionModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionModel.OnionModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.OnionModel.OnionModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionModel.OnionModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.OnionModel.OnionModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionModel.OnionModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.OnionModel.OnionModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionModel.OnionModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.OnionModel.OnionModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionModel.OnionModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.OnionModel.OnionModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionModel.OnionModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.OnionModel.OnionModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.OnionModel.OnionModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.OnionModel.OnionModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.OnionModel.OnionModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.OnionModel.OnionModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.OnionModel.OnionModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.OnionModel.OnionModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionModel.OnionModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.OnionModel.OnionModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionModel.OnionModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.OnionModel.OnionModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionModel.OnionModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.OnionModel.OnionModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionModel.OnionModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.OnionModel.OnionModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.OnionModel.OnionModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.OnionModel.OnionModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.OnionModel.create_OnionModel">
+<tt class="descclassname">sans.models.OnionModel.</tt><tt class="descname">create_OnionModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.OnionModel.create_OnionModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">OnionModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.OnionModel"><tt class="docutils literal"><span class="pre">sans.models.OnionModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="OnionExpShellModel.html"
+                        title="previous chapter">OnionExpShellModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="ParallelepipedModel.html"
+                        title="next chapter">ParallelepipedModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/OnionModel.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" size="18" />
+      <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="ParallelepipedModel.html" title="ParallelepipedModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="OnionExpShellModel.html" title="OnionExpShellModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/ParallelepipedModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/ParallelepipedModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/ParallelepipedModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,350 @@
+
+
+<!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>ParallelepipedModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="PeakGaussModel" href="PeakGaussModel.html" />
+    <link rel="prev" title="OnionModel" href="OnionModel.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="PeakGaussModel.html" title="PeakGaussModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="OnionModel.html" title="OnionModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="parallelepipedmodel">
+<h1>ParallelepipedModel<a class="headerlink" href="#parallelepipedmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.ParallelepipedModel">
+<span id="sans-models-parallelepipedmodel"></span><h2><a class="reference internal" href="#module-sans.models.ParallelepipedModel" title="sans.models.ParallelepipedModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.ParallelepipedModel</span></tt></a><a class="headerlink" href="#module-sans.models.ParallelepipedModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionsparallelepiped.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.ParallelepipedModel.ParallelepipedModel">
+<em class="property">class </em><tt class="descclassname">sans.models.ParallelepipedModel.</tt><tt class="descname">ParallelepipedModel</tt><a class="headerlink" href="#sans.models.ParallelepipedModel.ParallelepipedModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CParallelepipedModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a ParallelepipedModel model. 
+This file was auto-generated from ..c_extensionsparallelepiped.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+short_a         = 35.0 [A]
+short_b         = 75.0 [A]
+long_c          = 400.0 [A]
+sldPipe         = 6.3e-06 [1/A^(2)]
+sldSolv         = 1e-06 [1/A^(2)]
+background      = 0.0 [1/cm]
+parallel_theta  = 0.0 [deg]
+parallel_phi    = 0.0 [deg]
+parallel_psi    = 0.0 [deg]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.ParallelepipedModel.ParallelepipedModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ParallelepipedModel.ParallelepipedModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ParallelepipedModel.ParallelepipedModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ParallelepipedModel.ParallelepipedModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.ParallelepipedModel.ParallelepipedModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.ParallelepipedModel.ParallelepipedModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ParallelepipedModel.ParallelepipedModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.ParallelepipedModel.ParallelepipedModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ParallelepipedModel.ParallelepipedModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ParallelepipedModel.ParallelepipedModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ParallelepipedModel.ParallelepipedModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.ParallelepipedModel.ParallelepipedModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ParallelepipedModel.ParallelepipedModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ParallelepipedModel.ParallelepipedModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ParallelepipedModel.ParallelepipedModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.ParallelepipedModel.ParallelepipedModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ParallelepipedModel.ParallelepipedModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.ParallelepipedModel.ParallelepipedModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ParallelepipedModel.ParallelepipedModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.ParallelepipedModel.ParallelepipedModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.ParallelepipedModel.ParallelepipedModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.ParallelepipedModel.ParallelepipedModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.ParallelepipedModel.ParallelepipedModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.ParallelepipedModel.ParallelepipedModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.ParallelepipedModel.ParallelepipedModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.ParallelepipedModel.ParallelepipedModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ParallelepipedModel.ParallelepipedModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.ParallelepipedModel.ParallelepipedModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ParallelepipedModel.ParallelepipedModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.ParallelepipedModel.ParallelepipedModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ParallelepipedModel.ParallelepipedModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.ParallelepipedModel.ParallelepipedModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ParallelepipedModel.ParallelepipedModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.ParallelepipedModel.ParallelepipedModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ParallelepipedModel.ParallelepipedModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.ParallelepipedModel.ParallelepipedModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.ParallelepipedModel.create_ParallelepipedModel">
+<tt class="descclassname">sans.models.ParallelepipedModel.</tt><tt class="descname">create_ParallelepipedModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ParallelepipedModel.create_ParallelepipedModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">ParallelepipedModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.ParallelepipedModel"><tt class="docutils literal"><span class="pre">sans.models.ParallelepipedModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="OnionModel.html"
+                        title="previous chapter">OnionModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="PeakGaussModel.html"
+                        title="next chapter">PeakGaussModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/ParallelepipedModel.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" size="18" />
+      <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="PeakGaussModel.html" title="PeakGaussModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="OnionModel.html" title="OnionModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/PeakGaussModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/PeakGaussModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/PeakGaussModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,297 @@
+
+
+<!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>PeakGaussModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="PeakLorentzModel" href="PeakLorentzModel.html" />
+    <link rel="prev" title="ParallelepipedModel" href="ParallelepipedModel.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="PeakLorentzModel.html" title="PeakLorentzModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="ParallelepipedModel.html" title="ParallelepipedModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="peakgaussmodel">
+<h1>PeakGaussModel<a class="headerlink" href="#peakgaussmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.PeakGaussModel">
+<span id="sans-models-peakgaussmodel"></span><h2><a class="reference internal" href="#module-sans.models.PeakGaussModel" title="sans.models.PeakGaussModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.PeakGaussModel</span></tt></a><a class="headerlink" href="#module-sans.models.PeakGaussModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Model describes a Gaussian shaped peak including a flat background
+Provide F(q) = scale*exp( -1/2 <a href="#id1"><span class="problematic" id="id2">*</span></a>[(q-q0)/B]^2 )+ background
+PeakGaussModel function as a BaseComponent model</p>
+<dl class="class">
+<dt id="sans.models.PeakGaussModel.PeakGaussModel">
+<em class="property">class </em><tt class="descclassname">sans.models.PeakGaussModel.</tt><tt class="descname">PeakGaussModel</tt><a class="headerlink" href="#sans.models.PeakGaussModel.PeakGaussModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a gaussian  shaped peak.</p>
+<p>F(q) = scale*exp( -1/2 <a href="#id3"><span class="problematic" id="id4">*</span></a>[(q-qo)/B]^2 )+ background</p>
+<dl class="docutils">
+<dt>The model has three parameters: </dt>
+<dd>scale     =  scale
+q0        =  peak position
+B         =  standard deviation
+background=  incoherent background</dd>
+</dl>
+<dl class="method">
+<dt id="sans.models.PeakGaussModel.PeakGaussModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PeakGaussModel.PeakGaussModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PeakGaussModel.PeakGaussModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PeakGaussModel.PeakGaussModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PeakGaussModel.PeakGaussModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.PeakGaussModel.PeakGaussModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PeakGaussModel.PeakGaussModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PeakGaussModel.PeakGaussModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PeakGaussModel.PeakGaussModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.PeakGaussModel.PeakGaussModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PeakGaussModel.PeakGaussModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PeakGaussModel.PeakGaussModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PeakGaussModel.PeakGaussModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.PeakGaussModel.PeakGaussModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PeakGaussModel.PeakGaussModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.PeakGaussModel.PeakGaussModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PeakGaussModel.PeakGaussModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.PeakGaussModel.PeakGaussModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PeakGaussModel.PeakGaussModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.PeakGaussModel.PeakGaussModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [r, theta])
+&#64;return: (Peak Gaussian value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PeakGaussModel.PeakGaussModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.PeakGaussModel.PeakGaussModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [qx, qy])
+&#64;return: Peak Gaussian value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PeakGaussModel.PeakGaussModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.PeakGaussModel.PeakGaussModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PeakGaussModel.PeakGaussModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.PeakGaussModel.PeakGaussModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">PeakGaussModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.PeakGaussModel"><tt class="docutils literal"><span class="pre">sans.models.PeakGaussModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="ParallelepipedModel.html"
+                        title="previous chapter">ParallelepipedModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="PeakLorentzModel.html"
+                        title="next chapter">PeakLorentzModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/PeakGaussModel.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" size="18" />
+      <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="PeakLorentzModel.html" title="PeakLorentzModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="ParallelepipedModel.html" title="ParallelepipedModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/PeakLorentzModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/PeakLorentzModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/PeakLorentzModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,297 @@
+
+
+<!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>PeakLorentzModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="PearlNecklaceModel" href="PearlNecklaceModel.html" />
+    <link rel="prev" title="PeakGaussModel" href="PeakGaussModel.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="PearlNecklaceModel.html" title="PearlNecklaceModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="PeakGaussModel.html" title="PeakGaussModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="peaklorentzmodel">
+<h1>PeakLorentzModel<a class="headerlink" href="#peaklorentzmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.PeakLorentzModel">
+<span id="sans-models-peaklorentzmodel"></span><h2><a class="reference internal" href="#module-sans.models.PeakLorentzModel" title="sans.models.PeakLorentzModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.PeakLorentzModel</span></tt></a><a class="headerlink" href="#module-sans.models.PeakLorentzModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Model describes a Lorentzian shaped peak including a flat background
+Provide F(q) = scale/(1+[(q-q0)/B]^2 ) + background
+PeakLorentzModel function as a BaseComponent model</p>
+<dl class="class">
+<dt id="sans.models.PeakLorentzModel.PeakLorentzModel">
+<em class="property">class </em><tt class="descclassname">sans.models.PeakLorentzModel.</tt><tt class="descname">PeakLorentzModel</tt><a class="headerlink" href="#sans.models.PeakLorentzModel.PeakLorentzModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a gaussian  shaped peak.</p>
+<p>F(q) = scale/(1+[(q-q0)/B]^2 ) + background</p>
+<dl class="docutils">
+<dt>The model has three parameters: </dt>
+<dd>scale     =  scale
+q0        =  peak position
+B         =  ( hwhm) half-width-halfmaximum
+background=  incoherent background</dd>
+</dl>
+<dl class="method">
+<dt id="sans.models.PeakLorentzModel.PeakLorentzModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PeakLorentzModel.PeakLorentzModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PeakLorentzModel.PeakLorentzModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PeakLorentzModel.PeakLorentzModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PeakLorentzModel.PeakLorentzModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.PeakLorentzModel.PeakLorentzModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PeakLorentzModel.PeakLorentzModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PeakLorentzModel.PeakLorentzModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PeakLorentzModel.PeakLorentzModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.PeakLorentzModel.PeakLorentzModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PeakLorentzModel.PeakLorentzModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PeakLorentzModel.PeakLorentzModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PeakLorentzModel.PeakLorentzModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.PeakLorentzModel.PeakLorentzModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PeakLorentzModel.PeakLorentzModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.PeakLorentzModel.PeakLorentzModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PeakLorentzModel.PeakLorentzModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.PeakLorentzModel.PeakLorentzModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PeakLorentzModel.PeakLorentzModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.PeakLorentzModel.PeakLorentzModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [r, theta])
+&#64;return: Peak Lorentzian value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PeakLorentzModel.PeakLorentzModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.PeakLorentzModel.PeakLorentzModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [qx, qy])
+&#64;return: Peak Lorentzian value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PeakLorentzModel.PeakLorentzModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.PeakLorentzModel.PeakLorentzModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PeakLorentzModel.PeakLorentzModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.PeakLorentzModel.PeakLorentzModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">PeakLorentzModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.PeakLorentzModel"><tt class="docutils literal"><span class="pre">sans.models.PeakLorentzModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="PeakGaussModel.html"
+                        title="previous chapter">PeakGaussModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="PearlNecklaceModel.html"
+                        title="next chapter">PearlNecklaceModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/PeakLorentzModel.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" size="18" />
+      <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="PearlNecklaceModel.html" title="PearlNecklaceModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="PeakGaussModel.html" title="PeakGaussModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/PearlNecklaceModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/PearlNecklaceModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/PearlNecklaceModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,349 @@
+
+
+<!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>PearlNecklaceModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="pluginmodel" href="pluginmodel.html" />
+    <link rel="prev" title="PeakLorentzModel" href="PeakLorentzModel.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="pluginmodel.html" title="pluginmodel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="PeakLorentzModel.html" title="PeakLorentzModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="pearlnecklacemodel">
+<h1>PearlNecklaceModel<a class="headerlink" href="#pearlnecklacemodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.PearlNecklaceModel">
+<span id="sans-models-pearlnecklacemodel"></span><h2><a class="reference internal" href="#module-sans.models.PearlNecklaceModel" title="sans.models.PearlNecklaceModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.PearlNecklaceModel</span></tt></a><a class="headerlink" href="#module-sans.models.PearlNecklaceModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionspearlnecklace.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.PearlNecklaceModel.PearlNecklaceModel">
+<em class="property">class </em><tt class="descclassname">sans.models.PearlNecklaceModel.</tt><tt class="descname">PearlNecklaceModel</tt><a class="headerlink" href="#sans.models.PearlNecklaceModel.PearlNecklaceModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CPearlNecklaceModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a PearlNecklaceModel model. 
+This file was auto-generated from ..c_extensionspearlnecklace.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+radius          = 80.0 [A]
+edge_separation = 350.0 [A]
+thick_string    = 2.5 [A]
+num_pearls      = 3.0 
+sld_pearl       = 1e-06 [1/A^(2)]
+sld_string      = 1e-06 [1/A^(2)]
+sld_solv        = 6.3e-06 [1/A^(2)]
+background      = 0.0</div></blockquote>
+<dl class="method">
+<dt id="sans.models.PearlNecklaceModel.PearlNecklaceModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PearlNecklaceModel.PearlNecklaceModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PearlNecklaceModel.PearlNecklaceModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PearlNecklaceModel.PearlNecklaceModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.PearlNecklaceModel.PearlNecklaceModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.PearlNecklaceModel.PearlNecklaceModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PearlNecklaceModel.PearlNecklaceModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.PearlNecklaceModel.PearlNecklaceModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PearlNecklaceModel.PearlNecklaceModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PearlNecklaceModel.PearlNecklaceModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PearlNecklaceModel.PearlNecklaceModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.PearlNecklaceModel.PearlNecklaceModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PearlNecklaceModel.PearlNecklaceModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PearlNecklaceModel.PearlNecklaceModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PearlNecklaceModel.PearlNecklaceModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.PearlNecklaceModel.PearlNecklaceModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PearlNecklaceModel.PearlNecklaceModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.PearlNecklaceModel.PearlNecklaceModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PearlNecklaceModel.PearlNecklaceModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.PearlNecklaceModel.PearlNecklaceModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.PearlNecklaceModel.PearlNecklaceModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.PearlNecklaceModel.PearlNecklaceModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.PearlNecklaceModel.PearlNecklaceModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.PearlNecklaceModel.PearlNecklaceModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.PearlNecklaceModel.PearlNecklaceModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.PearlNecklaceModel.PearlNecklaceModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PearlNecklaceModel.PearlNecklaceModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.PearlNecklaceModel.PearlNecklaceModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PearlNecklaceModel.PearlNecklaceModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.PearlNecklaceModel.PearlNecklaceModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PearlNecklaceModel.PearlNecklaceModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.PearlNecklaceModel.PearlNecklaceModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PearlNecklaceModel.PearlNecklaceModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.PearlNecklaceModel.PearlNecklaceModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PearlNecklaceModel.PearlNecklaceModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.PearlNecklaceModel.PearlNecklaceModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.PearlNecklaceModel.create_PearlNecklaceModel">
+<tt class="descclassname">sans.models.PearlNecklaceModel.</tt><tt class="descname">create_PearlNecklaceModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PearlNecklaceModel.create_PearlNecklaceModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">PearlNecklaceModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.PearlNecklaceModel"><tt class="docutils literal"><span class="pre">sans.models.PearlNecklaceModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="PeakLorentzModel.html"
+                        title="previous chapter">PeakLorentzModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="pluginmodel.html"
+                        title="next chapter">pluginmodel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/PearlNecklaceModel.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" size="18" />
+      <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="pluginmodel.html" title="pluginmodel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="PeakLorentzModel.html" title="PeakLorentzModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/Poly_GaussCoil.html
===================================================================
--- sansmodels/docs/sphinx/html/api/Poly_GaussCoil.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/Poly_GaussCoil.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,344 @@
+
+
+<!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>Poly_GaussCoil &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="PorodModel" href="PorodModel.html" />
+    <link rel="prev" title="PolymerExclVolume" href="PolymerExclVolume.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="PorodModel.html" title="PorodModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="PolymerExclVolume.html" title="PolymerExclVolume"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="poly-gausscoil">
+<h1>Poly_GaussCoil<a class="headerlink" href="#poly-gausscoil" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.Poly_GaussCoil">
+<span id="sans-models-poly-gausscoil"></span><h2><a class="reference internal" href="#module-sans.models.Poly_GaussCoil" title="sans.models.Poly_GaussCoil"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.Poly_GaussCoil</span></tt></a><a class="headerlink" href="#module-sans.models.Poly_GaussCoil" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionspolygausscoil.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.Poly_GaussCoil.Poly_GaussCoil">
+<em class="property">class </em><tt class="descclassname">sans.models.Poly_GaussCoil.</tt><tt class="descname">Poly_GaussCoil</tt><a class="headerlink" href="#sans.models.Poly_GaussCoil.Poly_GaussCoil" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CPoly_GaussCoil</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a Poly_GaussCoil model. 
+This file was auto-generated from ..c_extensionspolygausscoil.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+rg              = 60.0 [A]
+poly_m          = 2.0 [Mw/Mn]
+background      = 0.001 [1/cm]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.Poly_GaussCoil.Poly_GaussCoil.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Poly_GaussCoil.Poly_GaussCoil.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Poly_GaussCoil.Poly_GaussCoil.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Poly_GaussCoil.Poly_GaussCoil.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.Poly_GaussCoil.Poly_GaussCoil.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.Poly_GaussCoil.Poly_GaussCoil.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Poly_GaussCoil.Poly_GaussCoil.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.Poly_GaussCoil.Poly_GaussCoil.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Poly_GaussCoil.Poly_GaussCoil.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Poly_GaussCoil.Poly_GaussCoil.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Poly_GaussCoil.Poly_GaussCoil.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.Poly_GaussCoil.Poly_GaussCoil.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Poly_GaussCoil.Poly_GaussCoil.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Poly_GaussCoil.Poly_GaussCoil.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Poly_GaussCoil.Poly_GaussCoil.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.Poly_GaussCoil.Poly_GaussCoil.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Poly_GaussCoil.Poly_GaussCoil.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.Poly_GaussCoil.Poly_GaussCoil.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Poly_GaussCoil.Poly_GaussCoil.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.Poly_GaussCoil.Poly_GaussCoil.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.Poly_GaussCoil.Poly_GaussCoil.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.Poly_GaussCoil.Poly_GaussCoil.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.Poly_GaussCoil.Poly_GaussCoil.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.Poly_GaussCoil.Poly_GaussCoil.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.Poly_GaussCoil.Poly_GaussCoil.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.Poly_GaussCoil.Poly_GaussCoil.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Poly_GaussCoil.Poly_GaussCoil.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.Poly_GaussCoil.Poly_GaussCoil.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Poly_GaussCoil.Poly_GaussCoil.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.Poly_GaussCoil.Poly_GaussCoil.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Poly_GaussCoil.Poly_GaussCoil.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.Poly_GaussCoil.Poly_GaussCoil.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Poly_GaussCoil.Poly_GaussCoil.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.Poly_GaussCoil.Poly_GaussCoil.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Poly_GaussCoil.Poly_GaussCoil.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.Poly_GaussCoil.Poly_GaussCoil.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.Poly_GaussCoil.create_Poly_GaussCoil">
+<tt class="descclassname">sans.models.Poly_GaussCoil.</tt><tt class="descname">create_Poly_GaussCoil</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Poly_GaussCoil.create_Poly_GaussCoil" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">Poly_GaussCoil</a><ul>
+<li><a class="reference internal" href="#module-sans.models.Poly_GaussCoil"><tt class="docutils literal"><span class="pre">sans.models.Poly_GaussCoil</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="PolymerExclVolume.html"
+                        title="previous chapter">PolymerExclVolume</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="PorodModel.html"
+                        title="next chapter">PorodModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/Poly_GaussCoil.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" size="18" />
+      <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="PorodModel.html" title="PorodModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="PolymerExclVolume.html" title="PolymerExclVolume"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/PolymerExclVolume.html
===================================================================
--- sansmodels/docs/sphinx/html/api/PolymerExclVolume.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/PolymerExclVolume.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,295 @@
+
+
+<!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>PolymerExclVolume &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="Poly_GaussCoil" href="Poly_GaussCoil.html" />
+    <link rel="prev" title="pluginmodel" href="pluginmodel.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="Poly_GaussCoil.html" title="Poly_GaussCoil"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="pluginmodel.html" title="pluginmodel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="polymerexclvolume">
+<h1>PolymerExclVolume<a class="headerlink" href="#polymerexclvolume" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.PolymerExclVolume">
+<span id="sans-models-polymerexclvolume"></span><h2><a class="reference internal" href="#module-sans.models.PolymerExclVolume" title="sans.models.PolymerExclVolume"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.PolymerExclVolume</span></tt></a><a class="headerlink" href="#module-sans.models.PolymerExclVolume" title="Permalink to this headline">Â¶</a></h2>
+<dl class="class">
+<dt id="sans.models.PolymerExclVolume.PolymerExclVolume">
+<em class="property">class </em><tt class="descclassname">sans.models.PolymerExclVolume.</tt><tt class="descname">PolymerExclVolume</tt><a class="headerlink" href="#sans.models.PolymerExclVolume.PolymerExclVolume" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a PolymerExclVolModel model. 
+This file was auto-generated from ..c_extensionspolyexclvol.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 0.01 
+rg              = 100.0 [A]
+m               = 3.0 
+background      = 0.0 [1/cm]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.PolymerExclVolume.PolymerExclVolume.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PolymerExclVolume.PolymerExclVolume.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PolymerExclVolume.PolymerExclVolume.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PolymerExclVolume.PolymerExclVolume.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PolymerExclVolume.PolymerExclVolume.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.PolymerExclVolume.PolymerExclVolume.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PolymerExclVolume.PolymerExclVolume.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PolymerExclVolume.PolymerExclVolume.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PolymerExclVolume.PolymerExclVolume.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.PolymerExclVolume.PolymerExclVolume.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PolymerExclVolume.PolymerExclVolume.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PolymerExclVolume.PolymerExclVolume.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PolymerExclVolume.PolymerExclVolume.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.PolymerExclVolume.PolymerExclVolume.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PolymerExclVolume.PolymerExclVolume.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.PolymerExclVolume.PolymerExclVolume.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PolymerExclVolume.PolymerExclVolume.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.PolymerExclVolume.PolymerExclVolume.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PolymerExclVolume.PolymerExclVolume.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.PolymerExclVolume.PolymerExclVolume.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [r, theta])
+&#64;return: (guinier value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PolymerExclVolume.PolymerExclVolume.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.PolymerExclVolume.PolymerExclVolume.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [qx, qy])
+&#64;return: guinier value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PolymerExclVolume.PolymerExclVolume.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.PolymerExclVolume.PolymerExclVolume.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PolymerExclVolume.PolymerExclVolume.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.PolymerExclVolume.PolymerExclVolume.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">PolymerExclVolume</a><ul>
+<li><a class="reference internal" href="#module-sans.models.PolymerExclVolume"><tt class="docutils literal"><span class="pre">sans.models.PolymerExclVolume</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="pluginmodel.html"
+                        title="previous chapter">pluginmodel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="Poly_GaussCoil.html"
+                        title="next chapter">Poly_GaussCoil</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/PolymerExclVolume.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" size="18" />
+      <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="Poly_GaussCoil.html" title="Poly_GaussCoil"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="pluginmodel.html" title="pluginmodel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/PorodModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/PorodModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/PorodModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,289 @@
+
+
+<!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>PorodModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="PowerLawAbsModel" href="PowerLawAbsModel.html" />
+    <link rel="prev" title="Poly_GaussCoil" href="Poly_GaussCoil.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="PowerLawAbsModel.html" title="PowerLawAbsModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="Poly_GaussCoil.html" title="Poly_GaussCoil"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="porodmodel">
+<h1>PorodModel<a class="headerlink" href="#porodmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.PorodModel">
+<span id="sans-models-porodmodel"></span><h2><a class="reference internal" href="#module-sans.models.PorodModel" title="sans.models.PorodModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.PorodModel</span></tt></a><a class="headerlink" href="#module-sans.models.PorodModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide I(q) = C/q^4,
+Porod function as a BaseComponent model</p>
+<dl class="class">
+<dt id="sans.models.PorodModel.PorodModel">
+<em class="property">class </em><tt class="descclassname">sans.models.PorodModel.</tt><tt class="descname">PorodModel</tt><a class="headerlink" href="#sans.models.PorodModel.PorodModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a Porod model.</p>
+<p>I(q) = scale/q^4 +background</p>
+<dl class="method">
+<dt id="sans.models.PorodModel.PorodModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PorodModel.PorodModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PorodModel.PorodModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PorodModel.PorodModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PorodModel.PorodModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.PorodModel.PorodModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PorodModel.PorodModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PorodModel.PorodModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PorodModel.PorodModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.PorodModel.PorodModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PorodModel.PorodModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PorodModel.PorodModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PorodModel.PorodModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.PorodModel.PorodModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PorodModel.PorodModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.PorodModel.PorodModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PorodModel.PorodModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.PorodModel.PorodModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PorodModel.PorodModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.PorodModel.PorodModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [r, theta])
+&#64;return: (porod value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PorodModel.PorodModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.PorodModel.PorodModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [qx, qy])
+&#64;return: porod value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PorodModel.PorodModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.PorodModel.PorodModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PorodModel.PorodModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.PorodModel.PorodModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">PorodModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.PorodModel"><tt class="docutils literal"><span class="pre">sans.models.PorodModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="Poly_GaussCoil.html"
+                        title="previous chapter">Poly_GaussCoil</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="PowerLawAbsModel.html"
+                        title="next chapter">PowerLawAbsModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/PorodModel.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" size="18" />
+      <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="PowerLawAbsModel.html" title="PowerLawAbsModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="Poly_GaussCoil.html" title="Poly_GaussCoil"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/PowerLawAbsModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/PowerLawAbsModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/PowerLawAbsModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,295 @@
+
+
+<!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>PowerLawAbsModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="PowerLawModel" href="PowerLawModel.html" />
+    <link rel="prev" title="PorodModel" href="PorodModel.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="PowerLawModel.html" title="PowerLawModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="PorodModel.html" title="PorodModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="powerlawabsmodel">
+<h1>PowerLawAbsModel<a class="headerlink" href="#powerlawabsmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.PowerLawAbsModel">
+<span id="sans-models-powerlawabsmodel"></span><h2><a class="reference internal" href="#module-sans.models.PowerLawAbsModel" title="sans.models.PowerLawAbsModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.PowerLawAbsModel</span></tt></a><a class="headerlink" href="#module-sans.models.PowerLawAbsModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide F(x) = scale* (<a href="#id1"><span class="problematic" id="id2">|x|</span></a>)^(-m) + bkd
+Power law function as a BaseComponent model</p>
+<dl class="class">
+<dt id="sans.models.PowerLawAbsModel.PowerLawAbsModel">
+<em class="property">class </em><tt class="descclassname">sans.models.PowerLawAbsModel.</tt><tt class="descname">PowerLawAbsModel</tt><a class="headerlink" href="#sans.models.PowerLawAbsModel.PowerLawAbsModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="PowerLawModel.html#sans.models.PowerLawModel.PowerLawModel" title="sans.models.PowerLawModel.PowerLawModel"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.PowerLawModel.PowerLawModel</span></tt></a></p>
+<p>Class that evaluates a absolute Power_Law model.</p>
+<p>F(x) = scale* (<a href="#id3"><span class="problematic" id="id4">|x|</span></a>)^(-m) + bkd</p>
+<dl class="docutils">
+<dt>The model has three parameters: </dt>
+<dd>m     =  power
+scale  =  scale factor
+bkd    =  incoherent background</dd>
+</dl>
+<dl class="method">
+<dt id="sans.models.PowerLawAbsModel.PowerLawAbsModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PowerLawAbsModel.PowerLawAbsModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PowerLawAbsModel.PowerLawAbsModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PowerLawAbsModel.PowerLawAbsModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PowerLawAbsModel.PowerLawAbsModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.PowerLawAbsModel.PowerLawAbsModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PowerLawAbsModel.PowerLawAbsModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PowerLawAbsModel.PowerLawAbsModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PowerLawAbsModel.PowerLawAbsModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.PowerLawAbsModel.PowerLawAbsModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PowerLawAbsModel.PowerLawAbsModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PowerLawAbsModel.PowerLawAbsModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PowerLawAbsModel.PowerLawAbsModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.PowerLawAbsModel.PowerLawAbsModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PowerLawAbsModel.PowerLawAbsModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.PowerLawAbsModel.PowerLawAbsModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PowerLawAbsModel.PowerLawAbsModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.PowerLawAbsModel.PowerLawAbsModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PowerLawAbsModel.PowerLawAbsModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.PowerLawAbsModel.PowerLawAbsModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [r, theta])
+&#64;return: (PowerLaw value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PowerLawAbsModel.PowerLawAbsModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.PowerLawAbsModel.PowerLawAbsModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [qx, qy])
+&#64;return: PowerLaw value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PowerLawAbsModel.PowerLawAbsModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.PowerLawAbsModel.PowerLawAbsModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PowerLawAbsModel.PowerLawAbsModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.PowerLawAbsModel.PowerLawAbsModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">PowerLawAbsModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.PowerLawAbsModel"><tt class="docutils literal"><span class="pre">sans.models.PowerLawAbsModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="PorodModel.html"
+                        title="previous chapter">PorodModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="PowerLawModel.html"
+                        title="next chapter">PowerLawModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/PowerLawAbsModel.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" size="18" />
+      <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="PowerLawModel.html" title="PowerLawModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="PorodModel.html" title="PorodModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/PowerLawModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/PowerLawModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/PowerLawModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,295 @@
+
+
+<!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>PowerLawModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="ProlateModel" href="ProlateModel.html" />
+    <link rel="prev" title="PowerLawAbsModel" href="PowerLawAbsModel.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="ProlateModel.html" title="ProlateModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="PowerLawAbsModel.html" title="PowerLawAbsModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="powerlawmodel">
+<h1>PowerLawModel<a class="headerlink" href="#powerlawmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.PowerLawModel">
+<span id="sans-models-powerlawmodel"></span><h2><a class="reference internal" href="#module-sans.models.PowerLawModel" title="sans.models.PowerLawModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.PowerLawModel</span></tt></a><a class="headerlink" href="#module-sans.models.PowerLawModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide F(x) = scale* (x)^(-m) + bkd
+Power law function as a BaseComponent model</p>
+<dl class="class">
+<dt id="sans.models.PowerLawModel.PowerLawModel">
+<em class="property">class </em><tt class="descclassname">sans.models.PowerLawModel.</tt><tt class="descname">PowerLawModel</tt><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a Power_Law model.</p>
+<p>F(x) = scale* (x)^(-m) + bkd</p>
+<dl class="docutils">
+<dt>The model has three parameters: </dt>
+<dd>m     =  power
+scale  =  scale factor
+bkd    =  incoherent background</dd>
+</dl>
+<dl class="method">
+<dt id="sans.models.PowerLawModel.PowerLawModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PowerLawModel.PowerLawModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PowerLawModel.PowerLawModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PowerLawModel.PowerLawModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PowerLawModel.PowerLawModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PowerLawModel.PowerLawModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PowerLawModel.PowerLawModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PowerLawModel.PowerLawModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PowerLawModel.PowerLawModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PowerLawModel.PowerLawModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [r, theta])
+&#64;return: (PowerLaw value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PowerLawModel.PowerLawModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [qx, qy])
+&#64;return: PowerLaw value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PowerLawModel.PowerLawModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.PowerLawModel.PowerLawModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">PowerLawModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.PowerLawModel"><tt class="docutils literal"><span class="pre">sans.models.PowerLawModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="PowerLawAbsModel.html"
+                        title="previous chapter">PowerLawAbsModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="ProlateModel.html"
+                        title="next chapter">ProlateModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/PowerLawModel.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" size="18" />
+      <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="ProlateModel.html" title="ProlateModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="PowerLawAbsModel.html" title="PowerLawAbsModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/ProlateModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/ProlateModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/ProlateModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,129 @@
+
+
+<!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>ProlateModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="qsmearing" href="qsmearing.html" />
+    <link rel="prev" title="PowerLawModel" href="PowerLawModel.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="qsmearing.html" title="qsmearing"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="PowerLawModel.html" title="PowerLawModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="prolatemodel">
+<h1>ProlateModel<a class="headerlink" href="#prolatemodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="sans-models-prolatemodel">
+<h2><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.ProlateModel</span></tt><a class="headerlink" href="#sans-models-prolatemodel" title="Permalink to this headline">Â¶</a></h2>
+</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="#">ProlateModel</a><ul>
+<li><a class="reference internal" href="#sans-models-prolatemodel"><tt class="docutils literal"><span class="pre">sans.models.ProlateModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="PowerLawModel.html"
+                        title="previous chapter">PowerLawModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="qsmearing.html"
+                        title="next chapter">qsmearing</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/ProlateModel.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" size="18" />
+      <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="qsmearing.html" title="qsmearing"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="PowerLawModel.html" title="PowerLawModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/RPA10Model.html
===================================================================
--- sansmodels/docs/sphinx/html/api/RPA10Model.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/RPA10Model.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,258 @@
+
+
+<!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>RPA10Model &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="RPAModel" href="RPAModel.html" />
+    <link rel="prev" title="ReflModel" href="ReflModel.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="RPAModel.html" title="RPAModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="ReflModel.html" title="ReflModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="rpa10model">
+<h1>RPA10Model<a class="headerlink" href="#rpa10model" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.RPA10Model">
+<span id="sans-models-rpa10model"></span><h2><a class="reference internal" href="#module-sans.models.RPA10Model" title="sans.models.RPA10Model"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.RPA10Model</span></tt></a><a class="headerlink" href="#module-sans.models.RPA10Model" title="Permalink to this headline">Â¶</a></h2>
+<dl class="class">
+<dt id="sans.models.RPA10Model.RPA10Model">
+<em class="property">class </em><tt class="descclassname">sans.models.RPA10Model.</tt><tt class="descname">RPA10Model</tt><big>(</big><em>multfactor=1</em><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>This multi-model is based on Parratt formalism and provides the capability
+of changing the number of layers between 0 and 10.</p>
+<dl class="method">
+<dt id="sans.models.RPA10Model.RPA10Model.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPA10Model.RPA10Model.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPA10Model.RPA10Model.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<p>: param x: input q[], or [qx[], qy[]]
+: return: scattering function P(q[])</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPA10Model.RPA10Model.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPA10Model.RPA10Model.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPA10Model.RPA10Model.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPA10Model.RPA10Model.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPA10Model.RPA10Model.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPA10Model.RPA10Model.getProfile">
+<tt class="descname">getProfile</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.getProfile" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Get SLD profile</p>
+<p>: return: None, No SLD profile supporting for this model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPA10Model.RPA10Model.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPA10Model.RPA10Model.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPA10Model.RPA10Model.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<p>: param x: input q-value (float or [float, float] as [qx, qy])
+: return: scattering function value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPA10Model.RPA10Model.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<p>: param name: name of the parameter
+: param value: value of the parameter</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPA10Model.RPA10Model.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPA10Model.RPA10Model.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<p>: param parameter: name of the parameter [string]
+:dispersion: dispersion object of type DispersionModel</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="#">RPA10Model</a><ul>
+<li><a class="reference internal" href="#module-sans.models.RPA10Model"><tt class="docutils literal"><span class="pre">sans.models.RPA10Model</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="ReflModel.html"
+                        title="previous chapter">ReflModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="RPAModel.html"
+                        title="next chapter">RPAModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/RPA10Model.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" size="18" />
+      <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="RPAModel.html" title="RPAModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="ReflModel.html" title="ReflModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/RPAModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/RPAModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/RPAModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,377 @@
+
+
+<!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>RPAModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="SCCrystalModel" href="SCCrystalModel.html" />
+    <link rel="prev" title="RPA10Model" href="RPA10Model.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="SCCrystalModel.html" title="SCCrystalModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="RPA10Model.html" title="RPA10Model"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="rpamodel">
+<h1>RPAModel<a class="headerlink" href="#rpamodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.RPAModel">
+<span id="sans-models-rpamodel"></span><h2><a class="reference internal" href="#module-sans.models.RPAModel" title="sans.models.RPAModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.RPAModel</span></tt></a><a class="headerlink" href="#module-sans.models.RPAModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensions</td>
+</tr>
+</tbody>
+</table>
+<dl class="docutils">
+<dt>pa.h</dt>
+<dd>AND RE-RUN THE GENERATOR SCRIPT</dd>
+</dl>
+<dl class="class">
+<dt id="sans.models.RPAModel.RPAModel">
+<em class="property">class </em><tt class="descclassname">sans.models.RPAModel.</tt><tt class="descname">RPAModel</tt><a class="headerlink" href="#sans.models.RPAModel.RPAModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CRPAModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<blockquote>
+<div>Class that evaluates a RPAModel model. 
+This file was auto-generated from ..c_extensions</div></blockquote>
+<dl class="docutils">
+<dt>pa.h.</dt>
+<dd><p class="first">Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote class="last">
+<div>lcase_n         = 0.0 
+ba              = 5.0 
+bb              = 5.0 
+bc              = 5.0 
+bd              = 5.0 
+Kab             = -0.0004 
+Kac             = -0.0004 
+Kad             = -0.0004 
+Kbc             = -0.0004 
+Kbd             = -0.0004 
+Kcd             = -0.0004 
+scale           = 1.0 
+background      = 0.0 [1/cm]
+Na              = 1000.0 
+Phia            = 0.25 
+va              = 100.0 
+La              = 1e-12 
+Nb              = 1000.0 
+Phib            = 0.25 
+vb              = 100.0 
+Lb              = 1e-12 
+Nc              = 1000.0 
+Phic            = 0.25 
+vc              = 100.0 
+Lc              = 1e-12 
+Nd              = 1000.0 
+Phid            = 0.25 
+vd              = 100.0 
+Ld              = 0.0</div></blockquote>
+</dd>
+</dl>
+<dl class="method">
+<dt id="sans.models.RPAModel.RPAModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPAModel.RPAModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.RPAModel.RPAModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.RPAModel.RPAModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPAModel.RPAModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPAModel.RPAModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPAModel.RPAModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPAModel.RPAModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPAModel.RPAModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPAModel.RPAModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPAModel.RPAModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.RPAModel.RPAModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.RPAModel.RPAModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.RPAModel.RPAModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.RPAModel.RPAModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.RPAModel.RPAModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.RPAModel.RPAModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPAModel.RPAModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPAModel.RPAModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPAModel.RPAModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPAModel.RPAModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.RPAModel.RPAModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.RPAModel.create_RPAModel">
+<tt class="descclassname">sans.models.RPAModel.</tt><tt class="descname">create_RPAModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.create_RPAModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">RPAModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.RPAModel"><tt class="docutils literal"><span class="pre">sans.models.RPAModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="RPA10Model.html"
+                        title="previous chapter">RPA10Model</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="SCCrystalModel.html"
+                        title="next chapter">SCCrystalModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/RPAModel.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" size="18" />
+      <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="SCCrystalModel.html" title="SCCrystalModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="RPA10Model.html" title="RPA10Model"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/ReflAdvModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/ReflAdvModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/ReflAdvModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,419 @@
+
+
+<!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>ReflAdvModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="ReflectivityIIModel" href="ReflectivityIIModel.html" />
+    <link rel="prev" title="qsmearing" href="qsmearing.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="ReflectivityIIModel.html" title="ReflectivityIIModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="qsmearing.html" title="qsmearing"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="refladvmodel">
+<h1>ReflAdvModel<a class="headerlink" href="#refladvmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.ReflAdvModel">
+<span id="sans-models-refladvmodel"></span><h2><a class="reference internal" href="#module-sans.models.ReflAdvModel" title="sans.models.ReflAdvModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.ReflAdvModel</span></tt></a><a class="headerlink" href="#module-sans.models.ReflAdvModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensions</td>
+</tr>
+</tbody>
+</table>
+<dl class="docutils">
+<dt>efl_adv.h</dt>
+<dd>AND RE-RUN THE GENERATOR SCRIPT</dd>
+</dl>
+<dl class="class">
+<dt id="sans.models.ReflAdvModel.ReflAdvModel">
+<em class="property">class </em><tt class="descclassname">sans.models.ReflAdvModel.</tt><tt class="descname">ReflAdvModel</tt><a class="headerlink" href="#sans.models.ReflAdvModel.ReflAdvModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CReflAdvModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<blockquote>
+<div>Class that evaluates a ReflAdvModel model. 
+This file was auto-generated from ..c_extensions</div></blockquote>
+<dl class="docutils">
+<dt>efl_adv.h.</dt>
+<dd><p class="first">Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote class="last">
+<div>n_layers        = 1.0 
+scale           = 1.0 
+thick_inter0    = 50.0 [A]
+func_inter0     = 0.0 
+sld_bottom0     = 2.07e-06 [1/A^(2)]
+sld_medium      = 1e-06 [1/A^(2)]
+background      = 0.0 
+sld_flat1       = 4e-06 [1/A^(2)]
+sld_flat2       = 3.5e-06 [1/A^(2)]
+sld_flat3       = 4e-06 [1/A^(2)]
+sld_flat4       = 3.5e-06 [1/A^(2)]
+sld_flat5       = 4e-06 [1/A^(2)]
+sld_flat6       = 3.5e-06 [1/A^(2)]
+sld_flat7       = 4e-06 [1/A^(2)]
+sld_flat8       = 3.5e-06 [1/A^(2)]
+sld_flat9       = 4e-06 [1/A^(2)]
+sld_flat10      = 3.5e-06 [1/A^(2)]
+thick_inter1    = 50.0 [A]
+thick_inter2    = 50.0 [A]
+thick_inter3    = 50.0 [A]
+thick_inter4    = 50.0 [A]
+thick_inter5    = 50.0 [A]
+thick_inter6    = 50.0 [A]
+thick_inter7    = 50.0 [A]
+thick_inter8    = 50.0 [A]
+thick_inter9    = 50.0 [A]
+thick_inter10   = 50.0 [A]
+thick_flat1     = 100.0 [A]
+thick_flat2     = 100.0 [A]
+thick_flat3     = 100.0 [A]
+thick_flat4     = 100.0 [A]
+thick_flat5     = 100.0 [A]
+thick_flat6     = 100.0 [A]
+thick_flat7     = 100.0 [A]
+thick_flat8     = 100.0 [A]
+thick_flat9     = 100.0 [A]
+thick_flat10    = 100.0 [A]
+func_inter1     = 0.0 
+func_inter2     = 0.0 
+func_inter3     = 0.0 
+func_inter4     = 0.0 
+func_inter5     = 0.0 
+func_inter6     = 0.0 
+func_inter7     = 0.0 
+func_inter8     = 0.0 
+func_inter9     = 0.0 
+func_inter10    = 0.0 
+sldIM_flat1     = 0.0 [1/A^(2)]
+sldIM_flat2     = 0.0 [1/A^(2)]
+sldIM_flat3     = 0.0 [1/A^(2)]
+sldIM_flat4     = 0.0 [1/A^(2)]
+sldIM_flat5     = 0.0 [1/A^(2)]
+sldIM_flat6     = 0.0 [1/A^(2)]
+sldIM_flat7     = 0.0 [1/A^(2)]
+sldIM_flat8     = 0.0 [1/A^(2)]
+sldIM_flat9     = 0.0 [1/A^(2)]
+sldIM_flat10    = 0.0 [1/A^(2)]
+nu_inter1       = 2.5 
+nu_inter2       = 2.5 
+nu_inter3       = 2.5 
+nu_inter4       = 2.5 
+nu_inter5       = 2.5 
+nu_inter6       = 2.5 
+nu_inter7       = 2.5 
+nu_inter8       = 2.5 
+nu_inter9       = 2.5 
+nu_inter10      = 2.5 
+sldIM_sub0      = 0.0 
+sldIM_medium    = 0.0 
+npts_inter      = 21.0 
+nu_inter0       = 2.5</div></blockquote>
+</dd>
+</dl>
+<dl class="method">
+<dt id="sans.models.ReflAdvModel.ReflAdvModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflAdvModel.ReflAdvModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflAdvModel.ReflAdvModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflAdvModel.ReflAdvModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.ReflAdvModel.ReflAdvModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.ReflAdvModel.ReflAdvModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflAdvModel.ReflAdvModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.ReflAdvModel.ReflAdvModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflAdvModel.ReflAdvModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflAdvModel.ReflAdvModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflAdvModel.ReflAdvModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.ReflAdvModel.ReflAdvModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflAdvModel.ReflAdvModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflAdvModel.ReflAdvModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflAdvModel.ReflAdvModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.ReflAdvModel.ReflAdvModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflAdvModel.ReflAdvModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.ReflAdvModel.ReflAdvModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflAdvModel.ReflAdvModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.ReflAdvModel.ReflAdvModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.ReflAdvModel.ReflAdvModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.ReflAdvModel.ReflAdvModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.ReflAdvModel.ReflAdvModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.ReflAdvModel.ReflAdvModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.ReflAdvModel.ReflAdvModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.ReflAdvModel.ReflAdvModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflAdvModel.ReflAdvModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.ReflAdvModel.ReflAdvModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflAdvModel.ReflAdvModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.ReflAdvModel.ReflAdvModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflAdvModel.ReflAdvModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.ReflAdvModel.ReflAdvModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflAdvModel.ReflAdvModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.ReflAdvModel.ReflAdvModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflAdvModel.ReflAdvModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.ReflAdvModel.ReflAdvModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.ReflAdvModel.create_ReflAdvModel">
+<tt class="descclassname">sans.models.ReflAdvModel.</tt><tt class="descname">create_ReflAdvModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflAdvModel.create_ReflAdvModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">ReflAdvModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.ReflAdvModel"><tt class="docutils literal"><span class="pre">sans.models.ReflAdvModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="qsmearing.html"
+                        title="previous chapter">qsmearing</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="ReflectivityIIModel.html"
+                        title="next chapter">ReflectivityIIModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/ReflAdvModel.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" size="18" />
+      <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="ReflectivityIIModel.html" title="ReflectivityIIModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="qsmearing.html" title="qsmearing"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/ReflModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/ReflModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/ReflModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,395 @@
+
+
+<!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>ReflModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="RPA10Model" href="RPA10Model.html" />
+    <link rel="prev" title="ReflectivityModel" href="ReflectivityModel.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="RPA10Model.html" title="RPA10Model"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="ReflectivityModel.html" title="ReflectivityModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="reflmodel">
+<h1>ReflModel<a class="headerlink" href="#reflmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.ReflModel">
+<span id="sans-models-reflmodel"></span><h2><a class="reference internal" href="#module-sans.models.ReflModel" title="sans.models.ReflModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.ReflModel</span></tt></a><a class="headerlink" href="#module-sans.models.ReflModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensions</td>
+</tr>
+</tbody>
+</table>
+<dl class="docutils">
+<dt>efl.h</dt>
+<dd>AND RE-RUN THE GENERATOR SCRIPT</dd>
+</dl>
+<dl class="class">
+<dt id="sans.models.ReflModel.ReflModel">
+<em class="property">class </em><tt class="descclassname">sans.models.ReflModel.</tt><tt class="descname">ReflModel</tt><a class="headerlink" href="#sans.models.ReflModel.ReflModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CReflModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<blockquote>
+<div>Class that evaluates a ReflModel model. 
+This file was auto-generated from ..c_extensions</div></blockquote>
+<dl class="docutils">
+<dt>efl.h.</dt>
+<dd><p class="first">Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote class="last">
+<div>n_layers        = 1.0 
+scale           = 1.0 
+thick_inter0    = 1.0 [A]
+func_inter0     = 0.0 
+sld_bottom0     = 2.07e-06 [1/A^(2)]
+sld_medium      = 1e-06 [1/A^(2)]
+background      = 0.0 
+sld_flat1       = 4e-06 [1/A^(2)]
+sld_flat2       = 3.5e-06 [1/A^(2)]
+sld_flat3       = 4e-06 [1/A^(2)]
+sld_flat4       = 3.5e-06 [1/A^(2)]
+sld_flat5       = 4e-06 [1/A^(2)]
+sld_flat6       = 3.5e-06 [1/A^(2)]
+sld_flat7       = 4e-06 [1/A^(2)]
+sld_flat8       = 3.5e-06 [1/A^(2)]
+sld_flat9       = 4e-06 [1/A^(2)]
+sld_flat10      = 3.5e-06 [1/A^(2)]
+thick_inter1    = 1.0 [A]
+thick_inter2    = 1.0 [A]
+thick_inter3    = 1.0 [A]
+thick_inter4    = 1.0 [A]
+thick_inter5    = 1.0 [A]
+thick_inter6    = 1.0 [A]
+thick_inter7    = 1.0 [A]
+thick_inter8    = 1.0 [A]
+thick_inter9    = 1.0 [A]
+thick_inter10   = 1.0 [A]
+thick_flat1     = 10.0 [A]
+thick_flat2     = 100.0 [A]
+thick_flat3     = 100.0 [A]
+thick_flat4     = 100.0 [A]
+thick_flat5     = 100.0 [A]
+thick_flat6     = 100.0 [A]
+thick_flat7     = 100.0 [A]
+thick_flat8     = 100.0 [A]
+thick_flat9     = 100.0 [A]
+thick_flat10    = 100.0 [A]
+func_inter1     = 0.0 
+func_inter2     = 0.0 
+func_inter3     = 0.0 
+func_inter4     = 0.0 
+func_inter5     = 0.0 
+func_inter6     = 0.0 
+func_inter7     = 0.0 
+func_inter8     = 0.0 
+func_inter9     = 0.0 
+func_inter10    = 0.0</div></blockquote>
+</dd>
+</dl>
+<dl class="method">
+<dt id="sans.models.ReflModel.ReflModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflModel.ReflModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.ReflModel.ReflModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.ReflModel.ReflModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflModel.ReflModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflModel.ReflModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflModel.ReflModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflModel.ReflModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflModel.ReflModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflModel.ReflModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflModel.ReflModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.ReflModel.ReflModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.ReflModel.ReflModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.ReflModel.ReflModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.ReflModel.ReflModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.ReflModel.ReflModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.ReflModel.ReflModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflModel.ReflModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflModel.ReflModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflModel.ReflModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflModel.ReflModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflModel.ReflModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.ReflModel.create_ReflModel">
+<tt class="descclassname">sans.models.ReflModel.</tt><tt class="descname">create_ReflModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.create_ReflModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">ReflModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.ReflModel"><tt class="docutils literal"><span class="pre">sans.models.ReflModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="ReflectivityModel.html"
+                        title="previous chapter">ReflectivityModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="RPA10Model.html"
+                        title="next chapter">RPA10Model</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/ReflModel.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" size="18" />
+      <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="RPA10Model.html" title="RPA10Model"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="ReflectivityModel.html" title="ReflectivityModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/ReflectivityIIModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/ReflectivityIIModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/ReflectivityIIModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,261 @@
+
+
+<!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>ReflectivityIIModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="ReflectivityModel" href="ReflectivityModel.html" />
+    <link rel="prev" title="ReflAdvModel" href="ReflAdvModel.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="ReflectivityModel.html" title="ReflectivityModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="ReflAdvModel.html" title="ReflAdvModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="reflectivityiimodel">
+<h1>ReflectivityIIModel<a class="headerlink" href="#reflectivityiimodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.ReflectivityIIModel">
+<span id="sans-models-reflectivityiimodel"></span><h2><a class="reference internal" href="#module-sans.models.ReflectivityIIModel" title="sans.models.ReflectivityIIModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.ReflectivityIIModel</span></tt></a><a class="headerlink" href="#module-sans.models.ReflectivityIIModel" title="Permalink to this headline">Â¶</a></h2>
+<dl class="class">
+<dt id="sans.models.ReflectivityIIModel.ReflectivityIIModel">
+<em class="property">class </em><tt class="descclassname">sans.models.ReflectivityIIModel.</tt><tt class="descname">ReflectivityIIModel</tt><big>(</big><em>multfactor=1</em><big>)</big><a class="headerlink" href="#sans.models.ReflectivityIIModel.ReflectivityIIModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>This multi-model is based on Parratt formalism and provides the capability
+of changing the number of layers between 0 and 10.</p>
+<dl class="method">
+<dt id="sans.models.ReflectivityIIModel.ReflectivityIIModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflectivityIIModel.ReflectivityIIModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityIIModel.ReflectivityIIModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflectivityIIModel.ReflectivityIIModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityIIModel.ReflectivityIIModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.ReflectivityIIModel.ReflectivityIIModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<p>: param x: input q[], or [qx[], qy[]]
+: return: scattering function P(q[])</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityIIModel.ReflectivityIIModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflectivityIIModel.ReflectivityIIModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityIIModel.ReflectivityIIModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.ReflectivityIIModel.ReflectivityIIModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityIIModel.ReflectivityIIModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflectivityIIModel.ReflectivityIIModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityIIModel.ReflectivityIIModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.ReflectivityIIModel.ReflectivityIIModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityIIModel.ReflectivityIIModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.ReflectivityIIModel.ReflectivityIIModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityIIModel.ReflectivityIIModel.getProfile">
+<tt class="descname">getProfile</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflectivityIIModel.ReflectivityIIModel.getProfile" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Get SLD profile</p>
+<dl class="docutils">
+<dt>: return: (z, beta) where z is a list of depth of the transition points</dt>
+<dd>beta is a list of the corresponding SLD values</dd>
+</dl>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityIIModel.ReflectivityIIModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.ReflectivityIIModel.ReflectivityIIModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityIIModel.ReflectivityIIModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.ReflectivityIIModel.ReflectivityIIModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityIIModel.ReflectivityIIModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.ReflectivityIIModel.ReflectivityIIModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<p>: param x: input q-value (float or [float, float] as [qx, qy])
+: return: scattering function value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityIIModel.ReflectivityIIModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.ReflectivityIIModel.ReflectivityIIModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<p>: param name: name of the parameter
+: param value: value of the parameter</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityIIModel.ReflectivityIIModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.ReflectivityIIModel.ReflectivityIIModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityIIModel.ReflectivityIIModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.ReflectivityIIModel.ReflectivityIIModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<p>: param parameter: name of the parameter [string]
+:dispersion: dispersion object of type DispersionModel</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="#">ReflectivityIIModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.ReflectivityIIModel"><tt class="docutils literal"><span class="pre">sans.models.ReflectivityIIModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="ReflAdvModel.html"
+                        title="previous chapter">ReflAdvModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="ReflectivityModel.html"
+                        title="next chapter">ReflectivityModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/ReflectivityIIModel.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" size="18" />
+      <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="ReflectivityModel.html" title="ReflectivityModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="ReflAdvModel.html" title="ReflAdvModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/ReflectivityModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/ReflectivityModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/ReflectivityModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,261 @@
+
+
+<!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>ReflectivityModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="ReflModel" href="ReflModel.html" />
+    <link rel="prev" title="ReflectivityIIModel" href="ReflectivityIIModel.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="ReflModel.html" title="ReflModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="ReflectivityIIModel.html" title="ReflectivityIIModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="reflectivitymodel">
+<h1>ReflectivityModel<a class="headerlink" href="#reflectivitymodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.ReflectivityModel">
+<span id="sans-models-reflectivitymodel"></span><h2><a class="reference internal" href="#module-sans.models.ReflectivityModel" title="sans.models.ReflectivityModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.ReflectivityModel</span></tt></a><a class="headerlink" href="#module-sans.models.ReflectivityModel" title="Permalink to this headline">Â¶</a></h2>
+<dl class="class">
+<dt id="sans.models.ReflectivityModel.ReflectivityModel">
+<em class="property">class </em><tt class="descclassname">sans.models.ReflectivityModel.</tt><tt class="descname">ReflectivityModel</tt><big>(</big><em>multfactor=1</em><big>)</big><a class="headerlink" href="#sans.models.ReflectivityModel.ReflectivityModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>This multi-model is based on Parratt formalism and provides the capability
+of changing the number of layers between 0 and 10.</p>
+<dl class="method">
+<dt id="sans.models.ReflectivityModel.ReflectivityModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflectivityModel.ReflectivityModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityModel.ReflectivityModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflectivityModel.ReflectivityModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityModel.ReflectivityModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.ReflectivityModel.ReflectivityModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<p>: param x: input q[], or [qx[], qy[]]
+: return: scattering function P(q[])</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityModel.ReflectivityModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflectivityModel.ReflectivityModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityModel.ReflectivityModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.ReflectivityModel.ReflectivityModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityModel.ReflectivityModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflectivityModel.ReflectivityModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityModel.ReflectivityModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.ReflectivityModel.ReflectivityModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityModel.ReflectivityModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.ReflectivityModel.ReflectivityModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityModel.ReflectivityModel.getProfile">
+<tt class="descname">getProfile</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflectivityModel.ReflectivityModel.getProfile" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Get SLD profile</p>
+<dl class="docutils">
+<dt>: return: (z, beta) where z is a list of depth of the transition points</dt>
+<dd>beta is a list of the corresponding SLD values</dd>
+</dl>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityModel.ReflectivityModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.ReflectivityModel.ReflectivityModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityModel.ReflectivityModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.ReflectivityModel.ReflectivityModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityModel.ReflectivityModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.ReflectivityModel.ReflectivityModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<p>: param x: input q-value (float or [float, float] as [qx, qy])
+: return: scattering function value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityModel.ReflectivityModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.ReflectivityModel.ReflectivityModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<p>: param name: name of the parameter
+: param value: value of the parameter</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityModel.ReflectivityModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.ReflectivityModel.ReflectivityModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.ReflectivityModel.ReflectivityModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.ReflectivityModel.ReflectivityModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<p>: param parameter: name of the parameter [string]
+:dispersion: dispersion object of type DispersionModel</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="#">ReflectivityModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.ReflectivityModel"><tt class="docutils literal"><span class="pre">sans.models.ReflectivityModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="ReflectivityIIModel.html"
+                        title="previous chapter">ReflectivityIIModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="ReflModel.html"
+                        title="next chapter">ReflModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/ReflectivityModel.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" size="18" />
+      <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="ReflModel.html" title="ReflModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="ReflectivityIIModel.html" title="ReflectivityIIModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/SCCrystalModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/SCCrystalModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/SCCrystalModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,350 @@
+
+
+<!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>SCCrystalModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="Schulz" href="Schulz.html" />
+    <link rel="prev" title="RPAModel" href="RPAModel.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="Schulz.html" title="Schulz"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="RPAModel.html" title="RPAModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="sccrystalmodel">
+<h1>SCCrystalModel<a class="headerlink" href="#sccrystalmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.SCCrystalModel">
+<span id="sans-models-sccrystalmodel"></span><h2><a class="reference internal" href="#module-sans.models.SCCrystalModel" title="sans.models.SCCrystalModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.SCCrystalModel</span></tt></a><a class="headerlink" href="#module-sans.models.SCCrystalModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionssc.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.SCCrystalModel.SCCrystalModel">
+<em class="property">class </em><tt class="descclassname">sans.models.SCCrystalModel.</tt><tt class="descname">SCCrystalModel</tt><a class="headerlink" href="#sans.models.SCCrystalModel.SCCrystalModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CSCCrystalModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a SCCrystalModel model. 
+This file was auto-generated from ..c_extensionssc.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+dnn             = 220.0 [A]
+d_factor        = 0.06 
+radius          = 40.0 [A]
+sldSph          = 3e-06 [1/A^(2)]
+sldSolv         = 6.3e-06 [1/A^(2)]
+background      = 0.0 [1/cm]
+theta           = 0.0 [deg]
+phi             = 0.0 [deg]
+psi             = 0.0 [deg]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.SCCrystalModel.SCCrystalModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SCCrystalModel.SCCrystalModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SCCrystalModel.SCCrystalModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SCCrystalModel.SCCrystalModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.SCCrystalModel.SCCrystalModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.SCCrystalModel.SCCrystalModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SCCrystalModel.SCCrystalModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.SCCrystalModel.SCCrystalModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SCCrystalModel.SCCrystalModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SCCrystalModel.SCCrystalModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SCCrystalModel.SCCrystalModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.SCCrystalModel.SCCrystalModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SCCrystalModel.SCCrystalModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SCCrystalModel.SCCrystalModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SCCrystalModel.SCCrystalModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.SCCrystalModel.SCCrystalModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SCCrystalModel.SCCrystalModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.SCCrystalModel.SCCrystalModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SCCrystalModel.SCCrystalModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.SCCrystalModel.SCCrystalModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.SCCrystalModel.SCCrystalModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.SCCrystalModel.SCCrystalModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.SCCrystalModel.SCCrystalModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.SCCrystalModel.SCCrystalModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.SCCrystalModel.SCCrystalModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.SCCrystalModel.SCCrystalModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SCCrystalModel.SCCrystalModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.SCCrystalModel.SCCrystalModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SCCrystalModel.SCCrystalModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.SCCrystalModel.SCCrystalModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SCCrystalModel.SCCrystalModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.SCCrystalModel.SCCrystalModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SCCrystalModel.SCCrystalModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.SCCrystalModel.SCCrystalModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SCCrystalModel.SCCrystalModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.SCCrystalModel.SCCrystalModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.SCCrystalModel.create_SCCrystalModel">
+<tt class="descclassname">sans.models.SCCrystalModel.</tt><tt class="descname">create_SCCrystalModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SCCrystalModel.create_SCCrystalModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">SCCrystalModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.SCCrystalModel"><tt class="docutils literal"><span class="pre">sans.models.SCCrystalModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="RPAModel.html"
+                        title="previous chapter">RPAModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="Schulz.html"
+                        title="next chapter">Schulz</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/SCCrystalModel.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" size="18" />
+      <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="Schulz.html" title="Schulz"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="RPAModel.html" title="RPAModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/SLDCalFunc.html
===================================================================
--- sansmodels/docs/sphinx/html/api/SLDCalFunc.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/SLDCalFunc.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,346 @@
+
+
+<!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>SLDCalFunc &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="smearing_2d" href="smearing_2d.html" />
+    <link rel="prev" title="Sin" href="Sin.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="smearing_2d.html" title="smearing_2d"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="Sin.html" title="Sin"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="sldcalfunc">
+<h1>SLDCalFunc<a class="headerlink" href="#sldcalfunc" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.SLDCalFunc">
+<span id="sans-models-sldcalfunc"></span><h2><a class="reference internal" href="#module-sans.models.SLDCalFunc" title="sans.models.SLDCalFunc"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.SLDCalFunc</span></tt></a><a class="headerlink" href="#module-sans.models.SLDCalFunc" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionssld_cal.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.SLDCalFunc.SLDCalFunc">
+<em class="property">class </em><tt class="descclassname">sans.models.SLDCalFunc.</tt><tt class="descname">SLDCalFunc</tt><a class="headerlink" href="#sans.models.SLDCalFunc.SLDCalFunc" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CSLDCalFunc</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a SLDCalFunc model. 
+This file was auto-generated from ..c_extensionssld_cal.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>fun_type        = 0.0 
+npts_inter      = 21.0 
+shell_num       = 0.0 
+nu_inter        = 2.5 
+sld_left        = 0.0 [1/A^(2)]
+sld_right       = 0.0 [1/A^(2)]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.SLDCalFunc.SLDCalFunc.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SLDCalFunc.SLDCalFunc.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SLDCalFunc.SLDCalFunc.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SLDCalFunc.SLDCalFunc.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.SLDCalFunc.SLDCalFunc.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.SLDCalFunc.SLDCalFunc.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SLDCalFunc.SLDCalFunc.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.SLDCalFunc.SLDCalFunc.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SLDCalFunc.SLDCalFunc.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SLDCalFunc.SLDCalFunc.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SLDCalFunc.SLDCalFunc.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.SLDCalFunc.SLDCalFunc.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SLDCalFunc.SLDCalFunc.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SLDCalFunc.SLDCalFunc.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SLDCalFunc.SLDCalFunc.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.SLDCalFunc.SLDCalFunc.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SLDCalFunc.SLDCalFunc.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.SLDCalFunc.SLDCalFunc.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SLDCalFunc.SLDCalFunc.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.SLDCalFunc.SLDCalFunc.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.SLDCalFunc.SLDCalFunc.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.SLDCalFunc.SLDCalFunc.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.SLDCalFunc.SLDCalFunc.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.SLDCalFunc.SLDCalFunc.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.SLDCalFunc.SLDCalFunc.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.SLDCalFunc.SLDCalFunc.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SLDCalFunc.SLDCalFunc.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.SLDCalFunc.SLDCalFunc.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SLDCalFunc.SLDCalFunc.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.SLDCalFunc.SLDCalFunc.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SLDCalFunc.SLDCalFunc.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.SLDCalFunc.SLDCalFunc.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SLDCalFunc.SLDCalFunc.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.SLDCalFunc.SLDCalFunc.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SLDCalFunc.SLDCalFunc.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.SLDCalFunc.SLDCalFunc.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.SLDCalFunc.create_SLDCalFunc">
+<tt class="descclassname">sans.models.SLDCalFunc.</tt><tt class="descname">create_SLDCalFunc</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SLDCalFunc.create_SLDCalFunc" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">SLDCalFunc</a><ul>
+<li><a class="reference internal" href="#module-sans.models.SLDCalFunc"><tt class="docutils literal"><span class="pre">sans.models.SLDCalFunc</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="Sin.html"
+                        title="previous chapter">Sin</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="smearing_2d.html"
+                        title="next chapter">smearing_2d</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/SLDCalFunc.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" size="18" />
+      <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="smearing_2d.html" title="smearing_2d"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="Sin.html" title="Sin"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/Schulz.html
===================================================================
--- sansmodels/docs/sphinx/html/api/Schulz.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/Schulz.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,337 @@
+
+
+<!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>Schulz &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="Sin" href="Sin.html" />
+    <link rel="prev" title="SCCrystalModel" href="SCCrystalModel.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="Sin.html" title="Sin"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="SCCrystalModel.html" title="SCCrystalModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="schulz">
+<h1>Schulz<a class="headerlink" href="#schulz" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.Schulz">
+<span id="sans-models-schulz"></span><h2><a class="reference internal" href="#module-sans.models.Schulz" title="sans.models.Schulz"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.Schulz</span></tt></a><a class="headerlink" href="#module-sans.models.Schulz" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionsschulz.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.Schulz.Schulz">
+<em class="property">class </em><tt class="descclassname">sans.models.Schulz.</tt><tt class="descname">Schulz</tt><a class="headerlink" href="#sans.models.Schulz.Schulz" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CSchulz</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a Schulz model. 
+This file was auto-generated from ..c_extensionsschulz.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+sigma           = 1.0 
+center          = 0.0</div></blockquote>
+<dl class="method">
+<dt id="sans.models.Schulz.Schulz.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Schulz.Schulz.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Schulz.Schulz.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Schulz.Schulz.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Schulz.Schulz.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.Schulz.Schulz.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Schulz.Schulz.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Schulz.Schulz.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Schulz.Schulz.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.Schulz.Schulz.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Schulz.Schulz.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Schulz.Schulz.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Schulz.Schulz.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.Schulz.Schulz.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Schulz.Schulz.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.Schulz.Schulz.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Schulz.Schulz.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.Schulz.Schulz.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.Schulz.Schulz.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.Schulz.Schulz.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.Schulz.Schulz.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.Schulz.Schulz.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.Schulz.Schulz.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.Schulz.Schulz.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Schulz.Schulz.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.Schulz.Schulz.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Schulz.Schulz.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.Schulz.Schulz.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Schulz.Schulz.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.Schulz.Schulz.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Schulz.Schulz.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.Schulz.Schulz.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Schulz.Schulz.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.Schulz.Schulz.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.Schulz.create_Schulz">
+<tt class="descclassname">sans.models.Schulz.</tt><tt class="descname">create_Schulz</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Schulz.create_Schulz" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">Schulz</a><ul>
+<li><a class="reference internal" href="#module-sans.models.Schulz"><tt class="docutils literal"><span class="pre">sans.models.Schulz</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="SCCrystalModel.html"
+                        title="previous chapter">SCCrystalModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="Sin.html"
+                        title="next chapter">Sin</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/Schulz.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" size="18" />
+      <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="Sin.html" title="Sin"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="SCCrystalModel.html" title="SCCrystalModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/Sin.html
===================================================================
--- sansmodels/docs/sphinx/html/api/Sin.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/Sin.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,287 @@
+
+
+<!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>Sin &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="SLDCalFunc" href="SLDCalFunc.html" />
+    <link rel="prev" title="Schulz" href="Schulz.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="SLDCalFunc.html" title="SLDCalFunc"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="Schulz.html" title="Schulz"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="sin">
+<h1>Sin<a class="headerlink" href="#sin" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.Sin">
+<span id="sans-models-sin"></span><h2><a class="reference internal" href="#module-sans.models.Sin" title="sans.models.Sin"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.Sin</span></tt></a><a class="headerlink" href="#module-sans.models.Sin" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide sin(x) function as a BaseComponent model</p>
+<dl class="class">
+<dt id="sans.models.Sin.Sin">
+<em class="property">class </em><tt class="descclassname">sans.models.Sin.</tt><tt class="descname">Sin</tt><a class="headerlink" href="#sans.models.Sin.Sin" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a sin(x) model.</p>
+<dl class="method">
+<dt id="sans.models.Sin.Sin.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Sin.Sin.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Sin.Sin.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Sin.Sin.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Sin.Sin.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.Sin.Sin.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Sin.Sin.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Sin.Sin.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Sin.Sin.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.Sin.Sin.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Sin.Sin.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.Sin.Sin.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Sin.Sin.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.Sin.Sin.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Sin.Sin.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.Sin.Sin.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Sin.Sin.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.Sin.Sin.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Sin.Sin.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.Sin.Sin.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input x, or [x, phi] [radian]
+&#64;return: sin(x) or sin(x*cos(phi))*sin(x*sin(phi))</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Sin.Sin.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.Sin.Sin.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input x, or [x, y] [radian]
+&#64;return: sin(x) or sin(x)*sin(y)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Sin.Sin.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.Sin.Sin.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.Sin.Sin.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.Sin.Sin.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">Sin</a><ul>
+<li><a class="reference internal" href="#module-sans.models.Sin"><tt class="docutils literal"><span class="pre">sans.models.Sin</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="Schulz.html"
+                        title="previous chapter">Schulz</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="SLDCalFunc.html"
+                        title="next chapter">SLDCalFunc</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/Sin.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" size="18" />
+      <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="SLDCalFunc.html" title="SLDCalFunc"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="Schulz.html" title="Schulz"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/SphereModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/SphereModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/SphereModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,345 @@
+
+
+<!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>SphereModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="SphereSLDModel" href="SphereSLDModel.html" />
+    <link rel="prev" title="smearing_2d" href="smearing_2d.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="SphereSLDModel.html" title="SphereSLDModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="smearing_2d.html" title="smearing_2d"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="spheremodel">
+<h1>SphereModel<a class="headerlink" href="#spheremodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.SphereModel">
+<span id="sans-models-spheremodel"></span><h2><a class="reference internal" href="#module-sans.models.SphereModel" title="sans.models.SphereModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.SphereModel</span></tt></a><a class="headerlink" href="#module-sans.models.SphereModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionssphere.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.SphereModel.SphereModel">
+<em class="property">class </em><tt class="descclassname">sans.models.SphereModel.</tt><tt class="descname">SphereModel</tt><a class="headerlink" href="#sans.models.SphereModel.SphereModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CSphereModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a SphereModel model. 
+This file was auto-generated from ..c_extensionssphere.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+radius          = 60.0 [A]
+sldSph          = 2e-06 [1/A^(2)]
+sldSolv         = 1e-06 [1/A^(2)]
+background      = 0.0 [1/cm]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.SphereModel.SphereModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SphereModel.SphereModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphereModel.SphereModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SphereModel.SphereModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.SphereModel.SphereModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.SphereModel.SphereModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphereModel.SphereModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.SphereModel.SphereModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphereModel.SphereModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SphereModel.SphereModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphereModel.SphereModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.SphereModel.SphereModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphereModel.SphereModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SphereModel.SphereModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphereModel.SphereModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.SphereModel.SphereModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphereModel.SphereModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.SphereModel.SphereModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphereModel.SphereModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.SphereModel.SphereModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.SphereModel.SphereModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.SphereModel.SphereModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.SphereModel.SphereModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.SphereModel.SphereModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.SphereModel.SphereModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.SphereModel.SphereModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphereModel.SphereModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.SphereModel.SphereModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphereModel.SphereModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.SphereModel.SphereModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphereModel.SphereModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.SphereModel.SphereModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphereModel.SphereModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.SphereModel.SphereModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphereModel.SphereModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.SphereModel.SphereModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.SphereModel.create_SphereModel">
+<tt class="descclassname">sans.models.SphereModel.</tt><tt class="descname">create_SphereModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SphereModel.create_SphereModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">SphereModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.SphereModel"><tt class="docutils literal"><span class="pre">sans.models.SphereModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="smearing_2d.html"
+                        title="previous chapter">smearing_2d</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="SphereSLDModel.html"
+                        title="next chapter">SphereSLDModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/SphereModel.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" size="18" />
+      <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="SphereSLDModel.html" title="SphereSLDModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="smearing_2d.html" title="smearing_2d"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/SphereSLDModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/SphereSLDModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/SphereSLDModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,400 @@
+
+
+<!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>SphereSLDModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="SphericalSLDModel" href="SphericalSLDModel.html" />
+    <link rel="prev" title="SphereModel" href="SphereModel.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="SphericalSLDModel.html" title="SphericalSLDModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="SphereModel.html" title="SphereModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="spheresldmodel">
+<h1>SphereSLDModel<a class="headerlink" href="#spheresldmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.SphereSLDModel">
+<span id="sans-models-spheresldmodel"></span><h2><a class="reference internal" href="#module-sans.models.SphereSLDModel" title="sans.models.SphereSLDModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.SphereSLDModel</span></tt></a><a class="headerlink" href="#module-sans.models.SphereSLDModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionsspheresld.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.SphereSLDModel.SphereSLDModel">
+<em class="property">class </em><tt class="descclassname">sans.models.SphereSLDModel.</tt><tt class="descname">SphereSLDModel</tt><a class="headerlink" href="#sans.models.SphereSLDModel.SphereSLDModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CSphereSLDModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a SphereSLDModel model. 
+This file was auto-generated from ..c_extensionsspheresld.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>n_shells        = 1.0 
+scale           = 1.0 
+thick_inter0    = 50.0 [A]
+func_inter0     = 0.0 
+sld_core0       = 2.07e-06 [1/A^(2)]
+sld_solv        = 1e-06 [1/A^(2)]
+background      = 0.0 
+sld_flat1       = 4e-06 [1/A^(2)]
+sld_flat2       = 3.5e-06 [1/A^(2)]
+sld_flat3       = 4e-06 [1/A^(2)]
+sld_flat4       = 3.5e-06 [1/A^(2)]
+sld_flat5       = 4e-06 [1/A^(2)]
+sld_flat6       = 3.5e-06 [1/A^(2)]
+sld_flat7       = 4e-06 [1/A^(2)]
+sld_flat8       = 3.5e-06 [1/A^(2)]
+sld_flat9       = 4e-06 [1/A^(2)]
+sld_flat10      = 3.5e-06 [1/A^(2)]
+thick_inter1    = 50.0 [A]
+thick_inter2    = 50.0 [A]
+thick_inter3    = 50.0 [A]
+thick_inter4    = 50.0 [A]
+thick_inter5    = 50.0 [A]
+thick_inter6    = 50.0 [A]
+thick_inter7    = 50.0 [A]
+thick_inter8    = 50.0 [A]
+thick_inter9    = 50.0 [A]
+thick_inter10   = 50.0 [A]
+thick_flat1     = 100.0 [A]
+thick_flat2     = 100.0 [A]
+thick_flat3     = 100.0 [A]
+thick_flat4     = 100.0 [A]
+thick_flat5     = 100.0 [A]
+thick_flat6     = 100.0 [A]
+thick_flat7     = 100.0 [A]
+thick_flat8     = 100.0 [A]
+thick_flat9     = 100.0 [A]
+thick_flat10    = 100.0 [A]
+func_inter1     = 0.0 
+func_inter2     = 0.0 
+func_inter3     = 0.0 
+func_inter4     = 0.0 
+func_inter5     = 0.0 
+func_inter6     = 0.0 
+func_inter7     = 0.0 
+func_inter8     = 0.0 
+func_inter9     = 0.0 
+func_inter10    = 0.0 
+nu_inter1       = 2.5 
+nu_inter2       = 2.5 
+nu_inter3       = 2.5 
+nu_inter4       = 2.5 
+nu_inter5       = 2.5 
+nu_inter6       = 2.5 
+nu_inter7       = 2.5 
+nu_inter8       = 2.5 
+nu_inter9       = 2.5 
+nu_inter10      = 2.5 
+npts_inter      = 35.0 
+nu_inter0       = 2.5 
+rad_core0       = 50.0 [A]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.SphereSLDModel.SphereSLDModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SphereSLDModel.SphereSLDModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphereSLDModel.SphereSLDModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SphereSLDModel.SphereSLDModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.SphereSLDModel.SphereSLDModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.SphereSLDModel.SphereSLDModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphereSLDModel.SphereSLDModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.SphereSLDModel.SphereSLDModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphereSLDModel.SphereSLDModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SphereSLDModel.SphereSLDModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphereSLDModel.SphereSLDModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.SphereSLDModel.SphereSLDModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphereSLDModel.SphereSLDModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SphereSLDModel.SphereSLDModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphereSLDModel.SphereSLDModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.SphereSLDModel.SphereSLDModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphereSLDModel.SphereSLDModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.SphereSLDModel.SphereSLDModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphereSLDModel.SphereSLDModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.SphereSLDModel.SphereSLDModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.SphereSLDModel.SphereSLDModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.SphereSLDModel.SphereSLDModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.SphereSLDModel.SphereSLDModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.SphereSLDModel.SphereSLDModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.SphereSLDModel.SphereSLDModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.SphereSLDModel.SphereSLDModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphereSLDModel.SphereSLDModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.SphereSLDModel.SphereSLDModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphereSLDModel.SphereSLDModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.SphereSLDModel.SphereSLDModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphereSLDModel.SphereSLDModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.SphereSLDModel.SphereSLDModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphereSLDModel.SphereSLDModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.SphereSLDModel.SphereSLDModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphereSLDModel.SphereSLDModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.SphereSLDModel.SphereSLDModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.SphereSLDModel.create_SphereSLDModel">
+<tt class="descclassname">sans.models.SphereSLDModel.</tt><tt class="descname">create_SphereSLDModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SphereSLDModel.create_SphereSLDModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">SphereSLDModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.SphereSLDModel"><tt class="docutils literal"><span class="pre">sans.models.SphereSLDModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="SphereModel.html"
+                        title="previous chapter">SphereModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="SphericalSLDModel.html"
+                        title="next chapter">SphericalSLDModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/SphereSLDModel.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" size="18" />
+      <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="SphericalSLDModel.html" title="SphericalSLDModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="SphereModel.html" title="SphereModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/SphericalSLDModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/SphericalSLDModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/SphericalSLDModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,261 @@
+
+
+<!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>SphericalSLDModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="SquareWellStructure" href="SquareWellStructure.html" />
+    <link rel="prev" title="SphereSLDModel" href="SphereSLDModel.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="SquareWellStructure.html" title="SquareWellStructure"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="SphereSLDModel.html" title="SphereSLDModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="sphericalsldmodel">
+<h1>SphericalSLDModel<a class="headerlink" href="#sphericalsldmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.SphericalSLDModel">
+<span id="sans-models-sphericalsldmodel"></span><h2><a class="reference internal" href="#module-sans.models.SphericalSLDModel" title="sans.models.SphericalSLDModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.SphericalSLDModel</span></tt></a><a class="headerlink" href="#module-sans.models.SphericalSLDModel" title="Permalink to this headline">Â¶</a></h2>
+<dl class="class">
+<dt id="sans.models.SphericalSLDModel.SphericalSLDModel">
+<em class="property">class </em><tt class="descclassname">sans.models.SphericalSLDModel.</tt><tt class="descname">SphericalSLDModel</tt><big>(</big><em>multfactor=1</em><big>)</big><a class="headerlink" href="#sans.models.SphericalSLDModel.SphericalSLDModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>This multi-model is based on Parratt formalism and provides the capability
+of changing the number of layers between 0 and 10.</p>
+<dl class="method">
+<dt id="sans.models.SphericalSLDModel.SphericalSLDModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SphericalSLDModel.SphericalSLDModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphericalSLDModel.SphericalSLDModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SphericalSLDModel.SphericalSLDModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphericalSLDModel.SphericalSLDModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.SphericalSLDModel.SphericalSLDModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<p>: param x: input q[], or [qx[], qy[]]
+: return: scattering function P(q[])</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphericalSLDModel.SphericalSLDModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SphericalSLDModel.SphericalSLDModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphericalSLDModel.SphericalSLDModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.SphericalSLDModel.SphericalSLDModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphericalSLDModel.SphericalSLDModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SphericalSLDModel.SphericalSLDModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphericalSLDModel.SphericalSLDModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.SphericalSLDModel.SphericalSLDModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphericalSLDModel.SphericalSLDModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.SphericalSLDModel.SphericalSLDModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphericalSLDModel.SphericalSLDModel.getProfile">
+<tt class="descname">getProfile</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SphericalSLDModel.SphericalSLDModel.getProfile" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Get SLD profile</p>
+<dl class="docutils">
+<dt>: return: (z, beta) where z is a list of depth of the transition points</dt>
+<dd>beta is a list of the corresponding SLD values</dd>
+</dl>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphericalSLDModel.SphericalSLDModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.SphericalSLDModel.SphericalSLDModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphericalSLDModel.SphericalSLDModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.SphericalSLDModel.SphericalSLDModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphericalSLDModel.SphericalSLDModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.SphericalSLDModel.SphericalSLDModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<p>: param x: input q-value (float or [float, float] as [qx, qy])
+: return: scattering function value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphericalSLDModel.SphericalSLDModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.SphericalSLDModel.SphericalSLDModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<p>: param name: name of the parameter
+: param value: value of the parameter</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphericalSLDModel.SphericalSLDModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.SphericalSLDModel.SphericalSLDModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SphericalSLDModel.SphericalSLDModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.SphericalSLDModel.SphericalSLDModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<p>: param parameter: name of the parameter [string]
+:dispersion: dispersion object of type DispersionModel</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="#">SphericalSLDModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.SphericalSLDModel"><tt class="docutils literal"><span class="pre">sans.models.SphericalSLDModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="SphereSLDModel.html"
+                        title="previous chapter">SphereSLDModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="SquareWellStructure.html"
+                        title="next chapter">SquareWellStructure</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/SphericalSLDModel.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" size="18" />
+      <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="SquareWellStructure.html" title="SquareWellStructure"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="SphereSLDModel.html" title="SphereSLDModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/SquareWellStructure.html
===================================================================
--- sansmodels/docs/sphinx/html/api/SquareWellStructure.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/SquareWellStructure.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,344 @@
+
+
+<!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>SquareWellStructure &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="StackedDisksModel" href="StackedDisksModel.html" />
+    <link rel="prev" title="SphericalSLDModel" href="SphericalSLDModel.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="StackedDisksModel.html" title="StackedDisksModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="SphericalSLDModel.html" title="SphericalSLDModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="squarewellstructure">
+<h1>SquareWellStructure<a class="headerlink" href="#squarewellstructure" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.SquareWellStructure">
+<span id="sans-models-squarewellstructure"></span><h2><a class="reference internal" href="#module-sans.models.SquareWellStructure" title="sans.models.SquareWellStructure"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.SquareWellStructure</span></tt></a><a class="headerlink" href="#module-sans.models.SquareWellStructure" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionsSquareWell.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.SquareWellStructure.SquareWellStructure">
+<em class="property">class </em><tt class="descclassname">sans.models.SquareWellStructure.</tt><tt class="descname">SquareWellStructure</tt><a class="headerlink" href="#sans.models.SquareWellStructure.SquareWellStructure" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CSquareWellStructure</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a SquareWellStructure model. 
+This file was auto-generated from ..c_extensionsSquareWell.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>effect_radius   = 50.0 [A]
+volfraction     = 0.04 
+welldepth       = 1.5 [kT]
+wellwidth       = 1.2</div></blockquote>
+<dl class="method">
+<dt id="sans.models.SquareWellStructure.SquareWellStructure.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SquareWellStructure.SquareWellStructure.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SquareWellStructure.SquareWellStructure.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SquareWellStructure.SquareWellStructure.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.SquareWellStructure.SquareWellStructure.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.SquareWellStructure.SquareWellStructure.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SquareWellStructure.SquareWellStructure.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.SquareWellStructure.SquareWellStructure.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SquareWellStructure.SquareWellStructure.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SquareWellStructure.SquareWellStructure.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SquareWellStructure.SquareWellStructure.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.SquareWellStructure.SquareWellStructure.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SquareWellStructure.SquareWellStructure.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SquareWellStructure.SquareWellStructure.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SquareWellStructure.SquareWellStructure.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.SquareWellStructure.SquareWellStructure.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SquareWellStructure.SquareWellStructure.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.SquareWellStructure.SquareWellStructure.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SquareWellStructure.SquareWellStructure.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.SquareWellStructure.SquareWellStructure.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.SquareWellStructure.SquareWellStructure.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.SquareWellStructure.SquareWellStructure.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.SquareWellStructure.SquareWellStructure.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.SquareWellStructure.SquareWellStructure.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.SquareWellStructure.SquareWellStructure.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.SquareWellStructure.SquareWellStructure.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SquareWellStructure.SquareWellStructure.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.SquareWellStructure.SquareWellStructure.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SquareWellStructure.SquareWellStructure.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.SquareWellStructure.SquareWellStructure.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SquareWellStructure.SquareWellStructure.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.SquareWellStructure.SquareWellStructure.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SquareWellStructure.SquareWellStructure.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.SquareWellStructure.SquareWellStructure.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SquareWellStructure.SquareWellStructure.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.SquareWellStructure.SquareWellStructure.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.SquareWellStructure.create_SquareWellStructure">
+<tt class="descclassname">sans.models.SquareWellStructure.</tt><tt class="descname">create_SquareWellStructure</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SquareWellStructure.create_SquareWellStructure" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">SquareWellStructure</a><ul>
+<li><a class="reference internal" href="#module-sans.models.SquareWellStructure"><tt class="docutils literal"><span class="pre">sans.models.SquareWellStructure</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="SphericalSLDModel.html"
+                        title="previous chapter">SphericalSLDModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="StackedDisksModel.html"
+                        title="next chapter">StackedDisksModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/SquareWellStructure.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" size="18" />
+      <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="StackedDisksModel.html" title="StackedDisksModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="SphericalSLDModel.html" title="SphericalSLDModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/StackedDisksModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/StackedDisksModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/StackedDisksModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,352 @@
+
+
+<!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>StackedDisksModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="StickyHSStructure" href="StickyHSStructure.html" />
+    <link rel="prev" title="SquareWellStructure" href="SquareWellStructure.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="StickyHSStructure.html" title="StickyHSStructure"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="SquareWellStructure.html" title="SquareWellStructure"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="stackeddisksmodel">
+<h1>StackedDisksModel<a class="headerlink" href="#stackeddisksmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.StackedDisksModel">
+<span id="sans-models-stackeddisksmodel"></span><h2><a class="reference internal" href="#module-sans.models.StackedDisksModel" title="sans.models.StackedDisksModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.StackedDisksModel</span></tt></a><a class="headerlink" href="#module-sans.models.StackedDisksModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionsstacked_disks.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.StackedDisksModel.StackedDisksModel">
+<em class="property">class </em><tt class="descclassname">sans.models.StackedDisksModel.</tt><tt class="descname">StackedDisksModel</tt><a class="headerlink" href="#sans.models.StackedDisksModel.StackedDisksModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CStackedDisksModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a StackedDisksModel model. 
+This file was auto-generated from ..c_extensionsstacked_disks.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 0.01 
+radius          = 3000.0 [A]
+core_thick      = 10.0 [A]
+layer_thick     = 15.0 [A]
+core_sld        = 4e-06 [1/A^(2)]
+layer_sld       = -4e-07 [1/A^(2)]
+solvent_sld     = 5e-06 [1/A^(2)]
+n_stacking      = 1.0 
+sigma_d         = 0.0 
+background      = 0.001 [1/cm]
+axis_theta      = 0.0 [rad]
+axis_phi        = 0.0 [rad]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.StackedDisksModel.StackedDisksModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.StackedDisksModel.StackedDisksModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.StackedDisksModel.StackedDisksModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.StackedDisksModel.StackedDisksModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.StackedDisksModel.StackedDisksModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.StackedDisksModel.StackedDisksModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.StackedDisksModel.StackedDisksModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.StackedDisksModel.StackedDisksModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.StackedDisksModel.StackedDisksModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.StackedDisksModel.StackedDisksModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.StackedDisksModel.StackedDisksModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.StackedDisksModel.StackedDisksModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.StackedDisksModel.StackedDisksModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.StackedDisksModel.StackedDisksModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.StackedDisksModel.StackedDisksModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.StackedDisksModel.StackedDisksModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.StackedDisksModel.StackedDisksModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.StackedDisksModel.StackedDisksModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.StackedDisksModel.StackedDisksModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.StackedDisksModel.StackedDisksModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.StackedDisksModel.StackedDisksModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.StackedDisksModel.StackedDisksModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.StackedDisksModel.StackedDisksModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.StackedDisksModel.StackedDisksModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.StackedDisksModel.StackedDisksModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.StackedDisksModel.StackedDisksModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.StackedDisksModel.StackedDisksModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.StackedDisksModel.StackedDisksModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.StackedDisksModel.StackedDisksModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.StackedDisksModel.StackedDisksModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.StackedDisksModel.StackedDisksModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.StackedDisksModel.StackedDisksModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.StackedDisksModel.StackedDisksModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.StackedDisksModel.StackedDisksModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.StackedDisksModel.StackedDisksModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.StackedDisksModel.StackedDisksModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.StackedDisksModel.create_StackedDisksModel">
+<tt class="descclassname">sans.models.StackedDisksModel.</tt><tt class="descname">create_StackedDisksModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.StackedDisksModel.create_StackedDisksModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">StackedDisksModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.StackedDisksModel"><tt class="docutils literal"><span class="pre">sans.models.StackedDisksModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="SquareWellStructure.html"
+                        title="previous chapter">SquareWellStructure</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="StickyHSStructure.html"
+                        title="next chapter">StickyHSStructure</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/StackedDisksModel.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" size="18" />
+      <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="StickyHSStructure.html" title="StickyHSStructure"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="SquareWellStructure.html" title="SquareWellStructure"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/StickyHSStructure.html
===================================================================
--- sansmodels/docs/sphinx/html/api/StickyHSStructure.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/StickyHSStructure.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,344 @@
+
+
+<!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>StickyHSStructure &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="SubComponent" href="SubComponent.html" />
+    <link rel="prev" title="StackedDisksModel" href="StackedDisksModel.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="SubComponent.html" title="SubComponent"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="StackedDisksModel.html" title="StackedDisksModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="stickyhsstructure">
+<h1>StickyHSStructure<a class="headerlink" href="#stickyhsstructure" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.StickyHSStructure">
+<span id="sans-models-stickyhsstructure"></span><h2><a class="reference internal" href="#module-sans.models.StickyHSStructure" title="sans.models.StickyHSStructure"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.StickyHSStructure</span></tt></a><a class="headerlink" href="#module-sans.models.StickyHSStructure" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensionsStickyHS.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.StickyHSStructure.StickyHSStructure">
+<em class="property">class </em><tt class="descclassname">sans.models.StickyHSStructure.</tt><tt class="descname">StickyHSStructure</tt><a class="headerlink" href="#sans.models.StickyHSStructure.StickyHSStructure" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CStickyHSStructure</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a StickyHSStructure model. 
+This file was auto-generated from ..c_extensionsStickyHS.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>effect_radius   = 50.0 [A]
+volfraction     = 0.1 
+perturb         = 0.05 
+stickiness      = 0.2</div></blockquote>
+<dl class="method">
+<dt id="sans.models.StickyHSStructure.StickyHSStructure.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.StickyHSStructure.StickyHSStructure.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.StickyHSStructure.StickyHSStructure.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.StickyHSStructure.StickyHSStructure.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.StickyHSStructure.StickyHSStructure.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.StickyHSStructure.StickyHSStructure.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.StickyHSStructure.StickyHSStructure.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.StickyHSStructure.StickyHSStructure.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.StickyHSStructure.StickyHSStructure.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.StickyHSStructure.StickyHSStructure.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.StickyHSStructure.StickyHSStructure.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.StickyHSStructure.StickyHSStructure.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.StickyHSStructure.StickyHSStructure.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.StickyHSStructure.StickyHSStructure.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.StickyHSStructure.StickyHSStructure.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.StickyHSStructure.StickyHSStructure.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.StickyHSStructure.StickyHSStructure.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.StickyHSStructure.StickyHSStructure.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.StickyHSStructure.StickyHSStructure.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.StickyHSStructure.StickyHSStructure.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.StickyHSStructure.StickyHSStructure.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.StickyHSStructure.StickyHSStructure.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.StickyHSStructure.StickyHSStructure.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.StickyHSStructure.StickyHSStructure.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.StickyHSStructure.StickyHSStructure.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.StickyHSStructure.StickyHSStructure.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.StickyHSStructure.StickyHSStructure.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.StickyHSStructure.StickyHSStructure.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.StickyHSStructure.StickyHSStructure.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.StickyHSStructure.StickyHSStructure.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.StickyHSStructure.StickyHSStructure.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.StickyHSStructure.StickyHSStructure.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.StickyHSStructure.StickyHSStructure.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.StickyHSStructure.StickyHSStructure.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.StickyHSStructure.StickyHSStructure.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.StickyHSStructure.StickyHSStructure.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.StickyHSStructure.create_StickyHSStructure">
+<tt class="descclassname">sans.models.StickyHSStructure.</tt><tt class="descname">create_StickyHSStructure</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.StickyHSStructure.create_StickyHSStructure" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">StickyHSStructure</a><ul>
+<li><a class="reference internal" href="#module-sans.models.StickyHSStructure"><tt class="docutils literal"><span class="pre">sans.models.StickyHSStructure</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="StackedDisksModel.html"
+                        title="previous chapter">StackedDisksModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="SubComponent.html"
+                        title="next chapter">SubComponent</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/StickyHSStructure.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" size="18" />
+      <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="SubComponent.html" title="SubComponent"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="StackedDisksModel.html" title="StackedDisksModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/SubComponent.html
===================================================================
--- sansmodels/docs/sphinx/html/api/SubComponent.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/SubComponent.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,274 @@
+
+
+<!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>SubComponent &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="TeubnerStreyModel" href="TeubnerStreyModel.html" />
+    <link rel="prev" title="StickyHSStructure" href="StickyHSStructure.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="TeubnerStreyModel.html" title="TeubnerStreyModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="StickyHSStructure.html" title="StickyHSStructure"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="subcomponent">
+<h1>SubComponent<a class="headerlink" href="#subcomponent" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.SubComponent">
+<span id="sans-models-subcomponent"></span><h2><a class="reference internal" href="#module-sans.models.SubComponent" title="sans.models.SubComponent"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.SubComponent</span></tt></a><a class="headerlink" href="#module-sans.models.SubComponent" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide base functionality for all model components
+&#64;author: Mathieu Doucet / UTK
+&#64;contact: <a class="reference external" href="mailto:mathieu&#46;doucet&#37;&#52;&#48;nist&#46;gov">mathieu<span>&#46;</span>doucet<span>&#64;</span>nist<span>&#46;</span>gov</a></p>
+<dl class="class">
+<dt id="sans.models.SubComponent.SubComponent">
+<em class="property">class </em><tt class="descclassname">sans.models.SubComponent.</tt><tt class="descname">SubComponent</tt><big>(</big><em>base=None</em>, <em>other=None</em><big>)</big><a class="headerlink" href="#sans.models.SubComponent.SubComponent" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Basic model component for Subtraction
+Provides basic arithmetics</p>
+<dl class="method">
+<dt id="sans.models.SubComponent.SubComponent.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SubComponent.SubComponent.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SubComponent.SubComponent.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SubComponent.SubComponent.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SubComponent.SubComponent.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.SubComponent.SubComponent.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SubComponent.SubComponent.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SubComponent.SubComponent.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SubComponent.SubComponent.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.SubComponent.SubComponent.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter
+&#64;param name: name of the parameter
+&#64;return: value of the parameter</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SubComponent.SubComponent.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.SubComponent.SubComponent.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SubComponent.SubComponent.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.SubComponent.SubComponent.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SubComponent.SubComponent.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.SubComponent.SubComponent.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SubComponent.SubComponent.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.SubComponent.SubComponent.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SubComponent.SubComponent.run">
+<tt class="descname">run</tt><big>(</big><em>x=0</em><big>)</big><a class="headerlink" href="#sans.models.SubComponent.SubComponent.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate each part of the component and sum the results
+&#64;param x: input parameter
+&#64;return: value of the model at x</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SubComponent.SubComponent.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0</em><big>)</big><a class="headerlink" href="#sans.models.SubComponent.SubComponent.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate each part of the component and sum the results
+&#64;param x: input parameter
+&#64;return: value of the model at x</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SubComponent.SubComponent.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.SubComponent.SubComponent.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter
+&#64;param name: name of parameter to set
+&#64;param value: value to give the paramter</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.SubComponent.SubComponent.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.SubComponent.SubComponent.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">SubComponent</a><ul>
+<li><a class="reference internal" href="#module-sans.models.SubComponent"><tt class="docutils literal"><span class="pre">sans.models.SubComponent</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="StickyHSStructure.html"
+                        title="previous chapter">StickyHSStructure</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="TeubnerStreyModel.html"
+                        title="next chapter">TeubnerStreyModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/SubComponent.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" size="18" />
+      <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="TeubnerStreyModel.html" title="TeubnerStreyModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="StickyHSStructure.html" title="StickyHSStructure"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/TeubnerStreyModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/TeubnerStreyModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/TeubnerStreyModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,310 @@
+
+
+<!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>TeubnerStreyModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="TriaxialEllipsoidModel" href="TriaxialEllipsoidModel.html" />
+    <link rel="prev" title="SubComponent" href="SubComponent.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="TriaxialEllipsoidModel.html" title="TriaxialEllipsoidModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="SubComponent.html" title="SubComponent"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="teubnerstreymodel">
+<h1>TeubnerStreyModel<a class="headerlink" href="#teubnerstreymodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.TeubnerStreyModel">
+<span id="sans-models-teubnerstreymodel"></span><h2><a class="reference internal" href="#module-sans.models.TeubnerStreyModel" title="sans.models.TeubnerStreyModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.TeubnerStreyModel</span></tt></a><a class="headerlink" href="#module-sans.models.TeubnerStreyModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide F(x) = 1/( scale + c1*(x)^(2)+  c2*(x)^(4)) + bkd
+Teubner-Strey function as a BaseComponent model</p>
+<dl class="class">
+<dt id="sans.models.TeubnerStreyModel.TeubnerStreyModel">
+<em class="property">class </em><tt class="descclassname">sans.models.TeubnerStreyModel.</tt><tt class="descname">TeubnerStreyModel</tt><a class="headerlink" href="#sans.models.TeubnerStreyModel.TeubnerStreyModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates  the TeubnerStrey model.</p>
+<p>F(x) = 1/( scale + c1*(x)^(2)+  c2*(x)^(4)) + bkd</p>
+<dl class="docutils">
+<dt>The model has Four parameters: </dt>
+<dd>scale  =  scale factor
+c1     =  constant
+c2     =  constant
+bkd    =  incoherent background</dd>
+</dl>
+<dl class="method">
+<dt id="sans.models.TeubnerStreyModel.TeubnerStreyModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.TeubnerStreyModel.TeubnerStreyModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TeubnerStreyModel.TeubnerStreyModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.TeubnerStreyModel.TeubnerStreyModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TeubnerStreyModel.TeubnerStreyModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.TeubnerStreyModel.TeubnerStreyModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TeubnerStreyModel.TeubnerStreyModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.TeubnerStreyModel.TeubnerStreyModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TeubnerStreyModel.TeubnerStreyModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.TeubnerStreyModel.TeubnerStreyModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TeubnerStreyModel.TeubnerStreyModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.TeubnerStreyModel.TeubnerStreyModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TeubnerStreyModel.TeubnerStreyModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.TeubnerStreyModel.TeubnerStreyModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TeubnerStreyModel.TeubnerStreyModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.TeubnerStreyModel.TeubnerStreyModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TeubnerStreyModel.TeubnerStreyModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.TeubnerStreyModel.TeubnerStreyModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TeubnerStreyModel.TeubnerStreyModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.TeubnerStreyModel.TeubnerStreyModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [r, theta])
+&#64;return: (PowerLaw value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TeubnerStreyModel.TeubnerStreyModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.TeubnerStreyModel.TeubnerStreyModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [qx, qy])
+&#64;return: PowerLaw value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TeubnerStreyModel.TeubnerStreyModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.TeubnerStreyModel.TeubnerStreyModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TeubnerStreyModel.TeubnerStreyModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.TeubnerStreyModel.TeubnerStreyModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TeubnerStreyModel.TeubnerStreyModel.teubnerStreyDistance">
+<tt class="descname">teubnerStreyDistance</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.TeubnerStreyModel.TeubnerStreyModel.teubnerStreyDistance" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the quasi-periodic repeat distance (D/(2*pi)) 
+&#64;return D: quasi-periodic repeat distance</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TeubnerStreyModel.TeubnerStreyModel.teubnerStreyLengths">
+<tt class="descname">teubnerStreyLengths</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.TeubnerStreyModel.TeubnerStreyModel.teubnerStreyLengths" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the correlation length (L) 
+&#64;return L: the correlation distance</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="#">TeubnerStreyModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.TeubnerStreyModel"><tt class="docutils literal"><span class="pre">sans.models.TeubnerStreyModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="SubComponent.html"
+                        title="previous chapter">SubComponent</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="TriaxialEllipsoidModel.html"
+                        title="next chapter">TriaxialEllipsoidModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/TeubnerStreyModel.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" size="18" />
+      <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="TriaxialEllipsoidModel.html" title="TriaxialEllipsoidModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="SubComponent.html" title="SubComponent"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/TriaxialEllipsoidModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/TriaxialEllipsoidModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/TriaxialEllipsoidModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,350 @@
+
+
+<!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>TriaxialEllipsoidModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="TwoLorentzianModel" href="TwoLorentzianModel.html" />
+    <link rel="prev" title="TeubnerStreyModel" href="TeubnerStreyModel.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="TwoLorentzianModel.html" title="TwoLorentzianModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="TeubnerStreyModel.html" title="TeubnerStreyModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="triaxialellipsoidmodel">
+<h1>TriaxialEllipsoidModel<a class="headerlink" href="#triaxialellipsoidmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.TriaxialEllipsoidModel">
+<span id="sans-models-triaxialellipsoidmodel"></span><h2><a class="reference internal" href="#module-sans.models.TriaxialEllipsoidModel" title="sans.models.TriaxialEllipsoidModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.TriaxialEllipsoidModel</span></tt></a><a class="headerlink" href="#module-sans.models.TriaxialEllipsoidModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensions        riaxial_ellipsoid.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel">
+<em class="property">class </em><tt class="descclassname">sans.models.TriaxialEllipsoidModel.</tt><tt class="descname">TriaxialEllipsoidModel</tt><a class="headerlink" href="#sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CTriaxialEllipsoidModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a TriaxialEllipsoidModel model. 
+This file was auto-generated from ..c_extensions   riaxial_ellipsoid.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+semi_axisA      = 35.0 [A]
+semi_axisB      = 100.0 [A]
+semi_axisC      = 400.0 [A]
+sldEll          = 1e-06 [1/A^(2)]
+sldSolv         = 6.3e-06 [1/A^(2)]
+background      = 0.0 [1/cm]
+axis_theta      = 57.325 [deg]
+axis_phi        = 57.325 [deg]
+axis_psi        = 0.0 [deg]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.TriaxialEllipsoidModel.create_TriaxialEllipsoidModel">
+<tt class="descclassname">sans.models.TriaxialEllipsoidModel.</tt><tt class="descname">create_TriaxialEllipsoidModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.TriaxialEllipsoidModel.create_TriaxialEllipsoidModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">TriaxialEllipsoidModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.TriaxialEllipsoidModel"><tt class="docutils literal"><span class="pre">sans.models.TriaxialEllipsoidModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="TeubnerStreyModel.html"
+                        title="previous chapter">TeubnerStreyModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="TwoLorentzianModel.html"
+                        title="next chapter">TwoLorentzianModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/TriaxialEllipsoidModel.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" size="18" />
+      <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="TwoLorentzianModel.html" title="TwoLorentzianModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="TeubnerStreyModel.html" title="TeubnerStreyModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/TwoLorentzianModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/TwoLorentzianModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/TwoLorentzianModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,289 @@
+
+
+<!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>TwoLorentzianModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="TwoPowerLawModel" href="TwoPowerLawModel.html" />
+    <link rel="prev" title="TriaxialEllipsoidModel" href="TriaxialEllipsoidModel.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="TwoPowerLawModel.html" title="TwoPowerLawModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="TriaxialEllipsoidModel.html" title="TriaxialEllipsoidModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="twolorentzianmodel">
+<h1>TwoLorentzianModel<a class="headerlink" href="#twolorentzianmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.TwoLorentzianModel">
+<span id="sans-models-twolorentzianmodel"></span><h2><a class="reference internal" href="#module-sans.models.TwoLorentzianModel" title="sans.models.TwoLorentzianModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.TwoLorentzianModel</span></tt></a><a class="headerlink" href="#module-sans.models.TwoLorentzianModel" title="Permalink to this headline">Â¶</a></h2>
+<p>TwoLorentzianModel function as a BaseComponent model</p>
+<dl class="class">
+<dt id="sans.models.TwoLorentzianModel.TwoLorentzianModel">
+<em class="property">class </em><tt class="descclassname">sans.models.TwoLorentzianModel.</tt><tt class="descname">TwoLorentzianModel</tt><a class="headerlink" href="#sans.models.TwoLorentzianModel.TwoLorentzianModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a TwoLorentzianModel.
+I(q) = II(q) = scale_1/(1.0 + pow((q*length_1),exponent_1))
++ scale_2/(1.0 + pow((q*length_2),exponent_2) )+ background</p>
+<dl class="method">
+<dt id="sans.models.TwoLorentzianModel.TwoLorentzianModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.TwoLorentzianModel.TwoLorentzianModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TwoLorentzianModel.TwoLorentzianModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.TwoLorentzianModel.TwoLorentzianModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TwoLorentzianModel.TwoLorentzianModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.TwoLorentzianModel.TwoLorentzianModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TwoLorentzianModel.TwoLorentzianModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.TwoLorentzianModel.TwoLorentzianModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TwoLorentzianModel.TwoLorentzianModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.TwoLorentzianModel.TwoLorentzianModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TwoLorentzianModel.TwoLorentzianModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.TwoLorentzianModel.TwoLorentzianModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TwoLorentzianModel.TwoLorentzianModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.TwoLorentzianModel.TwoLorentzianModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TwoLorentzianModel.TwoLorentzianModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.TwoLorentzianModel.TwoLorentzianModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TwoLorentzianModel.TwoLorentzianModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.TwoLorentzianModel.TwoLorentzianModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TwoLorentzianModel.TwoLorentzianModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.TwoLorentzianModel.TwoLorentzianModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<p>param x: input q-value (float or [float, float] as [r, theta])
+return: (scattering value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TwoLorentzianModel.TwoLorentzianModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.TwoLorentzianModel.TwoLorentzianModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<p>param x: input q-value (float or [float, float] as [qx, qy])
+return: scattering value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TwoLorentzianModel.TwoLorentzianModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.TwoLorentzianModel.TwoLorentzianModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TwoLorentzianModel.TwoLorentzianModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.TwoLorentzianModel.TwoLorentzianModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">TwoLorentzianModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.TwoLorentzianModel"><tt class="docutils literal"><span class="pre">sans.models.TwoLorentzianModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="TriaxialEllipsoidModel.html"
+                        title="previous chapter">TriaxialEllipsoidModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="TwoPowerLawModel.html"
+                        title="next chapter">TwoPowerLawModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/TwoLorentzianModel.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" size="18" />
+      <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="TwoPowerLawModel.html" title="TwoPowerLawModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="TriaxialEllipsoidModel.html" title="TriaxialEllipsoidModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/TwoPowerLawModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/TwoPowerLawModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/TwoPowerLawModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,303 @@
+
+
+<!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>TwoPowerLawModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="UnifiedPowerRgModel" href="UnifiedPowerRgModel.html" />
+    <link rel="prev" title="TwoLorentzianModel" href="TwoLorentzianModel.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="UnifiedPowerRgModel.html" title="UnifiedPowerRgModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="TwoLorentzianModel.html" title="TwoLorentzianModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="twopowerlawmodel">
+<h1>TwoPowerLawModel<a class="headerlink" href="#twopowerlawmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.TwoPowerLawModel">
+<span id="sans-models-twopowerlawmodel"></span><h2><a class="reference internal" href="#module-sans.models.TwoPowerLawModel" title="sans.models.TwoPowerLawModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.TwoPowerLawModel</span></tt></a><a class="headerlink" href="#module-sans.models.TwoPowerLawModel" title="Permalink to this headline">Â¶</a></h2>
+<dl class="docutils">
+<dt>Provide I(q) = A*pow(qval,-1.0*m1) for q&lt;=qc</dt>
+<dd>=scale*pow(qval,-1.0*m2) for q&gt;qc</dd>
+</dl>
+<p>TwoPowerLaw function as a BaseComponent model</p>
+<dl class="class">
+<dt id="sans.models.TwoPowerLawModel.TwoPowerLawModel">
+<em class="property">class </em><tt class="descclassname">sans.models.TwoPowerLawModel.</tt><tt class="descname">TwoPowerLawModel</tt><a class="headerlink" href="#sans.models.TwoPowerLawModel.TwoPowerLawModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a TwoPowerLawModel.</p>
+<dl class="docutils">
+<dt>I(q) = coef_A*pow(qval,-1.0*power1) for q&lt;=qc</dt>
+<dd>=C*pow(qval,-1.0*power2) for q&gt;qc</dd>
+</dl>
+<p>where C=coef_A*pow(qc,-1.0*power1)/pow(qc,-1.0*power2).
+List of default parameters:</p>
+<blockquote>
+<div>coef_A = coefficient
+power1 = (-) Power &#64; low Q
+power2 = (-) Power &#64; high Q
+qc = crossover Q-value
+background = incoherent background</div></blockquote>
+<dl class="method">
+<dt id="sans.models.TwoPowerLawModel.TwoPowerLawModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.TwoPowerLawModel.TwoPowerLawModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TwoPowerLawModel.TwoPowerLawModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.TwoPowerLawModel.TwoPowerLawModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TwoPowerLawModel.TwoPowerLawModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.TwoPowerLawModel.TwoPowerLawModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TwoPowerLawModel.TwoPowerLawModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.TwoPowerLawModel.TwoPowerLawModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TwoPowerLawModel.TwoPowerLawModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.TwoPowerLawModel.TwoPowerLawModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TwoPowerLawModel.TwoPowerLawModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.TwoPowerLawModel.TwoPowerLawModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TwoPowerLawModel.TwoPowerLawModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.TwoPowerLawModel.TwoPowerLawModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TwoPowerLawModel.TwoPowerLawModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.TwoPowerLawModel.TwoPowerLawModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TwoPowerLawModel.TwoPowerLawModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.TwoPowerLawModel.TwoPowerLawModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TwoPowerLawModel.TwoPowerLawModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.TwoPowerLawModel.TwoPowerLawModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [r, theta])
+&#64;return: (guinier value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TwoPowerLawModel.TwoPowerLawModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.TwoPowerLawModel.TwoPowerLawModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model
+&#64;param x: input q-value (float or [float, float] as [qx, qy])
+&#64;return: guinier value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TwoPowerLawModel.TwoPowerLawModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.TwoPowerLawModel.TwoPowerLawModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.TwoPowerLawModel.TwoPowerLawModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.TwoPowerLawModel.TwoPowerLawModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">TwoPowerLawModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.TwoPowerLawModel"><tt class="docutils literal"><span class="pre">sans.models.TwoPowerLawModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="TwoLorentzianModel.html"
+                        title="previous chapter">TwoLorentzianModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="UnifiedPowerRgModel.html"
+                        title="next chapter">UnifiedPowerRgModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/TwoPowerLawModel.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" size="18" />
+      <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="UnifiedPowerRgModel.html" title="UnifiedPowerRgModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="TwoLorentzianModel.html" title="TwoLorentzianModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/UnifiedPowerRgModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/UnifiedPowerRgModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/UnifiedPowerRgModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,292 @@
+
+
+<!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>UnifiedPowerRgModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="VesicleModel" href="VesicleModel.html" />
+    <link rel="prev" title="TwoPowerLawModel" href="TwoPowerLawModel.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="VesicleModel.html" title="VesicleModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="TwoPowerLawModel.html" title="TwoPowerLawModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="unifiedpowerrgmodel">
+<h1>UnifiedPowerRgModel<a class="headerlink" href="#unifiedpowerrgmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.UnifiedPowerRgModel">
+<span id="sans-models-unifiedpowerrgmodel"></span><h2><a class="reference internal" href="#module-sans.models.UnifiedPowerRgModel" title="sans.models.UnifiedPowerRgModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.UnifiedPowerRgModel</span></tt></a><a class="headerlink" href="#module-sans.models.UnifiedPowerRgModel" title="Permalink to this headline">Â¶</a></h2>
+<dl class="class">
+<dt id="sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel">
+<em class="property">class </em><tt class="descclassname">sans.models.UnifiedPowerRgModel.</tt><tt class="descname">UnifiedPowerRgModel</tt><big>(</big><em>multfactor=1</em><big>)</big><a class="headerlink" href="#sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>This model is based on Exponential/Power-law fit method developed 
+by G. Beaucage</p>
+<dl class="method">
+<dt id="sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.getProfile">
+<tt class="descname">getProfile</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.getProfile" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Get SLD profile</p>
+<p>: return: None, No SLD profile supporting for this model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<p>: param x: input q-value (float or [float, float] as [r, theta])
+: return: (DAB value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<p>: param x: input q-value (float or [float, float] as [qx, qy])
+: return: DAB value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<p>: param name: name of the parameter
+: param value: value of the parameter</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<p>: param parameter: name of the parameter [string]
+:dispersion: dispersion object of type DispersionModel</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="#">UnifiedPowerRgModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.UnifiedPowerRgModel"><tt class="docutils literal"><span class="pre">sans.models.UnifiedPowerRgModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="TwoPowerLawModel.html"
+                        title="previous chapter">TwoPowerLawModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="VesicleModel.html"
+                        title="next chapter">VesicleModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/UnifiedPowerRgModel.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" size="18" />
+      <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="VesicleModel.html" title="VesicleModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="TwoPowerLawModel.html" title="TwoPowerLawModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/VesicleModel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/VesicleModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/VesicleModel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,338 @@
+
+
+<!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>VesicleModel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="prev" title="UnifiedPowerRgModel" href="UnifiedPowerRgModel.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="UnifiedPowerRgModel.html" title="UnifiedPowerRgModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="vesiclemodel">
+<h1>VesicleModel<a class="headerlink" href="#vesiclemodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.VesicleModel">
+<span id="sans-models-vesiclemodel"></span><h2><a class="reference internal" href="#module-sans.models.VesicleModel" title="sans.models.VesicleModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.VesicleModel</span></tt></a><a class="headerlink" href="#module-sans.models.VesicleModel" title="Permalink to this headline">Â¶</a></h2>
+<p>Provide functionality for a C extension model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
+DO NOT MODIFY THIS FILE, MODIFY ..c_extensions
+esicle.h
+AND RE-RUN THE GENERATOR SCRIPT</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.VesicleModel.VesicleModel">
+<em class="property">class </em><tt class="descclassname">sans.models.VesicleModel.</tt><tt class="descname">VesicleModel</tt><a class="headerlink" href="#sans.models.VesicleModel.VesicleModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CVesicleModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<p>Class that evaluates a VesicleModel model. 
+This file was auto-generated from ..c_extensions
+esicle.h.
+Refer to that file and the structure it contains
+for details of the model.
+List of default parameters:</p>
+<blockquote>
+<div>scale           = 1.0 
+radius          = 100.0 [A]
+thickness       = 30.0 [A]
+core_sld        = 6.36e-06 [1/A^(2)]
+shell_sld       = 5e-07 [1/A^(2)]
+background      = 0.0 [1/cm]</div></blockquote>
+<dl class="method">
+<dt id="sans.models.VesicleModel.VesicleModel.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.VesicleModel.VesicleModel.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate the effective radius for P(q)*S(q)</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.VesicleModel.VesicleModel.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.VesicleModel.VesicleModel.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a identical copy of self</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.VesicleModel.VesicleModel.dispersion">
+<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.VesicleModel.VesicleModel.dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Dispersion parameters</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.VesicleModel.VesicleModel.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.VesicleModel.VesicleModel.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.VesicleModel.VesicleModel.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.VesicleModel.VesicleModel.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.VesicleModel.VesicleModel.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.VesicleModel.VesicleModel.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.VesicleModel.VesicleModel.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.VesicleModel.VesicleModel.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.VesicleModel.VesicleModel.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.VesicleModel.VesicleModel.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.VesicleModel.VesicleModel.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.VesicleModel.VesicleModel.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.VesicleModel.VesicleModel.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.VesicleModel.VesicleModel.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.VesicleModel.VesicleModel.log">
+<tt class="descname">log</tt><a class="headerlink" href="#sans.models.VesicleModel.VesicleModel.log" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Log</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.VesicleModel.VesicleModel.params">
+<tt class="descname">params</tt><a class="headerlink" href="#sans.models.VesicleModel.VesicleModel.params" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Parameters</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.models.VesicleModel.VesicleModel.reset">
+<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.VesicleModel.VesicleModel.reset" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Reset pair correlation</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.VesicleModel.VesicleModel.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.VesicleModel.VesicleModel.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.VesicleModel.VesicleModel.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.VesicleModel.VesicleModel.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model in cartesian coordinates</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [qx, qy]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.VesicleModel.VesicleModel.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.VesicleModel.VesicleModel.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.VesicleModel.VesicleModel.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.VesicleModel.VesicleModel.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.VesicleModel.VesicleModel.set_dispersion">
+<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.VesicleModel.VesicleModel.set_dispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the dispersion object for a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
+<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.VesicleModel.create_VesicleModel">
+<tt class="descclassname">sans.models.VesicleModel.</tt><tt class="descname">create_VesicleModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.VesicleModel.create_VesicleModel" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">VesicleModel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.VesicleModel"><tt class="docutils literal"><span class="pre">sans.models.VesicleModel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="UnifiedPowerRgModel.html"
+                        title="previous chapter">UnifiedPowerRgModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/VesicleModel.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" size="18" />
+      <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="UnifiedPowerRgModel.html" title="UnifiedPowerRgModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/dispersion_models.html
===================================================================
--- sansmodels/docs/sphinx/html/api/dispersion_models.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/dispersion_models.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,254 @@
+
+
+<!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>dispersion_models &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="DivComponent" href="DivComponent.html" />
+    <link rel="prev" title="DisperseModel" href="DisperseModel.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="DivComponent.html" title="DivComponent"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="DisperseModel.html" title="DisperseModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="dispersion-models">
+<h1>dispersion_models<a class="headerlink" href="#dispersion-models" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.dispersion_models">
+<span id="sans-models-dispersion-models"></span><h2><a class="reference internal" href="#module-sans.models.dispersion_models" title="sans.models.dispersion_models"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.dispersion_models</span></tt></a><a class="headerlink" href="#module-sans.models.dispersion_models" title="Permalink to this headline">Â¶</a></h2>
+<p>Class definitions for python dispersion model for 
+model parameters. These classes are bridges to the C++
+dispersion object.</p>
+<p>The ArrayDispersion class takes in numpy arrays only.</p>
+<p>Usage:
+These classes can be used to set the dispersion model of a SANS model
+parameter:</p>
+<blockquote>
+<div>cyl = CylinderModel()
+cyl.set_dispersion(&#8216;radius&#8217;, GaussianDispersion())</div></blockquote>
+<p>After the dispersion model is set, you can access it&#8217;s
+parameter through the dispersion dictionary:</p>
+<blockquote>
+<div>cyl.dispersion[&#8216;radius&#8217;][&#8216;width&#8217;] = 5.0</div></blockquote>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">TODO:</th><td class="field-body">For backward compatibility, the model parameters are still kept in
+a dictionary. The next iteration of refactoring work should involve moving
+away from value-based parameters to object-based parameter. We want to
+store parameters as objects so that we can unify the &#8216;params&#8217; and &#8216;dispersion&#8217;
+dictionaries into a single dictionary of parameter objects that hold the
+complete information about the parameter (units, limits, dispersion model, etc...).</td>
+</tr>
+</tbody>
+</table>
+<dl class="class">
+<dt id="sans.models.dispersion_models.ArrayDispersion">
+<em class="property">class </em><tt class="descclassname">sans.models.dispersion_models.</tt><tt class="descname">ArrayDispersion</tt><a class="headerlink" href="#sans.models.dispersion_models.ArrayDispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="#sans.models.dispersion_models.DispersionModel" title="sans.models.dispersion_models.DispersionModel"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.dispersion_models.DispersionModel</span></tt></a></p>
+<p>Python bridge class for a dispersion model based on arrays.
+The user has to set a weight distribution that
+will be used in the averaging the model parameter
+it is applied to.</p>
+<dl class="method">
+<dt id="sans.models.dispersion_models.ArrayDispersion.set_weights">
+<tt class="descname">set_weights</tt><big>(</big><em>values</em>, <em>weights</em><big>)</big><a class="headerlink" href="#sans.models.dispersion_models.ArrayDispersion.set_weights" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the weights of an array dispersion
+Only accept numpy arrays.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>values</strong> &#8211; numpy array of values</li>
+<li><strong>weights</strong> &#8211; numpy array of weights for each value entry</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="sans.models.dispersion_models.DispersionModel">
+<em class="property">class </em><tt class="descclassname">sans.models.dispersion_models.</tt><tt class="descname">DispersionModel</tt><a class="headerlink" href="#sans.models.dispersion_models.DispersionModel" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Python bridge class for a basic dispersion model 
+class with a constant parameter value distribution</p>
+<dl class="method">
+<dt id="sans.models.dispersion_models.DispersionModel.set_weights">
+<tt class="descname">set_weights</tt><big>(</big><em>values</em>, <em>weights</em><big>)</big><a class="headerlink" href="#sans.models.dispersion_models.DispersionModel.set_weights" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the weights of an array dispersion</p>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="sans.models.dispersion_models.GaussianDispersion">
+<em class="property">class </em><tt class="descclassname">sans.models.dispersion_models.</tt><tt class="descname">GaussianDispersion</tt><a class="headerlink" href="#sans.models.dispersion_models.GaussianDispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="#sans.models.dispersion_models.DispersionModel" title="sans.models.dispersion_models.DispersionModel"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.dispersion_models.DispersionModel</span></tt></a></p>
+<p>Python bridge class for a dispersion model based 
+on a Gaussian distribution.</p>
+<dl class="method">
+<dt id="sans.models.dispersion_models.GaussianDispersion.set_weights">
+<tt class="descname">set_weights</tt><big>(</big><em>values</em>, <em>weights</em><big>)</big><a class="headerlink" href="#sans.models.dispersion_models.GaussianDispersion.set_weights" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the weights of an array dispersion</p>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="sans.models.dispersion_models.LogNormalDispersion">
+<em class="property">class </em><tt class="descclassname">sans.models.dispersion_models.</tt><tt class="descname">LogNormalDispersion</tt><a class="headerlink" href="#sans.models.dispersion_models.LogNormalDispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="#sans.models.dispersion_models.DispersionModel" title="sans.models.dispersion_models.DispersionModel"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.dispersion_models.DispersionModel</span></tt></a></p>
+<p>Python bridge class for a dispersion model based 
+on a Log Normal distribution.</p>
+<dl class="method">
+<dt id="sans.models.dispersion_models.LogNormalDispersion.set_weights">
+<tt class="descname">set_weights</tt><big>(</big><em>values</em>, <em>weights</em><big>)</big><a class="headerlink" href="#sans.models.dispersion_models.LogNormalDispersion.set_weights" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the weights of an array dispersion</p>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="sans.models.dispersion_models.RectangleDispersion">
+<em class="property">class </em><tt class="descclassname">sans.models.dispersion_models.</tt><tt class="descname">RectangleDispersion</tt><a class="headerlink" href="#sans.models.dispersion_models.RectangleDispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="#sans.models.dispersion_models.DispersionModel" title="sans.models.dispersion_models.DispersionModel"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.dispersion_models.DispersionModel</span></tt></a></p>
+<p>Python bridge class for a dispersion model based 
+on a Gaussian distribution.</p>
+<dl class="method">
+<dt id="sans.models.dispersion_models.RectangleDispersion.set_weights">
+<tt class="descname">set_weights</tt><big>(</big><em>values</em>, <em>weights</em><big>)</big><a class="headerlink" href="#sans.models.dispersion_models.RectangleDispersion.set_weights" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the weights of an array dispersion</p>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="sans.models.dispersion_models.SchulzDispersion">
+<em class="property">class </em><tt class="descclassname">sans.models.dispersion_models.</tt><tt class="descname">SchulzDispersion</tt><a class="headerlink" href="#sans.models.dispersion_models.SchulzDispersion" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="#sans.models.dispersion_models.DispersionModel" title="sans.models.dispersion_models.DispersionModel"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.dispersion_models.DispersionModel</span></tt></a></p>
+<p>Python bridge class for a dispersion model based 
+on a Schulz distribution.</p>
+<dl class="method">
+<dt id="sans.models.dispersion_models.SchulzDispersion.set_weights">
+<tt class="descname">set_weights</tt><big>(</big><em>values</em>, <em>weights</em><big>)</big><a class="headerlink" href="#sans.models.dispersion_models.SchulzDispersion.set_weights" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the weights of an array dispersion</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="#">dispersion_models</a><ul>
+<li><a class="reference internal" href="#module-sans.models.dispersion_models"><tt class="docutils literal"><span class="pre">sans.models.dispersion_models</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="DisperseModel.html"
+                        title="previous chapter">DisperseModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="DivComponent.html"
+                        title="next chapter">DivComponent</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/dispersion_models.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" size="18" />
+      <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="DivComponent.html" title="DivComponent"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="DisperseModel.html" title="DisperseModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/index.html
===================================================================
--- sansmodels/docs/sphinx/html/api/index.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/index.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,533 @@
+
+
+<!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; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="next" title="AddComponent" href="AddComponent.html" />
+    <link rel="prev" title="Welcome to sansmodelsâ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="AddComponent.html" title="AddComponent"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="../index.html" title="Welcome to sansmodelsâs documentation!"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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"><th class="field-name">Release:</th><td class="field-body">0.1</td>
+</tr>
+<tr class="field"><th class="field-name">Date:</th><td class="field-body">August 12, 2011</td>
+</tr>
+</tbody>
+</table>
+<div class="toctree-wrapper compound">
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="AddComponent.html">AddComponent</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="AddComponent.html#module-sans.models.AddComponent"><tt class="docutils literal"><span class="pre">sans.models.AddComponent</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="BarBellModel.html">BarBellModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="BarBellModel.html#module-sans.models.BarBellModel"><tt class="docutils literal"><span class="pre">sans.models.BarBellModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="BaseComponent.html">BaseComponent</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="BaseComponent.html#module-sans.models.BaseComponent"><tt class="docutils literal"><span class="pre">sans.models.BaseComponent</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="BaseModel.html">BaseModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="BaseModel.html#module-sans.models.BaseModel"><tt class="docutils literal"><span class="pre">sans.models.BaseModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="BCCrystalModel.html">BCCrystalModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="BCCrystalModel.html#module-sans.models.BCCrystalModel"><tt class="docutils literal"><span class="pre">sans.models.BCCrystalModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="BEPolyelectrolyte.html">BEPolyelectrolyte</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="BEPolyelectrolyte.html#module-sans.models.BEPolyelectrolyte"><tt class="docutils literal"><span class="pre">sans.models.BEPolyelectrolyte</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="BinaryHSModel.html">BinaryHSModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="BinaryHSModel.html#module-sans.models.BinaryHSModel"><tt class="docutils literal"><span class="pre">sans.models.BinaryHSModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="BinaryHSPSF11Model.html">BinaryHSPSF11Model</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="BinaryHSPSF11Model.html#sans-models-binaryhspsf11model"><tt class="docutils literal"><span class="pre">sans.models.BinaryHSPSF11Model</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="BroadPeakModel.html">BroadPeakModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="BroadPeakModel.html#module-sans.models.BroadPeakModel"><tt class="docutils literal"><span class="pre">sans.models.BroadPeakModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="CappedCylinderModel.html">CappedCylinderModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="CappedCylinderModel.html#module-sans.models.CappedCylinderModel"><tt class="docutils literal"><span class="pre">sans.models.CappedCylinderModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="Constant.html">Constant</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="Constant.html#module-sans.models.Constant"><tt class="docutils literal"><span class="pre">sans.models.Constant</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="CoreFourShellModel.html">CoreFourShellModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="CoreFourShellModel.html#module-sans.models.CoreFourShellModel"><tt class="docutils literal"><span class="pre">sans.models.CoreFourShellModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="CoreMultiShellModel.html">CoreMultiShellModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="CoreMultiShellModel.html#module-sans.models.CoreMultiShellModel"><tt class="docutils literal"><span class="pre">sans.models.CoreMultiShellModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="CoreShellCylinderModel.html">CoreShellCylinderModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="CoreShellCylinderModel.html#module-sans.models.CoreShellCylinderModel"><tt class="docutils literal"><span class="pre">sans.models.CoreShellCylinderModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="CoreShellEllipsoidModel.html">CoreShellEllipsoidModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="CoreShellEllipsoidModel.html#module-sans.models.CoreShellEllipsoidModel"><tt class="docutils literal"><span class="pre">sans.models.CoreShellEllipsoidModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="CoreShellModel.html">CoreShellModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="CoreShellModel.html#module-sans.models.CoreShellModel"><tt class="docutils literal"><span class="pre">sans.models.CoreShellModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="CorrLengthModel.html">CorrLengthModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="CorrLengthModel.html#module-sans.models.CorrLengthModel"><tt class="docutils literal"><span class="pre">sans.models.CorrLengthModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="Cos.html">Cos</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="Cos.html#module-sans.models.Cos"><tt class="docutils literal"><span class="pre">sans.models.Cos</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="CSParallelepipedModel.html">CSParallelepipedModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="CSParallelepipedModel.html#module-sans.models.CSParallelepipedModel"><tt class="docutils literal"><span class="pre">sans.models.CSParallelepipedModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="CylinderModel.html">CylinderModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="CylinderModel.html#module-sans.models.CylinderModel"><tt class="docutils literal"><span class="pre">sans.models.CylinderModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="DABModel.html">DABModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="DABModel.html#module-sans.models.DABModel"><tt class="docutils literal"><span class="pre">sans.models.DABModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="DebyeModel.html">DebyeModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="DebyeModel.html#module-sans.models.DebyeModel"><tt class="docutils literal"><span class="pre">sans.models.DebyeModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="DiamCylFunc.html">DiamCylFunc</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="DiamCylFunc.html#module-sans.models.DiamCylFunc"><tt class="docutils literal"><span class="pre">sans.models.DiamCylFunc</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="DiamEllipFunc.html">DiamEllipFunc</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="DiamEllipFunc.html#module-sans.models.DiamEllipFunc"><tt class="docutils literal"><span class="pre">sans.models.DiamEllipFunc</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="DisperseModel.html">DisperseModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="DisperseModel.html#module-sans.models.DisperseModel"><tt class="docutils literal"><span class="pre">sans.models.DisperseModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="dispersion_models.html">dispersion_models</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="dispersion_models.html#module-sans.models.dispersion_models"><tt class="docutils literal"><span class="pre">sans.models.dispersion_models</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="DivComponent.html">DivComponent</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="DivComponent.html#module-sans.models.DivComponent"><tt class="docutils literal"><span class="pre">sans.models.DivComponent</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="EllipsoidModel.html">EllipsoidModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="EllipsoidModel.html#module-sans.models.EllipsoidModel"><tt class="docutils literal"><span class="pre">sans.models.EllipsoidModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="EllipticalCylinderModel.html">EllipticalCylinderModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="EllipticalCylinderModel.html#module-sans.models.EllipticalCylinderModel"><tt class="docutils literal"><span class="pre">sans.models.EllipticalCylinderModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="FCCrystalModel.html">FCCrystalModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="FCCrystalModel.html#module-sans.models.FCCrystalModel"><tt class="docutils literal"><span class="pre">sans.models.FCCrystalModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="FlexCylEllipXModel.html">FlexCylEllipXModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="FlexCylEllipXModel.html#module-sans.models.FlexCylEllipXModel"><tt class="docutils literal"><span class="pre">sans.models.FlexCylEllipXModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="FlexibleCylinderModel.html">FlexibleCylinderModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="FlexibleCylinderModel.html#module-sans.models.FlexibleCylinderModel"><tt class="docutils literal"><span class="pre">sans.models.FlexibleCylinderModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="FractalAbsModel.html">FractalAbsModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="FractalAbsModel.html#module-sans.models.FractalAbsModel"><tt class="docutils literal"><span class="pre">sans.models.FractalAbsModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="FractalCoreShellModel.html">FractalCoreShellModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="FractalCoreShellModel.html#module-sans.models.FractalCoreShellModel"><tt class="docutils literal"><span class="pre">sans.models.FractalCoreShellModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="FractalModel.html">FractalModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="FractalModel.html#module-sans.models.FractalModel"><tt class="docutils literal"><span class="pre">sans.models.FractalModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="FractalMode_pymodell.html">FractalMode_pymodell</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="FractalMode_pymodell.html#module-sans.models.FractalMode_pymodell"><tt class="docutils literal"><span class="pre">sans.models.FractalMode_pymodell</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="FuzzySphereModel.html">FuzzySphereModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="FuzzySphereModel.html#module-sans.models.FuzzySphereModel"><tt class="docutils literal"><span class="pre">sans.models.FuzzySphereModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="Gaussian.html">Gaussian</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="Gaussian.html#module-sans.models.Gaussian"><tt class="docutils literal"><span class="pre">sans.models.Gaussian</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="GaussLorentzGelModel.html">GaussLorentzGelModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="GaussLorentzGelModel.html#module-sans.models.GaussLorentzGelModel"><tt class="docutils literal"><span class="pre">sans.models.GaussLorentzGelModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="GuinierModel.html">GuinierModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="GuinierModel.html#module-sans.models.GuinierModel"><tt class="docutils literal"><span class="pre">sans.models.GuinierModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="GuinierPorodModel.html">GuinierPorodModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="GuinierPorodModel.html#module-sans.models.GuinierPorodModel"><tt class="docutils literal"><span class="pre">sans.models.GuinierPorodModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="HardsphereStructure.html">HardsphereStructure</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="HardsphereStructure.html#module-sans.models.HardsphereStructure"><tt class="docutils literal"><span class="pre">sans.models.HardsphereStructure</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="HayterMSAStructure.html">HayterMSAStructure</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="HayterMSAStructure.html#module-sans.models.HayterMSAStructure"><tt class="docutils literal"><span class="pre">sans.models.HayterMSAStructure</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="HollowCylinderModel.html">HollowCylinderModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="HollowCylinderModel.html#module-sans.models.HollowCylinderModel"><tt class="docutils literal"><span class="pre">sans.models.HollowCylinderModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="LamellarFFHGModel.html">LamellarFFHGModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="LamellarFFHGModel.html#module-sans.models.LamellarFFHGModel"><tt class="docutils literal"><span class="pre">sans.models.LamellarFFHGModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="LamellarModel.html">LamellarModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="LamellarModel.html#module-sans.models.LamellarModel"><tt class="docutils literal"><span class="pre">sans.models.LamellarModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="LamellarPCrystalModel.html">LamellarPCrystalModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="LamellarPCrystalModel.html#module-sans.models.LamellarPCrystalModel"><tt class="docutils literal"><span class="pre">sans.models.LamellarPCrystalModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="LamellarPSHGModel.html">LamellarPSHGModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="LamellarPSHGModel.html#module-sans.models.LamellarPSHGModel"><tt class="docutils literal"><span class="pre">sans.models.LamellarPSHGModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="LamellarPSModel.html">LamellarPSModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="LamellarPSModel.html#module-sans.models.LamellarPSModel"><tt class="docutils literal"><span class="pre">sans.models.LamellarPSModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="LineModel.html">LineModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="LineModel.html#module-sans.models.LineModel"><tt class="docutils literal"><span class="pre">sans.models.LineModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="LogNormal.html">LogNormal</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="LogNormal.html#module-sans.models.LogNormal"><tt class="docutils literal"><span class="pre">sans.models.LogNormal</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="Lorentzian.html">Lorentzian</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="Lorentzian.html#module-sans.models.Lorentzian"><tt class="docutils literal"><span class="pre">sans.models.Lorentzian</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="LorentzModel.html">LorentzModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="LorentzModel.html#module-sans.models.LorentzModel"><tt class="docutils literal"><span class="pre">sans.models.LorentzModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="ModelAdaptor.html">ModelAdaptor</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="ModelAdaptor.html#module-sans.models.ModelAdaptor"><tt class="docutils literal"><span class="pre">sans.models.ModelAdaptor</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="ModelFactory.html">ModelFactory</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="ModelFactory.html#module-sans.models.ModelFactory"><tt class="docutils literal"><span class="pre">sans.models.ModelFactory</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="ModelIO.html">ModelIO</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="ModelIO.html#module-sans.models.ModelIO"><tt class="docutils literal"><span class="pre">sans.models.ModelIO</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="MulComponent.html">MulComponent</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="MulComponent.html#module-sans.models.MulComponent"><tt class="docutils literal"><span class="pre">sans.models.MulComponent</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="MultiplicationModel.html">MultiplicationModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="MultiplicationModel.html#module-sans.models.MultiplicationModel"><tt class="docutils literal"><span class="pre">sans.models.MultiplicationModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="MultiShellModel.html">MultiShellModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="MultiShellModel.html#module-sans.models.MultiShellModel"><tt class="docutils literal"><span class="pre">sans.models.MultiShellModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="NewCylinderModel.html">NewCylinderModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="NewCylinderModel.html#module-sans.models.NewCylinderModel"><tt class="docutils literal"><span class="pre">sans.models.NewCylinderModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="NoStructure.html">NoStructure</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="NoStructure.html#module-sans.models.NoStructure"><tt class="docutils literal"><span class="pre">sans.models.NoStructure</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="NullModel.html">NullModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="NullModel.html#module-sans.models.NullModel"><tt class="docutils literal"><span class="pre">sans.models.NullModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="OblateModel.html">OblateModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="OblateModel.html#sans-models-oblatemodel"><tt class="docutils literal"><span class="pre">sans.models.OblateModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="OnionExpShellModel.html">OnionExpShellModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="OnionExpShellModel.html#module-sans.models.OnionExpShellModel"><tt class="docutils literal"><span class="pre">sans.models.OnionExpShellModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="OnionModel.html">OnionModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="OnionModel.html#module-sans.models.OnionModel"><tt class="docutils literal"><span class="pre">sans.models.OnionModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="ParallelepipedModel.html">ParallelepipedModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="ParallelepipedModel.html#module-sans.models.ParallelepipedModel"><tt class="docutils literal"><span class="pre">sans.models.ParallelepipedModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="PeakGaussModel.html">PeakGaussModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="PeakGaussModel.html#module-sans.models.PeakGaussModel"><tt class="docutils literal"><span class="pre">sans.models.PeakGaussModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="PeakLorentzModel.html">PeakLorentzModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="PeakLorentzModel.html#module-sans.models.PeakLorentzModel"><tt class="docutils literal"><span class="pre">sans.models.PeakLorentzModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="PearlNecklaceModel.html">PearlNecklaceModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="PearlNecklaceModel.html#module-sans.models.PearlNecklaceModel"><tt class="docutils literal"><span class="pre">sans.models.PearlNecklaceModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="pluginmodel.html">pluginmodel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="pluginmodel.html#module-sans.models.pluginmodel"><tt class="docutils literal"><span class="pre">sans.models.pluginmodel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="PolymerExclVolume.html">PolymerExclVolume</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="PolymerExclVolume.html#module-sans.models.PolymerExclVolume"><tt class="docutils literal"><span class="pre">sans.models.PolymerExclVolume</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="Poly_GaussCoil.html">Poly_GaussCoil</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="Poly_GaussCoil.html#module-sans.models.Poly_GaussCoil"><tt class="docutils literal"><span class="pre">sans.models.Poly_GaussCoil</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="PorodModel.html">PorodModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="PorodModel.html#module-sans.models.PorodModel"><tt class="docutils literal"><span class="pre">sans.models.PorodModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="PowerLawAbsModel.html">PowerLawAbsModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="PowerLawAbsModel.html#module-sans.models.PowerLawAbsModel"><tt class="docutils literal"><span class="pre">sans.models.PowerLawAbsModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="PowerLawModel.html">PowerLawModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="PowerLawModel.html#module-sans.models.PowerLawModel"><tt class="docutils literal"><span class="pre">sans.models.PowerLawModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="ProlateModel.html">ProlateModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="ProlateModel.html#sans-models-prolatemodel"><tt class="docutils literal"><span class="pre">sans.models.ProlateModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="qsmearing.html">qsmearing</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="qsmearing.html#module-sans.models.qsmearing"><tt class="docutils literal"><span class="pre">sans.models.qsmearing</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="ReflAdvModel.html">ReflAdvModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="ReflAdvModel.html#module-sans.models.ReflAdvModel"><tt class="docutils literal"><span class="pre">sans.models.ReflAdvModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="ReflectivityIIModel.html">ReflectivityIIModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="ReflectivityIIModel.html#module-sans.models.ReflectivityIIModel"><tt class="docutils literal"><span class="pre">sans.models.ReflectivityIIModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="ReflectivityModel.html">ReflectivityModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="ReflectivityModel.html#module-sans.models.ReflectivityModel"><tt class="docutils literal"><span class="pre">sans.models.ReflectivityModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="ReflModel.html">ReflModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="ReflModel.html#module-sans.models.ReflModel"><tt class="docutils literal"><span class="pre">sans.models.ReflModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="RPA10Model.html">RPA10Model</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="RPA10Model.html#module-sans.models.RPA10Model"><tt class="docutils literal"><span class="pre">sans.models.RPA10Model</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="RPAModel.html">RPAModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="RPAModel.html#module-sans.models.RPAModel"><tt class="docutils literal"><span class="pre">sans.models.RPAModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="SCCrystalModel.html">SCCrystalModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="SCCrystalModel.html#module-sans.models.SCCrystalModel"><tt class="docutils literal"><span class="pre">sans.models.SCCrystalModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="Schulz.html">Schulz</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="Schulz.html#module-sans.models.Schulz"><tt class="docutils literal"><span class="pre">sans.models.Schulz</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="Sin.html">Sin</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="Sin.html#module-sans.models.Sin"><tt class="docutils literal"><span class="pre">sans.models.Sin</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="SLDCalFunc.html">SLDCalFunc</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="SLDCalFunc.html#module-sans.models.SLDCalFunc"><tt class="docutils literal"><span class="pre">sans.models.SLDCalFunc</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="smearing_2d.html">smearing_2d</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="smearing_2d.html#module-sans.models.smearing_2d"><tt class="docutils literal"><span class="pre">sans.models.smearing_2d</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="SphereModel.html">SphereModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="SphereModel.html#module-sans.models.SphereModel"><tt class="docutils literal"><span class="pre">sans.models.SphereModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="SphereSLDModel.html">SphereSLDModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="SphereSLDModel.html#module-sans.models.SphereSLDModel"><tt class="docutils literal"><span class="pre">sans.models.SphereSLDModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="SphericalSLDModel.html">SphericalSLDModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="SphericalSLDModel.html#module-sans.models.SphericalSLDModel"><tt class="docutils literal"><span class="pre">sans.models.SphericalSLDModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="SquareWellStructure.html">SquareWellStructure</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="SquareWellStructure.html#module-sans.models.SquareWellStructure"><tt class="docutils literal"><span class="pre">sans.models.SquareWellStructure</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="StackedDisksModel.html">StackedDisksModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="StackedDisksModel.html#module-sans.models.StackedDisksModel"><tt class="docutils literal"><span class="pre">sans.models.StackedDisksModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="StickyHSStructure.html">StickyHSStructure</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="StickyHSStructure.html#module-sans.models.StickyHSStructure"><tt class="docutils literal"><span class="pre">sans.models.StickyHSStructure</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="SubComponent.html">SubComponent</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="SubComponent.html#module-sans.models.SubComponent"><tt class="docutils literal"><span class="pre">sans.models.SubComponent</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="TeubnerStreyModel.html">TeubnerStreyModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="TeubnerStreyModel.html#module-sans.models.TeubnerStreyModel"><tt class="docutils literal"><span class="pre">sans.models.TeubnerStreyModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="TriaxialEllipsoidModel.html">TriaxialEllipsoidModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="TriaxialEllipsoidModel.html#module-sans.models.TriaxialEllipsoidModel"><tt class="docutils literal"><span class="pre">sans.models.TriaxialEllipsoidModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="TwoLorentzianModel.html">TwoLorentzianModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="TwoLorentzianModel.html#module-sans.models.TwoLorentzianModel"><tt class="docutils literal"><span class="pre">sans.models.TwoLorentzianModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="TwoPowerLawModel.html">TwoPowerLawModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="TwoPowerLawModel.html#module-sans.models.TwoPowerLawModel"><tt class="docutils literal"><span class="pre">sans.models.TwoPowerLawModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="UnifiedPowerRgModel.html">UnifiedPowerRgModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="UnifiedPowerRgModel.html#module-sans.models.UnifiedPowerRgModel"><tt class="docutils literal"><span class="pre">sans.models.UnifiedPowerRgModel</span></tt></a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="VesicleModel.html">VesicleModel</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="VesicleModel.html#module-sans.models.VesicleModel"><tt class="docutils literal"><span class="pre">sans.models.VesicleModel</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 sansmodels&#8217;s documentation!</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="AddComponent.html"
+                        title="next chapter">AddComponent</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" size="18" />
+      <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="AddComponent.html" title="AddComponent"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="../index.html" title="Welcome to sansmodelsâs documentation!"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/pluginmodel.html
===================================================================
--- sansmodels/docs/sphinx/html/api/pluginmodel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/pluginmodel.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,307 @@
+
+
+<!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>pluginmodel &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="PolymerExclVolume" href="PolymerExclVolume.html" />
+    <link rel="prev" title="PearlNecklaceModel" href="PearlNecklaceModel.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="PolymerExclVolume.html" title="PolymerExclVolume"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="PearlNecklaceModel.html" title="PearlNecklaceModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="pluginmodel">
+<h1>pluginmodel<a class="headerlink" href="#pluginmodel" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.pluginmodel">
+<span id="sans-models-pluginmodel"></span><h2><a class="reference internal" href="#module-sans.models.pluginmodel" title="sans.models.pluginmodel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.pluginmodel</span></tt></a><a class="headerlink" href="#module-sans.models.pluginmodel" title="Permalink to this headline">Â¶</a></h2>
+<dl class="class">
+<dt id="sans.models.pluginmodel.Model1DPlugin">
+<em class="property">class </em><tt class="descclassname">sans.models.pluginmodel.</tt><tt class="descname">Model1DPlugin</tt><big>(</big><em>name='Plugin Model'</em><big>)</big><a class="headerlink" href="#sans.models.pluginmodel.Model1DPlugin" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p>
+<dl class="method">
+<dt id="sans.models.pluginmodel.Model1DPlugin.calculate_ER">
+<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.pluginmodel.Model1DPlugin.calculate_ER" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.pluginmodel.Model1DPlugin.clone">
+<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.pluginmodel.Model1DPlugin.clone" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns a new object identical to the current object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.pluginmodel.Model1DPlugin.evalDistribution">
+<tt class="descname">evalDistribution</tt><big>(</big><em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.pluginmodel.Model1DPlugin.evalDistribution" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate a distribution of q-values.</p>
+<ul>
+<li><p class="first">For 1D, a numpy array is expected as input:</p>
+<blockquote>
+<div><p>evalDistribution(q)</p>
+</div></blockquote>
+</li>
+</ul>
+<p>where q is a numpy array.</p>
+<ul class="simple">
+<li>For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime],
+where 1D arrays,</li>
+</ul>
+<p>qx_prime = [ qx[0], qx[1], qx[2], ....]
+and
+qy_prime = [ qy[0], qy[1], qy[2], ....]</p>
+<p>Then get
+q = numpy.sqrt(qx_prime^2+qy_prime^2)</p>
+<p>that is a qr in 1D array;
+q = [q[0], q[1], q[2], ....]</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 
+is supported for python models, thus C-models should have</p>
+<blockquote class="last">
+<div><p>their own evalDistribution methods.</p>
+</div></blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p>The method is then called the following way:</p>
+<p>evalDistribution(q)
+where q is a numpy array.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> &#8211; ndarray of scalar q-values or list [qx,qy] 
+where qx,qy are 1D ndarrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.pluginmodel.Model1DPlugin.function">
+<tt class="descname">function</tt><big>(</big><em>x</em><big>)</big><a class="headerlink" href="#sans.models.pluginmodel.Model1DPlugin.function" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Function to be implemented by the plug-in writer</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.pluginmodel.Model1DPlugin.getDispParamList">
+<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.pluginmodel.Model1DPlugin.getDispParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.pluginmodel.Model1DPlugin.getParam">
+<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.pluginmodel.Model1DPlugin.getParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.pluginmodel.Model1DPlugin.getParamList">
+<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.pluginmodel.Model1DPlugin.getParamList" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return a list of all available parameters for the model</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.pluginmodel.Model1DPlugin.getParamListWithToken">
+<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.pluginmodel.Model1DPlugin.getParamListWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.pluginmodel.Model1DPlugin.getParamWithToken">
+<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.pluginmodel.Model1DPlugin.getParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.models.pluginmodel.Model1DPlugin.is_fittable">
+<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.pluginmodel.Model1DPlugin.is_fittable" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check if a given parameter is fittable 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.pluginmodel.Model1DPlugin.run">
+<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.pluginmodel.Model1DPlugin.run" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input x, or [x, phi] [radian]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">function value</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.pluginmodel.Model1DPlugin.runXY">
+<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.pluginmodel.Model1DPlugin.runXY" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Evaluate the model</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input x, or [x, y]</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body">function value</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.pluginmodel.Model1DPlugin.setParam">
+<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.pluginmodel.Model1DPlugin.setParam" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of a model parameter</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>name</strong> &#8211; name of the parameter</li>
+<li><strong>value</strong> &#8211; value of the parameter</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.pluginmodel.Model1DPlugin.setParamWithToken">
+<tt class="descname">setParamWithToken</tt><big>(</big><em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.pluginmodel.Model1DPlugin.setParamWithToken" title="Permalink to this definition">Â¶</a></dt>
+<dd></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="#">pluginmodel</a><ul>
+<li><a class="reference internal" href="#module-sans.models.pluginmodel"><tt class="docutils literal"><span class="pre">sans.models.pluginmodel</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="PearlNecklaceModel.html"
+                        title="previous chapter">PearlNecklaceModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="PolymerExclVolume.html"
+                        title="next chapter">PolymerExclVolume</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/pluginmodel.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" size="18" />
+      <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="PolymerExclVolume.html" title="PolymerExclVolume"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="PearlNecklaceModel.html" title="PearlNecklaceModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/qsmearing.html
===================================================================
--- sansmodels/docs/sphinx/html/api/qsmearing.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/qsmearing.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,237 @@
+
+
+<!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>qsmearing &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="ReflAdvModel" href="ReflAdvModel.html" />
+    <link rel="prev" title="ProlateModel" href="ProlateModel.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="ReflAdvModel.html" title="ReflAdvModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="ProlateModel.html" title="ProlateModel"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="qsmearing">
+<h1>qsmearing<a class="headerlink" href="#qsmearing" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.qsmearing">
+<span id="sans-models-qsmearing"></span><h2><a class="reference internal" href="#module-sans.models.qsmearing" title="sans.models.qsmearing"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.qsmearing</span></tt></a><a class="headerlink" href="#module-sans.models.qsmearing" title="Permalink to this headline">Â¶</a></h2>
+<dl class="class">
+<dt id="sans.models.qsmearing.QSmearer">
+<em class="property">class </em><tt class="descclassname">sans.models.qsmearing.</tt><tt class="descname">QSmearer</tt><big>(</big><em>data1D</em>, <em>model=None</em><big>)</big><a class="headerlink" href="#sans.models.qsmearing.QSmearer" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">sans.models.qsmearing._QSmearer</span></tt></p>
+<p>Adaptor for Gaussian Q smearing class and SANS data</p>
+<dl class="method">
+<dt id="sans.models.qsmearing.QSmearer.get_bin_range">
+<tt class="descname">get_bin_range</tt><big>(</big><em>q_min=None</em>, <em>q_max=None</em><big>)</big><a class="headerlink" href="#sans.models.qsmearing.QSmearer.get_bin_range" 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"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>q_min</strong> &#8211; minimum q-value to smear</li>
+<li><strong>q_max</strong> &#8211; maximum q-value to smear</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.qsmearing.QSmearer.get_unsmeared_range">
+<tt class="descname">get_unsmeared_range</tt><big>(</big><em>q_min</em>, <em>q_max</em><big>)</big><a class="headerlink" href="#sans.models.qsmearing.QSmearer.get_unsmeared_range" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Determine the range needed in unsmeared-Q to cover
+the smeared Q range
+Take 3 sigmas as the offset between smeared and unsmeared space</p>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="sans.models.qsmearing.SlitSmearer">
+<em class="property">class </em><tt class="descclassname">sans.models.qsmearing.</tt><tt class="descname">SlitSmearer</tt><big>(</big><em>data1D</em>, <em>model=None</em><big>)</big><a class="headerlink" href="#sans.models.qsmearing.SlitSmearer" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">sans.models.qsmearing._SlitSmearer</span></tt></p>
+<p>Adaptor for slit smearing class and SANS data</p>
+<dl class="method">
+<dt id="sans.models.qsmearing.SlitSmearer.get_bin_range">
+<tt class="descname">get_bin_range</tt><big>(</big><em>q_min=None</em>, <em>q_max=None</em><big>)</big><a class="headerlink" href="#sans.models.qsmearing.SlitSmearer.get_bin_range" 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"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>q_min</strong> &#8211; minimum q-value to smear</li>
+<li><strong>q_max</strong> &#8211; maximum q-value to smear</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.qsmearing.SlitSmearer.get_unsmeared_range">
+<tt class="descname">get_unsmeared_range</tt><big>(</big><em>q_min</em>, <em>q_max</em><big>)</big><a class="headerlink" href="#sans.models.qsmearing.SlitSmearer.get_unsmeared_range" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Determine the range needed in unsmeared-Q to cover
+the smeared Q range</p>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.qsmearing.get_qextrapolate">
+<tt class="descclassname">sans.models.qsmearing.</tt><tt class="descname">get_qextrapolate</tt><big>(</big><em>width</em>, <em>data_x</em><big>)</big><a class="headerlink" href="#sans.models.qsmearing.get_qextrapolate" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Make fake data_x points extrapolated outside of the data_x points</p>
+<p>: param width: array of std of q resolution
+: param Data1D.x: Data1D.x array</p>
+<p>: return new_width, data_x_ext: extrapolated width array and x array</p>
+<p>: assumption1: data_x is ordered from lower q to higher q
+: assumption2: len(data) = len(width)
+: assumption3: the distance between the data points is more compact</p>
+<blockquote>
+<div>than the size of width</div></blockquote>
+<p>: Todo1: Make sure that the assumptions are correct for Data1D
+: Todo2: This fixes the edge problem in Qsmearer but still needs to make</p>
+<blockquote>
+<div>smearer interface</div></blockquote>
+</dd></dl>
+
+<dl class="function">
+<dt id="sans.models.qsmearing.smear_selection">
+<tt class="descclassname">sans.models.qsmearing.</tt><tt class="descname">smear_selection</tt><big>(</big><em>data1D</em>, <em>model=None</em><big>)</big><a class="headerlink" href="#sans.models.qsmearing.smear_selection" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Creates the right type of smearer according 
+to the data.</p>
+<p>The canSAS format has a rule that either
+slit smearing data OR resolution smearing data
+is available.</p>
+<p>For the present purpose, we choose the one that
+has none-zero data. If both slit and resolution
+smearing arrays are filled with good data 
+(which should not happen), then we choose the
+resolution smearing 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"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>data1D</strong> &#8211; Data1D object</li>
+<li><strong>model</strong> &#8211; sans.model instance</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</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="#">qsmearing</a><ul>
+<li><a class="reference internal" href="#module-sans.models.qsmearing"><tt class="docutils literal"><span class="pre">sans.models.qsmearing</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="ProlateModel.html"
+                        title="previous chapter">ProlateModel</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="ReflAdvModel.html"
+                        title="next chapter">ReflAdvModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/qsmearing.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" size="18" />
+      <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="ReflAdvModel.html" title="ReflAdvModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="ProlateModel.html" title="ProlateModel"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
Index: sansmodels/docs/sphinx/html/api/smearing_2d.html
===================================================================
--- sansmodels/docs/sphinx/html/api/smearing_2d.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
+++ sansmodels/docs/sphinx/html/api/smearing_2d.html	(revision 512573a53f2ed9d9eed01dddaf2634f02d8da866)
@@ -0,0 +1,218 @@
+
+
+<!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>smearing_2d &mdash; sansmodels v0.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="sansmodels v0.1.0 documentation" href="../index.html" />
+    <link rel="up" title="Reference" href="index.html" />
+    <link rel="next" title="SphereModel" href="SphereModel.html" />
+    <link rel="prev" title="SLDCalFunc" href="SLDCalFunc.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="SphereModel.html" title="SphereModel"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="SLDCalFunc.html" title="SLDCalFunc"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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="smearing-2d">
+<h1>smearing_2d<a class="headerlink" href="#smearing-2d" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="module-sans.models.smearing_2d">
+<span id="sans-models-smearing-2d"></span><h2><a class="reference internal" href="#module-sans.models.smearing_2d" title="sans.models.smearing_2d"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.smearing_2d</span></tt></a><a class="headerlink" href="#module-sans.models.smearing_2d" title="Permalink to this headline">Â¶</a></h2>
+<dl class="class">
+<dt id="sans.models.smearing_2d.Smearer2D">
+<em class="property">class </em><tt class="descclassname">sans.models.smearing_2d.</tt><tt class="descname">Smearer2D</tt><big>(</big><em>data=None</em>, <em>model=None</em>, <em>index=None</em>, <em>limit=3.0</em>, <em>accuracy='Low'</em>, <em>coords='polar'</em>, <em>engine='python'</em><big>)</big><a class="headerlink" href="#sans.models.smearing_2d.Smearer2D" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Gaussian Q smearing class for SANS 2d data</p>
+<dl class="method">
+<dt id="sans.models.smearing_2d.Smearer2D.get_data">
+<tt class="descname">get_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.smearing_2d.Smearer2D.get_data" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>get qx_data, qy_data, dqx_data,dqy_data,and calculate phi_data=arctan(qx_data/qy_data)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.smearing_2d.Smearer2D.get_value">
+<tt class="descname">get_value</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.smearing_2d.Smearer2D.get_value" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Over sampling of r_nbins times phi_nbins, calculate Gaussian weights, 
+then find smeared intensity</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.smearing_2d.Smearer2D.set_accuracy">
+<tt class="descname">set_accuracy</tt><big>(</big><em>accuracy='Low'</em><big>)</big><a class="headerlink" href="#sans.models.smearing_2d.Smearer2D.set_accuracy" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set accuracy.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>accuracy</strong> &#8211; string</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.smearing_2d.Smearer2D.set_data">
+<tt class="descname">set_data</tt><big>(</big><em>data=None</em><big>)</big><a class="headerlink" href="#sans.models.smearing_2d.Smearer2D.set_data" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set 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"><th class="field-name">Parameters:</th><td class="field-body"><strong>data</strong> &#8211; DataLoader.Data_info type</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.smearing_2d.Smearer2D.set_index">
+<tt class="descname">set_index</tt><big>(</big><em>index=None</em><big>)</big><a class="headerlink" href="#sans.models.smearing_2d.Smearer2D.set_index" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set index.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>index</strong> &#8211; 1d arrays</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.smearing_2d.Smearer2D.set_model">
+<tt class="descname">set_model</tt><big>(</big><em>model=None</em><big>)</big><a class="headerlink" href="#sans.models.smearing_2d.Smearer2D.set_model" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set model.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>model</strong> &#8211; sans.models instance</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.models.smearing_2d.Smearer2D.set_smearer">
+<tt class="descname">set_smearer</tt><big>(</big><em>smearer=True</em><big>)</big><a class="headerlink" href="#sans.models.smearing_2d.Smearer2D.set_smearer" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set whether or not smearer will be used</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>smearer</strong> &#8211; smear object</td>
+</tr>
+</tbody>
+</table>
+</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="#">smearing_2d</a><ul>
+<li><a class="reference internal" href="#module-sans.models.smearing_2d"><tt class="docutils literal"><span class="pre">sans.models.smearing_2d</span></tt></a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="SLDCalFunc.html"
+                        title="previous chapter">SLDCalFunc</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="SphereModel.html"
+                        title="next chapter">SphereModel</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/api/smearing_2d.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" size="18" />
+      <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="SphereModel.html" title="SphereModel"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="SLDCalFunc.html" title="SLDCalFunc"
+             >previous</a> |</li>
+        <li><a href="../index.html">sansmodels v0.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.0.7.
+    </div>
+  </body>
+</html>
