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>
