Index: park_integration/docs/sphinx/html/api/ScipyFitting.html
===================================================================
--- park_integration/docs/sphinx/html/api/ScipyFitting.html	(revision 6b1588beb211c54e1a07de322a7d8d622bf7a70d)
+++ park_integration/docs/sphinx/html/api/ScipyFitting.html	(revision f696e2a632ecde163dfde2590079324f643870a2)
@@ -3,4 +3,5 @@
 <!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">
@@ -8,7 +9,9 @@
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     
-    <title>ScipyFitting &mdash; park_integration v0.1.0 documentation</title>
+    <title>ScipyFitting &mdash; park_integration 0.1.0 documentation</title>
+    
     <link rel="stylesheet" href="../_static/default.css" type="text/css" />
     <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
+    
     <script type="text/javascript">
       var DOCUMENTATION_OPTIONS = {
@@ -23,5 +26,5 @@
     <script type="text/javascript" src="../_static/underscore.js"></script>
     <script type="text/javascript" src="../_static/doctools.js"></script>
-    <link rel="top" title="park_integration v0.1.0 documentation" href="../index.html" />
+    <link rel="top" title="park_integration 0.1.0 documentation" href="../index.html" />
     <link rel="up" title="Reference" href="index.html" />
     <link rel="prev" title="ParkFitting" href="ParkFitting.html" /> 
@@ -40,5 +43,5 @@
           <a href="ParkFitting.html" title="ParkFitting"
              accesskey="P">previous</a> |</li>
-        <li><a href="../index.html">park_integration v0.1.0 documentation</a> &raquo;</li>
+        <li><a href="../index.html">park_integration 0.1.0 documentation</a> &raquo;</li>
           <li><a href="index.html" accesskey="U">Reference</a> &raquo;</li> 
       </ul>
@@ -52,7 +55,7 @@
   <div class="section" id="scipyfitting">
 <h1>ScipyFitting<a class="headerlink" href="#scipyfitting" title="Permalink to this headline">Â¶</a></h1>
-<div class="section" id="module-sans.fit.ScipyFitting">
-<span id="mod-sans-fit-scipyfitting"></span><h2>:mod:` sans.fit.ScipyFitting`<a class="headerlink" href="#module-sans.fit.ScipyFitting" title="Permalink to this headline">Â¶</a></h2>
-<p>ScipyFitting module contains FitArrange , ScipyFit,
+<div class="section" id="mod-sans-fit-scipyfitting">
+<h2>:mod:` sans.fit.ScipyFitting`<a class="headerlink" href="#mod-sans-fit-scipyfitting" title="Permalink to this headline">Â¶</a></h2>
+<span class="target" id="module-sans.fit.ScipyFitting"></span><p>ScipyFitting module contains FitArrange , ScipyFit,
 Parameter classes.All listed classes work together to perform a 
 simple fit with scipy optimizer.</p>
@@ -74,5 +77,5 @@
 <col class="field-body" />
 <tbody valign="top">
-<tr class="field"><th class="field-name">Note :</th><td class="field-body">Set_param() if used must always preceded set_model()
+<tr class="field-odd field"><th class="field-name">Note :</th><td class="field-body">Set_param() if used must always preceded set_model()
 for the fit to be performed.In case of Scipyfit set_param is called in
 fit () automatically.</td>
@@ -87,18 +90,45 @@
 chisqr1, out1, cov1=engine.fit({model.parameter.name:value},qmin,qmax)</p>
 <dl class="method">
+<dt id="sans.fit.ScipyFitting.ScipyFit.__init__">
+<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.fit.ScipyFitting.ScipyFit.__init__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Creates a dictionary (self.fit_arrange_dict={})of FitArrange elements
+with Uid as keys</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.fit.ScipyFitting.ScipyFit.__module__">
+<tt class="descname">__module__</tt><em class="property"> = 'sans.fit.ScipyFitting'</em><a class="headerlink" href="#sans.fit.ScipyFitting.ScipyFit.__module__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.fit.ScipyFitting.ScipyFit._check_param_range">
+<tt class="descname">_check_param_range</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.fit.ScipyFitting.ScipyFit._check_param_range" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check parameter range and set the initial value inside 
+if it is out of range.</p>
+<p>: model: park model object</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.fit.ScipyFitting.ScipyFit._get_zero_shift">
+<tt class="descname">_get_zero_shift</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.fit.ScipyFitting.ScipyFit._get_zero_shift" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Get 10% shift of the param value = 0 based on the range value</p>
+<p>: param range: min or max value of the bounds</p>
+</dd></dl>
+
+<dl class="method">
 <dt id="sans.fit.ScipyFitting.ScipyFit.fit">
-<tt class="descname">fit</tt><big>(</big><em>q=None</em>, <em>handler=None</em>, <em>curr_thread=None</em>, <em>ftol=1.49012e-008</em><big>)</big><a class="headerlink" href="#sans.fit.ScipyFitting.ScipyFit.fit" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">fit</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.fit.ScipyFitting.ScipyFit.fit" title="Permalink to this definition">Â¶</a></dt>
 <dd></dd></dl>
 
 <dl class="method">
 <dt id="sans.fit.ScipyFitting.ScipyFit.get_model">
-<tt class="descname">get_model</tt><big>(</big><em>id</em><big>)</big><a class="headerlink" href="#sans.fit.ScipyFitting.ScipyFit.get_model" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">get_model</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.fit.ScipyFitting.ScipyFit.get_model" 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"><strong>id</strong> &#8211; id is key in the dictionary containing the model to return</td>
-</tr>
-<tr class="field"><th class="field-name">Returns:</th><td class="field-body">a model at this id or None if no FitArrange element was 
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>id</strong> &#8211; id is key in the dictionary containing the model to return</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">a model at this id or None if no FitArrange element was 
 created with this id</td>
 </tr>
@@ -109,5 +139,5 @@
 <dl class="method">
 <dt id="sans.fit.ScipyFitting.ScipyFit.get_problem_to_fit">
-<tt class="descname">get_problem_to_fit</tt><big>(</big><em>id</em><big>)</big><a class="headerlink" href="#sans.fit.ScipyFitting.ScipyFit.get_problem_to_fit" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">get_problem_to_fit</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.fit.ScipyFitting.ScipyFit.get_problem_to_fit" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>return the self.selected value of the fit problem of id</p>
 <table class="docutils field-list" frame="void" rules="none">
@@ -115,5 +145,5 @@
 <col class="field-body" />
 <tbody valign="top">
-<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>id</strong> &#8211; the id of the problem</td>
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>id</strong> &#8211; the id of the problem</td>
 </tr>
 </tbody>
@@ -123,5 +153,5 @@
 <dl class="method">
 <dt id="sans.fit.ScipyFitting.ScipyFit.remove_fit_problem">
-<tt class="descname">remove_fit_problem</tt><big>(</big><em>id</em><big>)</big><a class="headerlink" href="#sans.fit.ScipyFitting.ScipyFit.remove_fit_problem" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">remove_fit_problem</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.fit.ScipyFitting.ScipyFit.remove_fit_problem" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>remove   fitarrange in id</p>
 </dd></dl>
@@ -129,5 +159,5 @@
 <dl class="method">
 <dt id="sans.fit.ScipyFitting.ScipyFit.select_problem_for_fit">
-<tt class="descname">select_problem_for_fit</tt><big>(</big><em>id</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.fit.ScipyFitting.ScipyFit.select_problem_for_fit" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">select_problem_for_fit</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.fit.ScipyFitting.ScipyFit.select_problem_for_fit" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>select a couple of model and data at the id position in dictionary
 and set in self.selected value to value</p>
@@ -136,5 +166,5 @@
 <col class="field-body" />
 <tbody valign="top">
-<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>value</strong> &#8211; the value to allow fitting. 
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>value</strong> &#8211; the value to allow fitting. 
 can only have the value one or zero</td>
 </tr>
@@ -145,5 +175,5 @@
 <dl class="method">
 <dt id="sans.fit.ScipyFitting.ScipyFit.set_data">
-<tt class="descname">set_data</tt><big>(</big><em>data</em>, <em>id</em>, <em>smearer=None</em>, <em>qmin=None</em>, <em>qmax=None</em><big>)</big><a class="headerlink" href="#sans.fit.ScipyFitting.ScipyFit.set_data" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.fit.ScipyFitting.ScipyFit.set_data" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Receives plottable, creates a list of data to fit,set data
 in a FitArrange object and adds that object in a dictionary 
@@ -153,5 +183,5 @@
 <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">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
 <li><strong>data</strong> &#8211; data added</li>
 <li><strong>id</strong> &#8211; unique key corresponding to a fitArrange object with data</li>
@@ -165,5 +195,5 @@
 <dl class="method">
 <dt id="sans.fit.ScipyFitting.ScipyFit.set_model">
-<tt class="descname">set_model</tt><big>(</big><em>model</em>, <em>id</em>, <em>pars=</em><span class="optional">[</span><span class="optional">]</span>, <em>constraints=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.fit.ScipyFitting.ScipyFit.set_model" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_model</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.fit.ScipyFitting.ScipyFit.set_model" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>set a model on a given  in the fit engine.</p>
 <table class="docutils field-list" frame="void" rules="none">
@@ -171,5 +201,5 @@
 <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 type</td>
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>model</strong> &#8211; sans.models type</td>
 </tr>
 </tbody>
@@ -183,5 +213,5 @@
 <col class="field-body" />
 <tbody valign="top">
-<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
 <li><strong>pars</strong> &#8211; the list of parameters to fit</li>
 <li><strong>constraints</strong> &#8211; <p>list of 
@@ -198,5 +228,5 @@
 </td>
 </tr>
-<tr class="field"><th class="field-name">Note :</th><td class="field-body"><p class="first last">pars must contains only name of existing model&#8217;s parameters</p>
+<tr class="field-even field"><th class="field-name">Note :</th><td class="field-body"><p class="first last">pars must contains only name of existing model&#8217;s parameters</p>
 </td>
 </tr>
@@ -204,26 +234,4 @@
 </table>
 </dd></dl>
-
-</dd></dl>
-
-<dl class="class">
-<dt id="sans.fit.ScipyFitting.fitresult">
-<em class="property">class </em><tt class="descclassname">sans.fit.ScipyFitting.</tt><tt class="descname">fitresult</tt><big>(</big><em>model=None</em>, <em>param_list=None</em><big>)</big><a class="headerlink" href="#sans.fit.ScipyFitting.fitresult" 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>Storing fit result</p>
-<dl class="method">
-<dt id="sans.fit.ScipyFitting.fitresult.print_summary">
-<tt class="descname">print_summary</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.fit.ScipyFitting.fitresult.print_summary" title="Permalink to this definition">Â¶</a></dt>
-<dd></dd></dl>
-
-<dl class="method">
-<dt id="sans.fit.ScipyFitting.fitresult.set_fitness">
-<tt class="descname">set_fitness</tt><big>(</big><em>fitness</em><big>)</big><a class="headerlink" href="#sans.fit.ScipyFitting.fitresult.set_fitness" title="Permalink to this definition">Â¶</a></dt>
-<dd></dd></dl>
-
-<dl class="method">
-<dt id="sans.fit.ScipyFitting.fitresult.set_model">
-<tt class="descname">set_model</tt><big>(</big><em>model</em><big>)</big><a class="headerlink" href="#sans.fit.ScipyFitting.fitresult.set_model" title="Permalink to this definition">Â¶</a></dt>
-<dd></dd></dl>
 
 </dd></dl>
@@ -241,5 +249,5 @@
   <ul>
 <li><a class="reference internal" href="#">ScipyFitting</a><ul>
-<li><a class="reference internal" href="#module-sans.fit.ScipyFitting">:mod:` sans.fit.ScipyFitting`</a></li>
+<li><a class="reference internal" href="#mod-sans-fit-scipyfitting">:mod:` sans.fit.ScipyFitting`</a></li>
 </ul>
 </li>
@@ -257,5 +265,5 @@
   <h3>Quick search</h3>
     <form class="search" action="../search.html" method="get">
-      <input type="text" name="q" size="18" />
+      <input type="text" name="q" />
       <input type="submit" value="Go" />
       <input type="hidden" name="check_keywords" value="yes" />
@@ -283,5 +291,5 @@
           <a href="ParkFitting.html" title="ParkFitting"
              >previous</a> |</li>
-        <li><a href="../index.html">park_integration v0.1.0 documentation</a> &raquo;</li>
+        <li><a href="../index.html">park_integration 0.1.0 documentation</a> &raquo;</li>
           <li><a href="index.html" >Reference</a> &raquo;</li> 
       </ul>
@@ -289,5 +297,5 @@
     <div class="footer">
         &copy; Copyright 2010, sans group.
-      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
+      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.
     </div>
   </body>
