Index: pr_inversion/docs/sphinx/api/distance_explorer.rst
===================================================================
--- pr_inversion/docs/sphinx/api/distance_explorer.rst	(revision d84a90c534af8d3f131c880c4fa0f3dce1b3f116)
+++ pr_inversion/docs/sphinx/api/distance_explorer.rst	(revision 888499639fdcac9ce5f05f9de8a422019fba20a0)
@@ -13,3 +13,5 @@
    :inherited-members:
    :show-inheritance:
+   :special-members:
+   :private-members:
 
Index: pr_inversion/docs/sphinx/api/invertor.rst
===================================================================
--- pr_inversion/docs/sphinx/api/invertor.rst	(revision d84a90c534af8d3f131c880c4fa0f3dce1b3f116)
+++ pr_inversion/docs/sphinx/api/invertor.rst	(revision 888499639fdcac9ce5f05f9de8a422019fba20a0)
@@ -13,3 +13,5 @@
    :inherited-members:
    :show-inheritance:
+   :special-members:
+   :private-members:
 
Index: pr_inversion/docs/sphinx/api/num_term.rst
===================================================================
--- pr_inversion/docs/sphinx/api/num_term.rst	(revision d84a90c534af8d3f131c880c4fa0f3dce1b3f116)
+++ pr_inversion/docs/sphinx/api/num_term.rst	(revision 888499639fdcac9ce5f05f9de8a422019fba20a0)
@@ -13,3 +13,5 @@
    :inherited-members:
    :show-inheritance:
+   :special-members:
+   :private-members:
 
Index: pr_inversion/docs/sphinx/genmods.py
===================================================================
--- pr_inversion/docs/sphinx/genmods.py	(revision d84a90c534af8d3f131c880c4fa0f3dce1b3f116)
+++ pr_inversion/docs/sphinx/genmods.py	(revision 888499639fdcac9ce5f05f9de8a422019fba20a0)
@@ -16,4 +16,6 @@
    :inherited-members:
    :show-inheritance:
