Index: sanscalculator/docs/sphinx/html/.buildinfo
===================================================================
--- sanscalculator/docs/sphinx/html/.buildinfo	(revision 771fe98097297bf37450a51676f6d5c918873ead)
+++ sanscalculator/docs/sphinx/html/.buildinfo	(revision a4f04f2b1ff7c1c783d298fca0a598a8374b0ace)
@@ -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: d2bf7106d66273c92c93b0556c91a2e6
+config: a36bcf322f1db600e76181a5081e9a37
 tags: fbb0d17656682115ca4d033fb2f83ba1
Index: sanscalculator/docs/sphinx/html/_sources/api/index.txt
===================================================================
--- sanscalculator/docs/sphinx/html/_sources/api/index.txt	(revision 771fe98097297bf37450a51676f6d5c918873ead)
+++ sanscalculator/docs/sphinx/html/_sources/api/index.txt	(revision a4f04f2b1ff7c1c783d298fca0a598a8374b0ace)
@@ -15,5 +15,5 @@
 
    instrument.rst
-   slit_length_calculator.rst
    kiessig_calculator.rst
    resolution_calculator.rst
+   slit_length_calculator.rst
Index: sanscalculator/docs/sphinx/html/_sources/api/instrument.txt
===================================================================
--- sanscalculator/docs/sphinx/html/_sources/api/instrument.txt	(revision 771fe98097297bf37450a51676f6d5c918873ead)
+++ sanscalculator/docs/sphinx/html/_sources/api/instrument.txt	(revision a4f04f2b1ff7c1c783d298fca0a598a8374b0ace)
@@ -2,5 +2,5 @@
 
 ******************************************************************************
-Instrument
+instrument
 ******************************************************************************
 
@@ -13,3 +13,4 @@
    :inherited-members:
    :show-inheritance:
-
+   :special-members:
+   :private-members:
Index: sanscalculator/docs/sphinx/html/_sources/api/kiessig_calculator.txt
===================================================================
--- sanscalculator/docs/sphinx/html/_sources/api/kiessig_calculator.txt	(revision 771fe98097297bf37450a51676f6d5c918873ead)
+++ sanscalculator/docs/sphinx/html/_sources/api/kiessig_calculator.txt	(revision a4f04f2b1ff7c1c783d298fca0a598a8374b0ace)
@@ -2,5 +2,5 @@
 
 ******************************************************************************
-Kiessig Calculator
+kiessig_calculator
 ******************************************************************************
 
@@ -13,3 +13,4 @@
    :inherited-members:
    :show-inheritance:
-
+   :special-members:
+   :private-members:
Index: sanscalculator/docs/sphinx/html/_sources/api/resolution_calculator.txt
===================================================================
--- sanscalculator/docs/sphinx/html/_sources/api/resolution_calculator.txt	(revision 771fe98097297bf37450a51676f6d5c918873ead)
+++ sanscalculator/docs/sphinx/html/_sources/api/resolution_calculator.txt	(revision a4f04f2b1ff7c1c783d298fca0a598a8374b0ace)
@@ -2,5 +2,5 @@
 
 ******************************************************************************
-Resolution Calculator
+resolution_calculator
 ******************************************************************************
 
@@ -13,3 +13,4 @@
    :inherited-members:
    :show-inheritance:
-
+   :special-members:
+   :private-members:
Index: sanscalculator/docs/sphinx/html/_sources/api/slit_length_calculator.txt
===================================================================
--- sanscalculator/docs/sphinx/html/_sources/api/slit_length_calculator.txt	(revision 771fe98097297bf37450a51676f6d5c918873ead)
+++ sanscalculator/docs/sphinx/html/_sources/api/slit_length_calculator.txt	(revision a4f04f2b1ff7c1c783d298fca0a598a8374b0ace)
@@ -2,5 +2,5 @@
 
 ******************************************************************************
-Slit Length Calculator
+slit_length_calculator
 ******************************************************************************
 
@@ -13,3 +13,4 @@
    :inherited-members:
    :show-inheritance:
-
+   :special-members:
+   :private-members:
Index: sanscalculator/docs/sphinx/html/_static/basic.css
===================================================================
--- sanscalculator/docs/sphinx/html/_static/basic.css	(revision 771fe98097297bf37450a51676f6d5c918873ead)
+++ sanscalculator/docs/sphinx/html/_static/basic.css	(revision a4f04f2b1ff7c1c783d298fca0a598a8374b0ace)
@@ -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: sanscalculator/docs/sphinx/html/_static/doctools.js
===================================================================
--- sanscalculator/docs/sphinx/html/_static/doctools.js	(revision 771fe98097297bf37450a51676f6d5c918873ead)
+++ sanscalculator/docs/sphinx/html/_static/doctools.js	(revision a4f04f2b1ff7c1c783d298fca0a598a8374b0ace)
@@ -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: sanscalculator/docs/sphinx/html/_static/searchtools.js
===================================================================
--- sanscalculator/docs/sphinx/html/_static/searchtools.js	(revision 771fe98097297bf37450a51676f6d5c918873ead)
+++ sanscalculator/docs/sphinx/html/_static/searchtools.js	(revision a4f04f2b1ff7c1c783d298fca0a598a8374b0ace)
@@ -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: sanscalculator/docs/sphinx/html/_static/sidebar.js
===================================================================
--- sanscalculator/docs/sphinx/html/_static/sidebar.js	(revision 771fe98097297bf37450a51676f6d5c918873ead)
+++ sanscalculator/docs/sphinx/html/_static/sidebar.js	(revision a4f04f2b1ff7c1c783d298fca0a598a8374b0ace)
@@ -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: sanscalculator/docs/sphinx/html/_static/underscore.js
===================================================================
--- sanscalculator/docs/sphinx/html/_static/underscore.js	(revision 771fe98097297bf37450a51676f6d5c918873ead)
+++ sanscalculator/docs/sphinx/html/_static/underscore.js	(revision a4f04f2b1ff7c1c783d298fca0a598a8374b0ace)
@@ -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: sanscalculator/docs/sphinx/html/_static/websupport.js
===================================================================
--- sanscalculator/docs/sphinx/html/_static/websupport.js	(revision a4f04f2b1ff7c1c783d298fca0a598a8374b0ace)
+++ sanscalculator/docs/sphinx/html/_static/websupport.js	(revision a4f04f2b1ff7c1c783d298fca0a598a8374b0ace)
@@ -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: sanscalculator/docs/sphinx/html/api/index.html
===================================================================
--- sanscalculator/docs/sphinx/html/api/index.html	(revision 771fe98097297bf37450a51676f6d5c918873ead)
+++ sanscalculator/docs/sphinx/html/api/index.html	(revision a4f04f2b1ff7c1c783d298fca0a598a8374b0ace)
@@ -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; calculator v0.1.0 documentation</title>
+    <title>Reference &mdash; calculator 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,6 +26,6 @@
     <script type="text/javascript" src="../_static/underscore.js"></script>
     <script type="text/javascript" src="../_static/doctools.js"></script>
-    <link rel="top" title="calculator v0.1.0 documentation" href="../index.html" />
-    <link rel="next" title="Instrument" href="instrument.html" />
+    <link rel="top" title="calculator 0.1.0 documentation" href="../index.html" />
+    <link rel="next" title="instrument" href="instrument.html" />
     <link rel="prev" title="Calculator" href="../index.html" /> 
   </head>
@@ -38,10 +41,10 @@
              >modules</a> |</li>
         <li class="right" >
-          <a href="instrument.html" title="Instrument"
+          <a href="instrument.html" title="instrument"
              accesskey="N">next</a> |</li>
         <li class="right" >
           <a href="../index.html" title="Calculator"
              accesskey="P">previous</a> |</li>
-        <li><a href="../index.html">calculator v0.1.0 documentation</a> &raquo;</li> 
+        <li><a href="../index.html">calculator 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>
@@ -66,18 +69,18 @@
 <div class="toctree-wrapper compound">
 <ul>
-<li class="toctree-l1"><a class="reference internal" href="instrument.html">Instrument</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="instrument.html#module-sans.calculator.instrument"><tt class="docutils literal"><span class="pre">sans.calculator.instrument</span></tt></a></li>
+<li class="toctree-l1"><a class="reference internal" href="instrument.html">instrument</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="instrument.html#sans-calculator-instrument"><tt class="docutils literal"><span class="pre">sans.calculator.instrument</span></tt></a></li>
 </ul>
 </li>
-<li class="toctree-l1"><a class="reference internal" href="slit_length_calculator.html">Slit Length Calculator</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="slit_length_calculator.html#module-sans.calculator.slit_length_calculator"><tt class="docutils literal"><span class="pre">sans.calculator.slit_length_calculator</span></tt></a></li>
+<li class="toctree-l1"><a class="reference internal" href="kiessig_calculator.html">kiessig_calculator</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="kiessig_calculator.html#sans-calculator-kiessig-calculator"><tt class="docutils literal"><span class="pre">sans.calculator.kiessig_calculator</span></tt></a></li>
 </ul>
 </li>
-<li class="toctree-l1"><a class="reference internal" href="kiessig_calculator.html">Kiessig Calculator</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="kiessig_calculator.html#module-sans.calculator.kiessig_calculator"><tt class="docutils literal"><span class="pre">sans.calculator.kiessig_calculator</span></tt></a></li>
+<li class="toctree-l1"><a class="reference internal" href="resolution_calculator.html">resolution_calculator</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="resolution_calculator.html#sans-calculator-resolution-calculator"><tt class="docutils literal"><span class="pre">sans.calculator.resolution_calculator</span></tt></a></li>
 </ul>
 </li>
-<li class="toctree-l1"><a class="reference internal" href="resolution_calculator.html">Resolution Calculator</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="resolution_calculator.html#module-sans.calculator.resolution_calculator"><tt class="docutils literal"><span class="pre">sans.calculator.resolution_calculator</span></tt></a></li>
+<li class="toctree-l1"><a class="reference internal" href="slit_length_calculator.html">slit_length_calculator</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="slit_length_calculator.html#sans-calculator-slit-length-calculator"><tt class="docutils literal"><span class="pre">sans.calculator.slit_length_calculator</span></tt></a></li>
 </ul>
 </li>
@@ -97,5 +100,5 @@
   <h4>Next topic</h4>
   <p class="topless"><a href="instrument.html"
-                        title="next chapter">Instrument</a></p>
+                        title="next chapter">instrument</a></p>
   <h3>This Page</h3>
   <ul class="this-page-menu">
@@ -106,5 +109,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" />
@@ -130,15 +133,15 @@
              >modules</a> |</li>
         <li class="right" >
-          <a href="instrument.html" title="Instrument"
+          <a href="instrument.html" title="instrument"
              >next</a> |</li>
         <li class="right" >
           <a href="../index.html" title="Calculator"
              >previous</a> |</li>
-        <li><a href="../index.html">calculator v0.1.0 documentation</a> &raquo;</li> 
+        <li><a href="../index.html">calculator 0.1.0 documentation</a> &raquo;</li> 
       </ul>
     </div>
     <div class="footer">
         &copy; Copyright 2010, Gervaise Alina.
-      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: sanscalculator/docs/sphinx/html/api/instrument.html
===================================================================
--- sanscalculator/docs/sphinx/html/api/instrument.html	(revision 771fe98097297bf37450a51676f6d5c918873ead)
+++ sanscalculator/docs/sphinx/html/api/instrument.html	(revision a4f04f2b1ff7c1c783d298fca0a598a8374b0ace)
@@ -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>Instrument &mdash; calculator v0.1.0 documentation</title>
+    <title>instrument &mdash; calculator 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,7 +26,7 @@
     <script type="text/javascript" src="../_static/underscore.js"></script>
     <script type="text/javascript" src="../_static/doctools.js"></script>
-    <link rel="top" title="calculator v0.1.0 documentation" href="../index.html" />
+    <link rel="top" title="calculator 0.1.0 documentation" href="../index.html" />
     <link rel="up" title="Reference" href="index.html" />
-    <link rel="next" title="Slit Length Calculator" href="slit_length_calculator.html" />
+    <link rel="next" title="kiessig_calculator" href="kiessig_calculator.html" />
     <link rel="prev" title="Reference" href="index.html" /> 
   </head>
@@ -39,10 +42,10 @@
              >modules</a> |</li>
         <li class="right" >
-          <a href="slit_length_calculator.html" title="Slit Length Calculator"
+          <a href="kiessig_calculator.html" title="kiessig_calculator"
              accesskey="N">next</a> |</li>
         <li class="right" >
           <a href="index.html" title="Reference"
              accesskey="P">previous</a> |</li>
-        <li><a href="../index.html">calculator v0.1.0 documentation</a> &raquo;</li>
+        <li><a href="../index.html">calculator 0.1.0 documentation</a> &raquo;</li>
           <li><a href="index.html" accesskey="U">Reference</a> &raquo;</li> 
       </ul>
@@ -55,8 +58,8 @@
             
   <div class="section" id="instrument">
-<h1>Instrument<a class="headerlink" href="#instrument" title="Permalink to this headline">Â¶</a></h1>
-<div class="section" id="module-sans.calculator.instrument">
-<span id="sans-calculator-instrument"></span><h2><a class="reference internal" href="#module-sans.calculator.instrument" title="sans.calculator.instrument"><tt class="xref py py-mod docutils literal"><span class="pre">sans.calculator.instrument</span></tt></a><a class="headerlink" href="#module-sans.calculator.instrument" title="Permalink to this headline">Â¶</a></h2>
-<p>This module is a small tool to allow user to 
+<h1>instrument<a class="headerlink" href="#instrument" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="sans-calculator-instrument">
+<h2><a class="reference internal" href="#module-sans.calculator.instrument" title="sans.calculator.instrument"><tt class="xref py py-mod docutils literal"><span class="pre">sans.calculator.instrument</span></tt></a><a class="headerlink" href="#sans-calculator-instrument" title="Permalink to this headline">Â¶</a></h2>
+<span class="target" id="module-sans.calculator.instrument"></span><p>This module is a small tool to allow user to 
 control instrumental parameters</p>
 <dl class="class">
@@ -65,7 +68,87 @@
 <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p>
 <p>An object class that defines the aperture variables</p>