+   :special-members:
+   :private-members:
 
 """
@@ -50,11 +52,15 @@
     with open(os.path.join(dir,'index.rst'),'w') as f:
         f.write(INDEX_TEMPLATE%locals())
+        
+modules = []
+path = os.path.dirname(os.path.join('..', '..', 'pr_inversion'))
+path = os.path.join(path, 'src', 'sans', 'pr')
+list = os.listdir(path)
 
-
-modules=[
-    ('distance_explorer', 'distance_explorer'),
-    ('invertor', 'invertor'),
-    ('num_term', 'num_term'),
-]
+for item in list:
+    toks = os.path.splitext(os.path.basename(item))
+    if toks[1]=='.py' and toks[0] not in ["__init__"]:
+        exec "module = ('%s', '%s')"%(toks[0], toks[0])
+        modules.append(module)
 package ='sans.pr'
 package_name ='Reference'
Index: pr_inversion/docs/sphinx/html/.buildinfo
===================================================================
--- pr_inversion/docs/sphinx/html/.buildinfo	(revision a7c772ea8096f970be31b02f50fc8daa9d572a54)
+++ pr_inversion/docs/sphinx/html/.buildinfo	(revision 888499639fdcac9ce5f05f9de8a422019fba20a0)
@@ -1,4 +1,4 @@
 # Sphinx build info version 1
 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
-config: e33fcce3b78882edfe8ac6abaae08878
+config: 7c9c66029a79c99968c5679f985dea3c
 tags: fbb0d17656682115ca4d033fb2f83ba1
Index: pr_inversion/docs/sphinx/html/_sources/api/distance_explorer.txt
===================================================================
--- pr_inversion/docs/sphinx/html/_sources/api/distance_explorer.txt	(revision a7c772ea8096f970be31b02f50fc8daa9d572a54)
+++ pr_inversion/docs/sphinx/html/_sources/api/distance_explorer.txt	(revision 888499639fdcac9ce5f05f9de8a422019fba20a0)
@@ -13,3 +13,5 @@
    :inherited-members:
    :show-inheritance:
+   :special-members:
+   :private-members:
 
Index: pr_inversion/docs/sphinx/html/_sources/api/invertor.txt
===================================================================
--- pr_inversion/docs/sphinx/html/_sources/api/invertor.txt	(revision a7c772ea8096f970be31b02f50fc8daa9d572a54)
+++ pr_inversion/docs/sphinx/html/_sources/api/invertor.txt	(revision 888499639fdcac9ce5f05f9de8a422019fba20a0)
@@ -13,3 +13,5 @@
    :inherited-members:
    :show-inheritance:
+   :special-members:
+   :private-members:
 
Index: pr_inversion/docs/sphinx/html/_sources/api/num_term.txt
===================================================================
--- pr_inversion/docs/sphinx/html/_sources/api/num_term.txt	(revision a7c772ea8096f970be31b02f50fc8daa9d572a54)
+++ pr_inversion/docs/sphinx/html/_sources/api/num_term.txt	(revision 888499639fdcac9ce5f05f9de8a422019fba20a0)
@@ -13,3 +13,5 @@
    :inherited-members:
    :show-inheritance:
+   :special-members:
+   :private-members:
 
Index: pr_inversion/docs/sphinx/html/_static/basic.css
===================================================================
--- pr_inversion/docs/sphinx/html/_static/basic.css	(revision a7c772ea8096f970be31b02f50fc8daa9d572a54)
+++ pr_inversion/docs/sphinx/html/_static/basic.css	(revision 888499639fdcac9ce5f05f9de8a422019fba20a0)
@@ -80,4 +80,12 @@
 }
 
+div.sphinxsidebar input[type="text"] {
+    width: 170px;
+}
+
+div.sphinxsidebar input[type="submit"] {
+    width: 30px;
+}
+
 img {
     border: 0;
@@ -237,5 +245,4 @@
 
 .align-center {
-    clear: both;
     text-align: center;
 }
@@ -441,4 +448,9 @@
 }
 
+abbr, acronym {
+    border-bottom: dotted 1px;
+    cursor: help;
+}
+
 /* -- code displays --------------------------------------------------------- */
 
Index: pr_inversion/docs/sphinx/html/_static/doctools.js
===================================================================
--- pr_inversion/docs/sphinx/html/_static/doctools.js	(revision a7c772ea8096f970be31b02f50fc8daa9d572a54)
+++ pr_inversion/docs/sphinx/html/_static/doctools.js	(revision 888499639fdcac9ce5f05f9de8a422019fba20a0)
@@ -186,7 +186,7 @@
         });
       }, 10);
-      $('<li class="highlight-link"><a href="javascript:Documentation.' +
-        'hideSearchWords()">' + _('Hide Search Matches') + '</a></li>')
-          .appendTo($('.sidebar .this-page-menu'));
+      $('<p class="highlight-link"><a href="javascript:Documentation.' +
+        'hideSearchWords()">' + _('Hide Search Matches') + '</a></p>')
+          .appendTo($('#searchbox'));
     }
   },
@@ -214,5 +214,5 @@
    */
   hideSearchWords : function() {
-    $('.sidebar .this-page-menu li.highlight-link').fadeOut(300);
+    $('#searchbox .highlight-link').fadeOut(300);
     $('span.highlighted').removeClass('highlighted');
   },
Index: pr_inversion/docs/sphinx/html/_static/searchtools.js
===================================================================
--- pr_inversion/docs/sphinx/html/_static/searchtools.js	(revision a7c772ea8096f970be31b02f50fc8daa9d572a54)
+++ pr_inversion/docs/sphinx/html/_static/searchtools.js	(revision 888499639fdcac9ce5f05f9de8a422019fba20a0)
@@ -1,5 +1,5 @@
 /*
- * searchtools.js
- * ~~~~~~~~~~~~~~
+ * searchtools.js_t
+ * ~~~~~~~~~~~~~~~~
  *
  * Sphinx JavaScript utilties for the full-text search.
@@ -37,8 +37,9 @@
 }
 
+
 /**
  * Porter Stemmer
  */
-var PorterStemmer = function() {
+var Stemmer = function() {
 
   var step2list = {
@@ -301,18 +302,18 @@
 
   query : function(query) {
-    var stopwords = ['and', 'then', 'into', 'it', 'as', 'are', 'in',
-                     'if', 'for', 'no', 'there', 'their', 'was', 'is',
-                     'be', 'to', 'that', 'but', 'they', 'not', 'such',
-                     'with', 'by', 'a', 'on', 'these', 'of', 'will',
-                     'this', 'near', 'the', 'or', 'at'];
-
-    // stem the searchterms and add them to the correct list
-    var stemmer = new PorterStemmer();
+    var stopwords = ["and","then","into","it","as","are","in","if","for","no","there","their","was","is","be","to","that","but","they","not","such","with","by","a","on","these","of","will","this","near","the","or","at"];
+
+    // Stem the searchterms and add them to the correct list
+    var stemmer = new Stemmer();
     var searchterms = [];
     var excluded = [];
     var hlterms = [];
     var tmp = query.split(/\s+/);
-    var object = (tmp.length == 1) ? tmp[0].toLowerCase() : null;
+    var objectterms = [];
     for (var i = 0; i < tmp.length; i++) {
+      if (tmp[i] != "") {
+          objectterms.push(tmp[i].toLowerCase());
+      }
+
       if ($u.indexOf(stopwords, tmp[i]) != -1 || tmp[i].match(/^\d+$/) ||
           tmp[i] == "") {
@@ -345,7 +346,4 @@
     var titles = this._index.titles;
     var terms = this._index.terms;
-    var objects = this._index.objects;
-    var objtypes = this._index.objtypes;
-    var objnames = this._index.objnames;
     var fileMap = {};
     var files = null;
@@ -358,37 +356,16 @@
 
     // lookup as object
-    if (object != null) {
-      for (var prefix in objects) {
-        for (var name in objects[prefix]) {
-          var fullname = (prefix ? prefix + '.' : '') + name;
-          if (fullname.toLowerCase().indexOf(object) > -1) {
-            match = objects[prefix][name];
-            descr = objnames[match[1]] + _(', in ') + titles[match[0]];
-            // XXX the generated anchors are not generally correct
-            // XXX there may be custom prefixes
-            result = [filenames[match[0]], fullname, '#'+fullname, descr];
-            switch (match[2]) {
-            case 1: objectResults.push(result); break;
-            case 0: importantResults.push(result); break;
-            case 2: unimportantResults.push(result); break;
-            }
-          }
-        }
-      }
-    }
-
-    // sort results descending
-    objectResults.sort(function(a, b) {
-      return (a[1] > b[1]) ? -1 : ((a[1] < b[1]) ? 1 : 0);
-    });
-
-    importantResults.sort(function(a, b) {
-      return (a[1] > b[1]) ? -1 : ((a[1] < b[1]) ? 1 : 0);
-    });
-
-    unimportantResults.sort(function(a, b) {
-      return (a[1] > b[1]) ? -1 : ((a[1] < b[1]) ? 1 : 0);
-    });
-
+    for (var i = 0; i < objectterms.length; i++) {
+      var others = [].concat(objectterms.slice(0,i),
+                             objectterms.slice(i+1, objectterms.length))
+      var results = this.performObjectSearch(objectterms[i], others);
+      // Assume first word is most likely to be the object,
+      // other words more likely to be in description.
+      // Therefore put matches for earlier words first.
+      // (Results are eventually used in reverse order).
+      objectResults = results[0].concat(objectResults);
+      importantResults = results[1].concat(importantResults);
+      unimportantResults = results[2].concat(unimportantResults);
+    }
 
     // perform the search on the required terms
@@ -490,5 +467,5 @@
               displayNextItem();
             });
-          });
+          }, "text");
         } else {
           // no source available, just display title
@@ -511,4 +488,69 @@
     }
     displayNextItem();
+  },
+
+  performObjectSearch : function(object, otherterms) {
+    var filenames = this._index.filenames;
+    var objects = this._index.objects;
+    var objnames = this._index.objnames;
+    var titles = this._index.titles;
+
+    var importantResults = [];
+    var objectResults = [];
+    var unimportantResults = [];
+
+    for (var prefix in objects) {
+      for (var name in objects[prefix]) {
+        var fullname = (prefix ? prefix + '.' : '') + name;
+        if (fullname.toLowerCase().indexOf(object) > -1) {
+          var match = objects[prefix][name];
+          var objname = objnames[match[1]][2];
+          var title = titles[match[0]];
+          // If more than one term searched for, we require other words to be
+          // found in the name/title/description
+          if (otherterms.length > 0) {
+            var haystack = (prefix + ' ' + name + ' ' +
+                            objname + ' ' + title).toLowerCase();
+            var allfound = true;
+            for (var i = 0; i < otherterms.length; i++) {
+              if (haystack.indexOf(otherterms[i]) == -1) {
+                allfound = false;
+                break;
+              }
+            }
+            if (!allfound) {
+              continue;
+            }
+          }
+          var descr = objname + _(', in ') + title;
+          anchor = match[3];
+          if (anchor == '')
+            anchor = fullname;
+          else if (anchor == '-')
+            anchor = objnames[match[1]][1] + '-' + fullname;
+          result = [filenames[match[0]], fullname, '#'+anchor, descr];
+          switch (match[2]) {
+          case 1: objectResults.push(result); break;
+          case 0: importantResults.push(result); break;
+          case 2: unimportantResults.push(result); break;
+          }
+        }
+      }
+    }
+
+    // sort results descending
+    objectResults.sort(function(a, b) {
+      return (a[1] > b[1]) ? -1 : ((a[1] < b[1]) ? 1 : 0);
+    });
+
+    importantResults.sort(function(a, b) {
+      return (a[1] > b[1]) ? -1 : ((a[1] < b[1]) ? 1 : 0);
+    });
+
+    unimportantResults.sort(function(a, b) {
+      return (a[1] > b[1]) ? -1 : ((a[1] < b[1]) ? 1 : 0);
+    });
+
+    return [importantResults, objectResults, unimportantResults]
   }
 }
Index: pr_inversion/docs/sphinx/html/_static/sidebar.js
===================================================================
--- pr_inversion/docs/sphinx/html/_static/sidebar.js	(revision a7c772ea8096f970be31b02f50fc8daa9d572a54)
+++ pr_inversion/docs/sphinx/html/_static/sidebar.js	(revision 888499639fdcac9ce5f05f9de8a422019fba20a0)
@@ -29,4 +29,7 @@
   var sidebar = $('.sphinxsidebar');
   var sidebarwrapper = $('.sphinxsidebarwrapper');
+
+  // for some reason, the document has no sidebar; do not run into errors
+  if (!sidebar.length) return;
 
   // original margin-left of the bodywrapper and width of the sidebar
Index: pr_inversion/docs/sphinx/html/_static/underscore.js
===================================================================
--- pr_inversion/docs/sphinx/html/_static/underscore.js	(revision a7c772ea8096f970be31b02f50fc8daa9d572a54)
+++ pr_inversion/docs/sphinx/html/_static/underscore.js	(revision 888499639fdcac9ce5f05f9de8a422019fba20a0)
@@ -1,2 +1,9 @@
+// Underscore.js 0.5.5
+// (c) 2009 Jeremy Ashkenas, DocumentCloud Inc.
+// Underscore is freely distributable under the terms of the MIT license.
+// Portions of Underscore are inspired by or borrowed from Prototype.js,
+// Oliver Steele's Functional, and John Resig's Micro-Templating.
+// For all details and documentation:
+// http://documentcloud.github.com/underscore/
 (function(){var j=this,n=j._,i=function(a){this._wrapped=a},m=typeof StopIteration!=="undefined"?StopIteration:"__break__",b=j._=function(a){return new i(a)};if(typeof exports!=="undefined")exports._=b;var k=Array.prototype.slice,o=Array.prototype.unshift,p=Object.prototype.toString,q=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;b.VERSION="0.5.5";b.each=function(a,c,d){try{if(a.forEach)a.forEach(c,d);else if(b.isArray(a)||b.isArguments(a))for(var e=0,f=a.length;e<f;e++)c.call(d,
 a[e],e,a);else{var g=b.keys(a);f=g.length;for(e=0;e<f;e++)c.call(d,a[g[e]],g[e],a)}}catch(h){if(h!=m)throw h;}return a};b.map=function(a,c,d){if(a&&b.isFunction(a.map))return a.map(c,d);var e=[];b.each(a,function(f,g,h){e.push(c.call(d,f,g,h))});return e};b.reduce=function(a,c,d,e){if(a&&b.isFunction(a.reduce))return a.reduce(b.bind(d,e),c);b.each(a,function(f,g,h){c=d.call(e,c,f,g,h)});return c};b.reduceRight=function(a,c,d,e){if(a&&b.isFunction(a.reduceRight))return a.reduceRight(b.bind(d,e),c);
Index: pr_inversion/docs/sphinx/html/_static/websupport.js
===================================================================
--- pr_inversion/docs/sphinx/html/_static/websupport.js	(revision 888499639fdcac9ce5f05f9de8a422019fba20a0)
+++ pr_inversion/docs/sphinx/html/_static/websupport.js	(revision 888499639fdcac9ce5f05f9de8a422019fba20a0)
@@ -0,0 +1,808 @@
+/*
+ * websupport.js
+ * ~~~~~~~~~~~~~
+ *
+ * sphinx.websupport utilties for all documentation.
+ *
+ * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
+ * :license: BSD, see LICENSE for details.
+ *
+ */
+
+(function($) {
+  $.fn.autogrow = function() {
+    return this.each(function() {
+    var textarea = this;
+
+    $.fn.autogrow.resize(textarea);
+
+    $(textarea)
+      .focus(function() {
+        textarea.interval = setInterval(function() {
+          $.fn.autogrow.resize(textarea);
+        }, 500);
+      })
+      .blur(function() {
+        clearInterval(textarea.interval);
+      });
+    });
+  };
+
+  $.fn.autogrow.resize = function(textarea) {
+    var lineHeight = parseInt($(textarea).css('line-height'), 10);
+    var lines = textarea.value.split('\n');
+    var columns = textarea.cols;
+    var lineCount = 0;
+    $.each(lines, function() {
+      lineCount += Math.ceil(this.length / columns) || 1;
+    });
+    var height = lineHeight * (lineCount + 1);
+    $(textarea).css('height', height);
+  };
+})(jQuery);
+
+(function($) {
+  var comp, by;
+
+  function init() {
+    initEvents();
+    initComparator();
+  }
+
+  function initEvents() {
+    $('a.comment-close').live("click", function(event) {
+      event.preventDefault();
+      hide($(this).attr('id').substring(2));
+    });
+    $('a.vote').live("click", function(event) {
+      event.preventDefault();
+      handleVote($(this));
+    });
+    $('a.reply').live("click", function(event) {
+      event.preventDefault();
+      openReply($(this).attr('id').substring(2));
+    });
+    $('a.close-reply').live("click", function(event) {
+      event.preventDefault();
+      closeReply($(this).attr('id').substring(2));
+    });
+    $('a.sort-option').live("click", function(event) {
+      event.preventDefault();
+      handleReSort($(this));
+    });
+    $('a.show-proposal').live("click", function(event) {
+      event.preventDefault();
+      showProposal($(this).attr('id').substring(2));
+    });
+    $('a.hide-proposal').live("click", function(event) {
+      event.preventDefault();
+      hideProposal($(this).attr('id').substring(2));
+    });
+    $('a.show-propose-change').live("click", function(event) {
+      event.preventDefault();
+      showProposeChange($(this).attr('id').substring(2));
+    });
+    $('a.hide-propose-change').live("click", function(event) {
+      event.preventDefault();
+      hideProposeChange($(this).attr('id').substring(2));
+    });
+    $('a.accept-comment').live("click", function(event) {
+      event.preventDefault();
+      acceptComment($(this).attr('id').substring(2));
+    });
+    $('a.delete-comment').live("click", function(event) {
+      event.preventDefault();
+      deleteComment($(this).attr('id').substring(2));
+    });
+    $('a.comment-markup').live("click", function(event) {
+      event.preventDefault();
+      toggleCommentMarkupBox($(this).attr('id').substring(2));
+    });
+  }
+
+  /**
+   * Set comp, which is a comparator function used for sorting and
+   * inserting comments into the list.
+   */
+  function setComparator() {
+    // If the first three letters are "asc", sort in ascending order
+    // and remove the prefix.
+    if (by.substring(0,3) == 'asc') {
+      var i = by.substring(3);
+      comp = function(a, b) { return a[i] - b[i]; };
+    } else {
+      // Otherwise sort in descending order.
+      comp = function(a, b) { return b[by] - a[by]; };
+    }
+
+    // Reset link styles and format the selected sort option.
+    $('a.sel').attr('href', '#').removeClass('sel');
+    $('a.by' + by).removeAttr('href').addClass('sel');
+  }
+
+  /**
+   * Create a comp function. If the user has preferences stored in
+   * the sortBy cookie, use those, otherwise use the default.
+   */
+  function initComparator() {
+    by = 'rating'; // Default to sort by rating.
+    // If the sortBy cookie is set, use that instead.
+    if (document.cookie.length > 0) {
+      var start = document.cookie.indexOf('sortBy=');
+      if (start != -1) {
+        start = start + 7;
+        var end = document.cookie.indexOf(";", start);
+        if (end == -1) {
+          end = document.cookie.length;
+          by = unescape(document.cookie.substring(start, end));
+        }
+      }
+    }
+    setComparator();
+  }
+
+  /**
+   * Show a comment div.
+   */
+  function show(id) {
+    $('#ao' + id).hide();
+    $('#ah' + id).show();
+    var context = $.extend({id: id}, opts);
+    var popup = $(renderTemplate(popupTemplate, context)).hide();
+    popup.find('textarea[name="proposal"]').hide();
+    popup.find('a.by' + by).addClass('sel');
+    var form = popup.find('#cf' + id);
+    form.submit(function(event) {
+      event.preventDefault();
+      addComment(form);
+    });
+    $('#s' + id).after(popup);
+    popup.slideDown('fast', function() {
+      getComments(id);
+    });
+  }
+
+  /**
+   * Hide a comment div.
+   */
+  function hide(id) {
+    $('#ah' + id).hide();
+    $('#ao' + id).show();
+    var div = $('#sc' + id);
+    div.slideUp('fast', function() {
+      div.remove();
+    });
+  }
+
+  /**
+   * Perform an ajax request to get comments for a node
+   * and insert the comments into the comments tree.
+   */
+  function getComments(id) {
+    $.ajax({
+     type: 'GET',
+     url: opts.getCommentsURL,
+     data: {node: id},
+     success: function(data, textStatus, request) {
+       var ul = $('#cl' + id);
+       var speed = 100;
+       $('#cf' + id)
+         .find('textarea[name="proposal"]')
+         .data('source', data.source);
+
+       if (data.comments.length === 0) {
+         ul.html('<li>No comments yet.</li>');
+         ul.data('empty', true);
+       } else {
+         // If there are comments, sort them and put them in the list.
+         var comments = sortComments(data.comments);
+         speed = data.comments.length * 100;
+         appendComments(comments, ul);
+         ul.data('empty', false);
+       }
+       $('#cn' + id).slideUp(speed + 200);
+       ul.slideDown(speed);
+     },
+     error: function(request, textStatus, error) {
+       showError('Oops, there was a problem retrieving the comments.');
+     },
+     dataType: 'json'
+    });
+  }
+
+  /**
+   * Add a comment via ajax and insert the comment into the comment tree.
+   */
+  function addComment(form) {
+    var node_id = form.find('input[name="node"]').val();
+    var parent_id = form.find('input[name="parent"]').val();
+    var text = form.find('textarea[name="comment"]').val();
+    var proposal = form.find('textarea[name="proposal"]').val();
+
+    if (text == '') {
+      showError('Please enter a comment.');
+      return;
+    }
+
+    // Disable the form that is being submitted.
+    form.find('textarea,input').attr('disabled', 'disabled');
+
+    // Send the comment to the server.
+    $.ajax({
+      type: "POST",
+      url: opts.addCommentURL,
+      dataType: 'json',
+      data: {
+        node: node_id,
+        parent: parent_id,
+        text: text,
+        proposal: proposal
+      },
+      success: function(data, textStatus, error) {
+        // Reset the form.
+        if (node_id) {
+          hideProposeChange(node_id);
+        }
+        form.find('textarea')
+          .val('')
+          .add(form.find('input'))
+          .removeAttr('disabled');
+	var ul = $('#cl' + (node_id || parent_id));
+        if (ul.data('empty')) {
+          $(ul).empty();
+          ul.data('empty', false);
+        }
+        insertComment(data.comment);
+        var ao = $('#ao' + node_id);
+        ao.find('img').attr({'src': opts.commentBrightImage});
+        if (node_id) {
+          // if this was a "root" comment, remove the commenting box
+          // (the user can get it back by reopening the comment popup)
+          $('#ca' + node_id).slideUp();
+        }
+      },
+      error: function(request, textStatus, error) {
+        form.find('textarea,input').removeAttr('disabled');
+        showError('Oops, there was a problem adding the comment.');
+      }
+    });
+  }
+
+  /**
+   * Recursively append comments to the main comment list and children
+   * lists, creating the comment tree.
+   */
+  function appendComments(comments, ul) {
+    $.each(comments, function() {
+      var div = createCommentDiv(this);
+      ul.append($(document.createElement('li')).html(div));
+      appendComments(this.children, div.find('ul.comment-children'));
+      // To avoid stagnating data, don't store the comments children in data.
+      this.children = null;
+      div.data('comment', this);
+    });
+  }
+
+  /**
+   * After adding a new comment, it must be inserted in the correct
+   * location in the comment tree.
+   */
+  function insertComment(comment) {
+    var div = createCommentDiv(comment);
+
+    // To avoid stagnating data, don't store the comments children in data.
+    comment.children = null;
+    div.data('comment', comment);
+
+    var ul = $('#cl' + (comment.node || comment.parent));
+    var siblings = getChildren(ul);
+
+    var li = $(document.createElement('li'));
+    li.hide();
+
+    // Determine where in the parents children list to insert this comment.
+    for(i=0; i < siblings.length; i++) {
+      if (comp(comment, siblings[i]) <= 0) {
+        $('#cd' + siblings[i].id)
+          .parent()
+          .before(li.html(div));
+        li.slideDown('fast');
+        return;
+      }
+    }
+
+    // If we get here, this comment rates lower than all the others,
+    // or it is the only comment in the list.
+    ul.append(li.html(div));
+    li.slideDown('fast');
+  }
+
+  function acceptComment(id) {
+    $.ajax({
+      type: 'POST',
+      url: opts.acceptCommentURL,
+      data: {id: id},
+      success: function(data, textStatus, request) {
+        $('#cm' + id).fadeOut('fast');
+        $('#cd' + id).removeClass('moderate');
+      },
+      error: function(request, textStatus, error) {
+        showError('Oops, there was a problem accepting the comment.');
+      }
+    });
+  }
+
+  function deleteComment(id) {
+    $.ajax({
+      type: 'POST',
+      url: opts.deleteCommentURL,
+      data: {id: id},
+      success: function(data, textStatus, request) {
+        var div = $('#cd' + id);
+        if (data == 'delete') {
+          // Moderator mode: remove the comment and all children immediately
+          div.slideUp('fast', function() {
+            div.remove();
+          });
+          return;
+        }
+        // User mode: only mark the comment as deleted
+        div
+          .find('span.user-id:first')
+          .text('[deleted]').end()
+          .find('div.comment-text:first')
+          .text('[deleted]').end()
+          .find('#cm' + id + ', #dc' + id + ', #ac' + id + ', #rc' + id +
+                ', #sp' + id + ', #hp' + id + ', #cr' + id + ', #rl' + id)
+          .remove();
+        var comment = div.data('comment');
+        comment.username = '[deleted]';
+        comment.text = '[deleted]';
+        div.data('comment', comment);
+      },
+      error: function(request, textStatus, error) {
+        showError('Oops, there was a problem deleting the comment.');
+      }
+    });
+  }
+
+  function showProposal(id) {
+    $('#sp' + id).hide();
+    $('#hp' + id).show();
+    $('#pr' + id).slideDown('fast');
+  }
+
+  function hideProposal(id) {
+    $('#hp' + id).hide();
+    $('#sp' + id).show();
+    $('#pr' + id).slideUp('fast');
+  }
+
+  function showProposeChange(id) {
+    $('#pc' + id).hide();
+    $('#hc' + id).show();
+    var textarea = $('#pt' + id);
+    textarea.val(textarea.data('source'));
+    $.fn.autogrow.resize(textarea[0]);
+    textarea.slideDown('fast');
+  }
+
+  function hideProposeChange(id) {
+    $('#hc' + id).hide();
+    $('#pc' + id).show();
+    var textarea = $('#pt' + id);
+    textarea.val('').removeAttr('disabled');
+    textarea.slideUp('fast');
+  }
+
+  function toggleCommentMarkupBox(id) {
+    $('#mb' + id).toggle();
+  }
+
+  /** Handle when the user clicks on a sort by link. */
+  function handleReSort(link) {
+    var classes = link.attr('class').split(/\s+/);
+    for (var i=0; i<classes.length; i++) {
+      if (classes[i] != 'sort-option') {
+	by = classes[i].substring(2);
+      }
+    }
+    setComparator();
+    // Save/update the sortBy cookie.
+    var expiration = new Date();
+    expiration.setDate(expiration.getDate() + 365);
+    document.cookie= 'sortBy=' + escape(by) +
+                     ';expires=' + expiration.toUTCString();
+    $('ul.comment-ul').each(function(index, ul) {
+      var comments = getChildren($(ul), true);
+      comments = sortComments(comments);
+      appendComments(comments, $(ul).empty());
+    });
+  }
+
+  /**
+   * Function to process a vote when a user clicks an arrow.
+   */
+  function handleVote(link) {
+    if (!opts.voting) {
+      showError("You'll need to login to vote.");
+      return;
+    }
+
+    var id = link.attr('id');
+    if (!id) {
+      // Didn't click on one of the voting arrows.
+      return;
+    }
+    // If it is an unvote, the new vote value is 0,
+    // Otherwise it's 1 for an upvote, or -1 for a downvote.
+    var value = 0;
+    if (id.charAt(1) != 'u') {
+      value = id.charAt(0) == 'u' ? 1 : -1;
+    }
+    // The data to be sent to the server.
+    var d = {
+      comment_id: id.substring(2),
+      value: value
+    };
+
+    // Swap the vote and unvote links.
+    link.hide();
+    $('#' + id.charAt(0) + (id.charAt(1) == 'u' ? 'v' : 'u') + d.comment_id)
+      .show();
+
+    // The div the comment is displayed in.
+    var div = $('div#cd' + d.comment_id);
+    var data = div.data('comment');
+
+    // If this is not an unvote, and the other vote arrow has
+    // already been pressed, unpress it.
+    if ((d.value !== 0) && (data.vote === d.value * -1)) {
+      $('#' + (d.value == 1 ? 'd' : 'u') + 'u' + d.comment_id).hide();
+      $('#' + (d.value == 1 ? 'd' : 'u') + 'v' + d.comment_id).show();
+    }
+
+    // Update the comments rating in the local data.
+    data.rating += (data.vote === 0) ? d.value : (d.value - data.vote);
+    data.vote = d.value;
+    div.data('comment', data);
+
+    // Change the rating text.
+    div.find('.rating:first')
+      .text(data.rating + ' point' + (data.rating == 1 ? '' : 's'));
+
+    // Send the vote information to the server.
+    $.ajax({
+      type: "POST",
+      url: opts.processVoteURL,
+      data: d,
+      error: function(request, textStatus, error) {
+        showError('Oops, there was a problem casting that vote.');
+      }
+    });
+  }
+
+  /**
+   * Open a reply form used to reply to an existing comment.
+   */
+  function openReply(id) {
+    // Swap out the reply link for the hide link
+    $('#rl' + id).hide();
+    $('#cr' + id).show();
+
+    // Add the reply li to the children ul.
+    var div = $(renderTemplate(replyTemplate, {id: id})).hide();
+    $('#cl' + id)
+      .prepend(div)
+      // Setup the submit handler for the reply form.
+      .find('#rf' + id)
+      .submit(function(event) {
+        event.preventDefault();
+        addComment($('#rf' + id));
+        closeReply(id);
+      })
+      .find('input[type=button]')
+      .click(function() {
+        closeReply(id);
+      });
+    div.slideDown('fast', function() {
+      $('#rf' + id).find('textarea').focus();
+    });
+  }
+
+  /**
+   * Close the reply form opened with openReply.
+   */
+  function closeReply(id) {
+    // Remove the reply div from the DOM.
+    $('#rd' + id).slideUp('fast', function() {
+      $(this).remove();
+    });
+
+    // Swap out the hide link for the reply link
+    $('#cr' + id).hide();
+    $('#rl' + id).show();
+  }
+
+  /**
+   * Recursively sort a tree of comments using the comp comparator.
+   */
+  function sortComments(comments) {
+    comments.sort(comp);
+    $.each(comments, function() {
+      this.children = sortComments(this.children);
+    });
+    return comments;
+  }
+
+  /**
+   * Get the children comments from a ul. If recursive is true,
+   * recursively include childrens' children.
+   */
+  function getChildren(ul, recursive) {
+    var children = [];
+    ul.children().children("[id^='cd']")
+      .each(function() {
+        var comment = $(this).data('comment');
+        if (recursive)
+          comment.children = getChildren($(this).find('#cl' + comment.id), true);
+        children.push(comment);
+      });
+    return children;
+  }
+
+  /** Create a div to display a comment in. */
+  function createCommentDiv(comment) {
+    if (!comment.displayed && !opts.moderator) {
+      return $('<div class="moderate">Thank you!  Your comment will show up '
+               + 'once it is has been approved by a moderator.</div>');
+    }
+    // Prettify the comment rating.
+    comment.pretty_rating = comment.rating + ' point' +
+      (comment.rating == 1 ? '' : 's');
+    // Make a class (for displaying not yet moderated comments differently)
+    comment.css_class = comment.displayed ? '' : ' moderate';
+    // Create a div for this comment.
+    var context = $.extend({}, opts, comment);
+    var div = $(renderTemplate(commentTemplate, context));
+
+    // If the user has voted on this comment, highlight the correct arrow.
+    if (comment.vote) {
+      var direction = (comment.vote == 1) ? 'u' : 'd';
+      div.find('#' + direction + 'v' + comment.id).hide();
+      div.find('#' + direction + 'u' + comment.id).show();
+    }
+
+    if (opts.moderator || comment.text != '[deleted]') {
+      div.find('a.reply').show();
+      if (comment.proposal_diff)
+        div.find('#sp' + comment.id).show();
+      if (opts.moderator && !comment.displayed)
+        div.find('#cm' + comment.id).show();
+      if (opts.moderator || (opts.username == comment.username))
+        div.find('#dc' + comment.id).show();
+    }
+    return div;
+  }
+
+  /**
+   * A simple template renderer. Placeholders such as <%id%> are replaced
+   * by context['id'] with items being escaped. Placeholders such as <#id#>
+   * are not escaped.
+   */
+  function renderTemplate(template, context) {
+    var esc = $(document.createElement('div'));
+
+    function handle(ph, escape) {
+      var cur = context;
+      $.each(ph.split('.'), function() {
+        cur = cur[this];
+      });
+      return escape ? esc.text(cur || "").html() : cur;
+    }
+
+    return template.replace(/<([%#])([\w\.]*)\1>/g, function() {
+      return handle(arguments[2], arguments[1] == '%' ? true : false);
+    });
+  }
+
+  /** Flash an error message briefly. */
+  function showError(message) {
+    $(document.createElement('div')).attr({'class': 'popup-error'})
+      .append($(document.createElement('div'))
+               .attr({'class': 'error-message'}).text(message))
+      .appendTo('body')
+      .fadeIn("slow")
+      .delay(2000)
+      .fadeOut("slow");
+  }
+
+  /** Add a link the user uses to open the comments popup. */
+  $.fn.comment = function() {
+    return this.each(function() {
+      var id = $(this).attr('id').substring(1);
+      var count = COMMENT_METADATA[id];
+      var title = count + ' comment' + (count == 1 ? '' : 's');
+      var image = count > 0 ? opts.commentBrightImage : opts.commentImage;
+      var addcls = count == 0 ? ' nocomment' : '';
+      $(this)
+        .append(
+          $(document.createElement('a')).attr({
+            href: '#',
+            'class': 'sphinx-comment-open' + addcls,
+            id: 'ao' + id
+          })
+            .append($(document.createElement('img')).attr({
+              src: image,
+              alt: 'comment',
+              title: title
+            }))
+            .click(function(event) {
+              event.preventDefault();
+              show($(this).attr('id').substring(2));
+            })
+        )
+        .append(
+          $(document.createElement('a')).attr({
+            href: '#',
+            'class': 'sphinx-comment-close hidden',
+            id: 'ah' + id
+          })
+            .append($(document.createElement('img')).attr({
+              src: opts.closeCommentImage,
+              alt: 'close',
+              title: 'close'
+            }))
+            .click(function(event) {
+              event.preventDefault();
+              hide($(this).attr('id').substring(2));
+            })
+        );
+    });
+  };
+
+  var opts = {
+    processVoteURL: '/_process_vote',
+    addCommentURL: '/_add_comment',
+    getCommentsURL: '/_get_comments',
+    acceptCommentURL: '/_accept_comment',
+    deleteCommentURL: '/_delete_comment',
+    commentImage: '/static/_static/comment.png',
+    closeCommentImage: '/static/_static/comment-close.png',
+    loadingImage: '/static/_static/ajax-loader.gif',
+    commentBrightImage: '/static/_static/comment-bright.png',
+    upArrow: '/static/_static/up.png',
+    downArrow: '/static/_static/down.png',
+    upArrowPressed: '/static/_static/up-pressed.png',
+    downArrowPressed: '/static/_static/down-pressed.png',
+    voting: false,
+    moderator: false
+  };
+
+  if (typeof COMMENT_OPTIONS != "undefined") {
+    opts = jQuery.extend(opts, COMMENT_OPTIONS);
+  }
+
+  var popupTemplate = '\
+    <div class="sphinx-comments" id="sc<%id%>">\
+      <p class="sort-options">\
+        Sort by:\
+        <a href="#" class="sort-option byrating">best rated</a>\
+        <a href="#" class="sort-option byascage">newest</a>\
+        <a href="#" class="sort-option byage">oldest</a>\
+      </p>\
+      <div class="comment-header">Comments</div>\
+      <div class="comment-loading" id="cn<%id%>">\
+        loading comments... <img src="<%loadingImage%>" alt="" /></div>\
+      <ul id="cl<%id%>" class="comment-ul"></ul>\
+      <div id="ca<%id%>">\
+      <p class="add-a-comment">Add a comment\
+        (<a href="#" class="comment-markup" id="ab<%id%>">markup</a>):</p>\
+      <div class="comment-markup-box" id="mb<%id%>">\
+        reStructured text markup: <i>*emph*</i>, <b>**strong**</b>, \
+        <tt>``code``</tt>, \
+        code blocks: <tt>::</tt> and an indented block after blank line</div>\
+      <form method="post" id="cf<%id%>" class="comment-form" action="">\
+        <textarea name="comment" cols="80"></textarea>\
+        <p class="propose-button">\
+          <a href="#" id="pc<%id%>" class="show-propose-change">\
+            Propose a change &#9657;\
+          </a>\
+          <a href="#" id="hc<%id%>" class="hide-propose-change">\
+            Propose a change &#9663;\
+          </a>\
+        </p>\
+        <textarea name="proposal" id="pt<%id%>" cols="80"\
+                  spellcheck="false"></textarea>\
+        <input type="submit" value="Add comment" />\
+        <input type="hidden" name="node" value="<%id%>" />\
+        <input type="hidden" name="parent" value="" />\
+      </form>\
+      </div>\
+    </div>';
+
+  var commentTemplate = '\
+    <div id="cd<%id%>" class="sphinx-comment<%css_class%>">\
+      <div class="vote">\
+        <div class="arrow">\
+          <a href="#" id="uv<%id%>" class="vote" title="vote up">\
+            <img src="<%upArrow%>" />\
+          </a>\
+          <a href="#" id="uu<%id%>" class="un vote" title="vote up">\
+            <img src="<%upArrowPressed%>" />\
+          </a>\
+        </div>\
+        <div class="arrow">\
+          <a href="#" id="dv<%id%>" class="vote" title="vote down">\
+            <img src="<%downArrow%>" id="da<%id%>" />\
+          </a>\
+          <a href="#" id="du<%id%>" class="un vote" title="vote down">\
+            <img src="<%downArrowPressed%>" />\
+          </a>\
+        </div>\
+      </div>\
+      <div class="comment-content">\
+        <p class="tagline comment">\
+          <span class="user-id"><%username%></span>\
+          <span class="rating"><%pretty_rating%></span>\
+          <span class="delta"><%time.delta%></span>\
+        </p>\
+        <div class="comment-text comment"><#text#></div>\
+        <p class="comment-opts comment">\
+          <a href="#" class="reply hidden" id="rl<%id%>">reply &#9657;</a>\
+          <a href="#" class="close-reply" id="cr<%id%>">reply &#9663;</a>\
+          <a href="#" id="sp<%id%>" class="show-proposal">proposal &#9657;</a>\
+          <a href="#" id="hp<%id%>" class="hide-proposal">proposal &#9663;</a>\
+          <a href="#" id="dc<%id%>" class="delete-comment hidden">delete</a>\
+          <span id="cm<%id%>" class="moderation hidden">\
+            <a href="#" id="ac<%id%>" class="accept-comment">accept</a>\
+          </span>\
+        </p>\
+        <pre class="proposal" id="pr<%id%>">\
+<#proposal_diff#>\
+        </pre>\
+          <ul class="comment-children" id="cl<%id%>"></ul>\
+        </div>\
+        <div class="clearleft"></div>\
+      </div>\
+    </div>';
+
+  var replyTemplate = '\
+    <li>\
+      <div class="reply-div" id="rd<%id%>">\
+        <form id="rf<%id%>">\
+          <textarea name="comment" cols="80"></textarea>\
+          <input type="submit" value="Add reply" />\
+          <input type="button" value="Cancel" />\
+          <input type="hidden" name="parent" value="<%id%>" />\
+          <input type="hidden" name="node" value="" />\
+        </form>\
+      </div>\
+    </li>';
+
+  $(document).ready(function() {
+    init();
+  });
+})(jQuery);
+
+$(document).ready(function() {
+  // add comment anchors for all paragraphs that are commentable
+  $('.sphinx-has-comment').comment();
+
+  // highlight search words in search results
+  $("div.context").each(function() {
+    var params = $.getQueryParameters();
+    var terms = (params.q) ? params.q[0].split(/\s+/) : [];
+    var result = $(this);
+    $.each(terms, function() {
+      result.highlightText(this.toLowerCase(), 'highlighted');
+    });
+  });
+
+  // directly open comment window if requested
+  var anchor = document.location.hash;
+  if (anchor.substring(0, 9) == '#comment-') {
+    $('#ao' + anchor.substring(9)).click();
+    document.location.hash = '#s' + anchor.substring(9);
+  }
+});
Index: pr_inversion/docs/sphinx/html/api/distance_explorer.html
===================================================================
--- pr_inversion/docs/sphinx/html/api/distance_explorer.html	(revision a7c772ea8096f970be31b02f50fc8daa9d572a54)
+++ pr_inversion/docs/sphinx/html/api/distance_explorer.html	(revision 888499639fdcac9ce5f05f9de8a422019fba20a0)
@@ -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>distance_explorer &mdash; pr_inversion v0.1.0 documentation</title>
+    <title>distance_explorer &mdash; pr_inversion 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="pr_inversion v0.1.0 documentation" href="../index.html" />
+    <link rel="top" title="pr_inversion 0.1.0 documentation" href="../index.html" />
     <link rel="up" title="Reference" href="index.html" />
     <link rel="next" title="invertor" href="invertor.html" />
@@ -44,5 +47,5 @@
           <a href="index.html" title="Reference"
              accesskey="P">previous</a> |</li>
-        <li><a href="../index.html">pr_inversion v0.1.0 documentation</a> &raquo;</li>
+        <li><a href="../index.html">pr_inversion 0.1.0 documentation</a> &raquo;</li>
           <li><a href="index.html" accesskey="U">Reference</a> &raquo;</li> 
       </ul>
@@ -56,7 +59,7 @@
   <div class="section" id="distance-explorer">
 <h1>distance_explorer<a class="headerlink" href="#distance-explorer" title="Permalink to this headline">Â¶</a></h1>
-<div class="section" id="module-sans.pr.distance_explorer">
-<span id="sans-pr-distance-explorer"></span><h2><a class="reference internal" href="#module-sans.pr.distance_explorer" title="sans.pr.distance_explorer"><tt class="xref py py-mod docutils literal"><span class="pre">sans.pr.distance_explorer</span></tt></a><a class="headerlink" href="#module-sans.pr.distance_explorer" title="Permalink to this headline">Â¶</a></h2>
-<p>Module to explore the P(r) inversion results for a range
+<div class="section" id="sans-pr-distance-explorer">
+<h2><a class="reference internal" href="#module-sans.pr.distance_explorer" title="sans.pr.distance_explorer"><tt class="xref py py-mod docutils literal"><span class="pre">sans.pr.distance_explorer</span></tt></a><a class="headerlink" href="#sans-pr-distance-explorer" title="Permalink to this headline">Â¶</a></h2>
+<span class="target" id="module-sans.pr.distance_explorer"></span><p>Module to explore the P(r) inversion results for a range
 of D_max value. User picks a number of points and a range of
 distances, then get a series of outputs as a function of D_max
@@ -64,7 +67,115 @@
 <dl class="class">
 <dt id="sans.pr.distance_explorer.DistExplorer">
-<em class="property">class </em><tt class="descclassname">sans.pr.distance_explorer.</tt><tt class="descname">DistExplorer</tt><big>(</big><em>pr_state</em><big>)</big><a class="headerlink" href="#sans.pr.distance_explorer.DistExplorer" title="Permalink to this definition">Â¶</a></dt>
+<em class="property">class </em><tt class="descclassname">sans.pr.distance_explorer.</tt><tt class="descname">DistExplorer</tt><a class="headerlink" href="#sans.pr.distance_explorer.DistExplorer" 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>The explorer class</p>
+<dl class="method">
+<dt id="sans.pr.distance_explorer.DistExplorer.__call__">
+<tt class="descname">__call__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.distance_explorer.DistExplorer.__call__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Compute the outputs as a function of D_max.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>dmin</strong> &#8211; minimum value for D_max</li>
+<li><strong>dmax</strong> &#8211; maximum value for D_max</li>
+<li><strong>npts</strong> &#8211; number of points for D_max</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.pr.distance_explorer.DistExplorer.__class__">
+<tt class="descname">__class__</tt><a class="headerlink" href="#sans.pr.distance_explorer.DistExplorer.__class__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.pr.distance_explorer.DistExplorer.__delattr__">
+<tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.pr.distance_explorer.DistExplorer.__delattr__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.pr.distance_explorer.DistExplorer.__dict__">
+<tt class="descname">__dict__</tt><em class="property"> = &lt;dictproxy object at 0x018F9B90&gt;</em><a class="headerlink" href="#sans.pr.distance_explorer.DistExplorer.__dict__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="sans.pr.distance_explorer.DistExplorer.__getattribute__">
+<tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.pr.distance_explorer.DistExplorer.__getattribute__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.pr.distance_explorer.DistExplorer.__hash__">
+<tt class="descname">__hash__</tt><a class="headerlink" href="#sans.pr.distance_explorer.DistExplorer.__hash__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__hash__() &lt;==&gt; hash(x)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.pr.distance_explorer.DistExplorer.__init__">
+<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.distance_explorer.DistExplorer.__init__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Initialization.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>pr_state</strong> &#8211; sans.pr.invertor.Invertor object</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.pr.distance_explorer.DistExplorer.__module__">
+<tt class="descname">__module__</tt><em class="property"> = 'sans.pr.distance_explorer'</em><a class="headerlink" href="#sans.pr.distance_explorer.DistExplorer.__module__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="staticmethod">
+<dt id="sans.pr.distance_explorer.DistExplorer.__new__">
+<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>S</em>, <em>...</em><big>)</big> &rarr; a new object with type S, a subtype of T<a class="headerlink" href="#sans.pr.distance_explorer.DistExplorer.__new__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.pr.distance_explorer.DistExplorer.__reduce__">
+<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.distance_explorer.DistExplorer.__reduce__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.pr.distance_explorer.DistExplorer.__reduce_ex__">
+<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.distance_explorer.DistExplorer.__reduce_ex__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.pr.distance_explorer.DistExplorer.__repr__">
+<tt class="descname">__repr__</tt><a class="headerlink" href="#sans.pr.distance_explorer.DistExplorer.__repr__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__repr__() &lt;==&gt; repr(x)</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.pr.distance_explorer.DistExplorer.__setattr__">
+<tt class="descname">__setattr__</tt><a class="headerlink" href="#sans.pr.distance_explorer.DistExplorer.__setattr__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.pr.distance_explorer.DistExplorer.__str__">
+<tt class="descname">__str__</tt><a class="headerlink" href="#sans.pr.distance_explorer.DistExplorer.__str__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__str__() &lt;==&gt; str(x)</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.pr.distance_explorer.DistExplorer.__weakref__">
+<tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.pr.distance_explorer.DistExplorer.__weakref__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>list of weak references to the object (if defined)</p>
+</dd></dl>
+
 </dd></dl>
 
@@ -74,4 +185,16 @@
 <dd><p>Class to hold the inversion output parameters
 as a function of D_max</p>
+<dl class="method">
+<dt id="sans.pr.distance_explorer.Results.__init__">
+<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.distance_explorer.Results.__init__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Initialization. Create empty arrays
+and dictionary of labels.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.pr.distance_explorer.Results.__module__">
+<tt class="descname">__module__</tt><em class="property"> = 'sans.pr.distance_explorer'</em><a class="headerlink" href="#sans.pr.distance_explorer.Results.__module__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
 </dd></dl>
 
@@ -88,5 +211,5 @@
   <ul>
 <li><a class="reference internal" href="#">distance_explorer</a><ul>
-<li><a class="reference internal" href="#module-sans.pr.distance_explorer"><tt class="docutils literal"><span class="pre">sans.pr.distance_explorer</span></tt></a></li>
+<li><a class="reference internal" href="#sans-pr-distance-explorer"><tt class="docutils literal"><span class="pre">sans.pr.distance_explorer</span></tt></a></li>
 </ul>
 </li>
@@ -107,5 +230,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" />
@@ -136,5 +259,5 @@
           <a href="index.html" title="Reference"
              >previous</a> |</li>
-        <li><a href="../index.html">pr_inversion v0.1.0 documentation</a> &raquo;</li>
+        <li><a href="../index.html">pr_inversion 0.1.0 documentation</a> &raquo;</li>
           <li><a href="index.html" >Reference</a> &raquo;</li> 
       </ul>
@@ -142,5 +265,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>
Index: pr_inversion/docs/sphinx/html/api/index.html
===================================================================
--- pr_inversion/docs/sphinx/html/api/index.html	(revision a7c772ea8096f970be31b02f50fc8daa9d572a54)
+++ pr_inversion/docs/sphinx/html/api/index.html	(revision 888499639fdcac9ce5f05f9de8a422019fba20a0)
@@ -4,11 +4,14 @@
   "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; pr_inversion v0.1.0 documentation</title>
+    <title>Reference &mdash; pr_inversion 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="pr_inversion v0.1.0 documentation" href="../index.html" />
+    <link rel="top" title="pr_inversion 0.1.0 documentation" href="../index.html" />
     <link rel="next" title="distance_explorer" href="distance_explorer.html" />
     <link rel="prev" title="Welcome to pr_inversionâs documentation!" href="../index.html" /> 
@@ -43,5 +46,5 @@
           <a href="../index.html" title="Welcome to pr_inversionâs documentation!"
              accesskey="P">previous</a> |</li>
-        <li><a href="../index.html">pr_inversion v0.1.0 documentation</a> &raquo;</li> 
+        <li><a href="../index.html">pr_inversion 0.1.0 documentation</a> &raquo;</li> 
       </ul>
     </div>  
@@ -58,7 +61,7 @@
 <col class="field-body" />
 <tbody valign="top">
-<tr class="field"><th class="field-name">Release:</th><td class="field-body">0.1</td>
+<tr class="field-odd 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 class="field-even field"><th class="field-name">Date:</th><td class="field-body">October 24, 2011</td>
 </tr>
 </tbody>
@@ -67,13 +70,13 @@
 <ul>
 <li class="toctree-l1"><a class="reference internal" href="distance_explorer.html">distance_explorer</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="distance_explorer.html#module-sans.pr.distance_explorer"><tt class="docutils literal"><span class="pre">sans.pr.distance_explorer</span></tt></a></li>
+<li class="toctree-l2"><a class="reference internal" href="distance_explorer.html#sans-pr-distance-explorer"><tt class="docutils literal"><span class="pre">sans.pr.distance_explorer</span></tt></a></li>
 </ul>
 </li>
 <li class="toctree-l1"><a class="reference internal" href="invertor.html">invertor</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="invertor.html#module-sans.pr.invertor"><tt class="docutils literal"><span class="pre">sans.pr.invertor</span></tt></a></li>
+<li class="toctree-l2"><a class="reference internal" href="invertor.html#sans-pr-invertor"><tt class="docutils literal"><span class="pre">sans.pr.invertor</span></tt></a></li>
 </ul>
 </li>
 <li class="toctree-l1"><a class="reference internal" href="num_term.html">num_term</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="num_term.html#module-sans.pr.num_term"><tt class="docutils literal"><span class="pre">sans.pr.num_term</span></tt></a></li>
+<li class="toctree-l2"><a class="reference internal" href="num_term.html#sans-pr-num-term"><tt class="docutils literal"><span class="pre">sans.pr.num_term</span></tt></a></li>
 </ul>
 </li>
@@ -102,5 +105,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" />
@@ -131,10 +134,10 @@
           <a href="../index.html" title="Welcome to pr_inversionâs documentation!"
              >previous</a> |</li>
-        <li><a href="../index.html">pr_inversion v0.1.0 documentation</a> &raquo;</li> 
+        <li><a href="../index.html">pr_inversion 0.1.0 documentation</a> &raquo;</li> 
       </ul>
     </div>
     <div class="footer">
         &copy; Copyright 2010, sans group.
-      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
+      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.
     </div>
   </body>
Index: pr_inversion/docs/sphinx/html/api/invertor.html
===================================================================
--- pr_inversion/docs/sphinx/html/api/invertor.html	(revision a7c772ea8096f970be31b02f50fc8daa9d572a54)
+++ pr_inversion/docs/sphinx/html/api/invertor.html	(revision 888499639fdcac9ce5f05f9de8a422019fba20a0)
@@ -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>invertor &mdash; pr_inversion v0.1.0 documentation</title>
+    <title>invertor &mdash; pr_inversion 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="pr_inversion v0.1.0 documentation" href="../index.html" />
+    <link rel="top" title="pr_inversion 0.1.0 documentation" href="../index.html" />
     <link rel="up" title="Reference" href="index.html" />
     <link rel="next" title="num_term" href="num_term.html" />
@@ -44,5 +47,5 @@
           <a href="distance_explorer.html" title="distance_explorer"
              accesskey="P">previous</a> |</li>
-        <li><a href="../index.html">pr_inversion v0.1.0 documentation</a> &raquo;</li>
+        <li><a href="../index.html">pr_inversion 0.1.0 documentation</a> &raquo;</li>
           <li><a href="index.html" accesskey="U">Reference</a> &raquo;</li> 
       </ul>
@@ -56,7 +59,7 @@
   <div class="section" id="invertor">
 <h1>invertor<a class="headerlink" href="#invertor" title="Permalink to this headline">Â¶</a></h1>
-<div class="section" id="module-sans.pr.invertor">
-<span id="sans-pr-invertor"></span><h2><a class="reference internal" href="#module-sans.pr.invertor" title="sans.pr.invertor"><tt class="xref py py-mod docutils literal"><span class="pre">sans.pr.invertor</span></tt></a><a class="headerlink" href="#module-sans.pr.invertor" title="Permalink to this headline">Â¶</a></h2>
-<p>Module to perform P(r) inversion.
+<div class="section" id="sans-pr-invertor">
+<h2><a class="reference internal" href="#module-sans.pr.invertor" title="sans.pr.invertor"><tt class="xref py py-mod docutils literal"><span class="pre">sans.pr.invertor</span></tt></a><a class="headerlink" href="#sans-pr-invertor" title="Permalink to this headline">Â¶</a></h2>
+<span class="target" id="module-sans.pr.invertor"></span><p>Module to perform P(r) inversion.
 The module contains the Invertor class.</p>
 <dl class="class">
@@ -91,6 +94,144 @@
 - get_pos_err(pars): returns the fraction of P(r) that is 1-sigma above zero</p>
 <dl class="attribute">
+<dt id="sans.pr.invertor.Invertor.__class__">
+<tt class="descname">__class__</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.__class__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.pr.invertor.Invertor.__delattr__">
+<tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.__delattr__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.pr.invertor.Invertor.__dict__">
+<tt class="descname">__dict__</tt><em class="property"> = &lt;dictproxy object at 0x01CA22F0&gt;</em><a class="headerlink" href="#sans.pr.invertor.Invertor.__dict__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.pr.invertor.Invertor.__getattr__">
+<tt class="descname">__getattr__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.__getattr__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Return the value of an attribute</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.pr.invertor.Invertor.__getattribute__">
+<tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.__getattribute__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.pr.invertor.Invertor.__hash__">
+<tt class="descname">__hash__</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.__hash__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__hash__() &lt;==&gt; hash(x)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.pr.invertor.Invertor.__init__">
+<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.__init__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="sans.pr.invertor.Invertor.__module__">
+<tt class="descname">__module__</tt><em class="property"> = 'sans.pr.invertor'</em><a class="headerlink" href="#sans.pr.invertor.Invertor.__module__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="staticmethod">
+<dt id="sans.pr.invertor.Invertor.__new__">
+<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>S</em>, <em>...</em><big>)</big> &rarr; a new object with type S, a subtype of T<a class="headerlink" href="#sans.pr.invertor.Invertor.__new__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.pr.invertor.Invertor.__reduce__">
+<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.__reduce__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.pr.invertor.Invertor.__reduce_ex__">
+<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.__reduce_ex__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Overwrite the __reduce_ex__</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.pr.invertor.Invertor.__repr__">
+<tt class="descname">__repr__</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.__repr__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__repr__() &lt;==&gt; repr(x)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.pr.invertor.Invertor.__setattr__">
+<tt class="descname">__setattr__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.__setattr__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Set the value of an attribute.
+Access the parent class methods for
+x, y, err, d_max, q_min, q_max and alpha</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.pr.invertor.Invertor.__setstate__">
+<tt class="descname">__setstate__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.__setstate__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>restore the state of invertor for pickle</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.pr.invertor.Invertor.__str__">
+<tt class="descname">__str__</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.__str__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>x.__str__() &lt;==&gt; str(x)</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.pr.invertor.Invertor.__weakref__">
+<tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.__weakref__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>list of weak references to the object (if defined)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.pr.invertor.Invertor._accept_q">
+<tt class="descname">_accept_q</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor._accept_q" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Check q-value against user-defined range</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.pr.invertor.Invertor._get_invcov_matrix">
+<tt class="descname">_get_invcov_matrix</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor._get_invcov_matrix" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Compute the inverse covariance matrix, defined as inv_cov = a_transposed x a.
+&#64;param nfunc: number of base functions
+&#64;param nr: number of r-points used when evaluating reg term.
+&#64;param a: A array to fill
+&#64;param inv_cov: inverse covariance array to be filled
+&#64;return: 0</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.pr.invertor.Invertor._get_matrix">
+<tt class="descname">_get_matrix</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor._get_matrix" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Returns A matrix and b vector for least square problem.
+&#64;param nfunc: number of base functions
+&#64;param nr: number of r-points used when evaluating reg term.
+&#64;param a: A array to fill
+&#64;param b: b vector to fill
+&#64;return: 0</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.pr.invertor.Invertor._get_reg_size">
+<tt class="descname">_get_reg_size</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor._get_reg_size" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Compute the covariance matrix, defined as inv_cov = a_transposed x a.
+&#64;param nfunc: number of base functions
+&#64;param nr: number of r-points used when evaluating reg term.
+&#64;param a: A array to fill
+&#64;param inv_cov: inverse covariance array to be filled
+&#64;return: 0</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.pr.invertor.Invertor.background">
+<tt class="descname">background</tt><em class="property"> = 0</em><a class="headerlink" href="#sans.pr.invertor.Invertor.background" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.basefunc_ft">
-<tt class="descname">basefunc_ft</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.basefunc_ft" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">basefunc_ft</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.basefunc_ft" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Returns the value of the nth Fourier transofrmed base function
 &#64;param args: c-parameters, n and q
@@ -98,4 +239,9 @@
 </dd></dl>
 
+<dl class="attribute">
+<dt id="sans.pr.invertor.Invertor.chi2">
+<tt class="descname">chi2</tt><em class="property"> = 0</em><a class="headerlink" href="#sans.pr.invertor.Invertor.chi2" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
 <dl class="method">
 <dt id="sans.pr.invertor.Invertor.clone">
@@ -104,7 +250,17 @@
 </dd></dl>
 
+<dl class="attribute">
+<dt id="sans.pr.invertor.Invertor.cov">
+<tt class="descname">cov</tt><em class="property"> = None</em><a class="headerlink" href="#sans.pr.invertor.Invertor.cov" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="sans.pr.invertor.Invertor.elapsed">
+<tt class="descname">elapsed</tt><em class="property"> = 0</em><a class="headerlink" href="#sans.pr.invertor.Invertor.elapsed" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
 <dl class="method">
 <dt id="sans.pr.invertor.Invertor.estimate_alpha">
-<tt class="descname">estimate_alpha</tt><big>(</big><em>nfunc</em><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.estimate_alpha" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">estimate_alpha</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.estimate_alpha" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Returns a reasonable guess for the
 regularization constant alpha</p>
@@ -113,7 +269,7 @@
 <col class="field-body" />
 <tbody valign="top">
-<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>nfunc</strong> &#8211; number of terms to use in the expansion.</td>
-</tr>
-<tr class="field"><th class="field-name">Returns:</th><td class="field-body">alpha, message, elapsed</td>
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>nfunc</strong> &#8211; number of terms to use in the expansion.</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">alpha, message, elapsed</td>
 </tr>
 </tbody>
@@ -126,5 +282,5 @@
 <dl class="method">
 <dt id="sans.pr.invertor.Invertor.estimate_numterms">
-<tt class="descname">estimate_numterms</tt><big>(</big><em>isquit_func=None</em><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.estimate_numterms" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">estimate_numterms</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.estimate_numterms" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Returns a reasonable guess for the
 number of terms</p>
@@ -133,9 +289,9 @@
 <col class="field-body" />
 <tbody valign="top">
-<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>isquit_func</strong> &#8211; reference to thread function to call to 
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>isquit_func</strong> &#8211; reference to thread function to call to 
 check whether the computation needs to
 be stopped.</td>
 </tr>
-<tr class="field"><th class="field-name">Returns:</th><td class="field-body">number of terms, alpha, message</td>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">number of terms, alpha, message</td>
 </tr>
 </tbody>
@@ -145,5 +301,5 @@
 <dl class="method">
 <dt id="sans.pr.invertor.Invertor.from_file">
-<tt class="descname">from_file</tt><big>(</big><em>path</em><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.from_file" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">from_file</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.from_file" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Load the state of the Invertor from a file,
 to be able to generate P(r) from a set of
@@ -153,5 +309,5 @@
 <col class="field-body" />
 <tbody valign="top">
-<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>path</strong> &#8211; path of the file to load</td>
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>path</strong> &#8211; path of the file to load</td>
 </tr>
 </tbody>
@@ -159,82 +315,78 @@
 </dd></dl>
 
-<dl class="attribute">
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.get_alpha">
-<tt class="descname">get_alpha</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.get_alpha" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">get_alpha</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.get_alpha" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Gets the alpha parameter</p>
 </dd></dl>
 
-<dl class="attribute">
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.get_dmax">
-<tt class="descname">get_dmax</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.get_dmax" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">get_dmax</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.get_dmax" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Gets the maximum distance</p>
 </dd></dl>
 
-<dl class="attribute">
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.get_err">
-<tt class="descname">get_err</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.get_err" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">get_err</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.get_err" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Function to get the err data
-Takes an array of doubles as input.</p>
-<blockquote>
-<div>&#64;return: number of entries found</div></blockquote>
-</dd></dl>
-
-<dl class="attribute">
+Takes an array of doubles as input.
+&#64;return: number of entries found</p>
+</dd></dl>
+
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.get_has_bck">
-<tt class="descname">get_has_bck</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.get_has_bck" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">get_has_bck</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.get_has_bck" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Gets background flag</p>
 </dd></dl>
 
-<dl class="attribute">
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.get_nerr">
-<tt class="descname">get_nerr</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.get_nerr" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">get_nerr</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.get_nerr" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Gets the number of err points</p>
 </dd></dl>
 
-<dl class="attribute">
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.get_nx">
-<tt class="descname">get_nx</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.get_nx" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">get_nx</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.get_nx" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Gets the number of x points</p>
 </dd></dl>
 
-<dl class="attribute">
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.get_ny">
-<tt class="descname">get_ny</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.get_ny" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">get_ny</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.get_ny" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Gets the number of y points</p>
 </dd></dl>
 
-<dl class="attribute">
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.get_peaks">
-<tt class="descname">get_peaks</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.get_peaks" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">get_peaks</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.get_peaks" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Returns the number of peaks in the output P(r) distrubution
-for the given set of coefficients.</p>
-<blockquote>
-<div>&#64;param args: c-parameters
-&#64;return: number of P(r) peaks</div></blockquote>
-</dd></dl>
-
-<dl class="attribute">
+for the given set of coefficients.
+&#64;param args: c-parameters
+&#64;return: number of P(r) peaks</p>
+</dd></dl>
+
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.get_pos_err">
-<tt class="descname">get_pos_err</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.get_pos_err" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">get_pos_err</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.get_pos_err" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Returns the fraction of P(r) that is 1 standard deviation
-above zero over the full range of r for the given set of coefficients.</p>
-<blockquote>
-<div>&#64;param args: c-parameters
-&#64;return: fraction of P(r) that is positive</div></blockquote>
-</dd></dl>
-
-<dl class="attribute">
+above zero over the full range of r for the given set of coefficients.
+&#64;param args: c-parameters
+&#64;return: fraction of P(r) that is positive</p>
+</dd></dl>
+
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.get_positive">
-<tt class="descname">get_positive</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.get_positive" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">get_positive</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.get_positive" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Returns the fraction of P(r) that is positive over
-the full range of r for the given set of coefficients.</p>
-<blockquote>
-<div>&#64;param args: c-parameters
-&#64;return: fraction of P(r) that is positive</div></blockquote>
-</dd></dl>
-
-<dl class="attribute">
+the full range of r for the given set of coefficients.
+&#64;param args: c-parameters
+&#64;return: fraction of P(r) that is positive</p>
+</dd></dl>
+
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.get_pr_err">
-<tt class="descname">get_pr_err</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.get_pr_err" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">get_pr_err</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.get_pr_err" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Function to call to evaluate P(r) with errors
 &#64;param args: c-parameters and r
@@ -242,49 +394,52 @@
 </dd></dl>
 
-<dl class="attribute">
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.get_qmax">
-<tt class="descname">get_qmax</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.get_qmax" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">get_qmax</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.get_qmax" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Gets the maximum q</p>
 </dd></dl>
 
-<dl class="attribute">
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.get_qmin">
-<tt class="descname">get_qmin</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.get_qmin" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">get_qmin</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.get_qmin" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Gets the minimum q</p>
 </dd></dl>
 
-<dl class="attribute">
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.get_slit_height">
-<tt class="descname">get_slit_height</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.get_slit_height" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">get_slit_height</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.get_slit_height" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Gets the slit height</p>
 </dd></dl>
 
-<dl class="attribute">
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.get_slit_width">
-<tt class="descname">get_slit_width</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.get_slit_width" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">get_slit_width</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.get_slit_width" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Gets the slit width</p>
 </dd></dl>
 
-<dl class="attribute">
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.get_x">
-<tt class="descname">get_x</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.get_x" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">get_x</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.get_x" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Function to get the x data
-Takes an array of doubles as input.</p>
-<blockquote>
-<div>&#64;return: number of entries found</div></blockquote>
-</dd></dl>
-
-<dl class="attribute">
+Takes an array of doubles as input.
+&#64;return: number of entries found</p>
+</dd></dl>
+
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.get_y">
-<tt class="descname">get_y</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.get_y" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">get_y</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.get_y" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Function to get the y data
-Takes an array of doubles as input.</p>
-<blockquote>
-<div>&#64;return: number of entries found</div></blockquote>
-</dd></dl>
+Takes an array of doubles as input.
+&#64;return: number of entries found</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.pr.invertor.Invertor.info">
+<tt class="descname">info</tt><em class="property"> = {}</em><a class="headerlink" href="#sans.pr.invertor.Invertor.info" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
 
 <dl class="method">
 <dt id="sans.pr.invertor.Invertor.invert">
-<tt class="descname">invert</tt><big>(</big><em>nfunc=10</em>, <em>nr=20</em><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.invert" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">invert</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.invert" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Perform inversion to P(r)</p>
 <p>The problem is solved by posing the problem as  Ax = b,
@@ -311,5 +466,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>nfunc</strong> &#8211; number of base functions to use.</li>
 <li><strong>nr</strong> &#8211; number of r points to evaluate the 2nd derivative at for the reg. term.</li>
@@ -317,5 +472,5 @@
 </td>
 </tr>
-<tr class="field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">c_out, c_cov - the coefficients with covariance matrix</p>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">c_out, c_cov - the coefficients with covariance matrix</p>
 </td>
 </tr>
@@ -326,5 +481,5 @@
 <dl class="method">
 <dt id="sans.pr.invertor.Invertor.invert_optimize">
-<tt class="descname">invert_optimize</tt><big>(</big><em>nfunc=10</em>, <em>nr=20</em><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.invert_optimize" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">invert_optimize</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.invert_optimize" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Slower version of the P(r) inversion that uses scipy.optimize.leastsq.</p>
 <p>This probably produce more reliable results, but is much slower.
@@ -338,5 +493,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>nfunc</strong> &#8211; number of base functions to use.</li>
 <li><strong>nr</strong> &#8211; number of r points to evaluate the 2nd derivative at 
@@ -345,5 +500,5 @@
 </td>
 </tr>
-<tr class="field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">c_out, c_cov - the coefficients with covariance matrix</p>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">c_out, c_cov - the coefficients with covariance matrix</p>
 </td>
 </tr>
@@ -354,5 +509,5 @@
 <dl class="method">
 <dt id="sans.pr.invertor.Invertor.iq">
-<tt class="descname">iq</tt><big>(</big><em>out</em>, <em>q</em><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.iq" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">iq</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.iq" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Function to call to evaluate the scattering intensity</p>
 <table class="docutils field-list" frame="void" rules="none">
@@ -360,7 +515,7 @@
 <col class="field-body" />
 <tbody valign="top">
-<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>args</strong> &#8211; c-parameters, and q</td>
-</tr>
-<tr class="field"><th class="field-name">Returns:</th><td class="field-body">I(q)</td>
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>args</strong> &#8211; c-parameters, and q</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">I(q)</td>
 </tr>
 </tbody>
@@ -368,7 +523,7 @@
 </dd></dl>
 
-<dl class="attribute">
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.iq0">
-<tt class="descname">iq0</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.iq0" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">iq0</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.iq0" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Returns the value of I(q=0).
 &#64;param args: c-parameters
@@ -376,16 +531,15 @@
 </dd></dl>
 
-<dl class="attribute">
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.iq_smeared">
-<tt class="descname">iq_smeared</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.iq_smeared" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">iq_smeared</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.iq_smeared" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Function to call to evaluate the scattering intensity.
-The scattering intensity is slit-smeared. &#64;param args: c-parameters, and q</p>
-<blockquote>
-<div>&#64;return: I(q)</div></blockquote>
-</dd></dl>
-
-<dl class="attribute">
+The scattering intensity is slit-smeared. &#64;param args: c-parameters, and q
+&#64;return: I(q)</p>
+</dd></dl>
+
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.is_valid">
-<tt class="descname">is_valid</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.is_valid" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">is_valid</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.is_valid" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Check the validity of the stored data
 &#64;return: Returns the number of points if it&#8217;s all good, -1 otherwise</p>
@@ -394,5 +548,5 @@
 <dl class="method">
 <dt id="sans.pr.invertor.Invertor.lstsq">
-<tt class="descname">lstsq</tt><big>(</big><em>nfunc=5</em>, <em>nr=20</em><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.lstsq" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">lstsq</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.lstsq" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>The problem is solved by posing the problem as  Ax = b,
 where x is the set of coefficients we are looking for.</p>
@@ -419,5 +573,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>nfunc</strong> &#8211; number of base functions to use.</li>
 <li><strong>nr</strong> &#8211; number of r points to evaluate the 2nd derivative at
@@ -433,6 +587,11 @@
 
 <dl class="attribute">
+<dt id="sans.pr.invertor.Invertor.nfunc">
+<tt class="descname">nfunc</tt><em class="property"> = 10</em><a class="headerlink" href="#sans.pr.invertor.Invertor.nfunc" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.oscillations">
-<tt class="descname">oscillations</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.oscillations" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">oscillations</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.oscillations" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Returns the value of the oscillation figure of merit for
 the given set of coefficients. For a sphere, the oscillation
@@ -444,6 +603,11 @@
 
 <dl class="attribute">
+<dt id="sans.pr.invertor.Invertor.out">
+<tt class="descname">out</tt><em class="property"> = None</em><a class="headerlink" href="#sans.pr.invertor.Invertor.out" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.pr">
-<tt class="descname">pr</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.pr" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">pr</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.pr" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Function to call to evaluate P(r)
 &#64;param args: c-parameters and r
@@ -453,5 +617,5 @@
 <dl class="method">
 <dt id="sans.pr.invertor.Invertor.pr_err">
-<tt class="descname">pr_err</tt><big>(</big><em>c</em>, <em>c_cov</em>, <em>r</em><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.pr_err" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">pr_err</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.pr_err" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Returns the value of P(r) for a given r, and base function
 coefficients, with error.</p>
@@ -460,5 +624,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>c</strong> &#8211; base function coefficients</li>
 <li><strong>c_cov</strong> &#8211; covariance matrice of the base function coefficients</li>
@@ -467,5 +631,5 @@
 </td>
 </tr>
-<tr class="field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">P(r)</p>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">P(r)</p>
 </td>
 </tr>
@@ -476,5 +640,5 @@
 <dl class="method">
 <dt id="sans.pr.invertor.Invertor.pr_fit">
-<tt class="descname">pr_fit</tt><big>(</big><em>nfunc=5</em><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.pr_fit" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">pr_fit</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.pr_fit" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>This is a direct fit to a given P(r). It assumes that the y data
 is set to some P(r) distribution that we are trying to reproduce
@@ -483,27 +647,25 @@
 </dd></dl>
 
-<dl class="attribute">
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.pr_residuals">
-<tt class="descname">pr_residuals</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.pr_residuals" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">pr_residuals</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.pr_residuals" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Function to call to evaluate the residuals
-for P(r) minimization (for testing purposes)</p>
-<blockquote>
-<div>&#64;param args: input parameters
-&#64;return: list of residuals</div></blockquote>
-</dd></dl>
-
-<dl class="attribute">
+for P(r) minimization (for testing purposes)
+&#64;param args: input parameters
+&#64;return: list of residuals</p>
+</dd></dl>
+
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.residuals">
-<tt class="descname">residuals</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.residuals" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">residuals</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.residuals" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Function to call to evaluate the residuals
-for P(r) inversion</p>
-<blockquote>
-<div>&#64;param args: input parameters
-&#64;return: list of residuals</div></blockquote>
-</dd></dl>
-
-<dl class="attribute">
+for P(r) inversion
+&#64;param args: input parameters
+&#64;return: list of residuals</p>
+</dd></dl>
+
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.rg">
-<tt class="descname">rg</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.rg" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">rg</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.rg" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Returns the value of the radius of gyration Rg.
 &#64;param args: c-parameters
@@ -511,76 +673,78 @@
 </dd></dl>
 
-<dl class="attribute">
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.set_alpha">
-<tt class="descname">set_alpha</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.set_alpha" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_alpha</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.set_alpha" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Sets the alpha parameter</p>
 </dd></dl>
 
-<dl class="attribute">
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.set_dmax">
-<tt class="descname">set_dmax</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.set_dmax" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_dmax</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.set_dmax" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Sets the maximum distance</p>
 </dd></dl>
 
-<dl class="attribute">
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.set_err">
-<tt class="descname">set_err</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.set_err" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_err</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.set_err" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Function to set the err data
-Takes an array of doubles as input.</p>
-<blockquote>
-<div>&#64;return: number of entries found</div></blockquote>
-</dd></dl>
-
-<dl class="attribute">
+Takes an array of doubles as input.
+&#64;return: number of entries found</p>
+</dd></dl>
+
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.set_has_bck">
-<tt class="descname">set_has_bck</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.set_has_bck" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_has_bck</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.set_has_bck" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Sets background flag</p>
 </dd></dl>
 
-<dl class="attribute">
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.set_qmax">
-<tt class="descname">set_qmax</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.set_qmax" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_qmax</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.set_qmax" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Sets the maximum q</p>
 </dd></dl>
 
-<dl class="attribute">
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.set_qmin">
-<tt class="descname">set_qmin</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.set_qmin" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_qmin</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.set_qmin" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Sets the minimum q</p>
 </dd></dl>
 
-<dl class="attribute">
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.set_slit_height">
-<tt class="descname">set_slit_height</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.set_slit_height" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_slit_height</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.set_slit_height" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Sets the slit height in units of q [A-1]</p>
 </dd></dl>
 
-<dl class="attribute">
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.set_slit_width">
-<tt class="descname">set_slit_width</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.set_slit_width" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_slit_width</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.set_slit_width" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Sets the slit width in units of q [A-1]</p>
 </dd></dl>
 
-<dl class="attribute">
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.set_x">
-<tt class="descname">set_x</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.set_x" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_x</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.set_x" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Function to set the x data
-Takes an array of doubles as input.</p>
-<blockquote>
-<div>&#64;return: number of entries found</div></blockquote>
-</dd></dl>
-
-<dl class="attribute">
+Takes an array of doubles as input.
+&#64;return: number of entries found</p>
+</dd></dl>
+
+<dl class="method">
 <dt id="sans.pr.invertor.Invertor.set_y">
-<tt class="descname">set_y</tt><a class="headerlink" href="#sans.pr.invertor.Invertor.set_y" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_y</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.set_y" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Function to set the y data
-Takes an array of doubles as input.</p>
-<blockquote>
-<div>&#64;return: number of entries found</div></blockquote>
-</dd></dl>
+Takes an array of doubles as input.
+&#64;return: number of entries found</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.pr.invertor.Invertor.suggested_alpha">
+<tt class="descname">suggested_alpha</tt><em class="property"> = 0</em><a class="headerlink" href="#sans.pr.invertor.Invertor.suggested_alpha" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
 
 <dl class="method">
 <dt id="sans.pr.invertor.Invertor.to_file">
-<tt class="descname">to_file</tt><big>(</big><em>path</em>, <em>npts=100</em><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.to_file" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">to_file</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.invertor.Invertor.to_file" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Save the state to a file that will be readable
 by SliceView.</p>
@@ -589,5 +753,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>path</strong> &#8211; path of the file to write</li>
 <li><strong>npts</strong> &#8211; number of P(r) points to be written</li>
@@ -620,5 +784,5 @@
   <ul>
 <li><a class="reference internal" href="#">invertor</a><ul>
-<li><a class="reference internal" href="#module-sans.pr.invertor"><tt class="docutils literal"><span class="pre">sans.pr.invertor</span></tt></a></li>
+<li><a class="reference internal" href="#sans-pr-invertor"><tt class="docutils literal"><span class="pre">sans.pr.invertor</span></tt></a></li>
 </ul>
 </li>
@@ -639,5 +803,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" />
@@ -668,5 +832,5 @@
           <a href="distance_explorer.html" title="distance_explorer"
              >previous</a> |</li>
-        <li><a href="../index.html">pr_inversion v0.1.0 documentation</a> &raquo;</li>
+        <li><a href="../index.html">pr_inversion 0.1.0 documentation</a> &raquo;</li>
           <li><a href="index.html" >Reference</a> &raquo;</li> 
       </ul>
@@ -674,5 +838,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>
Index: pr_inversion/docs/sphinx/html/api/num_term.html
===================================================================
--- pr_inversion/docs/sphinx/html/api/num_term.html	(revision a7c772ea8096f970be31b02f50fc8daa9d572a54)
+++ pr_inversion/docs/sphinx/html/api/num_term.html	(revision 888499639fdcac9ce5f05f9de8a422019fba20a0)
@@ -4,11 +4,14 @@
   "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>num_term &mdash; pr_inversion v0.1.0 documentation</title>
+    <title>num_term &mdash; pr_inversion 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="pr_inversion v0.1.0 documentation" href="../index.html" />
+    <link rel="top" title="pr_inversion 0.1.0 documentation" href="../index.html" />
     <link rel="up" title="Reference" href="index.html" />
     <link rel="prev" title="invertor" href="invertor.html" /> 
@@ -40,5 +43,5 @@
           <a href="invertor.html" title="invertor"
              accesskey="P">previous</a> |</li>
-        <li><a href="../index.html">pr_inversion v0.1.0 documentation</a> &raquo;</li>
+        <li><a href="../index.html">pr_inversion 0.1.0 documentation</a> &raquo;</li>
           <li><a href="index.html" accesskey="U">Reference</a> &raquo;</li> 
       </ul>
@@ -52,10 +55,20 @@
   <div class="section" id="num-term">
 <h1>num_term<a class="headerlink" href="#num-term" title="Permalink to this headline">Â¶</a></h1>
-<div class="section" id="module-sans.pr.num_term">
-<span id="sans-pr-num-term"></span><h2><a class="reference internal" href="#module-sans.pr.num_term" title="sans.pr.num_term"><tt class="xref py py-mod docutils literal"><span class="pre">sans.pr.num_term</span></tt></a><a class="headerlink" href="#module-sans.pr.num_term" title="Permalink to this headline">Â¶</a></h2>
-<dl class="class">
+<div class="section" id="sans-pr-num-term">
+<h2><a class="reference internal" href="#module-sans.pr.num_term" title="sans.pr.num_term"><tt class="xref py py-mod docutils literal"><span class="pre">sans.pr.num_term</span></tt></a><a class="headerlink" href="#sans-pr-num-term" title="Permalink to this headline">Â¶</a></h2>
+<span class="target" id="module-sans.pr.num_term"></span><dl class="class">
 <dt id="sans.pr.num_term.Num_terms">
-<em class="property">class </em><tt class="descclassname">sans.pr.num_term.</tt><tt class="descname">Num_terms</tt><big>(</big><em>invertor</em><big>)</big><a class="headerlink" href="#sans.pr.num_term.Num_terms" title="Permalink to this definition">Â¶</a></dt>
+<em class="property">class </em><tt class="descclassname">sans.pr.num_term.</tt><tt class="descname">Num_terms</tt><a class="headerlink" href="#sans.pr.num_term.Num_terms" title="Permalink to this definition">Â¶</a></dt>
 <dd><dl class="method">
+<dt id="sans.pr.num_term.Num_terms.__init__">
+<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.num_term.Num_terms.__init__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="sans.pr.num_term.Num_terms.__module__">
+<tt class="descname">__module__</tt><em class="property"> = 'sans.pr.num_term'</em><a class="headerlink" href="#sans.pr.num_term.Num_terms.__module__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
 <dt id="sans.pr.num_term.Num_terms.compare_err">
 <tt class="descname">compare_err</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.num_term.Num_terms.compare_err" title="Permalink to this definition">Â¶</a></dt>
@@ -69,5 +82,5 @@
 <dl class="method">
 <dt id="sans.pr.num_term.Num_terms.is_odd">
-<tt class="descname">is_odd</tt><big>(</big><em>n</em><big>)</big><a class="headerlink" href="#sans.pr.num_term.Num_terms.is_odd" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">is_odd</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.num_term.Num_terms.is_odd" title="Permalink to this definition">Â¶</a></dt>
 <dd></dd></dl>
 
@@ -84,5 +97,5 @@
 <dl class="method">
 <dt id="sans.pr.num_term.Num_terms.num_terms">
-<tt class="descname">num_terms</tt><big>(</big><em>isquit_func=None</em><big>)</big><a class="headerlink" href="#sans.pr.num_term.Num_terms.num_terms" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">num_terms</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.num_term.Num_terms.num_terms" title="Permalink to this definition">Â¶</a></dt>
 <dd></dd></dl>
 
@@ -96,5 +109,5 @@
 <dl class="function">
 <dt id="sans.pr.num_term.load">
-<tt class="descclassname">sans.pr.num_term.</tt><tt class="descname">load</tt><big>(</big><em>path</em><big>)</big><a class="headerlink" href="#sans.pr.num_term.load" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descclassname">sans.pr.num_term.</tt><tt class="descname">load</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.pr.num_term.load" title="Permalink to this definition">Â¶</a></dt>
 <dd></dd></dl>
 
@@ -111,5 +124,5 @@
   <ul>
 <li><a class="reference internal" href="#">num_term</a><ul>
-<li><a class="reference internal" href="#module-sans.pr.num_term"><tt class="docutils literal"><span class="pre">sans.pr.num_term</span></tt></a></li>
+<li><a class="reference internal" href="#sans-pr-num-term"><tt class="docutils literal"><span class="pre">sans.pr.num_term</span></tt></a></li>
 </ul>
 </li>
@@ -127,5 +140,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" />
@@ -153,5 +166,5 @@
           <a href="invertor.html" title="invertor"
              >previous</a> |</li>
-        <li><a href="../index.html">pr_inversion v0.1.0 documentation</a> &raquo;</li>
+        <li><a href="../index.html">pr_inversion 0.1.0 documentation</a> &raquo;</li>
           <li><a href="index.html" >Reference</a> &raquo;</li> 
       </ul>
@@ -159,5 +172,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>
Index: pr_inversion/docs/sphinx/html/genindex.html
===================================================================
--- pr_inversion/docs/sphinx/html/genindex.html	(revision a7c772ea8096f970be31b02f50fc8daa9d572a54)
+++ pr_inversion/docs/sphinx/html/genindex.html	(revision 888499639fdcac9ce5f05f9de8a422019fba20a0)
@@ -1,6 +1,9 @@
+
+
 
 
 <!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 +11,9 @@
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     
-    <title>Index &mdash; pr_inversion v0.1.0 documentation</title>
+    <title>Index &mdash; pr_inversion 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 +28,5 @@
     <script type="text/javascript" src="_static/underscore.js"></script>
     <script type="text/javascript" src="_static/doctools.js"></script>
-    <link rel="top" title="pr_inversion v0.1.0 documentation" href="index.html" /> 
+    <link rel="top" title="pr_inversion 0.1.0 documentation" href="index.html" /> 
   </head>
   <body>
@@ -35,5 +40,5 @@
           <a href="py-modindex.html" title="Python Module Index"
              >modules</a> |</li>
-        <li><a href="index.html">pr_inversion v0.1.0 documentation</a> &raquo;</li> 
+        <li><a href="index.html">pr_inversion 0.1.0 documentation</a> &raquo;</li> 
       </ul>
     </div>  
@@ -45,14 +50,230 @@
             
 
-   <h1 id="index">Index</h1>
-
-   <div class="genindex-jumpbox">
-   <a href="#B"><strong>B</strong></a> | <a href="#C"><strong>C</strong></a> | <a href="#D"><strong>D</strong></a> | <a href="#E"><strong>E</strong></a> | <a href="#F"><strong>F</strong></a> | <a href="#G"><strong>G</strong></a> | <a href="#H"><strong>H</strong></a> | <a href="#I"><strong>I</strong></a> | <a href="#L"><strong>L</strong></a> | <a href="#M"><strong>M</strong></a> | <a href="#N"><strong>N</strong></a> | <a href="#O"><strong>O</strong></a> | <a href="#P"><strong>P</strong></a> | <a href="#R"><strong>R</strong></a> | <a href="#S"><strong>S</strong></a> | <a href="#T"><strong>T</strong></a> 
-   </div>
+<h1 id="index">Index</h1>
+
+<div class="genindex-jumpbox">
+ <a href="#_"><strong>_</strong></a>
+ | <a href="#B"><strong>B</strong></a>
+ | <a href="#C"><strong>C</strong></a>
+ | <a href="#D"><strong>D</strong></a>
+ | <a href="#E"><strong>E</strong></a>
+ | <a href="#F"><strong>F</strong></a>
+ | <a href="#G"><strong>G</strong></a>
+ | <a href="#H"><strong>H</strong></a>
+ | <a href="#I"><strong>I</strong></a>
+ | <a href="#L"><strong>L</strong></a>
+ | <a href="#M"><strong>M</strong></a>
+ | <a href="#N"><strong>N</strong></a>
+ | <a href="#O"><strong>O</strong></a>
+ | <a href="#P"><strong>P</strong></a>
+ | <a href="#R"><strong>R</strong></a>
+ | <a href="#S"><strong>S</strong></a>
+ | <a href="#T"><strong>T</strong></a>
+ 
+</div>
+<h2 id="_">_</h2>
+<table style="width: 100%" class="indextable genindextable"><tr>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="api/distance_explorer.html#sans.pr.distance_explorer.DistExplorer.__call__">__call__() (sans.pr.distance_explorer.DistExplorer method)</a>
+  </dt>
+
+      
+  <dt><a href="api/distance_explorer.html#sans.pr.distance_explorer.DistExplorer.__class__">__class__ (sans.pr.distance_explorer.DistExplorer attribute)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.__class__">(sans.pr.invertor.Invertor attribute)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/distance_explorer.html#sans.pr.distance_explorer.DistExplorer.__delattr__">__delattr__ (sans.pr.distance_explorer.DistExplorer attribute)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.__delattr__">(sans.pr.invertor.Invertor attribute)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/distance_explorer.html#sans.pr.distance_explorer.DistExplorer.__dict__">__dict__ (sans.pr.distance_explorer.DistExplorer attribute)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.__dict__">(sans.pr.invertor.Invertor attribute)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.__getattr__">__getattr__() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/distance_explorer.html#sans.pr.distance_explorer.DistExplorer.__getattribute__">__getattribute__ (sans.pr.distance_explorer.DistExplorer attribute)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.__getattribute__">(sans.pr.invertor.Invertor attribute)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/distance_explorer.html#sans.pr.distance_explorer.DistExplorer.__hash__">__hash__ (sans.pr.distance_explorer.DistExplorer attribute)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.__hash__">(sans.pr.invertor.Invertor attribute)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/distance_explorer.html#sans.pr.distance_explorer.DistExplorer.__init__">__init__() (sans.pr.distance_explorer.DistExplorer method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/distance_explorer.html#sans.pr.distance_explorer.Results.__init__">(sans.pr.distance_explorer.Results method)</a>
+  </dt>
+
+        
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.__init__">(sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+        
+  <dt><a href="api/num_term.html#sans.pr.num_term.Num_terms.__init__">(sans.pr.num_term.Num_terms method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/distance_explorer.html#sans.pr.distance_explorer.DistExplorer.__module__">__module__ (sans.pr.distance_explorer.DistExplorer attribute)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/distance_explorer.html#sans.pr.distance_explorer.Results.__module__">(sans.pr.distance_explorer.Results attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.__module__">(sans.pr.invertor.Invertor attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/num_term.html#sans.pr.num_term.Num_terms.__module__">(sans.pr.num_term.Num_terms attribute)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/distance_explorer.html#sans.pr.distance_explorer.DistExplorer.__new__">__new__() (sans.pr.distance_explorer.DistExplorer static method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.__new__">(sans.pr.invertor.Invertor static method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/distance_explorer.html#sans.pr.distance_explorer.DistExplorer.__reduce__">__reduce__() (sans.pr.distance_explorer.DistExplorer method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.__reduce__">(sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      </dl></dd>
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="api/distance_explorer.html#sans.pr.distance_explorer.DistExplorer.__reduce_ex__">__reduce_ex__() (sans.pr.distance_explorer.DistExplorer method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.__reduce_ex__">(sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/distance_explorer.html#sans.pr.distance_explorer.DistExplorer.__repr__">__repr__ (sans.pr.distance_explorer.DistExplorer attribute)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.__repr__">(sans.pr.invertor.Invertor attribute)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/distance_explorer.html#sans.pr.distance_explorer.DistExplorer.__setattr__">__setattr__ (sans.pr.distance_explorer.DistExplorer attribute)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.__setattr__">__setattr__() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.__setstate__">__setstate__() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/distance_explorer.html#sans.pr.distance_explorer.DistExplorer.__str__">__str__ (sans.pr.distance_explorer.DistExplorer attribute)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.__str__">(sans.pr.invertor.Invertor attribute)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/distance_explorer.html#sans.pr.distance_explorer.DistExplorer.__weakref__">__weakref__ (sans.pr.distance_explorer.DistExplorer attribute)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.__weakref__">(sans.pr.invertor.Invertor attribute)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor._accept_q">_accept_q() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor._get_invcov_matrix">_get_invcov_matrix() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor._get_matrix">_get_matrix() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor._get_reg_size">_get_reg_size() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+  </dl></td>
+</tr></table>
+
 <h2 id="B">B</h2>
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.basefunc_ft">basefunc_ft (sans.pr.invertor.Invertor attribute)</a></dt>
-</dl></td>
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.background">background (sans.pr.invertor.Invertor attribute)</a>
+  </dt>
+
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.basefunc_ft">basefunc_ft() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+  </dl></td>
 </tr></table>
 
@@ -60,9 +281,23 @@
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.clone">clone() (sans.pr.invertor.Invertor method)</a></dt>
-</dl></td>
-  <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/num_term.html#sans.pr.num_term.Num_terms.compare_err">compare_err() (sans.pr.num_term.Num_terms method)</a></dt>
-</dl></td>
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.chi2">chi2 (sans.pr.invertor.Invertor attribute)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.clone">clone() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="api/num_term.html#sans.pr.num_term.Num_terms.compare_err">compare_err() (sans.pr.num_term.Num_terms method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.cov">cov (sans.pr.invertor.Invertor attribute)</a>
+  </dt>
+
+  </dl></td>
 </tr></table>
 
@@ -70,6 +305,9 @@
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/distance_explorer.html#sans.pr.distance_explorer.DistExplorer">DistExplorer (class in sans.pr.distance_explorer)</a></dt>
-</dl></td>
+      
+  <dt><a href="api/distance_explorer.html#sans.pr.distance_explorer.DistExplorer">DistExplorer (class in sans.pr.distance_explorer)</a>
+  </dt>
+
+  </dl></td>
 </tr></table>
 
@@ -77,9 +315,19 @@
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.estimate_alpha">estimate_alpha() (sans.pr.invertor.Invertor method)</a></dt>
-</dl></td>
-  <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.estimate_numterms">estimate_numterms() (sans.pr.invertor.Invertor method)</a></dt>
-</dl></td>
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.elapsed">elapsed (sans.pr.invertor.Invertor attribute)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.estimate_alpha">estimate_alpha() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.estimate_numterms">estimate_numterms() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+  </dl></td>
 </tr></table>
 
@@ -87,6 +335,9 @@
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.from_file">from_file() (sans.pr.invertor.Invertor method)</a></dt>
-</dl></td>
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.from_file">from_file() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+  </dl></td>
 </tr></table>
 
@@ -94,25 +345,79 @@
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/num_term.html#sans.pr.num_term.Num_terms.get0_out">get0_out() (sans.pr.num_term.Num_terms method)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_alpha">get_alpha (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_dmax">get_dmax (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_err">get_err (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_has_bck">get_has_bck (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_nerr">get_nerr (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_nx">get_nx (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_ny">get_ny (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_peaks">get_peaks (sans.pr.invertor.Invertor attribute)</a></dt>
-</dl></td>
-  <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_pos_err">get_pos_err (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_positive">get_positive (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_pr_err">get_pr_err (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_qmax">get_qmax (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_qmin">get_qmin (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_slit_height">get_slit_height (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_slit_width">get_slit_width (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_x">get_x (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_y">get_y (sans.pr.invertor.Invertor attribute)</a></dt>
-</dl></td>
+      
+  <dt><a href="api/num_term.html#sans.pr.num_term.Num_terms.get0_out">get0_out() (sans.pr.num_term.Num_terms method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_alpha">get_alpha() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_dmax">get_dmax() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_err">get_err() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_has_bck">get_has_bck() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_nerr">get_nerr() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_nx">get_nx() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_ny">get_ny() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_peaks">get_peaks() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_pos_err">get_pos_err() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_positive">get_positive() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_pr_err">get_pr_err() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_qmax">get_qmax() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_qmin">get_qmin() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_slit_height">get_slit_height() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_slit_width">get_slit_width() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_x">get_x() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.get_y">get_y() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+  </dl></td>
 </tr></table>
 
@@ -120,6 +425,9 @@
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/invertor.html#sans.pr.invertor.help">help() (in module sans.pr.invertor)</a></dt>
-</dl></td>
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.help">help() (in module sans.pr.invertor)</a>
+  </dt>
+
+  </dl></td>
 </tr></table>
 
@@ -127,15 +435,43 @@
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.invert">invert() (sans.pr.invertor.Invertor method)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.invert_optimize">invert_optimize() (sans.pr.invertor.Invertor method)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor">Invertor (class in sans.pr.invertor)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.iq">iq() (sans.pr.invertor.Invertor method)</a></dt>
-</dl></td>
-  <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.iq0">iq0 (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.iq_smeared">iq_smeared (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/num_term.html#sans.pr.num_term.Num_terms.is_odd">is_odd() (sans.pr.num_term.Num_terms method)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.is_valid">is_valid (sans.pr.invertor.Invertor attribute)</a></dt>
-</dl></td>
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.info">info (sans.pr.invertor.Invertor attribute)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.invert">invert() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.invert_optimize">invert_optimize() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor">Invertor (class in sans.pr.invertor)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.iq">iq() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.iq0">iq0() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.iq_smeared">iq_smeared() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/num_term.html#sans.pr.num_term.Num_terms.is_odd">is_odd() (sans.pr.num_term.Num_terms method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.is_valid">is_valid() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+  </dl></td>
 </tr></table>
 
@@ -143,10 +479,19 @@
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/num_term.html#sans.pr.num_term.load">load() (in module sans.pr.num_term)</a></dt>
-    <dt><a href="api/num_term.html#sans.pr.num_term.Num_terms.ls_osc">ls_osc() (sans.pr.num_term.Num_terms method)</a></dt>
-</dl></td>
-  <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.lstsq">lstsq() (sans.pr.invertor.Invertor method)</a></dt>
-</dl></td>
+      
+  <dt><a href="api/num_term.html#sans.pr.num_term.load">load() (in module sans.pr.num_term)</a>
+  </dt>
+
+      
+  <dt><a href="api/num_term.html#sans.pr.num_term.Num_terms.ls_osc">ls_osc() (sans.pr.num_term.Num_terms method)</a>
+  </dt>
+
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.lstsq">lstsq() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+  </dl></td>
 </tr></table>
 
@@ -154,6 +499,9 @@
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/num_term.html#sans.pr.num_term.Num_terms.median_osc">median_osc() (sans.pr.num_term.Num_terms method)</a></dt>
-</dl></td>
+      
+  <dt><a href="api/num_term.html#sans.pr.num_term.Num_terms.median_osc">median_osc() (sans.pr.num_term.Num_terms method)</a>
+  </dt>
+
+  </dl></td>
 </tr></table>
 
@@ -161,9 +509,19 @@
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/num_term.html#sans.pr.num_term.Num_terms">Num_terms (class in sans.pr.num_term)</a></dt>
-</dl></td>
-  <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/num_term.html#sans.pr.num_term.Num_terms.num_terms">num_terms() (sans.pr.num_term.Num_terms method)</a></dt>
-</dl></td>
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.nfunc">nfunc (sans.pr.invertor.Invertor attribute)</a>
+  </dt>
+
+      
+  <dt><a href="api/num_term.html#sans.pr.num_term.Num_terms">Num_terms (class in sans.pr.num_term)</a>
+  </dt>
+
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="api/num_term.html#sans.pr.num_term.Num_terms.num_terms">num_terms() (sans.pr.num_term.Num_terms method)</a>
+  </dt>
+
+  </dl></td>
 </tr></table>
 
@@ -171,6 +529,15 @@
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.oscillations">oscillations (sans.pr.invertor.Invertor attribute)</a></dt>
-</dl></td>
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.oscillations">oscillations() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.out">out (sans.pr.invertor.Invertor attribute)</a>
+  </dt>
+
+  </dl></td>
 </tr></table>
 
@@ -178,11 +545,23 @@
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.pr">pr (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.pr_err">pr_err() (sans.pr.invertor.Invertor method)</a></dt>
-</dl></td>
-  <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.pr_fit">pr_fit() (sans.pr.invertor.Invertor method)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.pr_residuals">pr_residuals (sans.pr.invertor.Invertor attribute)</a></dt>
-</dl></td>
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.pr">pr() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.pr_err">pr_err() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.pr_fit">pr_fit() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.pr_residuals">pr_residuals() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+  </dl></td>
 </tr></table>
 
@@ -190,10 +569,19 @@
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.residuals">residuals (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/distance_explorer.html#sans.pr.distance_explorer.Results">Results (class in sans.pr.distance_explorer)</a></dt>
-</dl></td>
-  <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.rg">rg (sans.pr.invertor.Invertor attribute)</a></dt>
-</dl></td>
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.residuals">residuals() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/distance_explorer.html#sans.pr.distance_explorer.Results">Results (class in sans.pr.distance_explorer)</a>
+  </dt>
+
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.rg">rg() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+  </dl></td>
 </tr></table>
 
@@ -201,21 +589,67 @@
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/distance_explorer.html#module-sans.pr.distance_explorer">sans.pr.distance_explorer (module)</a></dt>
-    <dt><a href="api/invertor.html#module-sans.pr.invertor">sans.pr.invertor (module)</a></dt>
-    <dt><a href="api/num_term.html#module-sans.pr.num_term">sans.pr.num_term (module)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.set_alpha">set_alpha (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.set_dmax">set_dmax (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.set_err">set_err (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.set_has_bck">set_has_bck (sans.pr.invertor.Invertor attribute)</a></dt>
-</dl></td>
-  <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.set_qmax">set_qmax (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.set_qmin">set_qmin (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.set_slit_height">set_slit_height (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.set_slit_width">set_slit_width (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.set_x">set_x (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.set_y">set_y (sans.pr.invertor.Invertor attribute)</a></dt>
-    <dt><a href="api/num_term.html#sans.pr.num_term.Num_terms.sort_osc">sort_osc() (sans.pr.num_term.Num_terms method)</a></dt>
-</dl></td>
+      
+  <dt><a href="api/distance_explorer.html#module-sans.pr.distance_explorer">sans.pr.distance_explorer (module)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#module-sans.pr.invertor">sans.pr.invertor (module)</a>
+  </dt>
+
+      
+  <dt><a href="api/num_term.html#module-sans.pr.num_term">sans.pr.num_term (module)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.set_alpha">set_alpha() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.set_dmax">set_dmax() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.set_err">set_err() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.set_has_bck">set_has_bck() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.set_qmax">set_qmax() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.set_qmin">set_qmin() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.set_slit_height">set_slit_height() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.set_slit_width">set_slit_width() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.set_x">set_x() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.set_y">set_y() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+      
+  <dt><a href="api/num_term.html#sans.pr.num_term.Num_terms.sort_osc">sort_osc() (sans.pr.num_term.Num_terms method)</a>
+  </dt>
+
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.suggested_alpha">suggested_alpha (sans.pr.invertor.Invertor attribute)</a>
+  </dt>
+
+  </dl></td>
 </tr></table>
 
@@ -223,6 +657,9 @@
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.to_file">to_file() (sans.pr.invertor.Invertor method)</a></dt>
-</dl></td>
+      
+  <dt><a href="api/invertor.html#sans.pr.invertor.Invertor.to_file">to_file() (sans.pr.invertor.Invertor method)</a>
+  </dt>
+
+  </dl></td>
 </tr></table>
 
@@ -240,5 +677,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" />
@@ -263,10 +700,10 @@
           <a href="py-modindex.html" title="Python Module Index"
              >modules</a> |</li>
-        <li><a href="index.html">pr_inversion v0.1.0 documentation</a> &raquo;</li> 
+        <li><a href="index.html">pr_inversion 0.1.0 documentation</a> &raquo;</li> 
       </ul>
     </div>
     <div class="footer">
         &copy; Copyright 2010, sans group.
-      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
+      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.
     </div>
   </body>
Index: pr_inversion/docs/sphinx/html/index.html
===================================================================
--- pr_inversion/docs/sphinx/html/index.html	(revision a7c772ea8096f970be31b02f50fc8daa9d572a54)
+++ pr_inversion/docs/sphinx/html/index.html	(revision 888499639fdcac9ce5f05f9de8a422019fba20a0)
@@ -4,11 +4,14 @@
   "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>Welcome to pr_inversionâs documentation! &mdash; pr_inversion v0.1.0 documentation</title>
+    <title>Welcome to pr_inversionâs documentation! &mdash; pr_inversion 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="pr_inversion v0.1.0 documentation" href="#" />
+    <link rel="top" title="pr_inversion 0.1.0 documentation" href="#" />
     <link rel="next" title="Reference" href="api/index.html" /> 
   </head>
@@ -39,5 +42,5 @@
           <a href="api/index.html" title="Reference"
              accesskey="N">next</a> |</li>
-        <li><a href="#">pr_inversion v0.1.0 documentation</a> &raquo;</li> 
+        <li><a href="#">pr_inversion 0.1.0 documentation</a> &raquo;</li> 
       </ul>
     </div>  
@@ -96,5 +99,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" />
@@ -122,10 +125,10 @@
           <a href="api/index.html" title="Reference"
              >next</a> |</li>
-        <li><a href="#">pr_inversion v0.1.0 documentation</a> &raquo;</li> 
+        <li><a href="#">pr_inversion 0.1.0 documentation</a> &raquo;</li> 
       </ul>
     </div>
     <div class="footer">
         &copy; Copyright 2010, sans group.
-      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
+      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.
     </div>
   </body>
Index: pr_inversion/docs/sphinx/html/py-modindex.html
===================================================================
--- pr_inversion/docs/sphinx/html/py-modindex.html	(revision a7c772ea8096f970be31b02f50fc8daa9d572a54)
+++ pr_inversion/docs/sphinx/html/py-modindex.html	(revision 888499639fdcac9ce5f05f9de8a422019fba20a0)
@@ -4,11 +4,14 @@
   "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>Python Module Index &mdash; pr_inversion v0.1.0 documentation</title>
+    <title>Python Module Index &mdash; pr_inversion 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="pr_inversion v0.1.0 documentation" href="index.html" />
+    <link rel="top" title="pr_inversion 0.1.0 documentation" href="index.html" />
  
 
@@ -38,5 +41,5 @@
           <a href="#" title="Python Module Index"
              >modules</a> |</li>
-        <li><a href="index.html">pr_inversion v0.1.0 documentation</a> &raquo;</li> 
+        <li><a href="index.html">pr_inversion 0.1.0 documentation</a> &raquo;</li> 
       </ul>
     </div>  
@@ -90,5 +93,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" />
@@ -113,10 +116,10 @@
           <a href="#" title="Python Module Index"
              >modules</a> |</li>
-        <li><a href="index.html">pr_inversion v0.1.0 documentation</a> &raquo;</li> 
+        <li><a href="index.html">pr_inversion 0.1.0 documentation</a> &raquo;</li> 
       </ul>
     </div>
     <div class="footer">
         &copy; Copyright 2010, sans group.
-      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
+      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.
     </div>
   </body>
Index: pr_inversion/docs/sphinx/html/search.html
===================================================================
--- pr_inversion/docs/sphinx/html/search.html	(revision a7c772ea8096f970be31b02f50fc8daa9d572a54)
+++ pr_inversion/docs/sphinx/html/search.html	(revision 888499639fdcac9ce5f05f9de8a422019fba20a0)
@@ -4,11 +4,14 @@
   "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>Search &mdash; pr_inversion v0.1.0 documentation</title>
+    <title>Search &mdash; pr_inversion 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 = {
@@ -24,5 +27,5 @@
     <script type="text/javascript" src="_static/doctools.js"></script>
     <script type="text/javascript" src="_static/searchtools.js"></script>
-    <link rel="top" title="pr_inversion v0.1.0 documentation" href="index.html" />
+    <link rel="top" title="pr_inversion 0.1.0 documentation" href="index.html" />
   <script type="text/javascript">
     jQuery(function() { Search.loadIndex("searchindex.js"); });
@@ -41,5 +44,5 @@
           <a href="py-modindex.html" title="Python Module Index"
              >modules</a> |</li>
-        <li><a href="index.html">pr_inversion v0.1.0 documentation</a> &raquo;</li> 
+        <li><a href="index.html">pr_inversion 0.1.0 documentation</a> &raquo;</li> 
       </ul>
     </div>  
@@ -92,10 +95,10 @@
           <a href="py-modindex.html" title="Python Module Index"
              >modules</a> |</li>
-        <li><a href="index.html">pr_inversion v0.1.0 documentation</a> &raquo;</li> 
+        <li><a href="index.html">pr_inversion 0.1.0 documentation</a> &raquo;</li> 
       </ul>
     </div>
     <div class="footer">
         &copy; Copyright 2010, sans group.
-      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
+      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.
     </div>
   </body>
Index: pr_inversion/docs/sphinx/html/searchindex.js
===================================================================
--- pr_inversion/docs/sphinx/html/searchindex.js	(revision a7c772ea8096f970be31b02f50fc8daa9d572a54)
+++ pr_inversion/docs/sphinx/html/searchindex.js	(revision 888499639fdcac9ce5f05f9de8a422019fba20a0)
@@ -1,1 +1,1 @@
-Search.setIndex({objects:{"sans.pr.num_term":{load:[4,4,1],Num_terms:[4,3,1]},"sans.pr.invertor.Invertor":{get_pr_err:[2,2,1],get_qmin:[2,2,1],get_y:[2,2,1],get_err:[2,2,1],iq:[2,1,1],get_slit_height:[2,2,1],get_nerr:[2,2,1],get_pos_err:[2,2,1],basefunc_ft:[2,2,1],get_positive:[2,2,1],oscillations:[2,2,1],get_x:[2,2,1],set_has_bck:[2,2,1],get_dmax:[2,2,1],set_slit_width:[2,2,1],set_x:[2,2,1],set_y:[2,2,1],set_slit_height:[2,2,1],invert:[2,1,1],iq0:[2,2,1],is_valid:[2,2,1],rg:[2,2,1],to_file:[2,1,1],get_qmax:[2,2,1],set_qmax:[2,2,1],pr:[2,2,1],clone:[2,1,1],set_qmin:[2,2,1],estimate_alpha:[2,1,1],pr_residuals:[2,2,1],get_peaks:[2,2,1],pr_fit:[2,1,1],get_alpha:[2,2,1],get_has_bck:[2,2,1],from_file:[2,1,1],get_nx:[2,2,1],estimate_numterms:[2,1,1],set_alpha:[2,2,1],set_dmax:[2,2,1],iq_smeared:[2,2,1],invert_optimize:[2,1,1],lstsq:[2,1,1],residuals:[2,2,1],get_slit_width:[2,2,1],get_ny:[2,2,1],set_err:[2,2,1],pr_err:[2,1,1]},"sans.pr":{distance_explorer:[3,0,1],invertor:[2,0,1],num_term:[4,0,1]},"sans.pr.num_term.Num_terms":{get0_out:[4,1,1],median_osc:[4,1,1],ls_osc:[4,1,1],sort_osc:[4,1,1],is_odd:[4,1,1],compare_err:[4,1,1],num_terms:[4,1,1]},"sans.pr.invertor":{Invertor:[2,3,1],help:[2,4,1]},"sans.pr.distance_explorer":{DistExplorer:[3,3,1],Results:[3,3,1]}},terms:{isquit_func:[2,4],all:2,distanc:[2,3],help:2,ith:2,c_out:2,text:2,over:[2,3],merit:2,basefunc_ft:2,file:2,gyrat:2,follow:2,find:2,paramet:[2,3],cinvertor:2,fit:2,readabl:2,num_term:[0,1,4],param:2,svergun:2,to_fil:2,c_cov:2,input:2,save:2,arrai:2,set_qmax:2,futur:2,sum_i:2,estimate_numterm:2,them:2,good:2,"return":2,get:[2,3],get_nerr:2,pr_state:3,set_qmin:2,state:2,radiu:2,background:2,scatter:2,height:2,term:2,document:1,set_dmax:2,list:2,elaps:2,method:2,"try":2,provid:2,vector:2,lstsq:2,integr:2,contain:2,found:2,iq_smear:2,where:2,page:1,set:2,slower:2,some:2,direct:2,second:2,result:[2,3],get_x:2,arg:2,get_pos_err:2,our:2,stop:2,get_dmax:2,out:2,index:1,matrix:2,user:[2,3],abl:2,content:1,figur:2,version:2,select:2,row:2,reproduc:2,reg:2,matric:2,refer:[0,1,2],full:2,deriv:2,extend:2,written:2,gener:2,pose:2,coeffici:2,given:2,transofrm:2,nth:2,reason:2,base:[2,3],output:[2,3],releas:0,path:[2,4],pr_residu:2,standard:2,get_alpha:2,valid:2,valu:[2,3],sliceview:2,search:1,purpos:2,pr_fit:2,thread:2,smear:2,reg_term:2,length:2,distance_explor:[0,1,3],estim:2,get_slit_width:2,pick:3,fourier:2,pr_err:2,produc:2,intens:2,first:2,load:[2,4],deviat:2,rang:[2,3],get_qmin:2,point:[2,3],modul:[1,2,3],from_fil:2,number:[2,3],"2nd":2,residu:2,solv:2,get_pr_err:2,get_i:2,alpha:2,comput:2,distexplor:3,set_has_bck:2,assum:2,unit:2,san:[0,2,3,4],set_x:2,guess:2,from:2,set_i:2,invert:2,doubl:2,median_osc:4,transform:2,messag:2,i_ob:2,width:2,get_slit_height:2,much:2,call:2,compare_err:4,fraction:2,basic:2,sort_osc:4,get_has_bck:2,set_slit_width:2,store:2,ls_osc:4,"function":[2,3],linalg:2,oscil:2,estimate_alpha:2,flag:2,q_i:2,hold:3,leastsq:2,none:[2,4],look:2,err:2,pr_invers:1,whether:2,get_ni:2,work:2,maximum:2,scipi:2,invers:[2,3],abov:2,error:2,posit:2,otherwis:2,problem:2,get_nx:2,is_odd:4,observ:2,seri:3,distrubut:2,august:0,constant:2,iq0:2,evalu:2,get_err:2,d_max:3,n_r:2,set_slit_height:2,topic:2,sphere:2,slit:2,minimum:2,explor:3,tabl:1,need:2,onlin:2,check:2,fill:2,par:2,welcom:1,zero:2,minim:2,perform:2,allow:2,write:2,instanc:2,take:2,indic:1,test:2,get_peak:2,probabl:2,get0_out:4,distribut:2,optim:2,expans:2,clone:2,object:3,covari:2,get_posit:2,regular:2,time:2,peak:2,date:0,npt:2,data:2,"class":[2,3,4],squar:2,set_err:2,invert_optim:2,get_qmax:2,nfunc:2,set_alpha:2,entri:2,reliabl:2,inherit:2,doe:2,more:2,thi:2,choos:2,i_theo:2,invertor:[0,1,2,4],sigma:2,is_valid:2},objtypes:{"0":"py:module","1":"py:method","2":"py:attribute","3":"py:class","4":"py:function"},titles:["Reference","Welcome to pr_inversion&#8217;s documentation!","invertor","distance_explorer","num_term"],objnames:{"0":"Python module","1":"Python method","2":"Python attribute","3":"Python class","4":"Python function"},filenames:["api/index","index","api/invertor","api/distance_explorer","api/num_term"]})
+Search.setIndex({objects:{"sans.pr.distance_explorer.Results":{"__module__":[3,3,1,""],"__init__":[3,1,1,""]},"sans.pr.num_term":{load:[4,5,1,""],Num_terms:[4,4,1,""]},"sans.pr.invertor.Invertor":{"__module__":[2,3,1,""],get_pr_err:[2,1,1,""],get_x:[2,1,1,""],set_slit_height:[2,1,1,""],"__dict__":[2,3,1,""],get_err:[2,1,1,""],"_get_matrix":[2,1,1,""],from_file:[2,1,1,""],get_slit_height:[2,1,1,""],"__getattribute__":[2,3,1,""],"__class__":[2,3,1,""],estimate_numterms:[2,1,1,""],oscillations:[2,1,1,""],estimate_alpha:[2,1,1,""],rg:[2,1,1,""],get_positive:[2,1,1,""],get_pos_err:[2,1,1,""],get_qmin:[2,1,1,""],set_has_bck:[2,1,1,""],"__weakref__":[2,3,1,""],get_dmax:[2,1,1,""],"__init__":[2,1,1,""],out:[2,3,1,""],pr:[2,1,1,""],set_y:[2,1,1,""],"__setattr__":[2,1,1,""],"__reduce_ex__":[2,1,1,""],"__new__":[2,2,1,""],"__delattr__":[2,3,1,""],invert:[2,1,1,""],"__setstate__":[2,1,1,""],iq0:[2,1,1,""],"__getattr__":[2,1,1,""],"_get_reg_size":[2,1,1,""],iq:[2,1,1,""],is_valid:[2,1,1,""],get_y:[2,1,1,""],set_slit_width:[2,1,1,""],to_file:[2,1,1,""],get_qmax:[2,1,1,""],set_qmax:[2,1,1,""],"__repr__":[2,3,1,""],set_x:[2,1,1,""],"_get_invcov_matrix":[2,1,1,""],chi2:[2,3,1,""],get_nerr:[2,1,1,""],clone:[2,1,1,""],elapsed:[2,3,1,""],set_qmin:[2,1,1,""],nfunc:[2,3,1,""],"__str__":[2,3,1,""],pr_residuals:[2,1,1,""],get_peaks:[2,1,1,""],background:[2,3,1,""],pr_fit:[2,1,1,""],"__reduce__":[2,1,1,""],get_alpha:[2,1,1,""],get_has_bck:[2,1,1,""],info:[2,3,1,""],"_accept_q":[2,1,1,""],get_nx:[2,1,1,""],cov:[2,3,1,""],set_alpha:[2,1,1,""],set_dmax:[2,1,1,""],set_err:[2,1,1,""],iq_smeared:[2,1,1,""],invert_optimize:[2,1,1,""],lstsq:[2,1,1,""],residuals:[2,1,1,""],get_slit_width:[2,1,1,""],"__hash__":[2,3,1,""],get_ny:[2,1,1,""],suggested_alpha:[2,3,1,""],pr_err:[2,1,1,""],basefunc_ft:[2,1,1,""]},"sans.pr.distance_explorer.DistExplorer":{"__hash__":[3,3,1,""],"__module__":[3,3,1,""],"__reduce_ex__":[3,1,1,""],"__new__":[3,2,1,""],"__dict__":[3,3,1,""],"__reduce__":[3,1,1,""],"__str__":[3,3,1,""],"__getattribute__":[3,3,1,""],"__class__":[3,3,1,""],"__delattr__":[3,3,1,""],"__repr__":[3,3,1,""],"__setattr__":[3,3,1,""],"__call__":[3,1,1,""],"__weakref__":[3,3,1,""],"__init__":[3,1,1,""]},"sans.pr":{distance_explorer:[3,0,1,""],invertor:[2,0,1,""],num_term:[4,0,1,""]},"sans.pr.num_term.Num_terms":{get0_out:[4,1,1,""],"__module__":[4,3,1,""],median_osc:[4,1,1,""],num_terms:[4,1,1,""],"__init__":[4,1,1,""],sort_osc:[4,1,1,""],is_odd:[4,1,1,""],compare_err:[4,1,1,""],ls_osc:[4,1,1,""]},"sans.pr.invertor":{Invertor:[2,4,1,""],help:[2,5,1,""]},"sans.pr.distance_explorer":{DistExplorer:[3,4,1,""],Results:[3,4,1,""]}},terms:{explor:3,isquit_func:2,all:2,distanc:[2,3],help:2,ith:2,c_out:2,text:2,over:[2,3],merit:2,indic:1,observ:2,basefunc_ft:2,"__dict__":[2,3],follow:2,"__weakref__":[2,3],find:2,regular:2,paramet:[2,3],content:1,cinvertor:2,fit:2,much:2,seri:3,readabl:2,num_term:[0,1,4],param:2,version:2,to_fil:2,get_qmin:2,c_cov:2,"__call__":3,input:2,save:2,"__str__":[2,3],set_qmax:2,take:2,sum_i:2,estimate_numterm:2,them:2,good:2,"return":2,get:[2,3],from_fil:2,pr_state:3,repr:[2,3],initi:3,set_qmin:2,radiu:2,background:2,octob:0,"2nd":2,term:2,name:[2,3],set_dmax:2,pr_invers:1,list:[2,3],elaps:2,reg:2,"try":2,whether:2,vector:2,lstsq:2,integr:2,contain:2,found:2,peak:2,refer:[0,1,2,3],where:2,page:1,get_i:2,"__module__":[2,3,4],set:2,slower:2,some:2,direct:2,gyrat:2,second:2,"static":[2,3],result:[2,3],arg:2,get_pos_err:2,our:2,get_dmax:2,out:2,index:1,"__setattr__":[2,3],matrix:2,abl:2,"__getattr__":2,label:3,access:2,optim:2,figur:2,svergun:2,unit:2,"_get_reg_s":2,expans:2,"new":[2,3],row:2,reproduc:2,method:2,matric:2,iq_smear:2,full:2,hash:[2,3],deriv:2,extend:2,state:2,coeffici:2,gener:2,pose:2,weak:[2,3],guess:2,transofrm:2,nth:2,reason:2,base:[2,3],dmin:3,dictionari:3,output:[2,3],releas:0,path:2,pr_residu:2,standard:2,get_alpha:2,problem:2,valu:[2,3],sliceview:2,search:1,get_nx:2,thread:2,cov:2,smear:2,welcom:1,against:2,reg_term:2,"__hash__":[2,3],"__delattr__":[2,3],length:2,distance_explor:[0,1,3],estim:2,get_slit_width:2,pick:3,fourier:2,pr_err:2,produc:2,first:2,load:[2,4],info:2,rang:[2,3],get_x:2,point:[2,3],"_get_matrix":2,arrai:[2,3],get_nerr:2,number:[2,3],height:2,residu:2,solv:2,written:2,overwrit:2,npt:[2,3],constant:2,distexplor:3,set_has_bck:2,assum:2,dmax:3,select:2,san:[0,2,3,4],set_x:2,given:2,from:2,helper:[2,3],messag:2,width:2,invert:2,doubl:2,median_osc:4,transform:2,empti:3,i_ob:2,set_i:2,get_slit_height:2,deviat:2,call:2,compare_err:4,fraction:2,basic:2,sort_osc:4,instanc:2,type:[2,3],d_max:[2,3],store:2,ls_osc:4,"function":[2,3],get_err:2,linalg:2,"__getattribute__":[2,3],a_transpos:2,oscil:2,estimate_alpha:2,flag:2,"0x018f9b90":3,n_r:2,date:0,inv_cov:2,hold:3,"__class__":[2,3],leastsq:2,none:2,look:2,err:2,restor:2,provid:2,alia:[2,3],get_ni:2,work:2,get_pr_err:2,maximum:[2,3],defin:[2,3],minimum:[2,3],del:[2,3],invers:[2,3],str:[2,3],error:2,posit:2,otherwis:2,modul:[1,2,3],purpos:2,is_odd:4,scatter:2,suggested_alpha:2,distrubut:2,august:[],comput:[2,3],iq0:2,creat:3,dictproxi:[2,3],set_slit_width:2,tabl:1,"__reduce__":[2,3],q_i:2,set_slit_height:2,topic:2,sphere:2,slit:2,scipi:2,file:2,abov:2,need:2,onlin:2,check:2,"__init__":[2,3,4],fill:2,parent:2,par:2,"__reduce_ex__":[2,3],probabl:2,"__new__":[2,3],zero:2,minim:2,perform:2,"__setstate__":2,when:2,write:2,valid:2,futur:2,evalu:2,test:2,squar:2,get_peak:2,document:1,"__repr__":[2,3],get0_out:4,allow:2,"_get_invcov_matrix":2,chi2:2,stop:2,clone:2,object:[2,3],covari:2,get_posit:2,intens:2,time:2,user:[2,3],distribut:2,thi:2,pr_fit:2,alpha:2,choos:2,data:2,"class":[2,3,4],get_has_bck:2,"_accept_q":2,set_err:2,invert_optim:2,get_qmax:2,nfunc:2,set_alpha:2,entri:2,reliabl:2,least:2,"0x01ca22f0":2,inherit:2,doe:2,pickl:[2,3],more:2,q_min:2,attribut:2,subtyp:[2,3],i_theo:2,q_max:2,invertor:[0,1,2,3],sigma:2,is_valid:2},objtypes:{"0":"py:module","1":"py:method","2":"py:staticmethod","3":"py:attribute","4":"py:class","5":"py:function"},titles:["Reference","Welcome to pr_inversion&#8217;s documentation!","invertor","distance_explorer","num_term"],objnames:{"0":["py","module","Python module"],"1":["py","method","Python method"],"2":["py","staticmethod","Python static method"],"3":["py","attribute","Python attribute"],"4":["py","class","Python class"],"5":["py","function","Python function"]},filenames:["api/index","index","api/invertor","api/distance_explorer","api/num_term"]})