+<dl class="attribute">
+<dt id="sans.calculator.instrument.Aperture.__class__">
+<tt class="descname">__class__</tt><a class="headerlink" href="#sans.calculator.instrument.Aperture.__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.calculator.instrument.Aperture.__delattr__">
+<tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.calculator.instrument.Aperture.__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.calculator.instrument.Aperture.__dict__">
+<tt class="descname">__dict__</tt><em class="property"> = &lt;dictproxy object at 0x01A48250&gt;</em><a class="headerlink" href="#sans.calculator.instrument.Aperture.__dict__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="sans.calculator.instrument.Aperture.__getattribute__">
+<tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.calculator.instrument.Aperture.__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.calculator.instrument.Aperture.__hash__">
+<tt class="descname">__hash__</tt><a class="headerlink" href="#sans.calculator.instrument.Aperture.__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.calculator.instrument.Aperture.__init__">
+<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Aperture.__init__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="sans.calculator.instrument.Aperture.__module__">
+<tt class="descname">__module__</tt><em class="property"> = 'sans.calculator.instrument'</em><a class="headerlink" href="#sans.calculator.instrument.Aperture.__module__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="staticmethod">
+<dt id="sans.calculator.instrument.Aperture.__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.calculator.instrument.Aperture.__new__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.instrument.Aperture.__reduce__">
+<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Aperture.__reduce__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.instrument.Aperture.__reduce_ex__">
+<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Aperture.__reduce_ex__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.calculator.instrument.Aperture.__repr__">
+<tt class="descname">__repr__</tt><a class="headerlink" href="#sans.calculator.instrument.Aperture.__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.calculator.instrument.Aperture.__setattr__">
+<tt class="descname">__setattr__</tt><a class="headerlink" href="#sans.calculator.instrument.Aperture.__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.calculator.instrument.Aperture.__str__">
+<tt class="descname">__str__</tt><a class="headerlink" href="#sans.calculator.instrument.Aperture.__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.calculator.instrument.Aperture.__weakref__">
+<tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.calculator.instrument.Aperture.__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.calculator.instrument.Aperture.set_sample_distance">
-<tt class="descname">set_sample_distance</tt><big>(</big><em>distance=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Aperture.set_sample_distance" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_sample_distance</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Aperture.set_sample_distance" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set the sample aperture distance</p>
 </dd></dl>
@@ -73,5 +156,5 @@
 <dl class="method">
 <dt id="sans.calculator.instrument.Aperture.set_sample_size">
-<tt class="descname">set_sample_size</tt><big>(</big><em>size=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Aperture.set_sample_size" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_sample_size</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Aperture.set_sample_size" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set the sample aperture size</p>
 </dd></dl>
@@ -79,5 +162,5 @@
 <dl class="method">
 <dt id="sans.calculator.instrument.Aperture.set_source_size">
-<tt class="descname">set_source_size</tt><big>(</big><em>size=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Aperture.set_source_size" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_source_size</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Aperture.set_source_size" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set the source aperture size</p>
 </dd></dl>
@@ -90,7 +173,87 @@
 <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p>
 <p>An object class that defines the detector variables</p>
+<dl class="attribute">
+<dt id="sans.calculator.instrument.Detector.__class__">
+<tt class="descname">__class__</tt><a class="headerlink" href="#sans.calculator.instrument.Detector.__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.calculator.instrument.Detector.__delattr__">
+<tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.calculator.instrument.Detector.__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.calculator.instrument.Detector.__dict__">
+<tt class="descname">__dict__</tt><em class="property"> = &lt;dictproxy object at 0x01A3DEF0&gt;</em><a class="headerlink" href="#sans.calculator.instrument.Detector.__dict__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="sans.calculator.instrument.Detector.__getattribute__">
+<tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.calculator.instrument.Detector.__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.calculator.instrument.Detector.__hash__">
+<tt class="descname">__hash__</tt><a class="headerlink" href="#sans.calculator.instrument.Detector.__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.calculator.instrument.Detector.__init__">
+<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Detector.__init__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="sans.calculator.instrument.Detector.__module__">
+<tt class="descname">__module__</tt><em class="property"> = 'sans.calculator.instrument'</em><a class="headerlink" href="#sans.calculator.instrument.Detector.__module__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="staticmethod">
+<dt id="sans.calculator.instrument.Detector.__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.calculator.instrument.Detector.__new__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.instrument.Detector.__reduce__">
+<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Detector.__reduce__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.instrument.Detector.__reduce_ex__">
+<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Detector.__reduce_ex__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.calculator.instrument.Detector.__repr__">
+<tt class="descname">__repr__</tt><a class="headerlink" href="#sans.calculator.instrument.Detector.__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.calculator.instrument.Detector.__setattr__">
+<tt class="descname">__setattr__</tt><a class="headerlink" href="#sans.calculator.instrument.Detector.__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.calculator.instrument.Detector.__str__">
+<tt class="descname">__str__</tt><a class="headerlink" href="#sans.calculator.instrument.Detector.__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.calculator.instrument.Detector.__weakref__">
+<tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.calculator.instrument.Detector.__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.calculator.instrument.Detector.set_distance">
-<tt class="descname">set_distance</tt><big>(</big><em>distance=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Detector.set_distance" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_distance</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Detector.set_distance" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set the detector distance</p>
 </dd></dl>
@@ -98,5 +261,5 @@
 <dl class="method">
 <dt id="sans.calculator.instrument.Detector.set_pix_size">
-<tt class="descname">set_pix_size</tt><big>(</big><em>size=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Detector.set_pix_size" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_pix_size</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Detector.set_pix_size" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set the detector pix_size</p>
 </dd></dl>
@@ -104,5 +267,5 @@
 <dl class="method">
 <dt id="sans.calculator.instrument.Detector.set_size">
-<tt class="descname">set_size</tt><big>(</big><em>size=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Detector.set_size" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_size</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Detector.set_size" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set the detector  size</p>
 </dd></dl>
@@ -115,4 +278,84 @@
 <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p>
 <p>An object that defines the wavelength variables</p>
+<dl class="attribute">
+<dt id="sans.calculator.instrument.Neutron.__class__">
+<tt class="descname">__class__</tt><a class="headerlink" href="#sans.calculator.instrument.Neutron.__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.calculator.instrument.Neutron.__delattr__">
+<tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.calculator.instrument.Neutron.__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.calculator.instrument.Neutron.__dict__">
+<tt class="descname">__dict__</tt><em class="property"> = &lt;dictproxy object at 0x01A4F410&gt;</em><a class="headerlink" href="#sans.calculator.instrument.Neutron.__dict__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="sans.calculator.instrument.Neutron.__getattribute__">
+<tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.calculator.instrument.Neutron.__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.calculator.instrument.Neutron.__hash__">
+<tt class="descname">__hash__</tt><a class="headerlink" href="#sans.calculator.instrument.Neutron.__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.calculator.instrument.Neutron.__init__">
+<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Neutron.__init__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="sans.calculator.instrument.Neutron.__module__">
+<tt class="descname">__module__</tt><em class="property"> = 'sans.calculator.instrument'</em><a class="headerlink" href="#sans.calculator.instrument.Neutron.__module__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="staticmethod">
+<dt id="sans.calculator.instrument.Neutron.__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.calculator.instrument.Neutron.__new__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.instrument.Neutron.__reduce__">
+<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Neutron.__reduce__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.instrument.Neutron.__reduce_ex__">
+<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Neutron.__reduce_ex__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.calculator.instrument.Neutron.__repr__">
+<tt class="descname">__repr__</tt><a class="headerlink" href="#sans.calculator.instrument.Neutron.__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.calculator.instrument.Neutron.__setattr__">
+<tt class="descname">__setattr__</tt><a class="headerlink" href="#sans.calculator.instrument.Neutron.__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.calculator.instrument.Neutron.__str__">
+<tt class="descname">__str__</tt><a class="headerlink" href="#sans.calculator.instrument.Neutron.__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.calculator.instrument.Neutron.__weakref__">
+<tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.calculator.instrument.Neutron.__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.calculator.instrument.Neutron.get_band">
@@ -172,5 +415,5 @@
 <dl class="method">
 <dt id="sans.calculator.instrument.Neutron.set_band">
-<tt class="descname">set_band</tt><big>(</big><em>band=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Neutron.set_band" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_band</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Neutron.set_band" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>To set the wavelength band</p>
 <table class="docutils field-list" frame="void" rules="none">
@@ -178,5 +421,5 @@
 <col class="field-body" />
 <tbody valign="top">
-<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>band</strong> &#8211; array of [min, max]</td>
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>band</strong> &#8211; array of [min, max]</td>
 </tr>
 </tbody>
@@ -192,5 +435,5 @@
 <dl class="method">
 <dt id="sans.calculator.instrument.Neutron.set_intensity">
-<tt class="descname">set_intensity</tt><big>(</big><em>intensity=368428</em><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Neutron.set_intensity" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_intensity</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Neutron.set_intensity" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Sets the intensity in counts/sec</p>
 </dd></dl>
@@ -198,5 +441,5 @@
 <dl class="method">
 <dt id="sans.calculator.instrument.Neutron.set_mass">
-<tt class="descname">set_mass</tt><big>(</big><em>mass=1.6749272900000001e-024</em><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Neutron.set_mass" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_mass</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Neutron.set_mass" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Sets the wavelength</p>
 </dd></dl>
@@ -204,5 +447,5 @@
 <dl class="method">
 <dt id="sans.calculator.instrument.Neutron.set_spectrum">
-<tt class="descname">set_spectrum</tt><big>(</big><em>spectrum</em><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Neutron.set_spectrum" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_spectrum</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Neutron.set_spectrum" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set spectrum</p>
 <table class="docutils field-list" frame="void" rules="none">
@@ -210,5 +453,5 @@
 <col class="field-body" />
 <tbody valign="top">
-<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>spectrum</strong> &#8211; numpy array</td>
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>spectrum</strong> &#8211; numpy array</td>
 </tr>
 </tbody>
@@ -218,5 +461,5 @@
 <dl class="method">
 <dt id="sans.calculator.instrument.Neutron.set_wavelength">
-<tt class="descname">set_wavelength</tt><big>(</big><em>wavelength=6.0</em><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Neutron.set_wavelength" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_wavelength</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Neutron.set_wavelength" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Sets the wavelength</p>
 </dd></dl>
@@ -224,5 +467,5 @@
 <dl class="method">
 <dt id="sans.calculator.instrument.Neutron.set_wavelength_spread">
-<tt class="descname">set_wavelength_spread</tt><big>(</big><em>spread=0.125</em><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Neutron.set_wavelength_spread" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_wavelength_spread</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Neutron.set_wavelength_spread" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Sets the wavelength spread</p>
 </dd></dl>
@@ -242,7 +485,87 @@
 <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p>
 <p>An object class that defines the sample variables</p>
+<dl class="attribute">
+<dt id="sans.calculator.instrument.Sample.__class__">
+<tt class="descname">__class__</tt><a class="headerlink" href="#sans.calculator.instrument.Sample.__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.calculator.instrument.Sample.__delattr__">
+<tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.calculator.instrument.Sample.__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.calculator.instrument.Sample.__dict__">
+<tt class="descname">__dict__</tt><em class="property"> = &lt;dictproxy object at 0x01A4F530&gt;</em><a class="headerlink" href="#sans.calculator.instrument.Sample.__dict__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="sans.calculator.instrument.Sample.__getattribute__">
+<tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.calculator.instrument.Sample.__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.calculator.instrument.Sample.__hash__">
+<tt class="descname">__hash__</tt><a class="headerlink" href="#sans.calculator.instrument.Sample.__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.calculator.instrument.Sample.__init__">
+<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Sample.__init__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="sans.calculator.instrument.Sample.__module__">
+<tt class="descname">__module__</tt><em class="property"> = 'sans.calculator.instrument'</em><a class="headerlink" href="#sans.calculator.instrument.Sample.__module__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="staticmethod">
+<dt id="sans.calculator.instrument.Sample.__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.calculator.instrument.Sample.__new__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.instrument.Sample.__reduce__">
+<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Sample.__reduce__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.instrument.Sample.__reduce_ex__">
+<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Sample.__reduce_ex__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.calculator.instrument.Sample.__repr__">
+<tt class="descname">__repr__</tt><a class="headerlink" href="#sans.calculator.instrument.Sample.__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.calculator.instrument.Sample.__setattr__">
+<tt class="descname">__setattr__</tt><a class="headerlink" href="#sans.calculator.instrument.Sample.__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.calculator.instrument.Sample.__str__">
+<tt class="descname">__str__</tt><a class="headerlink" href="#sans.calculator.instrument.Sample.__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.calculator.instrument.Sample.__weakref__">
+<tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.calculator.instrument.Sample.__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.calculator.instrument.Sample.set_distance">
-<tt class="descname">set_distance</tt><big>(</big><em>distance=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Sample.set_distance" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_distance</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Sample.set_distance" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set the sample distance</p>
 </dd></dl>
@@ -250,5 +573,5 @@
 <dl class="method">
 <dt id="sans.calculator.instrument.Sample.set_size">
-<tt class="descname">set_size</tt><big>(</big><em>size=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Sample.set_size" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_size</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Sample.set_size" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set the sample size</p>
 </dd></dl>
@@ -256,5 +579,5 @@
 <dl class="method">
 <dt id="sans.calculator.instrument.Sample.set_thickness">
-<tt class="descname">set_thickness</tt><big>(</big><em>thickness=0.0</em><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Sample.set_thickness" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_thickness</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.Sample.set_thickness" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set the sample thickness</p>
 </dd></dl>
@@ -267,4 +590,85 @@
 <dd><p>Bases: <a class="reference internal" href="#sans.calculator.instrument.Neutron" title="sans.calculator.instrument.Neutron"><tt class="xref py py-class docutils literal"><span class="pre">sans.calculator.instrument.Neutron</span></tt></a></p>
 <p>TOF: make list of wavelength and wave length spreads</p>
+<dl class="attribute">
+<dt id="sans.calculator.instrument.TOF.__class__">
+<tt class="descname">__class__</tt><a class="headerlink" href="#sans.calculator.instrument.TOF.__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.calculator.instrument.TOF.__delattr__">
+<tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.calculator.instrument.TOF.__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.calculator.instrument.TOF.__dict__">
+<tt class="descname">__dict__</tt><em class="property"> = &lt;dictproxy object at 0x01A5B830&gt;</em><a class="headerlink" href="#sans.calculator.instrument.TOF.__dict__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="sans.calculator.instrument.TOF.__getattribute__">
+<tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.calculator.instrument.TOF.__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.calculator.instrument.TOF.__hash__">
+<tt class="descname">__hash__</tt><a class="headerlink" href="#sans.calculator.instrument.TOF.__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.calculator.instrument.TOF.__init__">
+<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.TOF.__init__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Init</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.calculator.instrument.TOF.__module__">
+<tt class="descname">__module__</tt><em class="property"> = 'sans.calculator.instrument'</em><a class="headerlink" href="#sans.calculator.instrument.TOF.__module__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="staticmethod">
+<dt id="sans.calculator.instrument.TOF.__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.calculator.instrument.TOF.__new__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.instrument.TOF.__reduce__">
+<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.TOF.__reduce__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.instrument.TOF.__reduce_ex__">
+<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.TOF.__reduce_ex__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.calculator.instrument.TOF.__repr__">
+<tt class="descname">__repr__</tt><a class="headerlink" href="#sans.calculator.instrument.TOF.__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.calculator.instrument.TOF.__setattr__">
+<tt class="descname">__setattr__</tt><a class="headerlink" href="#sans.calculator.instrument.TOF.__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.calculator.instrument.TOF.__str__">
+<tt class="descname">__str__</tt><a class="headerlink" href="#sans.calculator.instrument.TOF.__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.calculator.instrument.TOF.__weakref__">
+<tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.calculator.instrument.TOF.__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.calculator.instrument.TOF.get_band">
@@ -336,5 +740,5 @@
 <dl class="method">
 <dt id="sans.calculator.instrument.TOF.set_band">
-<tt class="descname">set_band</tt><big>(</big><em>band=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.calculator.instrument.TOF.set_band" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_band</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.TOF.set_band" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>To set the wavelength band</p>
 <table class="docutils field-list" frame="void" rules="none">
@@ -342,5 +746,5 @@
 <col class="field-body" />
 <tbody valign="top">
-<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>band</strong> &#8211; array of [min, max]</td>
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>band</strong> &#8211; array of [min, max]</td>
 </tr>
 </tbody>
@@ -356,5 +760,5 @@
 <dl class="method">
 <dt id="sans.calculator.instrument.TOF.set_intensity">
-<tt class="descname">set_intensity</tt><big>(</big><em>intensity=368428</em><big>)</big><a class="headerlink" href="#sans.calculator.instrument.TOF.set_intensity" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_intensity</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.TOF.set_intensity" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Sets the intensity in counts/sec</p>
 </dd></dl>
@@ -362,5 +766,5 @@
 <dl class="method">
 <dt id="sans.calculator.instrument.TOF.set_mass">
-<tt class="descname">set_mass</tt><big>(</big><em>mass=1.6749272900000001e-024</em><big>)</big><a class="headerlink" href="#sans.calculator.instrument.TOF.set_mass" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_mass</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.TOF.set_mass" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Sets the wavelength</p>
 </dd></dl>
@@ -368,5 +772,5 @@
 <dl class="method">
 <dt id="sans.calculator.instrument.TOF.set_spectrum">
-<tt class="descname">set_spectrum</tt><big>(</big><em>spectrum</em><big>)</big><a class="headerlink" href="#sans.calculator.instrument.TOF.set_spectrum" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_spectrum</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.TOF.set_spectrum" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set spectrum</p>
 <table class="docutils field-list" frame="void" rules="none">
@@ -374,5 +778,5 @@
 <col class="field-body" />
 <tbody valign="top">
-<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>spectrum</strong> &#8211; numpy array</td>
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>spectrum</strong> &#8211; numpy array</td>
 </tr>
 </tbody>
@@ -382,5 +786,5 @@
 <dl class="method">
 <dt id="sans.calculator.instrument.TOF.set_wave_list">
-<tt class="descname">set_wave_list</tt><big>(</big><em>wavelength=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.calculator.instrument.TOF.set_wave_list" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_wave_list</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.TOF.set_wave_list" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set wavelength list</p>
 <table class="docutils field-list" frame="void" rules="none">
@@ -388,5 +792,5 @@
 <col class="field-body" />
 <tbody valign="top">
-<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>wavelength</strong> &#8211; list of wavelengths</td>
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>wavelength</strong> &#8211; list of wavelengths</td>
 </tr>
 </tbody>
@@ -396,5 +800,5 @@
 <dl class="method">
 <dt id="sans.calculator.instrument.TOF.set_wave_spread_list">
-<tt class="descname">set_wave_spread_list</tt><big>(</big><em>wavelength_spread=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.calculator.instrument.TOF.set_wave_spread_list" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_wave_spread_list</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.TOF.set_wave_spread_list" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set wavelength_spread list</p>
 <table class="docutils field-list" frame="void" rules="none">
@@ -402,5 +806,5 @@
 <col class="field-body" />
 <tbody valign="top">
-<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>wavelength_spread</strong> &#8211; list of wavelength spreads</td>
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>wavelength_spread</strong> &#8211; list of wavelength spreads</td>
 </tr>
 </tbody>
@@ -410,5 +814,5 @@
 <dl class="method">
 <dt id="sans.calculator.instrument.TOF.set_wavelength">
-<tt class="descname">set_wavelength</tt><big>(</big><em>wavelength=6.0</em><big>)</big><a class="headerlink" href="#sans.calculator.instrument.TOF.set_wavelength" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_wavelength</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.TOF.set_wavelength" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Sets the wavelength</p>
 </dd></dl>
@@ -416,5 +820,5 @@
 <dl class="method">
 <dt id="sans.calculator.instrument.TOF.set_wavelength_spread">
-<tt class="descname">set_wavelength_spread</tt><big>(</big><em>spread=0.125</em><big>)</big><a class="headerlink" href="#sans.calculator.instrument.TOF.set_wavelength_spread" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_wavelength_spread</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.TOF.set_wavelength_spread" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Sets the wavelength spread</p>
 </dd></dl>
@@ -431,5 +835,5 @@
 <dl class="function">
 <dt id="sans.calculator.instrument.validate">
-<tt class="descclassname">sans.calculator.instrument.</tt><tt class="descname">validate</tt><big>(</big><em>value=None</em><big>)</big><a class="headerlink" href="#sans.calculator.instrument.validate" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descclassname">sans.calculator.instrument.</tt><tt class="descname">validate</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.instrument.validate" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Check if the value is folat &gt; 0.0</p>
 <table class="docutils field-list" frame="void" rules="none">
@@ -437,5 +841,5 @@
 <col class="field-body" />
 <tbody valign="top">
-<tr class="field"><th class="field-name">Return value:</th><td class="field-body">True / False</td>
+<tr class="field-odd field"><th class="field-name">Return value:</th><td class="field-body">True / False</td>
 </tr>
 </tbody>
@@ -454,6 +858,6 @@
   <h3><a href="../index.html">Table Of Contents</a></h3>
   <ul>
-<li><a class="reference internal" href="#">Instrument</a><ul>
-<li><a class="reference internal" href="#module-sans.calculator.instrument"><tt class="docutils literal"><span class="pre">sans.calculator.instrument</span></tt></a></li>
+<li><a class="reference internal" href="#">instrument</a><ul>
+<li><a class="reference internal" href="#sans-calculator-instrument"><tt class="docutils literal"><span class="pre">sans.calculator.instrument</span></tt></a></li>
 </ul>
 </li>
@@ -464,6 +868,6 @@
                         title="previous chapter">Reference</a></p>
   <h4>Next topic</h4>
-  <p class="topless"><a href="slit_length_calculator.html"
-                        title="next chapter">Slit Length Calculator</a></p>
+  <p class="topless"><a href="kiessig_calculator.html"
+                        title="next chapter">kiessig_calculator</a></p>
   <h3>This Page</h3>
   <ul class="this-page-menu">
@@ -474,5 +878,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" />
@@ -498,10 +902,10 @@
              >modules</a> |</li>
         <li class="right" >
-          <a href="slit_length_calculator.html" title="Slit Length Calculator"
+          <a href="kiessig_calculator.html" title="kiessig_calculator"
              >next</a> |</li>
         <li class="right" >
           <a href="index.html" title="Reference"
              >previous</a> |</li>
-        <li><a href="../index.html">calculator v0.1.0 documentation</a> &raquo;</li>
+        <li><a href="../index.html">calculator 0.1.0 documentation</a> &raquo;</li>
           <li><a href="index.html" >Reference</a> &raquo;</li> 
       </ul>
@@ -509,5 +913,5 @@
     <div class="footer">
         &copy; Copyright 2010, Gervaise Alina.
-      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: sanscalculator/docs/sphinx/html/api/kiessig_calculator.html
===================================================================
--- sanscalculator/docs/sphinx/html/api/kiessig_calculator.html	(revision 771fe98097297bf37450a51676f6d5c918873ead)
+++ sanscalculator/docs/sphinx/html/api/kiessig_calculator.html	(revision a4f04f2b1ff7c1c783d298fca0a598a8374b0ace)
@@ -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>Kiessig Calculator &mdash; calculator v0.1.0 documentation</title>
+    <title>kiessig_calculator &mdash; calculator 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,8 +26,8 @@
     <script type="text/javascript" src="../_static/underscore.js"></script>
     <script type="text/javascript" src="../_static/doctools.js"></script>
-    <link rel="top" title="calculator v0.1.0 documentation" href="../index.html" />
+    <link rel="top" title="calculator 0.1.0 documentation" href="../index.html" />
     <link rel="up" title="Reference" href="index.html" />
-    <link rel="next" title="Resolution Calculator" href="resolution_calculator.html" />
-    <link rel="prev" title="Slit Length Calculator" href="slit_length_calculator.html" /> 
+    <link rel="next" title="resolution_calculator" href="resolution_calculator.html" />
+    <link rel="prev" title="instrument" href="instrument.html" /> 
   </head>
   <body>
@@ -39,10 +42,10 @@
              >modules</a> |</li>
         <li class="right" >
-          <a href="resolution_calculator.html" title="Resolution Calculator"
+          <a href="resolution_calculator.html" title="resolution_calculator"
              accesskey="N">next</a> |</li>
         <li class="right" >
-          <a href="slit_length_calculator.html" title="Slit Length Calculator"
+          <a href="instrument.html" title="instrument"
              accesskey="P">previous</a> |</li>
-        <li><a href="../index.html">calculator v0.1.0 documentation</a> &raquo;</li>
+        <li><a href="../index.html">calculator 0.1.0 documentation</a> &raquo;</li>
           <li><a href="index.html" accesskey="U">Reference</a> &raquo;</li> 
       </ul>
@@ -55,8 +58,8 @@
             
   <div class="section" id="kiessig-calculator">
-<h1>Kiessig Calculator<a class="headerlink" href="#kiessig-calculator" title="Permalink to this headline">Â¶</a></h1>
-<div class="section" id="module-sans.calculator.kiessig_calculator">
-<span id="sans-calculator-kiessig-calculator"></span><h2><a class="reference internal" href="#module-sans.calculator.kiessig_calculator" title="sans.calculator.kiessig_calculator"><tt class="xref py py-mod docutils literal"><span class="pre">sans.calculator.kiessig_calculator</span></tt></a><a class="headerlink" href="#module-sans.calculator.kiessig_calculator" title="Permalink to this headline">Â¶</a></h2>
-<p>This module is a small tool to allow user to quickly
+<h1>kiessig_calculator<a class="headerlink" href="#kiessig-calculator" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="sans-calculator-kiessig-calculator">
+<h2><a class="reference internal" href="#module-sans.calculator.kiessig_calculator" title="sans.calculator.kiessig_calculator"><tt class="xref py py-mod docutils literal"><span class="pre">sans.calculator.kiessig_calculator</span></tt></a><a class="headerlink" href="#sans-calculator-kiessig-calculator" title="Permalink to this headline">Â¶</a></h2>
+<span class="target" id="module-sans.calculator.kiessig_calculator"></span><p>This module is a small tool to allow user to quickly
 determine the size value in real space  from the 
 fringe width in q space.</p>
@@ -66,4 +69,84 @@
 <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p>
 <p>compute thickness from the fringe width of data</p>
+<dl class="attribute">
+<dt id="sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__class__">
+<tt class="descname">__class__</tt><a class="headerlink" href="#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__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.calculator.kiessig_calculator.KiessigThicknessCalculator.__delattr__">
+<tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__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.calculator.kiessig_calculator.KiessigThicknessCalculator.__dict__">
+<tt class="descname">__dict__</tt><em class="property"> = &lt;dictproxy object at 0x01C9DBD0&gt;</em><a class="headerlink" href="#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__dict__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__getattribute__">
+<tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__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.calculator.kiessig_calculator.KiessigThicknessCalculator.__hash__">
+<tt class="descname">__hash__</tt><a class="headerlink" href="#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__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.calculator.kiessig_calculator.KiessigThicknessCalculator.__init__">
+<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__init__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__module__">
+<tt class="descname">__module__</tt><em class="property"> = 'sans.calculator.kiessig_calculator'</em><a class="headerlink" href="#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__module__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="staticmethod">
+<dt id="sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__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.calculator.kiessig_calculator.KiessigThicknessCalculator.__new__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__reduce__">
+<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__reduce__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__reduce_ex__">
+<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__reduce_ex__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__repr__">
+<tt class="descname">__repr__</tt><a class="headerlink" href="#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__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.calculator.kiessig_calculator.KiessigThicknessCalculator.__setattr__">
+<tt class="descname">__setattr__</tt><a class="headerlink" href="#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__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.calculator.kiessig_calculator.KiessigThicknessCalculator.__str__">
+<tt class="descname">__str__</tt><a class="headerlink" href="#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__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.calculator.kiessig_calculator.KiessigThicknessCalculator.__weakref__">
+<tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__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.calculator.kiessig_calculator.KiessigThicknessCalculator.compute_thickness">
@@ -74,5 +157,5 @@
 <col class="field-body" />
 <tbody valign="top">
-<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the thickness.</td>
+<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">the thickness.</td>
 </tr>
 </tbody>
@@ -93,5 +176,5 @@
 <col class="field-body" />
 <tbody valign="top">
-<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the thickness unit.</td>
+<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">the thickness unit.</td>
 </tr>
 </tbody>
@@ -101,5 +184,5 @@
 <dl class="method">
 <dt id="sans.calculator.kiessig_calculator.KiessigThicknessCalculator.set_deltaq">
-<tt class="descname">set_deltaq</tt><big>(</big><em>dq=None</em><big>)</big><a class="headerlink" href="#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.set_deltaq" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_deltaq</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.set_deltaq" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Receive deltaQ value</p>
 <table class="docutils field-list" frame="void" rules="none">
@@ -107,5 +190,5 @@
 <col class="field-body" />
 <tbody valign="top">
-<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>dq</strong> &#8211; q fringe width in 1/A unit</td>
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>dq</strong> &#8211; q fringe width in 1/A unit</td>
 </tr>
 </tbody>
@@ -126,6 +209,6 @@
   <h3><a href="../index.html">Table Of Contents</a></h3>
   <ul>
-<li><a class="reference internal" href="#">Kiessig Calculator</a><ul>
-<li><a class="reference internal" href="#module-sans.calculator.kiessig_calculator"><tt class="docutils literal"><span class="pre">sans.calculator.kiessig_calculator</span></tt></a></li>
+<li><a class="reference internal" href="#">kiessig_calculator</a><ul>
+<li><a class="reference internal" href="#sans-calculator-kiessig-calculator"><tt class="docutils literal"><span class="pre">sans.calculator.kiessig_calculator</span></tt></a></li>
 </ul>
 </li>
@@ -133,9 +216,9 @@
 
   <h4>Previous topic</h4>
-  <p class="topless"><a href="slit_length_calculator.html"
-                        title="previous chapter">Slit Length Calculator</a></p>
+  <p class="topless"><a href="instrument.html"
+                        title="previous chapter">instrument</a></p>
   <h4>Next topic</h4>
   <p class="topless"><a href="resolution_calculator.html"
-                        title="next chapter">Resolution Calculator</a></p>
+                        title="next chapter">resolution_calculator</a></p>
   <h3>This Page</h3>
   <ul class="this-page-menu">
@@ -146,5 +229,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" />
@@ -170,10 +253,10 @@
              >modules</a> |</li>
         <li class="right" >
-          <a href="resolution_calculator.html" title="Resolution Calculator"
+          <a href="resolution_calculator.html" title="resolution_calculator"
              >next</a> |</li>
         <li class="right" >
-          <a href="slit_length_calculator.html" title="Slit Length Calculator"
+          <a href="instrument.html" title="instrument"
              >previous</a> |</li>
-        <li><a href="../index.html">calculator v0.1.0 documentation</a> &raquo;</li>
+        <li><a href="../index.html">calculator 0.1.0 documentation</a> &raquo;</li>
           <li><a href="index.html" >Reference</a> &raquo;</li> 
       </ul>
@@ -181,5 +264,5 @@
     <div class="footer">
         &copy; Copyright 2010, Gervaise Alina.
-      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: sanscalculator/docs/sphinx/html/api/resolution_calculator.html
===================================================================
--- sanscalculator/docs/sphinx/html/api/resolution_calculator.html	(revision 771fe98097297bf37450a51676f6d5c918873ead)
+++ sanscalculator/docs/sphinx/html/api/resolution_calculator.html	(revision a4f04f2b1ff7c1c783d298fca0a598a8374b0ace)
@@ -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>Resolution Calculator &mdash; calculator v0.1.0 documentation</title>
+    <title>resolution_calculator &mdash; calculator 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,7 +26,8 @@
     <script type="text/javascript" src="../_static/underscore.js"></script>
     <script type="text/javascript" src="../_static/doctools.js"></script>
-    <link rel="top" title="calculator v0.1.0 documentation" href="../index.html" />
+    <link rel="top" title="calculator 0.1.0 documentation" href="../index.html" />
     <link rel="up" title="Reference" href="index.html" />
-    <link rel="prev" title="Kiessig Calculator" href="kiessig_calculator.html" /> 
+    <link rel="next" title="slit_length_calculator" href="slit_length_calculator.html" />
+    <link rel="prev" title="kiessig_calculator" href="kiessig_calculator.html" /> 
   </head>
   <body>
@@ -38,7 +42,10 @@
              >modules</a> |</li>
         <li class="right" >
-          <a href="kiessig_calculator.html" title="Kiessig Calculator"
+          <a href="slit_length_calculator.html" title="slit_length_calculator"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="kiessig_calculator.html" title="kiessig_calculator"
              accesskey="P">previous</a> |</li>
-        <li><a href="../index.html">calculator v0.1.0 documentation</a> &raquo;</li>
+        <li><a href="../index.html">calculator 0.1.0 documentation</a> &raquo;</li>
           <li><a href="index.html" accesskey="U">Reference</a> &raquo;</li> 
       </ul>
@@ -51,8 +58,8 @@
             
   <div class="section" id="resolution-calculator">
-<h1>Resolution Calculator<a class="headerlink" href="#resolution-calculator" title="Permalink to this headline">Â¶</a></h1>
-<div class="section" id="module-sans.calculator.resolution_calculator">
-<span id="sans-calculator-resolution-calculator"></span><h2><a class="reference internal" href="#module-sans.calculator.resolution_calculator" title="sans.calculator.resolution_calculator"><tt class="xref py py-mod docutils literal"><span class="pre">sans.calculator.resolution_calculator</span></tt></a><a class="headerlink" href="#module-sans.calculator.resolution_calculator" title="Permalink to this headline">Â¶</a></h2>
-<p>This object is a small tool to allow user to quickly
+<h1>resolution_calculator<a class="headerlink" href="#resolution-calculator" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="sans-calculator-resolution-calculator">
+<h2><a class="reference internal" href="#module-sans.calculator.resolution_calculator" title="sans.calculator.resolution_calculator"><tt class="xref py py-mod docutils literal"><span class="pre">sans.calculator.resolution_calculator</span></tt></a><a class="headerlink" href="#sans-calculator-resolution-calculator" title="Permalink to this headline">Â¶</a></h2>
+<span class="target" id="module-sans.calculator.resolution_calculator"></span><p>This object is a small tool to allow user to quickly
 determine the variance in q  from the 
 instrumental parameters.</p>
@@ -62,7 +69,232 @@
 <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p>
 <p>compute resolution in 2D</p>
+<dl class="attribute">
+<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.__class__">
+<tt class="descname">__class__</tt><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.__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.calculator.resolution_calculator.ResolutionCalculator.__delattr__">
+<tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.__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.calculator.resolution_calculator.ResolutionCalculator.__dict__">
+<tt class="descname">__dict__</tt><em class="property"> = &lt;dictproxy object at 0x0205AC50&gt;</em><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.__dict__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.__getattribute__">
+<tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.__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.calculator.resolution_calculator.ResolutionCalculator.__hash__">
+<tt class="descname">__hash__</tt><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.__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.calculator.resolution_calculator.ResolutionCalculator.__init__">
+<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.__init__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.__module__">
+<tt class="descname">__module__</tt><em class="property"> = 'sans.calculator.resolution_calculator'</em><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.__module__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="staticmethod">
+<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.__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.calculator.resolution_calculator.ResolutionCalculator.__new__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.__reduce__">
+<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.__reduce__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.__reduce_ex__">
+<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.__reduce_ex__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.calculator.resolution_calculator.ResolutionCalculator.__repr__">
+<tt class="descname">__repr__</tt><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.__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.calculator.resolution_calculator.ResolutionCalculator.__setattr__">
+<tt class="descname">__setattr__</tt><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.__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.calculator.resolution_calculator.ResolutionCalculator.__str__">
+<tt class="descname">__str__</tt><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.__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.calculator.resolution_calculator.ResolutionCalculator.__weakref__">
+<tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.__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.calculator.resolution_calculator.ResolutionCalculator._atan_phi">
+<tt class="descname">_atan_phi</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator._atan_phi" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Find the angle phi of q on the detector plane for qx_value, qy_value given
+: qx_value: x component of q
+: qy_value: y component of q</p>
+<p>: return phi: the azimuthal angle of q on x-y plane</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.resolution_calculator.ResolutionCalculator._cal_A_value">
+<tt class="descname">_cal_A_value</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator._cal_A_value" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate A value for gravity</p>
+<p>: s_distance: source to sample distance
+: d_distance: sample to detector distance</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.resolution_calculator.ResolutionCalculator._gaussian1d">
+<tt class="descname">_gaussian1d</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator._gaussian1d" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate 1D Gaussian distribution
+: value: value
+: mean: mean value
+: sigma: variance</p>
+<p>: return: gaussian (value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.resolution_calculator.ResolutionCalculator._gaussian2d">
+<tt class="descname">_gaussian2d</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator._gaussian2d" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate 2D Gaussian distribution
+: x_val: x value
+: y_val: y value
+: x0_val: mean value in x-axis
+: y0_val: mean value in y-axis
+: sigma_x: variance in x-direction
+: sigma_y: variance in y-direction</p>
+<p>: return: gaussian (value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.resolution_calculator.ResolutionCalculator._gaussian2d_polar">
+<tt class="descname">_gaussian2d_polar</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator._gaussian2d_polar" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Calculate 2D Gaussian distribution for polar coodinate 
+: x_val: x value
+: y_val: y value
+: x0_val: mean value in x-axis
+: y0_val: mean value in y-axis
+: sigma_x: variance in r-direction
+: sigma_y: variance in phi-direction
+: sigma_r: wavelength variance in r-direction</p>
+<p>: return: gaussian (value)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.resolution_calculator.ResolutionCalculator._get_beamcenter_drop">
+<tt class="descname">_get_beamcenter_drop</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator._get_beamcenter_drop" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Get the beam center drop (delta y) in y diection due to gravity</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Return delta y:</th><td class="field-body">the beam center drop in cm</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.resolution_calculator.ResolutionCalculator._get_beamcenter_position">
+<tt class="descname">_get_beamcenter_position</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator._get_beamcenter_position" title="Permalink to this definition">Â¶</a></dt>
+<dd><table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>num_x</strong> &#8211; number of pixel in x-direction</li>
+<li><strong>num_y</strong> &#8211; number of pixel in y-direction</li>
+<li><strong>offset</strong> &#8211; detector offset in x-direction in pix number</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">pix number; pos_x, pos_y in pix index</p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.resolution_calculator.ResolutionCalculator._get_detector_qxqy_pixels">
+<tt class="descname">_get_detector_qxqy_pixels</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator._get_detector_qxqy_pixels" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Get the pixel positions of the detector in the qx_value-qy_value space</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.resolution_calculator.ResolutionCalculator._get_polar_value">
+<tt class="descname">_get_polar_value</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator._get_polar_value" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Find qr_value and phi from qx_value and qy_value values</p>
+<p>: return qr_value, phi</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.resolution_calculator.ResolutionCalculator._get_qx">
+<tt class="descname">_get_qx</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator._get_qx" title="Permalink to this definition">Â¶</a></dt>
+<dd><table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>dx_size</strong> &#8211; x-distance from beam center [cm]</li>
+<li><strong>det_dist</strong> &#8211; sample to detector distance [cm]</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">q-value at the given position</p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.resolution_calculator.ResolutionCalculator._rotate_z">
+<tt class="descname">_rotate_z</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator._rotate_z" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>Rotate x-y cordinate around z-axis by theta
+: x_value: numpy array of x values
+: y_value: numpy array of y values
+: theta: angle to rotate by in rad</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">Returns:</th><td class="field-body">x_prime, y-prime</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.resolution_calculator.ResolutionCalculator._within_detector_range">
+<tt class="descname">_within_detector_range</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator._within_detector_range" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>check if qvalues are within detector range</p>
+</dd></dl>
+
 <dl class="method">
 <dt id="sans.calculator.resolution_calculator.ResolutionCalculator.compute">
-<tt class="descname">compute</tt><big>(</big><em>wavelength</em>, <em>wavelength_spread</em>, <em>qx_value</em>, <em>qy_value</em>, <em>coord='cartesian'</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.compute" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">compute</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.compute" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Compute the Q resoltuion in || and + direction of 2D
 : qx_value: x component of q
@@ -72,5 +304,5 @@
 <dl class="method">
 <dt id="sans.calculator.resolution_calculator.ResolutionCalculator.compute_and_plot">
-<tt class="descname">compute_and_plot</tt><big>(</big><em>qx_value</em>, <em>qy_value</em>, <em>qx_min</em>, <em>qx_max</em>, <em>qy_min</em>, <em>qy_max</em>, <em>coord='cartesian'</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.compute_and_plot" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">compute_and_plot</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.compute_and_plot" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Compute the resolution
 : qx_value: x component of q
@@ -111,5 +343,5 @@
 <dl class="method">
 <dt id="sans.calculator.resolution_calculator.ResolutionCalculator.get_image">
-<tt class="descname">get_image</tt><big>(</big><em>qx_value</em>, <em>qy_value</em>, <em>sigma_1</em>, <em>sigma_2</em>, <em>sigma_r</em>, <em>qx_min</em>, <em>qx_max</em>, <em>qy_min</em>, <em>qy_max</em>, <em>coord='cartesian'</em>, <em>full_cal=True</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_image" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">get_image</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_image" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Get the resolution in polar coordinate ready to plot
 : qx_value: qx_value value
@@ -176,5 +408,5 @@
 <dl class="method">
 <dt id="sans.calculator.resolution_calculator.ResolutionCalculator.get_variance">
-<tt class="descname">get_variance</tt><big>(</big><em>size=</em><span class="optional">[</span><span class="optional">]</span>, <em>distance=0</em>, <em>phi=0</em>, <em>comp='radial'</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_variance" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">get_variance</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_variance" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Get the variance when the slit/pinhole size is given
 : size: list that can be one(diameter for circular)</p>
@@ -188,5 +420,5 @@
 <dl class="method">
 <dt id="sans.calculator.resolution_calculator.ResolutionCalculator.get_variance_gravity">
-<tt class="descname">get_variance_gravity</tt><big>(</big><em>s_distance</em>, <em>d_distance</em>, <em>wavelength</em>, <em>spread</em>, <em>phi</em>, <em>comp='radial'</em>, <em>switch='on'</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_variance_gravity" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">get_variance_gravity</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_variance_gravity" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Get the variance from gravity when the wavelength spread is given</p>
 <p>: s_distance: source to sample distance
@@ -200,5 +432,5 @@
 <dl class="method">
 <dt id="sans.calculator.resolution_calculator.ResolutionCalculator.get_variance_wave">
-<tt class="descname">get_variance_wave</tt><big>(</big><em>radius</em>, <em>distance</em>, <em>spread</em>, <em>phi</em>, <em>comp='radial'</em>, <em>switch='on'</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_variance_wave" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">get_variance_wave</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.get_variance_wave" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Get the variance when the wavelength spread is given</p>
 <p>: radius: the radial distance from the beam center to the pix of q
@@ -206,5 +438,5 @@
 : spread: wavelength spread (ratio)
 : comp: direction of the sigma; can be &#8216;phi&#8217;, &#8216;y&#8217;, &#8216;x&#8217;, and &#8216;radial&#8217;</p>
-<p>: return variance: sigma^2</p>
+<p>: return variance: sigma^2 for 2d, sigma^2 for 1d [tuple]</p>
 </dd></dl>
 
@@ -229,5 +461,5 @@
 <dl class="method">
 <dt id="sans.calculator.resolution_calculator.ResolutionCalculator.plot_image">
-<tt class="descname">plot_image</tt><big>(</big><em>image</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.plot_image" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">plot_image</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.plot_image" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Plot image using pyplot
 : image: 2d resolution image</p>
@@ -243,5 +475,5 @@
 <dl class="method">
 <dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_detector_pix_size">
-<tt class="descname">set_detector_pix_size</tt><big>(</big><em>size</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_detector_pix_size" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_detector_pix_size</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_detector_pix_size" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set detector pixel size</p>
 </dd></dl>
@@ -249,5 +481,5 @@
 <dl class="method">
 <dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_detector_size">
-<tt class="descname">set_detector_size</tt><big>(</big><em>size</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_detector_size" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_detector_size</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_detector_size" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set detector size in number of pixels
 : param size: [pixel_nums] or [x_pix_num, yx_pix_num]</p>
@@ -256,5 +488,5 @@
 <dl class="method">
 <dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_intensity">
-<tt class="descname">set_intensity</tt><big>(</big><em>intensity</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_intensity" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_intensity</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_intensity" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set intensity</p>
 </dd></dl>
@@ -262,5 +494,5 @@
 <dl class="method">
 <dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_neutron_mass">
-<tt class="descname">set_neutron_mass</tt><big>(</big><em>mass</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_neutron_mass" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_neutron_mass</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_neutron_mass" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set Neutron mass</p>
 </dd></dl>
@@ -268,5 +500,5 @@
 <dl class="method">
 <dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_sample2detector_distance">
-<tt class="descname">set_sample2detector_distance</tt><big>(</big><em>distance</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_sample2detector_distance" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_sample2detector_distance</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_sample2detector_distance" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set detector sample2detector_distance</p>
 <p>: param distance: [distance, x_offset]</p>
@@ -275,5 +507,5 @@
 <dl class="method">
 <dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_sample2sample_distance">
-<tt class="descname">set_sample2sample_distance</tt><big>(</big><em>distance</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_sample2sample_distance" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_sample2sample_distance</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_sample2sample_distance" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set detector sample_slit2sample_distance</p>
 <p>: param distance: [distance, x_offset]</p>
@@ -282,5 +514,5 @@
 <dl class="method">
 <dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_sample_aperture_size">
-<tt class="descname">set_sample_aperture_size</tt><big>(</big><em>size</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_sample_aperture_size" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_sample_aperture_size</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_sample_aperture_size" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set sample aperture size</p>
 <p>: param size: [dia_value] or [xheight_value, yheight_value]</p>
@@ -289,5 +521,5 @@
 <dl class="method">
 <dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_source2sample_distance">
-<tt class="descname">set_source2sample_distance</tt><big>(</big><em>distance</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_source2sample_distance" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_source2sample_distance</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_source2sample_distance" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set detector source2sample_distance</p>
 <p>: param distance: [distance, x_offset]</p>
@@ -296,5 +528,5 @@
 <dl class="method">
 <dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_source_aperture_size">
-<tt class="descname">set_source_aperture_size</tt><big>(</big><em>size</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_source_aperture_size" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_source_aperture_size</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_source_aperture_size" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set source aperture size</p>
 <p>: param size: [dia_value] or [x_value, y_value]</p>
@@ -303,5 +535,5 @@
 <dl class="method">
 <dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_spectrum">
-<tt class="descname">set_spectrum</tt><big>(</big><em>spectrum</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_spectrum" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_spectrum</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_spectrum" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set spectrum</p>
 </dd></dl>
@@ -309,5 +541,5 @@
 <dl class="method">
 <dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_wave">
-<tt class="descname">set_wave</tt><big>(</big><em>wavelength</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_wave" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_wave</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_wave" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set wavelength list or wavelength</p>
 </dd></dl>
@@ -315,5 +547,5 @@
 <dl class="method">
 <dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_wave_list">
-<tt class="descname">set_wave_list</tt><big>(</big><em>wavelength_list</em>, <em>wavelengthspread_list</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_wave_list" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_wave_list</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_wave_list" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set wavelength and its spread list</p>
 </dd></dl>
@@ -321,5 +553,5 @@
 <dl class="method">
 <dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_wave_spread">
-<tt class="descname">set_wave_spread</tt><big>(</big><em>wavelength_spread</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_wave_spread" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_wave_spread</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_wave_spread" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set wavelength spread  or wavelength spread</p>
 </dd></dl>
@@ -327,5 +559,5 @@
 <dl class="method">
 <dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_wavelength">
-<tt class="descname">set_wavelength</tt><big>(</big><em>wavelength</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_wavelength" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_wavelength</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_wavelength" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set wavelength</p>
 </dd></dl>
@@ -333,5 +565,5 @@
 <dl class="method">
 <dt id="sans.calculator.resolution_calculator.ResolutionCalculator.set_wavelength_spread">
-<tt class="descname">set_wavelength_spread</tt><big>(</big><em>wavelength_spread</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_wavelength_spread" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">set_wavelength_spread</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.set_wavelength_spread" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Set wavelength spread</p>
 </dd></dl>
@@ -339,5 +571,5 @@
 <dl class="method">
 <dt id="sans.calculator.resolution_calculator.ResolutionCalculator.setup_tof">
-<tt class="descname">setup_tof</tt><big>(</big><em>wavelength</em>, <em>wavelength_spread</em><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.setup_tof" title="Permalink to this definition">Â¶</a></dt>
+<tt class="descname">setup_tof</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.resolution_calculator.ResolutionCalculator.setup_tof" title="Permalink to this definition">Â¶</a></dt>
 <dd><p>Setup all parameters in instrument</p>
 <p>: param ind: index of lambda, etc</p>
@@ -357,6 +589,6 @@
   <h3><a href="../index.html">Table Of Contents</a></h3>
   <ul>
-<li><a class="reference internal" href="#">Resolution Calculator</a><ul>
-<li><a class="reference internal" href="#module-sans.calculator.resolution_calculator"><tt class="docutils literal"><span class="pre">sans.calculator.resolution_calculator</span></tt></a></li>
+<li><a class="reference internal" href="#">resolution_calculator</a><ul>
+<li><a class="reference internal" href="#sans-calculator-resolution-calculator"><tt class="docutils literal"><span class="pre">sans.calculator.resolution_calculator</span></tt></a></li>
 </ul>
 </li>
@@ -365,5 +597,8 @@
   <h4>Previous topic</h4>
   <p class="topless"><a href="kiessig_calculator.html"
-                        title="previous chapter">Kiessig Calculator</a></p>
+                        title="previous chapter">kiessig_calculator</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="slit_length_calculator.html"
+                        title="next chapter">slit_length_calculator</a></p>
   <h3>This Page</h3>
   <ul class="this-page-menu">
@@ -374,5 +609,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" />
@@ -398,7 +633,10 @@
              >modules</a> |</li>
         <li class="right" >
-          <a href="kiessig_calculator.html" title="Kiessig Calculator"
+          <a href="slit_length_calculator.html" title="slit_length_calculator"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="kiessig_calculator.html" title="kiessig_calculator"
              >previous</a> |</li>
-        <li><a href="../index.html">calculator v0.1.0 documentation</a> &raquo;</li>
+        <li><a href="../index.html">calculator 0.1.0 documentation</a> &raquo;</li>
           <li><a href="index.html" >Reference</a> &raquo;</li> 
       </ul>
@@ -406,5 +644,5 @@
     <div class="footer">
         &copy; Copyright 2010, Gervaise Alina.
-      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: sanscalculator/docs/sphinx/html/api/slit_length_calculator.html
===================================================================
--- sanscalculator/docs/sphinx/html/api/slit_length_calculator.html	(revision 771fe98097297bf37450a51676f6d5c918873ead)
+++ sanscalculator/docs/sphinx/html/api/slit_length_calculator.html	(revision a4f04f2b1ff7c1c783d298fca0a598a8374b0ace)
@@ -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>Slit Length Calculator &mdash; calculator v0.1.0 documentation</title>
+    <title>slit_length_calculator &mdash; calculator 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,8 +26,7 @@
     <script type="text/javascript" src="../_static/underscore.js"></script>
     <script type="text/javascript" src="../_static/doctools.js"></script>
-    <link rel="top" title="calculator v0.1.0 documentation" href="../index.html" />
+    <link rel="top" title="calculator 0.1.0 documentation" href="../index.html" />
     <link rel="up" title="Reference" href="index.html" />
-    <link rel="next" title="Kiessig Calculator" href="kiessig_calculator.html" />
-    <link rel="prev" title="Instrument" href="instrument.html" /> 
+    <link rel="prev" title="resolution_calculator" href="resolution_calculator.html" /> 
   </head>
   <body>
@@ -39,10 +41,7 @@
              >modules</a> |</li>
         <li class="right" >
-          <a href="kiessig_calculator.html" title="Kiessig Calculator"
-             accesskey="N">next</a> |</li>
-        <li class="right" >
-          <a href="instrument.html" title="Instrument"
+          <a href="resolution_calculator.html" title="resolution_calculator"
              accesskey="P">previous</a> |</li>
-        <li><a href="../index.html">calculator v0.1.0 documentation</a> &raquo;</li>
+        <li><a href="../index.html">calculator 0.1.0 documentation</a> &raquo;</li>
           <li><a href="index.html" accesskey="U">Reference</a> &raquo;</li> 
       </ul>
@@ -55,8 +54,8 @@
             
   <div class="section" id="slit-length-calculator">
-<h1>Slit Length Calculator<a class="headerlink" href="#slit-length-calculator" title="Permalink to this headline">Â¶</a></h1>
-<div class="section" id="module-sans.calculator.slit_length_calculator">
-<span id="sans-calculator-slit-length-calculator"></span><h2><a class="reference internal" href="#module-sans.calculator.slit_length_calculator" title="sans.calculator.slit_length_calculator"><tt class="xref py py-mod docutils literal"><span class="pre">sans.calculator.slit_length_calculator</span></tt></a><a class="headerlink" href="#module-sans.calculator.slit_length_calculator" title="Permalink to this headline">Â¶</a></h2>
-<p>This module is a small tool to allow user to quickly
+<h1>slit_length_calculator<a class="headerlink" href="#slit-length-calculator" title="Permalink to this headline">Â¶</a></h1>
+<div class="section" id="sans-calculator-slit-length-calculator">
+<h2><a class="reference internal" href="#module-sans.calculator.slit_length_calculator" title="sans.calculator.slit_length_calculator"><tt class="xref py py-mod docutils literal"><span class="pre">sans.calculator.slit_length_calculator</span></tt></a><a class="headerlink" href="#sans-calculator-slit-length-calculator" title="Permalink to this headline">Â¶</a></h2>
+<span class="target" id="module-sans.calculator.slit_length_calculator"></span><p>This module is a small tool to allow user to quickly
 determine the slit length value of data.</p>
 <dl class="class">
@@ -66,4 +65,84 @@
 <p>compute slit length from SAXSess beam profile (1st col. Q , 2nd col. I ,
 and 3rd col. dI.: don&#8217;t need the 3rd)</p>
+<dl class="attribute">
+<dt id="sans.calculator.slit_length_calculator.SlitlengthCalculator.__class__">
+<tt class="descname">__class__</tt><a class="headerlink" href="#sans.calculator.slit_length_calculator.SlitlengthCalculator.__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.calculator.slit_length_calculator.SlitlengthCalculator.__delattr__">
+<tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.calculator.slit_length_calculator.SlitlengthCalculator.__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.calculator.slit_length_calculator.SlitlengthCalculator.__dict__">
+<tt class="descname">__dict__</tt><em class="property"> = &lt;dictproxy object at 0x0226C6F0&gt;</em><a class="headerlink" href="#sans.calculator.slit_length_calculator.SlitlengthCalculator.__dict__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="sans.calculator.slit_length_calculator.SlitlengthCalculator.__getattribute__">
+<tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.calculator.slit_length_calculator.SlitlengthCalculator.__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.calculator.slit_length_calculator.SlitlengthCalculator.__hash__">
+<tt class="descname">__hash__</tt><a class="headerlink" href="#sans.calculator.slit_length_calculator.SlitlengthCalculator.__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.calculator.slit_length_calculator.SlitlengthCalculator.__init__">
+<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.slit_length_calculator.SlitlengthCalculator.__init__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="sans.calculator.slit_length_calculator.SlitlengthCalculator.__module__">
+<tt class="descname">__module__</tt><em class="property"> = 'sans.calculator.slit_length_calculator'</em><a class="headerlink" href="#sans.calculator.slit_length_calculator.SlitlengthCalculator.__module__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="staticmethod">
+<dt id="sans.calculator.slit_length_calculator.SlitlengthCalculator.__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.calculator.slit_length_calculator.SlitlengthCalculator.__new__" title="Permalink to this definition">Â¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.slit_length_calculator.SlitlengthCalculator.__reduce__">
+<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.slit_length_calculator.SlitlengthCalculator.__reduce__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="sans.calculator.slit_length_calculator.SlitlengthCalculator.__reduce_ex__">
+<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.slit_length_calculator.SlitlengthCalculator.__reduce_ex__" title="Permalink to this definition">Â¶</a></dt>
+<dd><p>helper for pickle</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="sans.calculator.slit_length_calculator.SlitlengthCalculator.__repr__">
+<tt class="descname">__repr__</tt><a class="headerlink" href="#sans.calculator.slit_length_calculator.SlitlengthCalculator.__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.calculator.slit_length_calculator.SlitlengthCalculator.__setattr__">
+<tt class="descname">__setattr__</tt><a class="headerlink" href="#sans.calculator.slit_length_calculator.SlitlengthCalculator.__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.calculator.slit_length_calculator.SlitlengthCalculator.__str__">
+<tt class="descname">__str__</tt><a class="headerlink" href="#sans.calculator.slit_length_calculator.SlitlengthCalculator.__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.calculator.slit_length_calculator.SlitlengthCalculator.__weakref__">
+<tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.calculator.slit_length_calculator.SlitlengthCalculator.__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.calculator.slit_length_calculator.SlitlengthCalculator.calculate_slit_length">
@@ -74,5 +153,5 @@
 <col class="field-body" />
 <tbody valign="top">
-<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the slit length calculated value.</td>
+<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">the slit length calculated value.</td>
 </tr>
 </tbody>
@@ -87,5 +166,5 @@
 <col class="field-body" />
 <tbody valign="top">
-<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the slit length unit.</td>
+<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">the slit length unit.</td>
 </tr>
 </tbody>
@@ -95,13 +174,14 @@
 <dl class="method">
 <dt id="sans.calculator.slit_length_calculator.SlitlengthCalculator.set_data">
-<tt class="descname">set_data</tt><big>(</big><em>x=None</em>, <em>y=None</em><big>)</big><a class="headerlink" href="#sans.calculator.slit_length_calculator.SlitlengthCalculator.set_data" title="Permalink to this definition">Â¶</a></dt>
-<dd><blockquote>
-<div>Receive two vector x, y and prepare the slit calculator for 
-computation.</div></blockquote>
+<tt class="descname">set_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.calculator.slit_length_calculator.SlitlengthCalculator.set_data" title="Permalink to this definition">Â¶</a></dt>
+<dd><dl class="docutils">
+<dt>Receive two vector x, y and prepare the slit calculator for </dt>
+<dd>computation.</dd>
+</dl>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
 <col class="field-body" />
 <tbody valign="top">
-<tr class="field"><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>x</strong> &#8211; array</li>
 <li><strong>y</strong> &#8211; array</li>
@@ -126,6 +206,6 @@
   <h3><a href="../index.html">Table Of Contents</a></h3>
   <ul>
-<li><a class="reference internal" href="#">Slit Length Calculator</a><ul>
-<li><a class="reference internal" href="#module-sans.calculator.slit_length_calculator"><tt class="docutils literal"><span class="pre">sans.calculator.slit_length_calculator</span></tt></a></li>
+<li><a class="reference internal" href="#">slit_length_calculator</a><ul>
+<li><a class="reference internal" href="#sans-calculator-slit-length-calculator"><tt class="docutils literal"><span class="pre">sans.calculator.slit_length_calculator</span></tt></a></li>
 </ul>
 </li>
@@ -133,9 +213,6 @@
 
   <h4>Previous topic</h4>
-  <p class="topless"><a href="instrument.html"
-                        title="previous chapter">Instrument</a></p>
-  <h4>Next topic</h4>
-  <p class="topless"><a href="kiessig_calculator.html"
-                        title="next chapter">Kiessig Calculator</a></p>
+  <p class="topless"><a href="resolution_calculator.html"
+                        title="previous chapter">resolution_calculator</a></p>
   <h3>This Page</h3>
   <ul class="this-page-menu">
@@ -146,5 +223,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" />
@@ -170,10 +247,7 @@
              >modules</a> |</li>
         <li class="right" >
-          <a href="kiessig_calculator.html" title="Kiessig Calculator"
-             >next</a> |</li>
-        <li class="right" >
-          <a href="instrument.html" title="Instrument"
+          <a href="resolution_calculator.html" title="resolution_calculator"
              >previous</a> |</li>
-        <li><a href="../index.html">calculator v0.1.0 documentation</a> &raquo;</li>
+        <li><a href="../index.html">calculator 0.1.0 documentation</a> &raquo;</li>
           <li><a href="index.html" >Reference</a> &raquo;</li> 
       </ul>
@@ -181,5 +255,5 @@
     <div class="footer">
         &copy; Copyright 2010, Gervaise Alina.
-      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: sanscalculator/docs/sphinx/html/genindex.html
===================================================================
--- sanscalculator/docs/sphinx/html/genindex.html	(revision 771fe98097297bf37450a51676f6d5c918873ead)
+++ sanscalculator/docs/sphinx/html/genindex.html	(revision a4f04f2b1ff7c1c783d298fca0a598a8374b0ace)
@@ -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; calculator v0.1.0 documentation</title>
+    <title>Index &mdash; calculator 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="calculator v0.1.0 documentation" href="index.html" /> 
+    <link rel="top" title="calculator 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">calculator v0.1.0 documentation</a> &raquo;</li> 
+        <li><a href="index.html">calculator 0.1.0 documentation</a> &raquo;</li> 
       </ul>
     </div>  
@@ -45,14 +50,561 @@
             
 
-   <h1 id="index">Index</h1>
-
-   <div class="genindex-jumpbox">
-   <a href="#A"><strong>A</strong></a> | <a href="#C"><strong>C</strong></a> | <a href="#D"><strong>D</strong></a> | <a href="#G"><strong>G</strong></a> | <a href="#K"><strong>K</strong></a> | <a href="#N"><strong>N</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> | <a href="#V"><strong>V</strong></a> 
-   </div>
+<h1 id="index">Index</h1>
+
+<div class="genindex-jumpbox">
+ <a href="#_"><strong>_</strong></a>
+ | <a href="#A"><strong>A</strong></a>
+ | <a href="#C"><strong>C</strong></a>
+ | <a href="#D"><strong>D</strong></a>
+ | <a href="#G"><strong>G</strong></a>
+ | <a href="#K"><strong>K</strong></a>
+ | <a href="#N"><strong>N</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>
+ | <a href="#V"><strong>V</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/instrument.html#sans.calculator.instrument.Aperture.__class__">__class__ (sans.calculator.instrument.Aperture attribute)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Detector.__class__">(sans.calculator.instrument.Detector attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.__class__">(sans.calculator.instrument.Neutron attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Sample.__class__">(sans.calculator.instrument.Sample attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.__class__">(sans.calculator.instrument.TOF attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/kiessig_calculator.html#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__class__">(sans.calculator.kiessig_calculator.KiessigThicknessCalculator attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.__class__">(sans.calculator.resolution_calculator.ResolutionCalculator attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/slit_length_calculator.html#sans.calculator.slit_length_calculator.SlitlengthCalculator.__class__">(sans.calculator.slit_length_calculator.SlitlengthCalculator attribute)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Aperture.__delattr__">__delattr__ (sans.calculator.instrument.Aperture attribute)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Detector.__delattr__">(sans.calculator.instrument.Detector attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.__delattr__">(sans.calculator.instrument.Neutron attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Sample.__delattr__">(sans.calculator.instrument.Sample attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.__delattr__">(sans.calculator.instrument.TOF attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/kiessig_calculator.html#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__delattr__">(sans.calculator.kiessig_calculator.KiessigThicknessCalculator attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.__delattr__">(sans.calculator.resolution_calculator.ResolutionCalculator attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/slit_length_calculator.html#sans.calculator.slit_length_calculator.SlitlengthCalculator.__delattr__">(sans.calculator.slit_length_calculator.SlitlengthCalculator attribute)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Aperture.__dict__">__dict__ (sans.calculator.instrument.Aperture attribute)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Detector.__dict__">(sans.calculator.instrument.Detector attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.__dict__">(sans.calculator.instrument.Neutron attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Sample.__dict__">(sans.calculator.instrument.Sample attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.__dict__">(sans.calculator.instrument.TOF attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/kiessig_calculator.html#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__dict__">(sans.calculator.kiessig_calculator.KiessigThicknessCalculator attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.__dict__">(sans.calculator.resolution_calculator.ResolutionCalculator attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/slit_length_calculator.html#sans.calculator.slit_length_calculator.SlitlengthCalculator.__dict__">(sans.calculator.slit_length_calculator.SlitlengthCalculator attribute)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Aperture.__getattribute__">__getattribute__ (sans.calculator.instrument.Aperture attribute)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Detector.__getattribute__">(sans.calculator.instrument.Detector attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.__getattribute__">(sans.calculator.instrument.Neutron attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Sample.__getattribute__">(sans.calculator.instrument.Sample attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.__getattribute__">(sans.calculator.instrument.TOF attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/kiessig_calculator.html#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__getattribute__">(sans.calculator.kiessig_calculator.KiessigThicknessCalculator attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.__getattribute__">(sans.calculator.resolution_calculator.ResolutionCalculator attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/slit_length_calculator.html#sans.calculator.slit_length_calculator.SlitlengthCalculator.__getattribute__">(sans.calculator.slit_length_calculator.SlitlengthCalculator attribute)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Aperture.__hash__">__hash__ (sans.calculator.instrument.Aperture attribute)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Detector.__hash__">(sans.calculator.instrument.Detector attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.__hash__">(sans.calculator.instrument.Neutron attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Sample.__hash__">(sans.calculator.instrument.Sample attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.__hash__">(sans.calculator.instrument.TOF attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/kiessig_calculator.html#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__hash__">(sans.calculator.kiessig_calculator.KiessigThicknessCalculator attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.__hash__">(sans.calculator.resolution_calculator.ResolutionCalculator attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/slit_length_calculator.html#sans.calculator.slit_length_calculator.SlitlengthCalculator.__hash__">(sans.calculator.slit_length_calculator.SlitlengthCalculator attribute)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Aperture.__init__">__init__() (sans.calculator.instrument.Aperture method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Detector.__init__">(sans.calculator.instrument.Detector method)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.__init__">(sans.calculator.instrument.Neutron method)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Sample.__init__">(sans.calculator.instrument.Sample method)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.__init__">(sans.calculator.instrument.TOF method)</a>
+  </dt>
+
+        
+  <dt><a href="api/kiessig_calculator.html#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__init__">(sans.calculator.kiessig_calculator.KiessigThicknessCalculator method)</a>
+  </dt>
+
+        
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.__init__">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+        
+  <dt><a href="api/slit_length_calculator.html#sans.calculator.slit_length_calculator.SlitlengthCalculator.__init__">(sans.calculator.slit_length_calculator.SlitlengthCalculator method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Aperture.__module__">__module__ (sans.calculator.instrument.Aperture attribute)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Detector.__module__">(sans.calculator.instrument.Detector attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.__module__">(sans.calculator.instrument.Neutron attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Sample.__module__">(sans.calculator.instrument.Sample attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.__module__">(sans.calculator.instrument.TOF attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/kiessig_calculator.html#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__module__">(sans.calculator.kiessig_calculator.KiessigThicknessCalculator attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.__module__">(sans.calculator.resolution_calculator.ResolutionCalculator attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/slit_length_calculator.html#sans.calculator.slit_length_calculator.SlitlengthCalculator.__module__">(sans.calculator.slit_length_calculator.SlitlengthCalculator attribute)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Aperture.__new__">__new__() (sans.calculator.instrument.Aperture static method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Detector.__new__">(sans.calculator.instrument.Detector static method)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.__new__">(sans.calculator.instrument.Neutron static method)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Sample.__new__">(sans.calculator.instrument.Sample static method)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.__new__">(sans.calculator.instrument.TOF static method)</a>
+  </dt>
+
+        
+  <dt><a href="api/kiessig_calculator.html#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__new__">(sans.calculator.kiessig_calculator.KiessigThicknessCalculator static method)</a>
+  </dt>
+
+        
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.__new__">(sans.calculator.resolution_calculator.ResolutionCalculator static method)</a>
+  </dt>
+
+        
+  <dt><a href="api/slit_length_calculator.html#sans.calculator.slit_length_calculator.SlitlengthCalculator.__new__">(sans.calculator.slit_length_calculator.SlitlengthCalculator static method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Aperture.__reduce__">__reduce__() (sans.calculator.instrument.Aperture method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Detector.__reduce__">(sans.calculator.instrument.Detector method)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.__reduce__">(sans.calculator.instrument.Neutron method)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Sample.__reduce__">(sans.calculator.instrument.Sample method)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.__reduce__">(sans.calculator.instrument.TOF method)</a>
+  </dt>
+
+        
+  <dt><a href="api/kiessig_calculator.html#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__reduce__">(sans.calculator.kiessig_calculator.KiessigThicknessCalculator method)</a>
+  </dt>
+
+        
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.__reduce__">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+        
+  <dt><a href="api/slit_length_calculator.html#sans.calculator.slit_length_calculator.SlitlengthCalculator.__reduce__">(sans.calculator.slit_length_calculator.SlitlengthCalculator method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Aperture.__reduce_ex__">__reduce_ex__() (sans.calculator.instrument.Aperture method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Detector.__reduce_ex__">(sans.calculator.instrument.Detector method)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.__reduce_ex__">(sans.calculator.instrument.Neutron method)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Sample.__reduce_ex__">(sans.calculator.instrument.Sample method)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.__reduce_ex__">(sans.calculator.instrument.TOF method)</a>
+  </dt>
+
+        
+  <dt><a href="api/kiessig_calculator.html#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__reduce_ex__">(sans.calculator.kiessig_calculator.KiessigThicknessCalculator method)</a>
+  </dt>
+
+        
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.__reduce_ex__">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+        
+  <dt><a href="api/slit_length_calculator.html#sans.calculator.slit_length_calculator.SlitlengthCalculator.__reduce_ex__">(sans.calculator.slit_length_calculator.SlitlengthCalculator method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Aperture.__repr__">__repr__ (sans.calculator.instrument.Aperture attribute)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Detector.__repr__">(sans.calculator.instrument.Detector attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.__repr__">(sans.calculator.instrument.Neutron attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Sample.__repr__">(sans.calculator.instrument.Sample attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.__repr__">(sans.calculator.instrument.TOF attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/kiessig_calculator.html#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__repr__">(sans.calculator.kiessig_calculator.KiessigThicknessCalculator attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.__repr__">(sans.calculator.resolution_calculator.ResolutionCalculator attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/slit_length_calculator.html#sans.calculator.slit_length_calculator.SlitlengthCalculator.__repr__">(sans.calculator.slit_length_calculator.SlitlengthCalculator attribute)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Aperture.__setattr__">__setattr__ (sans.calculator.instrument.Aperture attribute)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Detector.__setattr__">(sans.calculator.instrument.Detector attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.__setattr__">(sans.calculator.instrument.Neutron attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Sample.__setattr__">(sans.calculator.instrument.Sample attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.__setattr__">(sans.calculator.instrument.TOF attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/kiessig_calculator.html#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__setattr__">(sans.calculator.kiessig_calculator.KiessigThicknessCalculator attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.__setattr__">(sans.calculator.resolution_calculator.ResolutionCalculator attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/slit_length_calculator.html#sans.calculator.slit_length_calculator.SlitlengthCalculator.__setattr__">(sans.calculator.slit_length_calculator.SlitlengthCalculator attribute)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Aperture.__str__">__str__ (sans.calculator.instrument.Aperture attribute)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Detector.__str__">(sans.calculator.instrument.Detector attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.__str__">(sans.calculator.instrument.Neutron attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Sample.__str__">(sans.calculator.instrument.Sample attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.__str__">(sans.calculator.instrument.TOF attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/kiessig_calculator.html#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__str__">(sans.calculator.kiessig_calculator.KiessigThicknessCalculator attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.__str__">(sans.calculator.resolution_calculator.ResolutionCalculator attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/slit_length_calculator.html#sans.calculator.slit_length_calculator.SlitlengthCalculator.__str__">(sans.calculator.slit_length_calculator.SlitlengthCalculator attribute)</a>
+  </dt>
+
+      </dl></dd>
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Aperture.__weakref__">__weakref__ (sans.calculator.instrument.Aperture attribute)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Detector.__weakref__">(sans.calculator.instrument.Detector attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.__weakref__">(sans.calculator.instrument.Neutron attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Sample.__weakref__">(sans.calculator.instrument.Sample attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.__weakref__">(sans.calculator.instrument.TOF attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/kiessig_calculator.html#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.__weakref__">(sans.calculator.kiessig_calculator.KiessigThicknessCalculator attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.__weakref__">(sans.calculator.resolution_calculator.ResolutionCalculator attribute)</a>
+  </dt>
+
+        
+  <dt><a href="api/slit_length_calculator.html#sans.calculator.slit_length_calculator.SlitlengthCalculator.__weakref__">(sans.calculator.slit_length_calculator.SlitlengthCalculator attribute)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator._atan_phi">_atan_phi() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator._cal_A_value">_cal_A_value() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator._gaussian1d">_gaussian1d() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator._gaussian2d">_gaussian2d() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator._gaussian2d_polar">_gaussian2d_polar() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator._get_beamcenter_drop">_get_beamcenter_drop() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator._get_beamcenter_position">_get_beamcenter_position() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator._get_detector_qxqy_pixels">_get_detector_qxqy_pixels() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator._get_polar_value">_get_polar_value() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator._get_qx">_get_qx() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator._rotate_z">_rotate_z() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator._within_detector_range">_within_detector_range() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+  </dl></td>
+</tr></table>
+
 <h2 id="A">A</h2>
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Aperture">Aperture (class in sans.calculator.instrument)</a></dt>
-</dl></td>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Aperture">Aperture (class in sans.calculator.instrument)</a>
+  </dt>
+
+  </dl></td>
 </tr></table>
 
@@ -60,11 +612,23 @@
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/slit_length_calculator.html#sans.calculator.slit_length_calculator.SlitlengthCalculator.calculate_slit_length">calculate_slit_length() (sans.calculator.slit_length_calculator.SlitlengthCalculator method)</a></dt>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.compute">compute() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-</dl></td>
-  <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.compute_and_plot">compute_and_plot() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-    <dt><a href="api/kiessig_calculator.html#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.compute_thickness">compute_thickness() (sans.calculator.kiessig_calculator.KiessigThicknessCalculator method)</a></dt>
-</dl></td>
+      
+  <dt><a href="api/slit_length_calculator.html#sans.calculator.slit_length_calculator.SlitlengthCalculator.calculate_slit_length">calculate_slit_length() (sans.calculator.slit_length_calculator.SlitlengthCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.compute">compute() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.compute_and_plot">compute_and_plot() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/kiessig_calculator.html#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.compute_thickness">compute_thickness() (sans.calculator.kiessig_calculator.KiessigThicknessCalculator method)</a>
+  </dt>
+
+  </dl></td>
 </tr></table>
 
@@ -72,6 +636,9 @@
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Detector">Detector (class in sans.calculator.instrument)</a></dt>
-</dl></td>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Detector">Detector (class in sans.calculator.instrument)</a>
+  </dt>
+
+  </dl></td>
 </tr></table>
 
@@ -79,69 +646,195 @@
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_all_instrument_params">get_all_instrument_params() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.get_band">get_band() (sans.calculator.instrument.Neutron method)</a></dt>
-    <dd><dl>
-      <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.get_band">(sans.calculator.instrument.TOF method)</a></dt>
-  </dl></dd>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.get_default_spectrum">get_default_spectrum() (sans.calculator.instrument.Neutron method)</a></dt>
-    <dd><dl>
-      <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.get_default_spectrum">(sans.calculator.instrument.TOF method)</a></dt>
-      <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_default_spectrum">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-  </dl></dd>
-    <dt><a href="api/kiessig_calculator.html#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.get_deltaq">get_deltaq() (sans.calculator.kiessig_calculator.KiessigThicknessCalculator method)</a></dt>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_detector_pix_size">get_detector_pix_size() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_detector_qrange">get_detector_qrange() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_detector_size">get_detector_size() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_image">get_image() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.get_intensity">get_intensity() (sans.calculator.instrument.Neutron method)</a></dt>
-    <dd><dl>
-      <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.get_intensity">(sans.calculator.instrument.TOF method)</a></dt>
-      <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_intensity">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-  </dl></dd>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.get_intensity_list">get_intensity_list() (sans.calculator.instrument.TOF method)</a></dt>
-    <dd><dl>
-      <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_intensity_list">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-  </dl></dd>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.get_mass">get_mass() (sans.calculator.instrument.Neutron method)</a></dt>
-    <dd><dl>
-      <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.get_mass">(sans.calculator.instrument.TOF method)</a></dt>
-  </dl></dd>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_neutron_mass">get_neutron_mass() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.get_ramdom_value">get_ramdom_value() (sans.calculator.instrument.Neutron method)</a></dt>
-    <dd><dl>
-      <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.get_ramdom_value">(sans.calculator.instrument.TOF method)</a></dt>
-  </dl></dd>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_sample2detector_distance">get_sample2detector_distance() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-</dl></td>
-  <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_sample2sample_distance">get_sample2sample_distance() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_sample_aperture_size">get_sample_aperture_size() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-    <dt><a href="api/slit_length_calculator.html#sans.calculator.slit_length_calculator.SlitlengthCalculator.get_slit_length_unit">get_slit_length_unit() (sans.calculator.slit_length_calculator.SlitlengthCalculator method)</a></dt>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_source2sample_distance">get_source2sample_distance() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_source_aperture_size">get_source_aperture_size() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.get_spectrum">get_spectrum() (sans.calculator.instrument.Neutron method)</a></dt>
-    <dd><dl>
-      <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.get_spectrum">(sans.calculator.instrument.TOF method)</a></dt>
-      <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_spectrum">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-  </dl></dd>
-    <dt><a href="api/kiessig_calculator.html#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.get_thickness_unit">get_thickness_unit() (sans.calculator.kiessig_calculator.KiessigThicknessCalculator method)</a></dt>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_variance">get_variance() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_variance_gravity">get_variance_gravity() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_variance_wave">get_variance_wave() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.get_wave_list">get_wave_list() (sans.calculator.instrument.TOF method)</a></dt>
-    <dd><dl>
-      <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_wave_list">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-  </dl></dd>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.get_wavelength">get_wavelength() (sans.calculator.instrument.Neutron method)</a></dt>
-    <dd><dl>
-      <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.get_wavelength">(sans.calculator.instrument.TOF method)</a></dt>
-      <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_wavelength">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-  </dl></dd>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.get_wavelength_spread">get_wavelength_spread() (sans.calculator.instrument.Neutron method)</a></dt>
-    <dd><dl>
-      <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.get_wavelength_spread">(sans.calculator.instrument.TOF method)</a></dt>
-      <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_wavelength_spread">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-  </dl></dd>
-</dl></td>
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_all_instrument_params">get_all_instrument_params() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.get_band">get_band() (sans.calculator.instrument.Neutron method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.get_band">(sans.calculator.instrument.TOF method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.get_default_spectrum">get_default_spectrum() (sans.calculator.instrument.Neutron method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.get_default_spectrum">(sans.calculator.instrument.TOF method)</a>
+  </dt>
+
+        
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_default_spectrum">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/kiessig_calculator.html#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.get_deltaq">get_deltaq() (sans.calculator.kiessig_calculator.KiessigThicknessCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_detector_pix_size">get_detector_pix_size() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_detector_qrange">get_detector_qrange() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_detector_size">get_detector_size() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_image">get_image() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.get_intensity">get_intensity() (sans.calculator.instrument.Neutron method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.get_intensity">(sans.calculator.instrument.TOF method)</a>
+  </dt>
+
+        
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_intensity">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.get_intensity_list">get_intensity_list() (sans.calculator.instrument.TOF method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_intensity_list">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.get_mass">get_mass() (sans.calculator.instrument.Neutron method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.get_mass">(sans.calculator.instrument.TOF method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_neutron_mass">get_neutron_mass() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.get_ramdom_value">get_ramdom_value() (sans.calculator.instrument.Neutron method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.get_ramdom_value">(sans.calculator.instrument.TOF method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_sample2detector_distance">get_sample2detector_distance() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_sample2sample_distance">get_sample2sample_distance() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_sample_aperture_size">get_sample_aperture_size() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/slit_length_calculator.html#sans.calculator.slit_length_calculator.SlitlengthCalculator.get_slit_length_unit">get_slit_length_unit() (sans.calculator.slit_length_calculator.SlitlengthCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_source2sample_distance">get_source2sample_distance() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_source_aperture_size">get_source_aperture_size() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.get_spectrum">get_spectrum() (sans.calculator.instrument.Neutron method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.get_spectrum">(sans.calculator.instrument.TOF method)</a>
+  </dt>
+
+        
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_spectrum">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/kiessig_calculator.html#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.get_thickness_unit">get_thickness_unit() (sans.calculator.kiessig_calculator.KiessigThicknessCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_variance">get_variance() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_variance_gravity">get_variance_gravity() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_variance_wave">get_variance_wave() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.get_wave_list">get_wave_list() (sans.calculator.instrument.TOF method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_wave_list">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.get_wavelength">get_wavelength() (sans.calculator.instrument.Neutron method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.get_wavelength">(sans.calculator.instrument.TOF method)</a>
+  </dt>
+
+        
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_wavelength">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.get_wavelength_spread">get_wavelength_spread() (sans.calculator.instrument.Neutron method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.get_wavelength_spread">(sans.calculator.instrument.TOF method)</a>
+  </dt>
+
+        
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.get_wavelength_spread">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      </dl></dd>
+  </dl></td>
 </tr></table>
 
@@ -149,6 +842,9 @@
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/kiessig_calculator.html#sans.calculator.kiessig_calculator.KiessigThicknessCalculator">KiessigThicknessCalculator (class in sans.calculator.kiessig_calculator)</a></dt>
-</dl></td>
+      
+  <dt><a href="api/kiessig_calculator.html#sans.calculator.kiessig_calculator.KiessigThicknessCalculator">KiessigThicknessCalculator (class in sans.calculator.kiessig_calculator)</a>
+  </dt>
+
+  </dl></td>
 </tr></table>
 
@@ -156,6 +852,9 @@
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron">Neutron (class in sans.calculator.instrument)</a></dt>
-</dl></td>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron">Neutron (class in sans.calculator.instrument)</a>
+  </dt>
+
+  </dl></td>
 </tr></table>
 
@@ -163,12 +862,21 @@
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.plot_image">plot_image() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-</dl></td>
-  <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.plot_spectrum">plot_spectrum() (sans.calculator.instrument.Neutron method)</a></dt>
-    <dd><dl>
-      <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.plot_spectrum">(sans.calculator.instrument.TOF method)</a></dt>
-  </dl></dd>
-</dl></td>
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.plot_image">plot_image() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.plot_spectrum">plot_spectrum() (sans.calculator.instrument.Neutron method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.plot_spectrum">(sans.calculator.instrument.TOF method)</a>
+  </dt>
+
+      </dl></dd>
+  </dl></td>
 </tr></table>
 
@@ -176,9 +884,15 @@
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.reset_image">reset_image() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-</dl></td>
-  <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator">ResolutionCalculator (class in sans.calculator.resolution_calculator)</a></dt>
-</dl></td>
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.reset_image">reset_image() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator">ResolutionCalculator (class in sans.calculator.resolution_calculator)</a>
+  </dt>
+
+  </dl></td>
 </tr></table>
 
@@ -186,80 +900,233 @@
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Sample">Sample (class in sans.calculator.instrument)</a></dt>
-    <dt><a href="api/instrument.html#module-sans.calculator.instrument">sans.calculator.instrument (module)</a></dt>
-    <dt><a href="api/kiessig_calculator.html#module-sans.calculator.kiessig_calculator">sans.calculator.kiessig_calculator (module)</a></dt>
-    <dt><a href="api/resolution_calculator.html#module-sans.calculator.resolution_calculator">sans.calculator.resolution_calculator (module)</a></dt>
-    <dt><a href="api/slit_length_calculator.html#module-sans.calculator.slit_length_calculator">sans.calculator.slit_length_calculator (module)</a></dt>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.set_band">set_band() (sans.calculator.instrument.Neutron method)</a></dt>
-    <dd><dl>
-      <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.set_band">(sans.calculator.instrument.TOF method)</a></dt>
-  </dl></dd>
-    <dt><a href="api/slit_length_calculator.html#sans.calculator.slit_length_calculator.SlitlengthCalculator.set_data">set_data() (sans.calculator.slit_length_calculator.SlitlengthCalculator method)</a></dt>
-    <dt><a href="api/kiessig_calculator.html#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.set_deltaq">set_deltaq() (sans.calculator.kiessig_calculator.KiessigThicknessCalculator method)</a></dt>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_detector_pix_size">set_detector_pix_size() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_detector_size">set_detector_size() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Detector.set_distance">set_distance() (sans.calculator.instrument.Detector method)</a></dt>
-    <dd><dl>
-      <dt><a href="api/instrument.html#sans.calculator.instrument.Sample.set_distance">(sans.calculator.instrument.Sample method)</a></dt>
-  </dl></dd>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.set_full_band">set_full_band() (sans.calculator.instrument.Neutron method)</a></dt>
-    <dd><dl>
-      <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.set_full_band">(sans.calculator.instrument.TOF method)</a></dt>
-  </dl></dd>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.set_intensity">set_intensity() (sans.calculator.instrument.Neutron method)</a></dt>
-    <dd><dl>
-      <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.set_intensity">(sans.calculator.instrument.TOF method)</a></dt>
-      <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_intensity">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-  </dl></dd>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.set_mass">set_mass() (sans.calculator.instrument.Neutron method)</a></dt>
-    <dd><dl>
-      <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.set_mass">(sans.calculator.instrument.TOF method)</a></dt>
-  </dl></dd>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_neutron_mass">set_neutron_mass() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Detector.set_pix_size">set_pix_size() (sans.calculator.instrument.Detector method)</a></dt>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_sample2detector_distance">set_sample2detector_distance() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_sample2sample_distance">set_sample2sample_distance() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-</dl></td>
-  <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_sample_aperture_size">set_sample_aperture_size() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Aperture.set_sample_distance">set_sample_distance() (sans.calculator.instrument.Aperture method)</a></dt>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Aperture.set_sample_size">set_sample_size() (sans.calculator.instrument.Aperture method)</a></dt>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Detector.set_size">set_size() (sans.calculator.instrument.Detector method)</a></dt>
-    <dd><dl>
-      <dt><a href="api/instrument.html#sans.calculator.instrument.Sample.set_size">(sans.calculator.instrument.Sample method)</a></dt>
-  </dl></dd>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_source2sample_distance">set_source2sample_distance() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_source_aperture_size">set_source_aperture_size() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Aperture.set_source_size">set_source_size() (sans.calculator.instrument.Aperture method)</a></dt>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.set_spectrum">set_spectrum() (sans.calculator.instrument.Neutron method)</a></dt>
-    <dd><dl>
-      <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.set_spectrum">(sans.calculator.instrument.TOF method)</a></dt>
-      <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_spectrum">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-  </dl></dd>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Sample.set_thickness">set_thickness() (sans.calculator.instrument.Sample method)</a></dt>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_wave">set_wave() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.set_wave_list">set_wave_list() (sans.calculator.instrument.TOF method)</a></dt>
-    <dd><dl>
-      <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_wave_list">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-  </dl></dd>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_wave_spread">set_wave_spread() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.set_wave_spread_list">set_wave_spread_list() (sans.calculator.instrument.TOF method)</a></dt>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.set_wavelength">set_wavelength() (sans.calculator.instrument.Neutron method)</a></dt>
-    <dd><dl>
-      <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.set_wavelength">(sans.calculator.instrument.TOF method)</a></dt>
-      <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_wavelength">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-  </dl></dd>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.set_wavelength_spread">set_wavelength_spread() (sans.calculator.instrument.Neutron method)</a></dt>
-    <dd><dl>
-      <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.set_wavelength_spread">(sans.calculator.instrument.TOF method)</a></dt>
-      <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_wavelength_spread">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-  </dl></dd>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.setup_spectrum">setup_spectrum() (sans.calculator.instrument.Neutron method)</a></dt>
-    <dd><dl>
-      <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.setup_spectrum">(sans.calculator.instrument.TOF method)</a></dt>
-  </dl></dd>
-    <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.setup_tof">setup_tof() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a></dt>
-    <dt><a href="api/slit_length_calculator.html#sans.calculator.slit_length_calculator.SlitlengthCalculator">SlitlengthCalculator (class in sans.calculator.slit_length_calculator)</a></dt>
-</dl></td>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Sample">Sample (class in sans.calculator.instrument)</a>
+  </dt>
+
+      
+  <dt><a href="api/instrument.html#module-sans.calculator.instrument">sans.calculator.instrument (module)</a>
+  </dt>
+
+      
+  <dt><a href="api/kiessig_calculator.html#module-sans.calculator.kiessig_calculator">sans.calculator.kiessig_calculator (module)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#module-sans.calculator.resolution_calculator">sans.calculator.resolution_calculator (module)</a>
+  </dt>
+
+      
+  <dt><a href="api/slit_length_calculator.html#module-sans.calculator.slit_length_calculator">sans.calculator.slit_length_calculator (module)</a>
+  </dt>
+
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.set_band">set_band() (sans.calculator.instrument.Neutron method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.set_band">(sans.calculator.instrument.TOF method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/slit_length_calculator.html#sans.calculator.slit_length_calculator.SlitlengthCalculator.set_data">set_data() (sans.calculator.slit_length_calculator.SlitlengthCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/kiessig_calculator.html#sans.calculator.kiessig_calculator.KiessigThicknessCalculator.set_deltaq">set_deltaq() (sans.calculator.kiessig_calculator.KiessigThicknessCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_detector_pix_size">set_detector_pix_size() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_detector_size">set_detector_size() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Detector.set_distance">set_distance() (sans.calculator.instrument.Detector method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Sample.set_distance">(sans.calculator.instrument.Sample method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.set_full_band">set_full_band() (sans.calculator.instrument.Neutron method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.set_full_band">(sans.calculator.instrument.TOF method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.set_intensity">set_intensity() (sans.calculator.instrument.Neutron method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.set_intensity">(sans.calculator.instrument.TOF method)</a>
+  </dt>
+
+        
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_intensity">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.set_mass">set_mass() (sans.calculator.instrument.Neutron method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.set_mass">(sans.calculator.instrument.TOF method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_neutron_mass">set_neutron_mass() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Detector.set_pix_size">set_pix_size() (sans.calculator.instrument.Detector method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_sample2detector_distance">set_sample2detector_distance() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_sample2sample_distance">set_sample2sample_distance() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_sample_aperture_size">set_sample_aperture_size() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Aperture.set_sample_distance">set_sample_distance() (sans.calculator.instrument.Aperture method)</a>
+  </dt>
+
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Aperture.set_sample_size">set_sample_size() (sans.calculator.instrument.Aperture method)</a>
+  </dt>
+
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Detector.set_size">set_size() (sans.calculator.instrument.Detector method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Sample.set_size">(sans.calculator.instrument.Sample method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_source2sample_distance">set_source2sample_distance() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_source_aperture_size">set_source_aperture_size() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Aperture.set_source_size">set_source_size() (sans.calculator.instrument.Aperture method)</a>
+  </dt>
+
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.set_spectrum">set_spectrum() (sans.calculator.instrument.Neutron method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.set_spectrum">(sans.calculator.instrument.TOF method)</a>
+  </dt>
+
+        
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_spectrum">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Sample.set_thickness">set_thickness() (sans.calculator.instrument.Sample method)</a>
+  </dt>
+
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_wave">set_wave() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.set_wave_list">set_wave_list() (sans.calculator.instrument.TOF method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_wave_list">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_wave_spread">set_wave_spread() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.set_wave_spread_list">set_wave_spread_list() (sans.calculator.instrument.TOF method)</a>
+  </dt>
+
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.set_wavelength">set_wavelength() (sans.calculator.instrument.Neutron method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.set_wavelength">(sans.calculator.instrument.TOF method)</a>
+  </dt>
+
+        
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_wavelength">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.set_wavelength_spread">set_wavelength_spread() (sans.calculator.instrument.Neutron method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.set_wavelength_spread">(sans.calculator.instrument.TOF method)</a>
+  </dt>
+
+        
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.set_wavelength_spread">(sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.Neutron.setup_spectrum">setup_spectrum() (sans.calculator.instrument.Neutron method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF.setup_spectrum">(sans.calculator.instrument.TOF method)</a>
+  </dt>
+
+      </dl></dd>
+      
+  <dt><a href="api/resolution_calculator.html#sans.calculator.resolution_calculator.ResolutionCalculator.setup_tof">setup_tof() (sans.calculator.resolution_calculator.ResolutionCalculator method)</a>
+  </dt>
+
+      
+  <dt><a href="api/slit_length_calculator.html#sans.calculator.slit_length_calculator.SlitlengthCalculator">SlitlengthCalculator (class in sans.calculator.slit_length_calculator)</a>
+  </dt>
+
+  </dl></td>
 </tr></table>
 
@@ -267,6 +1134,9 @@
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.TOF">TOF (class in sans.calculator.instrument)</a></dt>
-</dl></td>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.TOF">TOF (class in sans.calculator.instrument)</a>
+  </dt>
+
+  </dl></td>
 </tr></table>
 
@@ -274,6 +1144,9 @@
 <table style="width: 100%" class="indextable genindextable"><tr>
   <td style="width: 33%" valign="top"><dl>
-    <dt><a href="api/instrument.html#sans.calculator.instrument.validate">validate() (in module sans.calculator.instrument)</a></dt>
-</dl></td>
+      
+  <dt><a href="api/instrument.html#sans.calculator.instrument.validate">validate() (in module sans.calculator.instrument)</a>
+  </dt>
+
+  </dl></td>
 </tr></table>
 
@@ -291,5 +1164,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" />
@@ -314,10 +1187,10 @@
           <a href="py-modindex.html" title="Python Module Index"
              >modules</a> |</li>
-        <li><a href="index.html">calculator v0.1.0 documentation</a> &raquo;</li> 
+        <li><a href="index.html">calculator 0.1.0 documentation</a> &raquo;</li> 
       </ul>
     </div>
     <div class="footer">
         &copy; Copyright 2010, Gervaise Alina.
-      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: sanscalculator/docs/sphinx/html/index.html
===================================================================
--- sanscalculator/docs/sphinx/html/index.html	(revision 771fe98097297bf37450a51676f6d5c918873ead)
+++ sanscalculator/docs/sphinx/html/index.html	(revision a4f04f2b1ff7c1c783d298fca0a598a8374b0ace)
@@ -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>Calculator &mdash; calculator v0.1.0 documentation</title>
+    <title>Calculator &mdash; calculator 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="calculator v0.1.0 documentation" href="#" />
+    <link rel="top" title="calculator 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="#">calculator v0.1.0 documentation</a> &raquo;</li> 
+        <li><a href="#">calculator 0.1.0 documentation</a> &raquo;</li> 
       </ul>
     </div>  
@@ -60,7 +63,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>
@@ -69,8 +72,8 @@
 <ul>
 <li class="toctree-l1"><a class="reference internal" href="api/index.html">Reference</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="api/instrument.html">Instrument</a></li>
-<li class="toctree-l2"><a class="reference internal" href="api/slit_length_calculator.html">Slit Length Calculator</a></li>
-<li class="toctree-l2"><a class="reference internal" href="api/kiessig_calculator.html">Kiessig Calculator</a></li>
-<li class="toctree-l2"><a class="reference internal" href="api/resolution_calculator.html">Resolution Calculator</a></li>
+<li class="toctree-l2"><a class="reference internal" href="api/instrument.html">instrument</a></li>
+<li class="toctree-l2"><a class="reference internal" href="api/kiessig_calculator.html">kiessig_calculator</a></li>
+<li class="toctree-l2"><a class="reference internal" href="api/resolution_calculator.html">resolution_calculator</a></li>
+<li class="toctree-l2"><a class="reference internal" href="api/slit_length_calculator.html">slit_length_calculator</a></li>
 </ul>
 </li>
@@ -112,5 +115,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" />
@@ -138,10 +141,10 @@
           <a href="api/index.html" title="Reference"
              >next</a> |</li>
-        <li><a href="#">calculator v0.1.0 documentation</a> &raquo;</li> 
+        <li><a href="#">calculator 0.1.0 documentation</a> &raquo;</li> 
       </ul>
     </div>
     <div class="footer">
         &copy; Copyright 2010, Gervaise Alina.
-      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: sanscalculator/docs/sphinx/html/py-modindex.html
===================================================================
--- sanscalculator/docs/sphinx/html/py-modindex.html	(revision 771fe98097297bf37450a51676f6d5c918873ead)
+++ sanscalculator/docs/sphinx/html/py-modindex.html	(revision a4f04f2b1ff7c1c783d298fca0a598a8374b0ace)
@@ -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; calculator v0.1.0 documentation</title>
+    <title>Python Module Index &mdash; calculator 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="calculator v0.1.0 documentation" href="index.html" />
+    <link rel="top" title="calculator 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">calculator v0.1.0 documentation</a> &raquo;</li> 
+        <li><a href="index.html">calculator 0.1.0 documentation</a> &raquo;</li> 
       </ul>
     </div>  
@@ -95,5 +98,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" />
@@ -118,10 +121,10 @@
           <a href="#" title="Python Module Index"
              >modules</a> |</li>
-        <li><a href="index.html">calculator v0.1.0 documentation</a> &raquo;</li> 
+        <li><a href="index.html">calculator 0.1.0 documentation</a> &raquo;</li> 
       </ul>
     </div>
     <div class="footer">
         &copy; Copyright 2010, Gervaise Alina.
-      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: sanscalculator/docs/sphinx/html/search.html
===================================================================
--- sanscalculator/docs/sphinx/html/search.html	(revision 771fe98097297bf37450a51676f6d5c918873ead)
+++ sanscalculator/docs/sphinx/html/search.html	(revision a4f04f2b1ff7c1c783d298fca0a598a8374b0ace)
@@ -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; calculator v0.1.0 documentation</title>
+    <title>Search &mdash; calculator 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="calculator v0.1.0 documentation" href="index.html" />
+    <link rel="top" title="calculator 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">calculator v0.1.0 documentation</a> &raquo;</li> 
+        <li><a href="index.html">calculator 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">calculator v0.1.0 documentation</a> &raquo;</li> 
+        <li><a href="index.html">calculator 0.1.0 documentation</a> &raquo;</li> 
       </ul>
     </div>
     <div class="footer">
         &copy; Copyright 2010, Gervaise Alina.
-      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: sanscalculator/docs/sphinx/html/searchindex.js
===================================================================
--- sanscalculator/docs/sphinx/html/searchindex.js	(revision 771fe98097297bf37450a51676f6d5c918873ead)
+++ sanscalculator/docs/sphinx/html/searchindex.js	(revision a4f04f2b1ff7c1c783d298fca0a598a8374b0ace)
@@ -1,1 +1,1 @@
-Search.setIndex({objects:{"sans.calculator.resolution_calculator.ResolutionCalculator":{set_neutron_mass:[2,1,1],set_wavelength_spread:[2,1,1],set_wave_list:[2,1,1],get_intensity_list:[2,1,1],get_wave_list:[2,1,1],get_sample2detector_distance:[2,1,1],get_detector_pix_size:[2,1,1],set_sample2detector_distance:[2,1,1],setup_tof:[2,1,1],plot_image:[2,1,1],set_wave_spread:[2,1,1],get_sample2sample_distance:[2,1,1],get_wavelength:[2,1,1],get_source2sample_distance:[2,1,1],get_source_aperture_size:[2,1,1],get_sample_aperture_size:[2,1,1],get_default_spectrum:[2,1,1],set_detector_size:[2,1,1],get_variance:[2,1,1],get_wavelength_spread:[2,1,1],set_detector_pix_size:[2,1,1],get_intensity:[2,1,1],set_intensity:[2,1,1],set_source2sample_distance:[2,1,1],set_sample_aperture_size:[2,1,1],get_neutron_mass:[2,1,1],get_variance_gravity:[2,1,1],set_sample2sample_distance:[2,1,1],get_variance_wave:[2,1,1],reset_image:[2,1,1],get_all_instrument_params:[2,1,1],compute_and_plot:[2,1,1],get_detector_size:[2,1,1],get_detector_qrange:[2,1,1],get_image:[2,1,1],compute:[2,1,1],get_spectrum:[2,1,1],set_spectrum:[2,1,1],set_wave:[2,1,1],set_wavelength:[2,1,1],set_source_aperture_size:[2,1,1]},"sans.calculator.instrument.Neutron":{set_band:[4,1,1],set_intensity:[4,1,1],set_full_band:[4,1,1],get_spectrum:[4,1,1],set_wavelength_spread:[4,1,1],set_spectrum:[4,1,1],get_intensity:[4,1,1],get_ramdom_value:[4,1,1],set_wavelength:[4,1,1],get_wavelength_spread:[4,1,1],setup_spectrum:[4,1,1],get_band:[4,1,1],get_mass:[4,1,1],plot_spectrum:[4,1,1],get_wavelength:[4,1,1],set_mass:[4,1,1],get_default_spectrum:[4,1,1]},"sans.calculator.slit_length_calculator.SlitlengthCalculator":{get_slit_length_unit:[5,1,1],calculate_slit_length:[5,1,1],set_data:[5,1,1]},"sans.calculator.kiessig_calculator":{KiessigThicknessCalculator:[1,2,1]},"sans.calculator.instrument.Detector":{set_pix_size:[4,1,1],set_size:[4,1,1],set_distance:[4,1,1]},"sans.calculator.slit_length_calculator":{SlitlengthCalculator:[5,2,1]},"sans.calculator.kiessig_calculator.KiessigThicknessCalculator":{set_deltaq:[1,1,1],get_thickness_unit:[1,1,1],compute_thickness:[1,1,1],get_deltaq:[1,1,1]},"sans.calculator":{resolution_calculator:[2,0,1],instrument:[4,0,1],kiessig_calculator:[1,0,1],slit_length_calculator:[5,0,1]},"sans.calculator.resolution_calculator":{ResolutionCalculator:[2,2,1]},"sans.calculator.instrument":{Sample:[4,2,1],Aperture:[4,2,1],Detector:[4,2,1],TOF:[4,2,1],validate:[4,3,1],Neutron:[4,2,1]},"sans.calculator.instrument.TOF":{set_band:[4,1,1],set_mass:[4,1,1],set_full_band:[4,1,1],get_spectrum:[4,1,1],set_wavelength_spread:[4,1,1],set_wave_list:[4,1,1],get_intensity:[4,1,1],get_intensity_list:[4,1,1],get_ramdom_value:[4,1,1],get_wave_list:[4,1,1],set_wavelength:[4,1,1],set_wave_spread_list:[4,1,1],get_wavelength_spread:[4,1,1],setup_spectrum:[4,1,1],get_band:[4,1,1],get_mass:[4,1,1],plot_spectrum:[4,1,1],get_wavelength:[4,1,1],set_intensity:[4,1,1],get_default_spectrum:[4,1,1],set_spectrum:[4,1,1]},"sans.calculator.instrument.Aperture":{set_sample_distance:[4,1,1],set_source_size:[4,1,1],set_sample_size:[4,1,1]},"sans.calculator.instrument.Sample":{set_thickness:[4,1,1],set_size:[4,1,1],set_distance:[4,1,1]}},terms:{sampleslitsample_dist:2,deltaq:1,all:2,distanc:[2,4],yheight_valu:2,pylab:2,set_deltaq:1,radiu:2,folat:4,incid:2,follow:0,yx_pix_num:2,set_thick:4,user:[2,1,4,5],paramet:[2,1,4,5],set_pix_s:4,ratio:2,get_slit_length_unit:5,get_source_aperture_s:2,sigma_r:2,param:2,instrument:[3,0,4,2],wrt:4,get_wavelength_spread:[2,4],get_variance_grav:2,modul:[0,1,4,5],qy_valu:2,real:1,applic:0,sourc:[2,4],"return":[2,1,4,5],get:[2,4],fals:4,none:[5,1,4],wave:4,get_intens:[2,4],beam:[2,5],set_siz:4,sample_slit2sample_dist:2,"2nd":5,imag:2,detector:[2,4],requir:4,y_valu:2,get_vari:2,get_spectrum:[2,4],get_ramdom_valu:4,independ:0,sigma_2:2,sigma_1:2,default_spectrum:2,list:[2,4],coord:2,vector:5,necessari:0,setup_spectrum:4,contain:0,small:[5,0,1,4,2],s_distanc:2,where:2,page:0,apertur:[2,4],set_source_s:4,set:[2,4],get_sample2sample_dist:2,set_wavelength_spread:[2,4],sld_calcul:6,set_wave_list:[2,4],"1st":5,direct:2,wavelength_spread:[2,4],sampl:[2,4],get_thickness_unit:1,band:4,set_wave_spread:2,pixel_num:2,wavelength:[2,4],get_wavelength:[2,4],set_full_band:4,get_default_spectrum:[2,4],set_data:5,x_valu:2,variabl:4,index:[0,2],x_pix_num:2,set_detector_pix_s:2,sub:0,"3rd":5,space:1,pyplot:[2,4],slit_length_calcul:[3,5],set_sample2sample_dist:2,set_source2sample_dist:2,set_neutron_mass:2,d_distanc:2,set_sample2detector_dist:2,determin:[2,1,5],kiessig:[3,0,1],slitlengthcalcul:5,refer:[3,0],plt:2,august:[3,0],get_neutron_mass:2,comp:2,sansview:0,radial:2,calculate_slit_length:5,matplotlib:4,invari:[],base:[2,1,4,5],spactrum:4,releas:[3,0],compute_and_plot:2,along:2,fring:1,valu:[2,1,4,5],search:0,set_spectrum:[2,4],current:0,set_wav:2,count:4,set_wavelength:[2,4],etc:2,length:[3,0,5,4,2],resolution_calcul:[3,2],plot_imag:2,col:5,lambda:2,diamet:2,pix_siz:4,within:4,arrai:[5,4],each:0,qx_min:2,number:2,set_sample_dist:4,saxsess:5,alreadi:4,get_mass:4,thick:[1,4],assum:4,unit:[5,1],size:[2,1,4],plot:[2,4],given:2,cartesian:2,from:[2,1,5],full_cal:2,width:1,data:[5,1],compute_thick:1,numpi:4,system:2,get_detector_pix_s:2,compon:2,get_detector_qrang:2,qx_max:2,spread:[2,4],reset_imag:2,tof:4,quickli:[2,1,5],set_band:4,tupl:2,tool:[5,0,1,4,2],resolut:[3,0,2],set_intens:[2,4],"6749272900000001e":4,coordin:2,set_dist:4,indic:0,get_band:4,plot_spectrum:4,source2sample_dist:2,set_mass:4,"true":[2,4],reset:2,xheight_valu:2,pinhol:2,set_detector_s:2,get_sample_aperture_s:2,"default":[2,4],setup:2,kiessigthicknesscalcul:1,defin:4,calcul:[0,1,2,3,4,5,6],can:2,x_offset:2,sld:6,sec:4,get_sample2detector_dist:2,get_all_instrument_param:2,set_sample_s:4,control:4,comput:[5,0,1,2],wavelength_list:[2,4],readi:2,get_intensity_list:[2,4],spectrum:[2,4],get_wave_list:[2,4],pix:2,packag:0,slit:[3,0,5,2],setup_tof:2,tabl:0,ind:2,check:4,date:[3,0],min:4,receiv:[5,1],allow:[2,1,4,5],make:4,when:2,wavelengthspread_list:2,other:0,need:5,valid:4,get_detector_s:2,resolutioncalcul:2,dia_valu:2,prepar:5,graviti:2,neutron:[2,4],circular:2,polar:2,phi:2,thi:[2,1,4,5],max:[2,4],"class":[2,1,4,5],object:[2,1,4,5],kiessig_calcul:[3,1],get_imag:2,rang:2,intens:[2,4],two:[2,5],resoltuion:2,mai:0,pixel:2,varianc:2,set_source_aperture_s:2,get_variance_wav:2,set_sample_aperture_s:2,qy_max:2,qy_min:2,qx_valu:2,don:5,center:2,set_wave_spread_list:4,"_spectrum":2,"switch":2,rectangular:2,mass:[2,4],get_deltaq:1,san:[0,1,2,3,4,5,6],profil:5,sigma:2,sample2detector_dist:2,get_source2sample_dist:2},objtypes:{"0":"py:module","1":"py:method","2":"py:class","3":"py:function"},titles:["Calculator","Kiessig Calculator","Resolution Calculator","Reference","Instrument","Slit Length Calculator","Sld Calculator"],objnames:{"0":"Python module","1":"Python method","2":"Python class","3":"Python function"},filenames:["index","api/kiessig_calculator","api/resolution_calculator","api/index","api/instrument","api/slit_length_calculator","api/sld_calculator"]})
+Search.setIndex({objects:{"sans.calculator.resolution_calculator.ResolutionCalculator":{"_atan_phi":[0,1,1,""],"__module__":[0,3,1,""],set_neutron_mass:[0,1,1,""],get_source2sample_distance:[0,1,1,""],set_wavelength_spread:[0,1,1,""],set_wave_list:[0,1,1,""],get_intensity_list:[0,1,1,""],"__reduce__":[0,1,1,""],"_gaussian1d":[0,1,1,""],get_wave_list:[0,1,1,""],"__class__":[0,3,1,""],get_detector_pix_size:[0,1,1,""],set_sample2detector_distance:[0,1,1,""],setup_tof:[0,1,1,""],plot_image:[0,1,1,""],set_wave_spread:[0,1,1,""],"__dict__":[0,3,1,""],get_sample2sample_distance:[0,1,1,""],get_wavelength:[0,1,1,""],"_cal_A_value":[0,1,1,""],"__weakref__":[0,3,1,""],get_source_aperture_size:[0,1,1,""],"__init__":[0,1,1,""],"__setattr__":[0,3,1,""],"__reduce_ex__":[0,1,1,""],"_get_detector_qxqy_pixels":[0,1,1,""],get_sample_aperture_size:[0,1,1,""],get_default_spectrum:[0,1,1,""],get_variance:[0,1,1,""],"_get_beamcenter_drop":[0,1,1,""],set_detector_size:[0,1,1,""],get_wavelength_spread:[0,1,1,""],set_detector_pix_size:[0,1,1,""],get_variance_gravity:[0,1,1,""],get_intensity:[0,1,1,""],compute:[0,1,1,""],set_intensity:[0,1,1,""],"__str__":[0,3,1,""],set_source2sample_distance:[0,1,1,""],set_sample_aperture_size:[0,1,1,""],"_rotate_z":[0,1,1,""],get_neutron_mass:[0,1,1,""],"__getattribute__":[0,3,1,""],get_detector_qrange:[0,1,1,""],"_gaussian2d":[0,1,1,""],"_get_qx":[0,1,1,""],set_sample2sample_distance:[0,1,1,""],"_get_polar_value":[0,1,1,""],get_variance_wave:[0,1,1,""],reset_image:[0,1,1,""],get_all_instrument_params:[0,1,1,""],compute_and_plot:[0,1,1,""],get_sample2detector_distance:[0,1,1,""],get_detector_size:[0,1,1,""],"__new__":[0,4,1,""],get_image:[0,1,1,""],"_get_beamcenter_position":[0,1,1,""],get_spectrum:[0,1,1,""],set_spectrum:[0,1,1,""],set_wave:[0,1,1,""],set_wavelength:[0,1,1,""],"__delattr__":[0,3,1,""],"_gaussian2d_polar":[0,1,1,""],"__repr__":[0,3,1,""],"_within_detector_range":[0,1,1,""],"__hash__":[0,3,1,""],set_source_aperture_size:[0,1,1,""]},"sans.calculator.instrument.Neutron":{"__module__":[4,3,1,""],set_wavelength_spread:[4,1,1,""],"__str__":[4,3,1,""],"__reduce__":[4,1,1,""],get_mass:[4,1,1,""],"__dict__":[4,3,1,""],get_wavelength:[4,1,1,""],set_full_band:[4,1,1,""],"__weakref__":[4,3,1,""],"__init__":[4,1,1,""],"__setattr__":[4,3,1,""],"__reduce_ex__":[4,1,1,""],"__new__":[4,4,1,""],get_default_spectrum:[4,1,1,""],"__class__":[4,3,1,""],get_wavelength_spread:[4,1,1,""],get_intensity:[4,1,1,""],set_intensity:[4,1,1,""],"__repr__":[4,3,1,""],set_band:[4,1,1,""],"__getattribute__":[4,3,1,""],get_ramdom_value:[4,1,1,""],get_band:[4,1,1,""],plot_spectrum:[4,1,1,""],set_mass:[4,1,1,""],get_spectrum:[4,1,1,""],set_spectrum:[4,1,1,""],set_wavelength:[4,1,1,""],"__delattr__":[4,3,1,""],setup_spectrum:[4,1,1,""],"__hash__":[4,3,1,""]},"sans.calculator.slit_length_calculator.SlitlengthCalculator":{get_slit_length_unit:[5,1,1,""],"__module__":[5,3,1,""],"__reduce_ex__":[5,1,1,""],"__new__":[5,4,1,""],"__delattr__":[5,3,1,""],"__reduce__":[5,1,1,""],"__str__":[5,3,1,""],"__getattribute__":[5,3,1,""],calculate_slit_length:[5,1,1,""],"__class__":[5,3,1,""],"__hash__":[5,3,1,""],"__repr__":[5,3,1,""],set_data:[5,1,1,""],"__dict__":[5,3,1,""],"__setattr__":[5,3,1,""],"__weakref__":[5,3,1,""],"__init__":[5,1,1,""]},"sans.calculator.kiessig_calculator":{KiessigThicknessCalculator:[1,2,1,""]},"sans.calculator.instrument.Detector":{"__module__":[4,3,1,""],"__reduce_ex__":[4,1,1,""],"__new__":[4,4,1,""],"__delattr__":[4,3,1,""],"__getattribute__":[4,3,1,""],"__str__":[4,3,1,""],"__reduce__":[4,1,1,""],set_distance:[4,1,1,""],"__class__":[4,3,1,""],"__hash__":[4,3,1,""],set_pix_size:[4,1,1,""],set_size:[4,1,1,""],"__repr__":[4,3,1,""],"__setattr__":[4,3,1,""],"__dict__":[4,3,1,""],"__weakref__":[4,3,1,""],"__init__":[4,1,1,""]},"sans.calculator.slit_length_calculator":{SlitlengthCalculator:[5,2,1,""]},"sans.calculator.kiessig_calculator.KiessigThicknessCalculator":{"__setattr__":[1,3,1,""],"__reduce_ex__":[1,1,1,""],"__new__":[1,4,1,""],"__module__":[1,3,1,""],"__reduce__":[1,1,1,""],set_deltaq:[1,1,1,""],"__getattribute__":[1,3,1,""],"__class__":[1,3,1,""],get_thickness_unit:[1,1,1,""],"__dict__":[1,3,1,""],"__delattr__":[1,3,1,""],"__repr__":[1,3,1,""],get_deltaq:[1,1,1,""],"__hash__":[1,3,1,""],"__weakref__":[1,3,1,""],"__str__":[1,3,1,""],"__init__":[1,1,1,""],compute_thickness:[1,1,1,""]},"sans.calculator":{resolution_calculator:[0,0,1,""],instrument:[4,0,1,""],kiessig_calculator:[1,0,1,""],slit_length_calculator:[5,0,1,""]},"sans.calculator.resolution_calculator":{ResolutionCalculator:[0,2,1,""]},"sans.calculator.instrument":{Sample:[4,2,1,""],Aperture:[4,2,1,""],Detector:[4,2,1,""],TOF:[4,2,1,""],validate:[4,5,1,""],Neutron:[4,2,1,""]},"sans.calculator.instrument.TOF":{"__module__":[4,3,1,""],set_wavelength_spread:[4,1,1,""],set_wave_list:[4,1,1,""],get_intensity_list:[4,1,1,""],"__getattribute__":[4,3,1,""],get_wave_list:[4,1,1,""],get_mass:[4,1,1,""],"__dict__":[4,3,1,""],get_wavelength:[4,1,1,""],set_full_band:[4,1,1,""],"__weakref__":[4,3,1,""],"__init__":[4,1,1,""],"__setattr__":[4,3,1,""],"__reduce_ex__":[4,1,1,""],"__new__":[4,4,1,""],get_default_spectrum:[4,1,1,""],"__class__":[4,3,1,""],get_wavelength_spread:[4,1,1,""],get_intensity:[4,1,1,""],set_intensity:[4,1,1,""],"__str__":[4,3,1,""],"__repr__":[4,3,1,""],set_band:[4,1,1,""],"__reduce__":[4,1,1,""],get_ramdom_value:[4,1,1,""],set_wave_spread_list:[4,1,1,""],get_band:[4,1,1,""],plot_spectrum:[4,1,1,""],set_mass:[4,1,1,""],get_spectrum:[4,1,1,""],set_spectrum:[4,1,1,""],set_wavelength:[4,1,1,""],"__delattr__":[4,3,1,""],setup_spectrum:[4,1,1,""],"__hash__":[4,3,1,""]},"sans.calculator.instrument.Aperture":{"__module__":[4,3,1,""],"__reduce_ex__":[4,1,1,""],"__new__":[4,4,1,""],"__dict__":[4,3,1,""],"__getattribute__":[4,3,1,""],"__str__":[4,3,1,""],"__reduce__":[4,1,1,""],"__class__":[4,3,1,""],"__delattr__":[4,3,1,""],set_source_size:[4,1,1,""],set_sample_size:[4,1,1,""],"__repr__":[4,3,1,""],"__setattr__":[4,3,1,""],"__hash__":[4,3,1,""],set_sample_distance:[4,1,1,""],"__weakref__":[4,3,1,""],"__init__":[4,1,1,""]},"sans.calculator.instrument.Sample":{"__hash__":[4,3,1,""],set_thickness:[4,1,1,""],"__reduce_ex__":[4,1,1,""],"__new__":[4,4,1,""],"__module__":[4,3,1,""],"__reduce__":[4,1,1,""],"__str__":[4,3,1,""],"__getattribute__":[4,3,1,""],"__setattr__":[4,3,1,""],"__class__":[4,3,1,""],"__delattr__":[4,3,1,""],set_distance:[4,1,1,""],set_size:[4,1,1,""],"__repr__":[4,3,1,""],"__dict__":[4,3,1,""],"__weakref__":[4,3,1,""],"__init__":[4,1,1,""]}},terms:{all:0,"_gaussian1d":0,set_wave_spread:0,set_thick:4,get_slit_length_unit:5,diection:0,init:4,x0_val:0,sourc:[0,4],fals:4,wave:4,qy_valu:0,octob:[3,2],y_valu:0,list:[0,1,4,5],vector:5,small:[5,0,1,4,2],s_distanc:0,setup:0,apertur:[0,4],direct:0,follow:2,pixel_num:0,get_wavelength:[0,4],x_valu:0,index:[0,2],set_detector_pix_s:0,sub:2,pyplot:[0,4],get_neutron_mass:0,set_sample2sample_dist:0,set_neutron_mass:0,d_distanc:0,"new":[0,1,4,5],"_get_beamcenter_posit":0,hash:[0,1,4,5],det_dist:0,set_pix_s:4,matplotlib:4,"__hash__":[0,1,4,5],along:0,valu:[0,1,4,5],search:2,"0x0205ac50":0,set_wav:0,"__repr__":[0,1,4,5],pixel:0,diamet:0,pix_siz:4,modul:[2,1,4,5],dx_size:0,"1st":5,unit:[5,1],plot:[0,4],from:[0,1,5],"0x01a4f530":4,two:[0,5],get_detector_pix_s:0,type:[0,1,4,5],get_detector_s:0,get_wave_list:[0,4],get_band:4,plot_spectrum:4,none:[],pinhol:0,alia:[0,1,4,5],prepar:5,del:[0,1,4,5],can:0,x_offset:0,control:4,indic:2,slit:[0,5],compute_thick:1,mai:2,"_within_detector_rang":0,circular:0,max:[0,4],set_sample_aperture_s:0,plane:0,date:[3,2],varianc:0,data:[5,1],qy_max:0,get_intens:[0,4],"switch":[],"_gaussian2d_polar":0,allow:[0,1,4,5],subtyp:[0,1,4,5],rotat:0,yheight_valu:0,"0x0226c6f0":5,incid:0,"__weakref__":[0,1,4,5],paramet:[0,1,4,5],sigma_x:0,sigma_r:0,"__class__":[0,1,4,5],wrt:4,kiessigthicknesscalcul:1,"return":[0,1,4,5],number:0,band:4,"0x01a48250":4,get_vari:0,name:[0,1,4,5],sigma_2:0,sigma_1:0,drop:0,each:2,dictproxi:[0,1,4,5],mean:0,get_sample2sample_dist:0,sld_calcul:[],set_wave_list:[0,4],gaussian:0,"static":[0,1,4,5],wavelength:[0,4],set_full_band:4,variabl:4,x_val:0,"3rd":5,space:[0,1],profil:5,"_gaussian2d":0,"_rotate_z":0,cordin:0,base:[0,1,4,5],releas:[3,2],fring:1,angl:0,set_spectrum:[0,4],length:[0,4,5],lambda:0,"_atan_phi":0,rang:0,arrai:[0,4,5],independ:2,set_source_s:4,set_sample_dist:4,saxsess:5,alreadi:4,thick:[1,4],size:[0,1,4],given:0,cartesian:0,full_cal:[],get_detector_qrang:0,system:0,qx_max:0,tof:4,set_band:4,tool:[5,0,1,4,2],set_wave_spread_list:4,source2sample_dist:0,str:[0,1,4,5],posit:0,rad:0,comput:[5,0,1,2],san:[0,1,2,3,4,5],"__getattribute__":[0,1,4,5],spectrum:[0,4],packag:2,tabl:2,need:5,"__new__":[0,1,4,5],min:4,"0x01a5b830":4,detector:[0,4],graviti:0,distribut:0,object:[0,1,4,5],"_get_qx":0,x_pix_num:0,get_variance_wav:0,don:5,"_spectrum":0,sigma_i:0,determin:[0,1,5],azimuth:0,axi:0,sigma:0,sample2detector_dist:0,"__str__":[0,1,4,5],radiu:0,find:0,current:2,ratio:0,"_get_beamcenter_drop":0,get_wavelength_spread:[0,4],reset:0,get:[0,4],repr:[0,1,4,5],beam:[0,5],set_siz:4,sample_slit2sample_dist:0,requir:4,prime:0,pos_x:0,get_spectrum:[0,4],get_ramdom_valu:4,coord:0,pos_i:0,setup_spectrum:4,contain:2,where:0,valid:4,"__module__":[0,1,4,5],set:[0,4],set_wavelength_spread:[0,4],sec:4,get_default_spectrum:[0,4],qvalu:0,"0x01a4f410":4,slit_length_calcul:[3,2,5],theta:0,kiessig:[],"_get_polar_valu":0,august:[],comp:0,sansview:2,weak:[0,1,4,5],calculate_slit_length:5,set_data:5,"0x01c9dbd0":1,set_wavelength:[0,4],"__delattr__":[0,1,4,5],col:5,qx_min:0,"2nd":5,get_mass:4,assum:4,numpi:[0,4],due:0,compon:0,reset_imag:0,quickli:[0,1,5],imag:0,resolut:0,get_imag:0,coordin:0,set_mass:4,rectangular:0,defin:[0,1,4,5],calcul:[0,1,2,3,4,5],sld:[],get_all_instrument_param:0,wavelength_list:4,helper:[0,1,4,5],readi:0,"__reduce__":[0,1,4,5],setup_tof:0,"__init__":[0,1,4,5],etc:0,receiv:[5,1],make:4,"0x01a3def0":4,wavelengthspread_list:[],y0_val:0,resolutioncalcul:0,neutron:[0,4],folat:4,phi:0,"_cal_a_valu":0,user:[0,1,4,5],resoltuion:0,set_source_aperture_s:0,center:0,pickl:[0,1,4,5],y_val:0,thi:[0,1,4,5],qx_valu:0,sampleslitsample_dist:0,deltaq:1,distanc:[0,4],pylab:0,set_deltaq:1,"__dict__":[0,1,4,5],yx_pix_num:0,"_get_detector_qxqy_pixel":0,get_source_aperture_s:0,param:0,instrument:[3,0,4,2],spread:[0,4],get_variance_grav:0,real:1,applic:2,around:0,default_spectrum:0,get_thickness_unit:1,necessari:2,x_prime:0,page:2,wavelength_spread:4,sampl:[0,4],"__setattr__":[0,1,4,5],set_source2sample_dist:0,set_sample2detector_dist:0,slitlengthcalcul:5,refer:[0,1,2,3,4,5],plt:0,kiessig_calcul:[3,2,1],radial:0,offset:0,compute_and_plot:0,resolution_calcul:[3,0,2],plot_imag:0,within:[0,4],coodin:0,"class":[0,1,4,5],width:1,qy_min:0,tupl:0,set_intens:[0,4],"6749272900000001e":[],get_source2sample_dist:0,delta:0,"true":4,count:4,xheight_valu:0,set_detector_s:0,get_sample_aperture_s:0,"default":[0,4],spactrum:4,get_sample2detector_dist:0,set_sample_s:4,get_intensity_list:[0,4],pix:0,ind:0,check:[0,4],"__reduce_ex__":[0,1,4,5],when:0,other:2,qr_valu:0,dia_valu:0,polar:0,get_deltaq:1,intens:[0,4],num_i:0,set_dist:4,num_x:0,mass:[0,4],invari:[]},objtypes:{"0":"py:module","1":"py:method","2":"py:class","3":"py:attribute","4":"py:staticmethod","5":"py:function"},titles:["resolution_calculator","kiessig_calculator","Calculator","Reference","instrument","slit_length_calculator"],objnames:{"0":["py","module","Python module"],"1":["py","method","Python method"],"2":["py","class","Python class"],"3":["py","attribute","Python attribute"],"4":["py","staticmethod","Python static method"],"5":["py","function","Python function"]},filenames:["api/resolution_calculator","api/kiessig_calculator","index","api/index","api/instrument","api/slit_length_calculator"]})
