diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..21aa625 Binary files /dev/null and b/.DS_Store differ diff --git a/README.md b/README.md index f108436..2483530 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ tools for dealing with physical quantities: uncertainty propagation and unit co MetroloPy is a pure python package and requires Python 3 and the SciPy stack (NumPy, SciPy, Pandas, and IPython). It looks best in a Jupyter Notebook. -Install MetroloPy with pip: +Install MetroloPy with conda or pip: ``` $ pip install metrolopy diff --git a/dist/.DS_Store b/dist/.DS_Store new file mode 100644 index 0000000..5008ddf Binary files /dev/null and b/dist/.DS_Store differ diff --git a/dist/metrolopy-0.5.5.tar.gz b/dist/metrolopy-0.5.5.tar.gz deleted file mode 100644 index e817e8e..0000000 Binary files a/dist/metrolopy-0.5.5.tar.gz and /dev/null differ diff --git a/dist/metrolopy-0.5.5-py3-none-any.whl b/dist/metrolopy-0.5.6-py3-none-any.whl similarity index 75% rename from dist/metrolopy-0.5.5-py3-none-any.whl rename to dist/metrolopy-0.5.6-py3-none-any.whl index a2874aa..3f80c80 100644 Binary files a/dist/metrolopy-0.5.5-py3-none-any.whl and b/dist/metrolopy-0.5.6-py3-none-any.whl differ diff --git a/dist/metrolopy-0.5.6.tar.gz b/dist/metrolopy-0.5.6.tar.gz new file mode 100644 index 0000000..3ea86be Binary files /dev/null and b/dist/metrolopy-0.5.6.tar.gz differ diff --git a/dist/metrolopy-0.5.5.zip b/dist/metrolopy-0.5.6.zip similarity index 76% rename from dist/metrolopy-0.5.5.zip rename to dist/metrolopy-0.5.6.zip index 1ad372c..501f31b 100644 Binary files a/dist/metrolopy-0.5.5.zip and b/dist/metrolopy-0.5.6.zip differ diff --git a/dist/x b/dist/x deleted file mode 100644 index 8b13789..0000000 --- a/dist/x +++ /dev/null @@ -1 +0,0 @@ - diff --git a/docs/.DS_Store b/docs/.DS_Store new file mode 100644 index 0000000..6081260 Binary files /dev/null and b/docs/.DS_Store differ diff --git a/docs/_build/doctrees/environment.pickle b/docs/_build/doctrees/environment.pickle index 1c65ffc..7515687 100644 Binary files a/docs/_build/doctrees/environment.pickle and b/docs/_build/doctrees/environment.pickle differ diff --git a/docs/_build/doctrees/hand_made_doc.doctree b/docs/_build/doctrees/hand_made_doc.doctree index 3beed2a..bd63c89 100644 Binary files a/docs/_build/doctrees/hand_made_doc.doctree and b/docs/_build/doctrees/hand_made_doc.doctree differ diff --git a/docs/_build/doctrees/index.doctree b/docs/_build/doctrees/index.doctree index ffd3b0d..a536132 100644 Binary files a/docs/_build/doctrees/index.doctree and b/docs/_build/doctrees/index.doctree differ diff --git a/docs/_build/doctrees/metrolopy.doctree b/docs/_build/doctrees/metrolopy.doctree index d9bf343..68eb0ca 100644 Binary files a/docs/_build/doctrees/metrolopy.doctree and b/docs/_build/doctrees/metrolopy.doctree differ diff --git a/docs/_build/doctrees/metrolopy.tests.doctree b/docs/_build/doctrees/metrolopy.tests.doctree index ce582d0..e63d2d2 100644 Binary files a/docs/_build/doctrees/metrolopy.tests.doctree and b/docs/_build/doctrees/metrolopy.tests.doctree differ diff --git a/docs/_build/doctrees/modules.doctree b/docs/_build/doctrees/modules.doctree index db266c0..5d0c992 100644 Binary files a/docs/_build/doctrees/modules.doctree and b/docs/_build/doctrees/modules.doctree differ diff --git a/docs/_build/doctrees/todo.doctree b/docs/_build/doctrees/todo.doctree index 29760f7..be5182f 100644 Binary files a/docs/_build/doctrees/todo.doctree and b/docs/_build/doctrees/todo.doctree differ diff --git a/docs/_build/html/_sources/index.rst.txt b/docs/_build/html/_sources/index.rst.txt index 93e4a60..4422d40 100644 --- a/docs/_build/html/_sources/index.rst.txt +++ b/docs/_build/html/_sources/index.rst.txt @@ -22,7 +22,7 @@ MetroloPy is a pure python package and requires Python 3 and the `SciPy `_ stack (NumPy, SciPy, Pandas, and IPython). It looks best in a `Jupyter notebook `_. -Install MetroloPy with pip:: +Install MetroloPy with conda or pip:: $ pip install metrolopy @@ -125,7 +125,9 @@ version history uncertainty incorrectly if a gummy was created with an uncertainty set with an integer data type. Fixed several other minor bugs. * Version 0.5.3, built 10 April 2019, minor bug fixes. -* Version 0.5.4, built 15 April 2019, minor bug fixes. +* Version 0.5.4, built 15 April 2019, minor bug fixes. +* Version 0.5.5, built 7 May 2020, minor bug fixes. +* Version 0.5.6, built 24 September 2020, minor bug fixes. author diff --git a/docs/_build/html/_static/basic.css b/docs/_build/html/_static/basic.css index 7ed0e58..0119285 100644 --- a/docs/_build/html/_static/basic.css +++ b/docs/_build/html/_static/basic.css @@ -4,7 +4,7 @@ * * Sphinx stylesheet -- basic theme. * - * :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ @@ -81,10 +81,26 @@ div.sphinxsidebar input { font-size: 1em; } +div.sphinxsidebar #searchbox form.search { + overflow: hidden; +} + div.sphinxsidebar #searchbox input[type="text"] { - width: 170px; + float: left; + width: 80%; + padding: 0.25em; + box-sizing: border-box; } +div.sphinxsidebar #searchbox input[type="submit"] { + float: left; + width: 20%; + border-left: none; + padding: 0.25em; + box-sizing: border-box; +} + + img { border: 0; max-width: 100%; @@ -199,6 +215,11 @@ table.modindextable td { /* -- general body styles --------------------------------------------------- */ +div.body { + min-width: 450px; + max-width: 800px; +} + div.body p, div.body dd, div.body li, div.body blockquote { -moz-hyphens: auto; -ms-hyphens: auto; @@ -210,6 +231,16 @@ a.headerlink { visibility: hidden; } +a.brackets:before, +span.brackets > a:before{ + content: "["; +} + +a.brackets:after, +span.brackets > a:after { + content: "]"; +} + h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, @@ -258,6 +289,12 @@ img.align-center, .figure.align-center, object.align-center { margin-right: auto; } +img.align-default, .figure.align-default { + display: block; + margin-left: auto; + margin-right: auto; +} + .align-left { text-align: left; } @@ -266,6 +303,10 @@ img.align-center, .figure.align-center, object.align-center { text-align: center; } +.align-default { + text-align: center; +} + .align-right { text-align: right; } @@ -332,6 +373,16 @@ table.docutils { border-collapse: collapse; } +table.align-center { + margin-left: auto; + margin-right: auto; +} + +table.align-default { + margin-left: auto; + margin-right: auto; +} + table caption span.caption-number { font-style: italic; } @@ -365,6 +416,16 @@ table.citation td { border-bottom: none; } +th > p:first-child, +td > p:first-child { + margin-top: 0px; +} + +th > p:last-child, +td > p:last-child { + margin-bottom: 0px; +} + /* -- figures --------------------------------------------------------------- */ div.figure { @@ -398,6 +459,20 @@ table.field-list td, table.field-list th { margin: 0; } +.field-name { + -moz-hyphens: manual; + -ms-hyphens: manual; + -webkit-hyphens: manual; + hyphens: manual; +} + +/* -- hlist styles ---------------------------------------------------------- */ + +table.hlist td { + vertical-align: top; +} + + /* -- other body styles ----------------------------------------------------- */ ol.arabic { @@ -420,11 +495,58 @@ ol.upperroman { list-style: upper-roman; } +li > p:first-child { + margin-top: 0px; +} + +li > p:last-child { + margin-bottom: 0px; +} + +dl.footnote > dt, +dl.citation > dt { + float: left; +} + +dl.footnote > dd, +dl.citation > dd { + margin-bottom: 0em; +} + +dl.footnote > dd:after, +dl.citation > dd:after { + content: ""; + clear: both; +} + +dl.field-list { + display: grid; + grid-template-columns: fit-content(30%) auto; +} + +dl.field-list > dt { + font-weight: bold; + word-break: break-word; + padding-left: 0.5em; + padding-right: 5px; +} + +dl.field-list > dt:after { + content: ":"; +} + +dl.field-list > dd { + padding-left: 0.5em; + margin-top: 0em; + margin-left: 0em; + margin-bottom: 0em; +} + dl { margin-bottom: 15px; } -dd p { +dd > p:first-child { margin-top: 0px; } @@ -438,10 +560,14 @@ dd { margin-left: 30px; } -dt:target, .highlighted { +dt:target, span.highlighted { background-color: #fbe54e; } +rect.highlighted { + fill: #fbe54e; +} + dl.glossary dt { font-weight: bold; font-size: 1.1em; @@ -493,6 +619,12 @@ dl.glossary dt { font-style: oblique; } +.classifier:before { + font-style: normal; + margin: 0.5em; + content: ":"; +} + abbr, acronym { border-bottom: dotted 1px; cursor: help; @@ -540,6 +672,10 @@ div.code-block-caption + div > div.highlight > pre { margin-top: 0; } +div.doctest > div.highlight span.gp { /* gp: Generic.Prompt */ + user-select: none; +} + div.code-block-caption span.caption-number { padding: 0.1em 0.3em; font-style: italic; diff --git a/docs/_build/html/_static/doctools.js b/docs/_build/html/_static/doctools.js index 8163495..daccd20 100644 --- a/docs/_build/html/_static/doctools.js +++ b/docs/_build/html/_static/doctools.js @@ -4,7 +4,7 @@ * * Sphinx JavaScript utilities for all documentation. * - * :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ @@ -45,7 +45,7 @@ jQuery.urlencode = encodeURIComponent; * it will always return arrays of strings for the value parts. */ jQuery.getQueryParameters = function(s) { - if (typeof s == 'undefined') + if (typeof s === 'undefined') s = document.location.search; var parts = s.substr(s.indexOf('?') + 1).split('&'); var result = {}; @@ -66,29 +66,54 @@ jQuery.getQueryParameters = function(s) { * span elements with the given class name. */ jQuery.fn.highlightText = function(text, className) { - function highlight(node) { - if (node.nodeType == 3) { + function highlight(node, addItems) { + if (node.nodeType === 3) { var val = node.nodeValue; var pos = val.toLowerCase().indexOf(text); - if (pos >= 0 && !jQuery(node.parentNode).hasClass(className)) { - var span = document.createElement("span"); - span.className = className; + if (pos >= 0 && + !jQuery(node.parentNode).hasClass(className) && + !jQuery(node.parentNode).hasClass("nohighlight")) { + var span; + var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg"); + if (isInSVG) { + span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); + } else { + span = document.createElement("span"); + span.className = className; + } span.appendChild(document.createTextNode(val.substr(pos, text.length))); node.parentNode.insertBefore(span, node.parentNode.insertBefore( document.createTextNode(val.substr(pos + text.length)), node.nextSibling)); node.nodeValue = val.substr(0, pos); + if (isInSVG) { + var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect"); + var bbox = node.parentElement.getBBox(); + rect.x.baseVal.value = bbox.x; + rect.y.baseVal.value = bbox.y; + rect.width.baseVal.value = bbox.width; + rect.height.baseVal.value = bbox.height; + rect.setAttribute('class', className); + addItems.push({ + "parent": node.parentNode, + "target": rect}); + } } } else if (!jQuery(node).is("button, select, textarea")) { jQuery.each(node.childNodes, function() { - highlight(this); + highlight(this, addItems); }); } } - return this.each(function() { - highlight(this); + var addItems = []; + var result = this.each(function() { + highlight(this, addItems); }); + for (var i = 0; i < addItems.length; ++i) { + jQuery(addItems[i].parent).before(addItems[i].target); + } + return result; }; /* @@ -124,28 +149,30 @@ var Documentation = { this.fixFirefoxAnchorBug(); this.highlightSearchWords(); this.initIndexTable(); - + if (DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) { + this.initOnKeyListeners(); + } }, /** * i18n support */ TRANSLATIONS : {}, - PLURAL_EXPR : function(n) { return n == 1 ? 0 : 1; }, + PLURAL_EXPR : function(n) { return n === 1 ? 0 : 1; }, LOCALE : 'unknown', // gettext and ngettext don't access this so that the functions // can safely bound to a different name (_ = Documentation.gettext) gettext : function(string) { var translated = Documentation.TRANSLATIONS[string]; - if (typeof translated == 'undefined') + if (typeof translated === 'undefined') return string; - return (typeof translated == 'string') ? translated : translated[0]; + return (typeof translated === 'string') ? translated : translated[0]; }, ngettext : function(singular, plural, n) { var translated = Documentation.TRANSLATIONS[singular]; - if (typeof translated == 'undefined') + if (typeof translated === 'undefined') return (n == 1) ? singular : plural; return translated[Documentation.PLURALEXPR(n)]; }, @@ -180,7 +207,7 @@ var Documentation = { * see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075 */ fixFirefoxAnchorBug : function() { - if (document.location.hash) + if (document.location.hash && $.browser.mozilla) window.setTimeout(function() { document.location.href += ''; }, 10); @@ -216,7 +243,7 @@ var Documentation = { var src = $(this).attr('src'); var idnum = $(this).attr('id').substr(7); $('tr.cg-' + idnum).toggle(); - if (src.substr(-9) == 'minus.png') + if (src.substr(-9) === 'minus.png') $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); else $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); @@ -248,7 +275,7 @@ var Documentation = { var path = document.location.pathname; var parts = path.split(/\//); $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { - if (this == '..') + if (this === '..') parts.pop(); }); var url = parts.join('/'); @@ -256,10 +283,11 @@ var Documentation = { }, initOnKeyListeners: function() { - $(document).keyup(function(event) { + $(document).keydown(function(event) { var activeElementType = document.activeElement.tagName; // don't navigate when in search box or textarea - if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT') { + if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT' + && !event.altKey && !event.ctrlKey && !event.metaKey && !event.shiftKey) { switch (event.keyCode) { case 37: // left var prevHref = $('link[rel="prev"]').prop('href'); @@ -284,4 +312,4 @@ _ = Documentation.gettext; $(document).ready(function() { Documentation.init(); -}); \ No newline at end of file +}); diff --git a/docs/_build/html/_static/jquery.js b/docs/_build/html/_static/jquery.js index f6a6a99..a1c07fd 100644 --- a/docs/_build/html/_static/jquery.js +++ b/docs/_build/html/_static/jquery.js @@ -1,4 +1,2 @@ -/*! jQuery v3.1.0 | (c) jQuery Foundation | jquery.org/license */ -!function(a,b){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){"use strict";var c=[],d=a.document,e=Object.getPrototypeOf,f=c.slice,g=c.concat,h=c.push,i=c.indexOf,j={},k=j.toString,l=j.hasOwnProperty,m=l.toString,n=m.call(Object),o={};function p(a,b){b=b||d;var c=b.createElement("script");c.text=a,b.head.appendChild(c).parentNode.removeChild(c)}var q="3.1.0",r=function(a,b){return new r.fn.init(a,b)},s=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,t=/^-ms-/,u=/-([a-z])/g,v=function(a,b){return b.toUpperCase()};r.fn=r.prototype={jquery:q,constructor:r,length:0,toArray:function(){return f.call(this)},get:function(a){return null!=a?a<0?this[a+this.length]:this[a]:f.call(this)},pushStack:function(a){var b=r.merge(this.constructor(),a);return b.prevObject=this,b},each:function(a){return r.each(this,a)},map:function(a){return this.pushStack(r.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(f.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(a<0?b:0);return this.pushStack(c>=0&&c0&&b-1 in a)}var x=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C={}.hasOwnProperty,D=[],E=D.pop,F=D.push,G=D.push,H=D.slice,I=function(a,b){for(var c=0,d=a.length;c+~]|"+K+")"+K+"*"),S=new RegExp("="+K+"*([^\\]'\"]*?)"+K+"*\\]","g"),T=new RegExp(N),U=new RegExp("^"+L+"$"),V={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+K+"*(even|odd|(([+-]|)(\\d*)n|)"+K+"*(?:([+-]|)"+K+"*(\\d+)|))"+K+"*\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+K+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+K+"*((?:-\\d)?\\d*)"+K+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$=/[+~]/,_=new RegExp("\\\\([\\da-f]{1,6}"+K+"?|("+K+")|.)","ig"),aa=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ba=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,ca=function(a,b){return b?"\0"===a?"\ufffd":a.slice(0,-1)+"\\"+a.charCodeAt(a.length-1).toString(16)+" ":"\\"+a},da=function(){m()},ea=ta(function(a){return a.disabled===!0},{dir:"parentNode",next:"legend"});try{G.apply(D=H.call(v.childNodes),v.childNodes),D[v.childNodes.length].nodeType}catch(fa){G={apply:D.length?function(a,b){F.apply(a,H.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s=b&&b.ownerDocument,w=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==w&&9!==w&&11!==w)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==w&&(l=Z.exec(a)))if(f=l[1]){if(9===w){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(s&&(j=s.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(l[2])return G.apply(d,b.getElementsByTagName(a)),d;if((f=l[3])&&c.getElementsByClassName&&b.getElementsByClassName)return G.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==w)s=b,r=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(ba,ca):b.setAttribute("id",k=u),o=g(a),h=o.length;while(h--)o[h]="#"+k+" "+sa(o[h]);r=o.join(","),s=$.test(a)&&qa(b.parentNode)||b}if(r)try{return G.apply(d,s.querySelectorAll(r)),d}catch(x){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(P,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("fieldset");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return function(b){return"label"in b&&b.disabled===a||"form"in b&&b.disabled===a||"form"in b&&b.disabled===!1&&(b.isDisabled===a||b.isDisabled!==!a&&("label"in b||!ea(b))!==a)}}function pa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function qa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&"HTML"!==b.nodeName},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),v!==n&&(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Y.test(n.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}},d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){if("undefined"!=typeof b.getElementsByClassName&&p)return b.getElementsByClassName(a)},r=[],q=[],(c.qsa=Y.test(n.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML="",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+K+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+K+"*(?:value|"+J+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ja(function(a){a.innerHTML="";var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+K+"*[*^$|!~]?="),2!==a.querySelectorAll(":enabled").length&&q.push(":enabled",":disabled"),o.appendChild(a).disabled=!0,2!==a.querySelectorAll(":disabled").length&&q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Y.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"*"),s.call(a,"[s!='']:x"),r.push("!=",N)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Y.test(o.compareDocumentPosition),t=b||Y.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?I(k,a)-I(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?I(k,a)-I(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?la(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(S,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&C.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.escape=function(a){return(a+"").replace(ba,ca)},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(_,aa),a[3]=(a[3]||a[4]||a[5]||"").replace(_,aa),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return V.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&T.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(_,aa).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+K+")"+a+"("+K+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?"!="===b:!b||(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(O," ")+" ").indexOf(c)>-1:"|="===b&&(e===c||e.slice(0,c.length+1)===c+"-"))}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=I(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(P,"$1"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(_,aa),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return U.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(_,aa).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:oa(!1),disabled:oa(!0),checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return X.test(a.nodeName)},input:function(a){return W.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:pa(function(){return[0]}),last:pa(function(a,b){return[b-1]}),eq:pa(function(a,b,c){return[c<0?c+b:c]}),even:pa(function(a,b){for(var c=0;c=0;)a.push(d);return a}),gt:pa(function(a,b,c){for(var d=c<0?c+b:c;++d1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function va(a,b,c){for(var d=0,e=b.length;d-1&&(f[j]=!(g[j]=l))}}else r=wa(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function ya(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ta(function(a){return a===b},h,!0),l=ta(function(a){return I(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];i1&&ua(m),i>1&&sa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(P,"$1"),c,i0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=E.call(i));u=wa(u)}G.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&ga.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=ya(b[c]),f[u]?d.push(f):e.push(f);f=A(a,za(e,d)),f.selector=a}return f},i=ga.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(_,aa),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=V.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(_,aa),$.test(j[0].type)&&qa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&sa(j),!a)return G.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||$.test(a)&&qa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("fieldset"))}),ja(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){if(!c)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){if(!c&&"input"===a.nodeName.toLowerCase())return a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(J,function(a,b,c){var d;if(!c)return a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);r.find=x,r.expr=x.selectors,r.expr[":"]=r.expr.pseudos,r.uniqueSort=r.unique=x.uniqueSort,r.text=x.getText,r.isXMLDoc=x.isXML,r.contains=x.contains,r.escapeSelector=x.escape;var y=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&r(a).is(c))break;d.push(a)}return d},z=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},A=r.expr.match.needsContext,B=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,C=/^.[^:#\[\.,]*$/;function D(a,b,c){if(r.isFunction(b))return r.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return r.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(C.test(b))return r.filter(b,a,c);b=r.filter(b,a)}return r.grep(a,function(a){return i.call(b,a)>-1!==c&&1===a.nodeType})}r.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?r.find.matchesSelector(d,a)?[d]:[]:r.find.matches(a,r.grep(b,function(a){return 1===a.nodeType}))},r.fn.extend({find:function(a){var b,c,d=this.length,e=this;if("string"!=typeof a)return this.pushStack(r(a).filter(function(){for(b=0;b1?r.uniqueSort(c):c},filter:function(a){return this.pushStack(D(this,a||[],!1))},not:function(a){return this.pushStack(D(this,a||[],!0))},is:function(a){return!!D(this,"string"==typeof a&&A.test(a)?r(a):a||[],!1).length}});var E,F=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,G=r.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||E,"string"==typeof a){if(e="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:F.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof r?b[0]:b,r.merge(this,r.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),B.test(e[1])&&r.isPlainObject(b))for(e in b)r.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&(this[0]=f,this.length=1),this}return a.nodeType?(this[0]=a,this.length=1,this):r.isFunction(a)?void 0!==c.ready?c.ready(a):a(r):r.makeArray(a,this)};G.prototype=r.fn,E=r(d);var H=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};r.fn.extend({has:function(a){var b=r(a,this),c=b.length;return this.filter(function(){for(var a=0;a-1:1===c.nodeType&&r.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?r.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?i.call(r(a),this[0]):i.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(r.uniqueSort(r.merge(this.get(),r(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function J(a,b){while((a=a[b])&&1!==a.nodeType);return a}r.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return y(a,"parentNode")},parentsUntil:function(a,b,c){return y(a,"parentNode",c)},next:function(a){return J(a,"nextSibling")},prev:function(a){return J(a,"previousSibling")},nextAll:function(a){return y(a,"nextSibling")},prevAll:function(a){return y(a,"previousSibling")},nextUntil:function(a,b,c){return y(a,"nextSibling",c)},prevUntil:function(a,b,c){return y(a,"previousSibling",c)},siblings:function(a){return z((a.parentNode||{}).firstChild,a)},children:function(a){return z(a.firstChild)},contents:function(a){return a.contentDocument||r.merge([],a.childNodes)}},function(a,b){r.fn[a]=function(c,d){var e=r.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=r.filter(d,e)),this.length>1&&(I[a]||r.uniqueSort(e),H.test(a)&&e.reverse()),this.pushStack(e)}});var K=/\S+/g;function L(a){var b={};return r.each(a.match(K)||[],function(a,c){b[c]=!0}),b}r.Callbacks=function(a){a="string"==typeof a?L(a):r.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h-1)f.splice(c,1),c<=h&&h--}),this},has:function(a){return a?r.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=g=[],c||b||(f=c=""),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j};function M(a){return a}function N(a){throw a}function O(a,b,c){var d;try{a&&r.isFunction(d=a.promise)?d.call(a).done(b).fail(c):a&&r.isFunction(d=a.then)?d.call(a,b,c):b.call(void 0,a)}catch(a){c.call(void 0,a)}}r.extend({Deferred:function(b){var c=[["notify","progress",r.Callbacks("memory"),r.Callbacks("memory"),2],["resolve","done",r.Callbacks("once memory"),r.Callbacks("once memory"),0,"resolved"],["reject","fail",r.Callbacks("once memory"),r.Callbacks("once memory"),1,"rejected"]],d="pending",e={state:function(){return d},always:function(){return f.done(arguments).fail(arguments),this},"catch":function(a){return e.then(null,a)},pipe:function(){var a=arguments;return r.Deferred(function(b){r.each(c,function(c,d){var e=r.isFunction(a[d[4]])&&a[d[4]];f[d[1]](function(){var a=e&&e.apply(this,arguments);a&&r.isFunction(a.promise)?a.promise().progress(b.notify).done(b.resolve).fail(b.reject):b[d[0]+"With"](this,e?[a]:arguments)})}),a=null}).promise()},then:function(b,d,e){var f=0;function g(b,c,d,e){return function(){var h=this,i=arguments,j=function(){var a,j;if(!(b=f&&(d!==N&&(h=void 0,i=[a]),c.rejectWith(h,i))}};b?k():(r.Deferred.getStackHook&&(k.stackTrace=r.Deferred.getStackHook()),a.setTimeout(k))}}return r.Deferred(function(a){c[0][3].add(g(0,a,r.isFunction(e)?e:M,a.notifyWith)),c[1][3].add(g(0,a,r.isFunction(b)?b:M)),c[2][3].add(g(0,a,r.isFunction(d)?d:N))}).promise()},promise:function(a){return null!=a?r.extend(a,e):e}},f={};return r.each(c,function(a,b){var g=b[2],h=b[5];e[b[1]]=g.add,h&&g.add(function(){d=h},c[3-a][2].disable,c[0][2].lock),g.add(b[3].fire),f[b[0]]=function(){return f[b[0]+"With"](this===f?void 0:this,arguments),this},f[b[0]+"With"]=g.fireWith}),e.promise(f),b&&b.call(f,f),f},when:function(a){var b=arguments.length,c=b,d=Array(c),e=f.call(arguments),g=r.Deferred(),h=function(a){return function(c){d[a]=this,e[a]=arguments.length>1?f.call(arguments):c,--b||g.resolveWith(d,e)}};if(b<=1&&(O(a,g.done(h(c)).resolve,g.reject),"pending"===g.state()||r.isFunction(e[c]&&e[c].then)))return g.then();while(c--)O(e[c],h(c),g.reject);return g.promise()}});var P=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;r.Deferred.exceptionHook=function(b,c){a.console&&a.console.warn&&b&&P.test(b.name)&&a.console.warn("jQuery.Deferred exception: "+b.message,b.stack,c)},r.readyException=function(b){a.setTimeout(function(){throw b})};var Q=r.Deferred();r.fn.ready=function(a){return Q.then(a)["catch"](function(a){r.readyException(a)}),this},r.extend({isReady:!1,readyWait:1,holdReady:function(a){a?r.readyWait++:r.ready(!0)},ready:function(a){(a===!0?--r.readyWait:r.isReady)||(r.isReady=!0,a!==!0&&--r.readyWait>0||Q.resolveWith(d,[r]))}}),r.ready.then=Q.then;function R(){d.removeEventListener("DOMContentLoaded",R),a.removeEventListener("load",R),r.ready()}"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(r.ready):(d.addEventListener("DOMContentLoaded",R),a.addEventListener("load",R));var S=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===r.type(c)){e=!0;for(h in c)S(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0, -r.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(r(a),c)})),b))for(;h1,null,!0)},removeData:function(a){return this.each(function(){W.remove(this,a)})}}),r.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=V.get(a,b),c&&(!d||r.isArray(c)?d=V.access(a,b,r.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=r.queue(a,b),d=c.length,e=c.shift(),f=r._queueHooks(a,b),g=function(){r.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return V.get(a,c)||V.access(a,c,{empty:r.Callbacks("once memory").add(function(){V.remove(a,[b+"queue",c])})})}}),r.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length\x20\t\r\n\f]+)/i,ja=/^$|\/(?:java|ecma)script/i,ka={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};ka.optgroup=ka.option,ka.tbody=ka.tfoot=ka.colgroup=ka.caption=ka.thead,ka.th=ka.td;function la(a,b){var c="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&r.nodeName(a,b)?r.merge([a],c):c}function ma(a,b){for(var c=0,d=a.length;c-1)e&&e.push(f);else if(j=r.contains(f.ownerDocument,f),g=la(l.appendChild(f),"script"),j&&ma(g),c){k=0;while(f=g[k++])ja.test(f.type||"")&&c.push(f)}return l}!function(){var a=d.createDocumentFragment(),b=a.appendChild(d.createElement("div")),c=d.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),o.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="",o.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var pa=d.documentElement,qa=/^key/,ra=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,sa=/^([^.]*)(?:\.(.+)|)/;function ta(){return!0}function ua(){return!1}function va(){try{return d.activeElement}catch(a){}}function wa(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)wa(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=ua;else if(!e)return a;return 1===f&&(g=e,e=function(a){return r().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=r.guid++)),a.each(function(){r.event.add(this,b,e,d,c)})}r.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=V.get(a);if(q){c.handler&&(f=c,c=f.handler,e=f.selector),e&&r.find.matchesSelector(pa,e),c.guid||(c.guid=r.guid++),(i=q.events)||(i=q.events={}),(g=q.handle)||(g=q.handle=function(b){return"undefined"!=typeof r&&r.event.triggered!==b.type?r.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(K)||[""],j=b.length;while(j--)h=sa.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n&&(l=r.event.special[n]||{},n=(e?l.delegateType:l.bindType)||n,l=r.event.special[n]||{},k=r.extend({type:n,origType:p,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&r.expr.match.needsContext.test(e),namespace:o.join(".")},f),(m=i[n])||(m=i[n]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,o,g)!==!1||a.addEventListener&&a.addEventListener(n,g)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),r.event.global[n]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=V.hasData(a)&&V.get(a);if(q&&(i=q.events)){b=(b||"").match(K)||[""],j=b.length;while(j--)if(h=sa.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n){l=r.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=i[n]||[],h=h[2]&&new RegExp("(^|\\.)"+o.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&p!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,o,q.handle)!==!1||r.removeEvent(a,n,q.handle),delete i[n])}else for(n in i)r.event.remove(a,n+b[j],c,d,!0);r.isEmptyObject(i)&&V.remove(a,"handle events")}},dispatch:function(a){var b=r.event.fix(a),c,d,e,f,g,h,i=new Array(arguments.length),j=(V.get(this,"events")||{})[b.type]||[],k=r.event.special[b.type]||{};for(i[0]=b,c=1;c-1:r.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h\x20\t\r\n\f]*)[^>]*)\/>/gi,ya=/\s*$/g;function Ca(a,b){return r.nodeName(a,"table")&&r.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a:a}function Da(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function Ea(a){var b=Aa.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Fa(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(V.hasData(a)&&(f=V.access(a),g=V.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;c1&&"string"==typeof q&&!o.checkClone&&za.test(q))return a.each(function(e){var f=a.eq(e);s&&(b[0]=q.call(this,e,f.html())),Ha(f,b,c,d)});if(m&&(e=oa(b,a[0].ownerDocument,!1,a,d),f=e.firstChild,1===e.childNodes.length&&(e=f),f||d)){for(h=r.map(la(e,"script"),Da),i=h.length;l")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=r.contains(a.ownerDocument,a);if(!(o.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||r.isXMLDoc(a)))for(g=la(h),f=la(a),d=0,e=f.length;d0&&ma(g,!i&&la(a,"script")),h},cleanData:function(a){for(var b,c,d,e=r.event.special,f=0;void 0!==(c=a[f]);f++)if(T(c)){if(b=c[V.expando]){if(b.events)for(d in b.events)e[d]?r.event.remove(c,d):r.removeEvent(c,d,b.handle);c[V.expando]=void 0}c[W.expando]&&(c[W.expando]=void 0)}}}),r.fn.extend({detach:function(a){return Ia(this,a,!0)},remove:function(a){return Ia(this,a)},text:function(a){return S(this,function(a){return void 0===a?r.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=a)})},null,a,arguments.length)},append:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.appendChild(a)}})},prepend:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(r.cleanData(la(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return r.clone(this,a,b)})},html:function(a){return S(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!ya.test(a)&&!ka[(ia.exec(a)||["",""])[1].toLowerCase()]){a=r.htmlPrefilter(a);try{for(;c1)}});function Xa(a,b,c,d,e){return new Xa.prototype.init(a,b,c,d,e)}r.Tween=Xa,Xa.prototype={constructor:Xa,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||r.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(r.cssNumber[c]?"":"px")},cur:function(){var a=Xa.propHooks[this.prop];return a&&a.get?a.get(this):Xa.propHooks._default.get(this)},run:function(a){var b,c=Xa.propHooks[this.prop];return this.options.duration?this.pos=b=r.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Xa.propHooks._default.set(this),this}},Xa.prototype.init.prototype=Xa.prototype,Xa.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=r.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){r.fx.step[a.prop]?r.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[r.cssProps[a.prop]]&&!r.cssHooks[a.prop]?a.elem[a.prop]=a.now:r.style(a.elem,a.prop,a.now+a.unit)}}},Xa.propHooks.scrollTop=Xa.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},r.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},r.fx=Xa.prototype.init,r.fx.step={};var Ya,Za,$a=/^(?:toggle|show|hide)$/,_a=/queueHooks$/;function ab(){Za&&(a.requestAnimationFrame(ab),r.fx.tick())}function bb(){return a.setTimeout(function(){Ya=void 0}),Ya=r.now()}function cb(a,b){var c,d=0,e={height:a};for(b=b?1:0;d<4;d+=2-b)c=aa[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function db(a,b,c){for(var d,e=(gb.tweeners[b]||[]).concat(gb.tweeners["*"]),f=0,g=e.length;f1)},removeAttr:function(a){return this.each(function(){r.removeAttr(this,a)})}}),r.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return"undefined"==typeof a.getAttribute?r.prop(a,b,c):(1===f&&r.isXMLDoc(a)||(e=r.attrHooks[b.toLowerCase()]||(r.expr.match.bool.test(b)?hb:void 0)),void 0!==c?null===c?void r.removeAttr(a,b):e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+""),c):e&&"get"in e&&null!==(d=e.get(a,b))?d:(d=r.find.attr(a,b),null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&"radio"===b&&r.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d=0,e=b&&b.match(K); -if(e&&1===a.nodeType)while(c=e[d++])a.removeAttribute(c)}}),hb={set:function(a,b,c){return b===!1?r.removeAttr(a,c):a.setAttribute(c,c),c}},r.each(r.expr.match.bool.source.match(/\w+/g),function(a,b){var c=ib[b]||r.find.attr;ib[b]=function(a,b,d){var e,f,g=b.toLowerCase();return d||(f=ib[g],ib[g]=e,e=null!=c(a,b,d)?g:null,ib[g]=f),e}});var jb=/^(?:input|select|textarea|button)$/i,kb=/^(?:a|area)$/i;r.fn.extend({prop:function(a,b){return S(this,r.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[r.propFix[a]||a]})}}),r.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&r.isXMLDoc(a)||(b=r.propFix[b]||b,e=r.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=r.find.attr(a,"tabindex");return b?parseInt(b,10):jb.test(a.nodeName)||kb.test(a.nodeName)&&a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),o.optSelected||(r.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),r.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){r.propFix[this.toLowerCase()]=this});var lb=/[\t\r\n\f]/g;function mb(a){return a.getAttribute&&a.getAttribute("class")||""}r.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).addClass(a.call(this,b,mb(this)))});if("string"==typeof a&&a){b=a.match(K)||[];while(c=this[i++])if(e=mb(c),d=1===c.nodeType&&(" "+e+" ").replace(lb," ")){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=r.trim(d),e!==h&&c.setAttribute("class",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).removeClass(a.call(this,b,mb(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a){b=a.match(K)||[];while(c=this[i++])if(e=mb(c),d=1===c.nodeType&&(" "+e+" ").replace(lb," ")){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-1)d=d.replace(" "+f+" "," ");h=r.trim(d),e!==h&&c.setAttribute("class",h)}}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):r.isFunction(a)?this.each(function(c){r(this).toggleClass(a.call(this,c,mb(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c){d=0,e=r(this),f=a.match(K)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&"boolean"!==c||(b=mb(this),b&&V.set(this,"__className__",b),this.setAttribute&&this.setAttribute("class",b||a===!1?"":V.get(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+" ";while(c=this[d++])if(1===c.nodeType&&(" "+mb(c)+" ").replace(lb," ").indexOf(b)>-1)return!0;return!1}});var nb=/\r/g,ob=/[\x20\t\r\n\f]+/g;r.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=r.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,r(this).val()):a,null==e?e="":"number"==typeof e?e+="":r.isArray(e)&&(e=r.map(e,function(a){return null==a?"":a+""})),b=r.valHooks[this.type]||r.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=r.valHooks[e.type]||r.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(nb,""):null==c?"":c)}}}),r.extend({valHooks:{option:{get:function(a){var b=r.find.attr(a,"value");return null!=b?b:r.trim(r.text(a)).replace(ob," ")}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type,g=f?null:[],h=f?e+1:d.length,i=e<0?h:f?e:0;i-1)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),r.each(["radio","checkbox"],function(){r.valHooks[this]={set:function(a,b){if(r.isArray(b))return a.checked=r.inArray(r(a).val(),b)>-1}},o.checkOn||(r.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var pb=/^(?:focusinfocus|focusoutblur)$/;r.extend(r.event,{trigger:function(b,c,e,f){var g,h,i,j,k,m,n,o=[e||d],p=l.call(b,"type")?b.type:b,q=l.call(b,"namespace")?b.namespace.split("."):[];if(h=i=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!pb.test(p+r.event.triggered)&&(p.indexOf(".")>-1&&(q=p.split("."),p=q.shift(),q.sort()),k=p.indexOf(":")<0&&"on"+p,b=b[r.expando]?b:new r.Event(p,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=q.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:r.makeArray(c,[b]),n=r.event.special[p]||{},f||!n.trigger||n.trigger.apply(e,c)!==!1)){if(!f&&!n.noBubble&&!r.isWindow(e)){for(j=n.delegateType||p,pb.test(j+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),i=h;i===(e.ownerDocument||d)&&o.push(i.defaultView||i.parentWindow||a)}g=0;while((h=o[g++])&&!b.isPropagationStopped())b.type=g>1?j:n.bindType||p,m=(V.get(h,"events")||{})[b.type]&&V.get(h,"handle"),m&&m.apply(h,c),m=k&&h[k],m&&m.apply&&T(h)&&(b.result=m.apply(h,c),b.result===!1&&b.preventDefault());return b.type=p,f||b.isDefaultPrevented()||n._default&&n._default.apply(o.pop(),c)!==!1||!T(e)||k&&r.isFunction(e[p])&&!r.isWindow(e)&&(i=e[k],i&&(e[k]=null),r.event.triggered=p,e[p](),r.event.triggered=void 0,i&&(e[k]=i)),b.result}},simulate:function(a,b,c){var d=r.extend(new r.Event,c,{type:a,isSimulated:!0});r.event.trigger(d,null,b)}}),r.fn.extend({trigger:function(a,b){return this.each(function(){r.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return r.event.trigger(a,b,c,!0)}}),r.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(a,b){r.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),r.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),o.focusin="onfocusin"in a,o.focusin||r.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){r.event.simulate(b,a.target,r.event.fix(a))};r.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=V.access(d,b);e||d.addEventListener(a,c,!0),V.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=V.access(d,b)-1;e?V.access(d,b,e):(d.removeEventListener(a,c,!0),V.remove(d,b))}}});var qb=a.location,rb=r.now(),sb=/\?/;r.parseXML=function(b){var c;if(!b||"string"!=typeof b)return null;try{c=(new a.DOMParser).parseFromString(b,"text/xml")}catch(d){c=void 0}return c&&!c.getElementsByTagName("parsererror").length||r.error("Invalid XML: "+b),c};var tb=/\[\]$/,ub=/\r?\n/g,vb=/^(?:submit|button|image|reset|file)$/i,wb=/^(?:input|select|textarea|keygen)/i;function xb(a,b,c,d){var e;if(r.isArray(b))r.each(b,function(b,e){c||tb.test(a)?d(a,e):xb(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==r.type(b))d(a,b);else for(e in b)xb(a+"["+e+"]",b[e],c,d)}r.param=function(a,b){var c,d=[],e=function(a,b){var c=r.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(null==c?"":c)};if(r.isArray(a)||a.jquery&&!r.isPlainObject(a))r.each(a,function(){e(this.name,this.value)});else for(c in a)xb(c,a[c],b,e);return d.join("&")},r.fn.extend({serialize:function(){return r.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=r.prop(this,"elements");return a?r.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!r(this).is(":disabled")&&wb.test(this.nodeName)&&!vb.test(a)&&(this.checked||!ha.test(a))}).map(function(a,b){var c=r(this).val();return null==c?null:r.isArray(c)?r.map(c,function(a){return{name:b.name,value:a.replace(ub,"\r\n")}}):{name:b.name,value:c.replace(ub,"\r\n")}}).get()}});var yb=/%20/g,zb=/#.*$/,Ab=/([?&])_=[^&]*/,Bb=/^(.*?):[ \t]*([^\r\n]*)$/gm,Cb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Db=/^(?:GET|HEAD)$/,Eb=/^\/\//,Fb={},Gb={},Hb="*/".concat("*"),Ib=d.createElement("a");Ib.href=qb.href;function Jb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(K)||[];if(r.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Kb(a,b,c,d){var e={},f=a===Gb;function g(h){var i;return e[h]=!0,r.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Lb(a,b){var c,d,e=r.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&r.extend(!0,a,d),a}function Mb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}if(f)return f!==i[0]&&i.unshift(f),c[f]}function Nb(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}r.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:qb.href,type:"GET",isLocal:Cb.test(qb.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Hb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":r.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Lb(Lb(a,r.ajaxSettings),b):Lb(r.ajaxSettings,a)},ajaxPrefilter:Jb(Fb),ajaxTransport:Jb(Gb),ajax:function(b,c){"object"==typeof b&&(c=b,b=void 0),c=c||{};var e,f,g,h,i,j,k,l,m,n,o=r.ajaxSetup({},c),p=o.context||o,q=o.context&&(p.nodeType||p.jquery)?r(p):r.event,s=r.Deferred(),t=r.Callbacks("once memory"),u=o.statusCode||{},v={},w={},x="canceled",y={readyState:0,getResponseHeader:function(a){var b;if(k){if(!h){h={};while(b=Bb.exec(g))h[b[1].toLowerCase()]=b[2]}b=h[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return k?g:null},setRequestHeader:function(a,b){return null==k&&(a=w[a.toLowerCase()]=w[a.toLowerCase()]||a,v[a]=b),this},overrideMimeType:function(a){return null==k&&(o.mimeType=a),this},statusCode:function(a){var b;if(a)if(k)y.always(a[y.status]);else for(b in a)u[b]=[u[b],a[b]];return this},abort:function(a){var b=a||x;return e&&e.abort(b),A(0,b),this}};if(s.promise(y),o.url=((b||o.url||qb.href)+"").replace(Eb,qb.protocol+"//"),o.type=c.method||c.type||o.method||o.type,o.dataTypes=(o.dataType||"*").toLowerCase().match(K)||[""],null==o.crossDomain){j=d.createElement("a");try{j.href=o.url,j.href=j.href,o.crossDomain=Ib.protocol+"//"+Ib.host!=j.protocol+"//"+j.host}catch(z){o.crossDomain=!0}}if(o.data&&o.processData&&"string"!=typeof o.data&&(o.data=r.param(o.data,o.traditional)),Kb(Fb,o,c,y),k)return y;l=r.event&&o.global,l&&0===r.active++&&r.event.trigger("ajaxStart"),o.type=o.type.toUpperCase(),o.hasContent=!Db.test(o.type),f=o.url.replace(zb,""),o.hasContent?o.data&&o.processData&&0===(o.contentType||"").indexOf("application/x-www-form-urlencoded")&&(o.data=o.data.replace(yb,"+")):(n=o.url.slice(f.length),o.data&&(f+=(sb.test(f)?"&":"?")+o.data,delete o.data),o.cache===!1&&(f=f.replace(Ab,""),n=(sb.test(f)?"&":"?")+"_="+rb++ +n),o.url=f+n),o.ifModified&&(r.lastModified[f]&&y.setRequestHeader("If-Modified-Since",r.lastModified[f]),r.etag[f]&&y.setRequestHeader("If-None-Match",r.etag[f])),(o.data&&o.hasContent&&o.contentType!==!1||c.contentType)&&y.setRequestHeader("Content-Type",o.contentType),y.setRequestHeader("Accept",o.dataTypes[0]&&o.accepts[o.dataTypes[0]]?o.accepts[o.dataTypes[0]]+("*"!==o.dataTypes[0]?", "+Hb+"; q=0.01":""):o.accepts["*"]);for(m in o.headers)y.setRequestHeader(m,o.headers[m]);if(o.beforeSend&&(o.beforeSend.call(p,y,o)===!1||k))return y.abort();if(x="abort",t.add(o.complete),y.done(o.success),y.fail(o.error),e=Kb(Gb,o,c,y)){if(y.readyState=1,l&&q.trigger("ajaxSend",[y,o]),k)return y;o.async&&o.timeout>0&&(i=a.setTimeout(function(){y.abort("timeout")},o.timeout));try{k=!1,e.send(v,A)}catch(z){if(k)throw z;A(-1,z)}}else A(-1,"No Transport");function A(b,c,d,h){var j,m,n,v,w,x=c;k||(k=!0,i&&a.clearTimeout(i),e=void 0,g=h||"",y.readyState=b>0?4:0,j=b>=200&&b<300||304===b,d&&(v=Mb(o,y,d)),v=Nb(o,v,y,j),j?(o.ifModified&&(w=y.getResponseHeader("Last-Modified"),w&&(r.lastModified[f]=w),w=y.getResponseHeader("etag"),w&&(r.etag[f]=w)),204===b||"HEAD"===o.type?x="nocontent":304===b?x="notmodified":(x=v.state,m=v.data,n=v.error,j=!n)):(n=x,!b&&x||(x="error",b<0&&(b=0))),y.status=b,y.statusText=(c||x)+"",j?s.resolveWith(p,[m,x,y]):s.rejectWith(p,[y,x,n]),y.statusCode(u),u=void 0,l&&q.trigger(j?"ajaxSuccess":"ajaxError",[y,o,j?m:n]),t.fireWith(p,[y,x]),l&&(q.trigger("ajaxComplete",[y,o]),--r.active||r.event.trigger("ajaxStop")))}return y},getJSON:function(a,b,c){return r.get(a,b,c,"json")},getScript:function(a,b){return r.get(a,void 0,b,"script")}}),r.each(["get","post"],function(a,b){r[b]=function(a,c,d,e){return r.isFunction(c)&&(e=e||d,d=c,c=void 0),r.ajax(r.extend({url:a,type:b,dataType:e,data:c,success:d},r.isPlainObject(a)&&a))}}),r._evalUrl=function(a){return r.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},r.fn.extend({wrapAll:function(a){var b;return this[0]&&(r.isFunction(a)&&(a=a.call(this[0])),b=r(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this},wrapInner:function(a){return r.isFunction(a)?this.each(function(b){r(this).wrapInner(a.call(this,b))}):this.each(function(){var b=r(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=r.isFunction(a);return this.each(function(c){r(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(a){return this.parent(a).not("body").each(function(){r(this).replaceWith(this.childNodes)}),this}}),r.expr.pseudos.hidden=function(a){return!r.expr.pseudos.visible(a)},r.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)},r.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch(b){}};var Ob={0:200,1223:204},Pb=r.ajaxSettings.xhr();o.cors=!!Pb&&"withCredentials"in Pb,o.ajax=Pb=!!Pb,r.ajaxTransport(function(b){var c,d;if(o.cors||Pb&&!b.crossDomain)return{send:function(e,f){var g,h=b.xhr();if(h.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(g in b.xhrFields)h[g]=b.xhrFields[g];b.mimeType&&h.overrideMimeType&&h.overrideMimeType(b.mimeType),b.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");for(g in e)h.setRequestHeader(g,e[g]);c=function(a){return function(){c&&(c=d=h.onload=h.onerror=h.onabort=h.onreadystatechange=null,"abort"===a?h.abort():"error"===a?"number"!=typeof h.status?f(0,"error"):f(h.status,h.statusText):f(Ob[h.status]||h.status,h.statusText,"text"!==(h.responseType||"text")||"string"!=typeof h.responseText?{binary:h.response}:{text:h.responseText},h.getAllResponseHeaders()))}},h.onload=c(),d=h.onerror=c("error"),void 0!==h.onabort?h.onabort=d:h.onreadystatechange=function(){4===h.readyState&&a.setTimeout(function(){c&&d()})},c=c("abort");try{h.send(b.hasContent&&b.data||null)}catch(i){if(c)throw i}},abort:function(){c&&c()}}}),r.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)}),r.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return r.globalEval(a),a}}}),r.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),r.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(e,f){b=r(" - - - - + + + + + - - + @@ -87,7 +73,7 @@

A

  • alias() (metrolopy.unit.Unit static method)
  • -
  • aliases (metrolopy.unit.Unit attribute) +
  • aliases() (metrolopy.unit.Unit property)
  • angle() (in module metrolopy.functions) @@ -139,12 +125,10 @@

    A

    B

      -
    • bayesian (metrolopy.nummy.MetaNummy attribute) - -
    • bayesian_default (metrolopy.distributions.TDist attribute)
    • BinaryPrefixedUnit (class in metrolopy.prefixedunit) @@ -167,7 +151,7 @@

      B

      C

    • ci() (metrolopy.distributions.Distribution method)
    • -
    • cimethod (metrolopy.nummy.MetaNummy attribute) - -
    • CircularUnitConversionError
    • -
    • cisim (metrolopy.gummy.gummy attribute) +
    • cisim() (metrolopy.gummy.gummy property)
    • cisym() (metrolopy.distributions.Distribution method) @@ -209,13 +191,13 @@

      C

    • (metrolopy.distributions.MultivariateElement method)
    • -
    • cmp_k (metrolopy.gummy.MetaGummy attribute) +
    • cmp_k() (metrolopy.gummy.MetaGummy property)
    • -
    • cmp_p (metrolopy.gummy.MetaGummy attribute) +
    • cmp_p() (metrolopy.gummy.MetaGummy property)
    • -
    • column_names (metrolopy.budget.Budget attribute) +
    • column_names() (metrolopy.budget.Budget property)
    • -
    • columns (metrolopy.budget.Budget attribute) +
    • columns() (metrolopy.budget.Budget property)
    • conj() (in module metrolopy.functions)
    • @@ -227,11 +209,11 @@

      C

    • conservative_coverage_probability() (in module metrolopy.pmethod)
    • -
    • const (metrolopy.ummy.ummy attribute) +
    • const() (metrolopy.ummy.ummy property)
    • Conversion (class in metrolopy.unit)
    • -
    • conversion (metrolopy.unit.Unit attribute) +
    • conversion() (metrolopy.unit.Unit property)
    • convert() (in module metrolopy.unitutils) @@ -283,26 +265,28 @@

      C

    • (metrolopy.fit.SinFit attribute)
    • -
    • cov (metrolopy.distributions.MultiNormalDist attribute) +
    • cov (metrolopy.fit.DoubleExpFit attribute)
    • -
    • cov() (metrolopy.distributions.MultivariateElement method) +
    • cov() (metrolopy.distributions.MultiNormalDist property) + +
    • covariance() (metrolopy.ummy.ummy method)
    • covariance_matrix() (metrolopy.ummy.ummy static method) @@ -365,15 +349,15 @@

      D

    • delta_sum_mean() (in module metrolopy.mean)
    • -
    • df (metrolopy.budget.Budget attribute) +
    • df() (metrolopy.budget.Budget property)
    • -
    • df_html (metrolopy.budget.Budget attribute) +
    • df_html() (metrolopy.budget.Budget property)
    • -
    • df_latex (metrolopy.budget.Budget attribute) +
    • df_latex() (metrolopy.budget.Budget property)
    • -
    • finfo (metrolopy.ummy.ummy attribute) +
    • finfo() (metrolopy.ummy.ummy property)
    • Fit (class in metrolopy.fit)
    • @@ -603,23 +587,23 @@

      H

      I

      -- - - - - - -
      Returns:A float that represents the effective number of data points.
      Return type:float
      +
      +
      Returns
      +

      A float that represents the effective number of data points.

      +
      +
      Return type
      +

      float

      +
      +
      -metrolopy.mean.sigma_trim(x, n_sigma=3)
      +metrolopy.mean.sigma_trim(x, n_sigma=3)

      Returns a masked array with data attribute equal to x and any elements more the n_sigma standard deviations from the mean masked. (The standard deviation is calculated excluding the masked outliers.)

      @@ -4208,29 +4720,25 @@

      Submodules
      -metrolopy.mean.wmean(x, chi_correct=False)
      +metrolopy.mean.wmean(x, chi_correct=False)

      Takes an array of gummys and returns the weighted mean with weights that minimize the uncertainty of the returned value (taking into account correlations)

      - --- - - - - - - - -
      Parameters:
        -
      • x (array_like of gummy) – the values to be averaged
      • -
      • chi_correct (bool, optional) – If this is True, the uncertainty of the returned value is multiplied by the +
        +
        Parameters
        +
          +
        • x (array_like of gummy) – the values to be averaged

        • +
        • chi_correct (bool, optional) – If this is True, the uncertainty of the returned value is multiplied by the square root of the reduced chi-squared of the residuals to take into account -any under estimation of the uncertainties in x. The default is False

        • +any under estimation of the uncertainties in x. The default is False

        -
      Returns:

      a gummy representing the weighted mean

      -
      Return type:

      gummy

      -
      +
      +
      Returns
      +

      a gummy representing the weighted mean

      +
      +
      Return type
      +

      gummy

      +
      +

      @@ -4240,90 +4748,90 @@

      Submodules
      -class metrolopy.nonlinearunit.NonlinearConversion(unit, factor=1)
      -

      Bases: metrolopy.unit.Conversion

      +class metrolopy.nonlinearunit.NonlinearConversion(unit, factor=1) +

      Bases: metrolopy.unit.Conversion

      Base class for non-linear conversions.

      -chain(c)
      +chain(c)
      -copy()
      +copy()
      -linear = False
      +linear = False
      -pow(e)
      +pow(e)
      -rchain(c)
      +rchain(c)
      -class metrolopy.nonlinearunit.NonlinearUnit(name, symbol, conversion=None, short_name=None, add_symbol=False, html_symbol=None, latex_symbol=None, ascii_symbol=None, description=None, order=-1, **kwds)
      -

      Bases: metrolopy.unit.Unit

      +class metrolopy.nonlinearunit.NonlinearUnit(name, symbol, conversion=None, short_name=None, add_symbol=False, html_symbol=None, latex_symbol=None, ascii_symbol=None, description=None, order=-1, **kwds) +

      Bases: metrolopy.unit.Unit

      Base class of non-linear units.

      -from_uunit(u, unit)
      +from_uunit(u, unit)
      -get_composite(ul)
      +get_composite(ul)
      -linear = False
      +linear = False
      -to_uunit(u, unit)
      +to_uunit(u, unit)
      -zero()
      +zero()
      -class metrolopy.nonlinearunit.ReciprocalConversion(conversion)
      -

      Bases: metrolopy.nonlinearunit.NonlinearConversion

      +class metrolopy.nonlinearunit.ReciprocalConversion(conversion) +

      Bases: metrolopy.nonlinearunit.NonlinearConversion

      -chain(c)
      +chain(c)
      -copy()
      +copy()
      -frm(g)
      +frm(g)
      -to(g)
      +to(g)
      @@ -4336,11 +4844,11 @@

      Submodules
      -class metrolopy.nummy.MetaNummy
      -

      Bases: type

      -
      +class metrolopy.nummy.MetaNummy +

      Bases: type

      +
      -bayesian
      +property bayesian

      bool

      Read/write at the class level, but read-only at the instance level. The default value is False; this should only be changed once at the @@ -4353,20 +4861,20 @@

      SubmodulesExample

      -
      >>> gummy.bayesian = True
      +
      >>> gummy.bayesian = True
       >>> g = gummy(1,0.03,dof=5)
       >>> g.bayesian
       True
      @@ -4374,30 +4882,30 @@ 

      Submodules +
      -cimethod
      -

      str in {‘shortest’, ‘symmetric’}

      +property cimethod +

      str in {‘shortest’, ‘symmetric’}

      Get or set the method for calculating the confidence interval from Monte-Carlo data. If this property is set at the class level, it will change the default cimethod value for new gummys but will not affect gummys that have already been created.

      -

      Can be set either to the string ‘shortest’ or the string ‘symmetric’. +

      Can be set either to the string ‘shortest’ or the string ‘symmetric’. This property gets or sets the method for calculating confidence intervals from Monte-Carlo data.

      -

      If it is set to ‘shortest’, the confidence interval will be taken to be +

      If it is set to ‘shortest’, the confidence interval will be taken to be the shortest interval that includes the desired fraction of the probability distribution.

      -

      If it is set to ‘symmetric’, then the confidence interval will be set so +

      If it is set to ‘symmetric’, then the confidence interval will be set so that, for n Monte-Carlo samples and a coverage probability of p, then n`*(1-`p)/2 samples lie below the lower limit of the confidence interval and the same number of samples lie above the upper limit of the confidence interval.

      -
      +
      -mcpropagate
      +property mcpropagate

      Setting this property to False turns of the code for Monte-Carlo uncertainty propagation. This property should only be set once, before any gummy instances are created. Turning mcpropagate off then on again @@ -4408,31 +4916,31 @@

      Submodules
      -class metrolopy.nummy.nummy(x, u=0, dof=inf, utype=None, name=None)
      -

      Bases: metrolopy.ummy.ummy

      -
      +class metrolopy.nummy.nummy(x, u=0, dof=inf, utype=None, name=None) +

      Bases: metrolopy.ummy.ummy

      +
      -Usim
      +property Usim
      -bayesian = False
      +bayesian = False
      -cimethod = 'shortest'
      +cimethod = 'shortest'
      -
      +
      -cisim
      +property cisim
      -
      +
      -static correlation_matrix_sim(gummys)
      +static correlation_matrix_sim(gummys)

      The staticmethod takes a list of gummys an returns the correlation matrix calculated from Monte-Carlo data. The return value is numpy ndarray.

      @@ -4442,16 +4950,16 @@

      Submodules
      -correlation_sim(g)
      +correlation_sim(g)

      Returns the correlation coefficient, calculated from Monte-Carlo data, between the owning gummy and the gummy g.

      See the method gummy.correlation(g) for the corresponding result based on first order error propagation.

      -
      +
      -static covariance_matrix_sim(gummys)
      +static covariance_matrix_sim(gummys)

      The staticmethod takes a list of gummys an returns the variance-covariance matrix calculated from Monte-Carlo data. The return value is numpy ndarray.

      @@ -4461,33 +4969,63 @@

      Submodules
      -covariance_sim(g)
      +covariance_sim(g)

      Returns the covariance, calculated from Monte-Carlo data, between the owning gummy and the gummy g.

      See the method gummy.covariance(g) for the corresponding result based on first order error propagation.

      -
      +
      -static covplot(x, y, title=None, xlabel=None, ylabel=None, hold=False, **kwds)
      +static covplot(x, y, title=None, xlabel=None, ylabel=None, hold=False, **kwds)
      -
      +
      -classmethod create(x, u=0, dof=inf, name=None, correlation_matrix=None, covariance_matrix=None)
      -
      +classmethod create(x, u=0, dof=inf, name=None, correlation_matrix=None, covariance_matrix=None) +

      A class method that creates a list of (possibly) correlated ummys.

      +
      +
      Parameters
      +
        +
      • x – A list of floats corresponding to the x-value of each ummy.

      • +
      • u, dof, k, loc, utype (optional) – Lists that correspond to the +parameters in the ummy initializer (with the i-th value in each +list passed to the initializer for the i-th ummy). These may also be a single +value with this same value is to passed to each initializer.

      • +
      • correlation_matrix (optional) – A list or array to be used as the correlation +matrix of the ummys. This is optional and must be set to the +default value of None if the covariance_matrix is specified. +If both the correlation_matrix and the covariance_matrix are +None (or omitted) then the ummys will be uncorrelated.

      • +
      • covariance_matrix (optional) – A list or array to be used as the variance- +covariance matrix of the ummys. If the covariance matrix is +specified the u parameter will be ignored This parameter is +optional and must be set to the default value of None if the +correlation_matrix is specified. If both the correlation_matrix +and the covariance_matrix are None (or omitted) then the ummys +will be uncorrelated.

      • +
      +
      +
      Returns
      +

      +
      +
      Return type
      +

      a list of ummys

      +
      +
      +
      -
      +
      -distribution
      +property distribution

      read-only

      Returns ths Distribution instance associated with the gummy.

      -
      +
      -dof
      +property dof

      float, read-only

      Returns the number or degrees of freedom that the uncertainty of the gummy is based on. If gummy.bayesian is set to False, then the Welch- @@ -4497,82 +5035,81 @@

      Submodules
      -hist(xlabel=None, title=None, hold=False, **kwds)
      +hist(xlabel=None, title=None, hold=False, **kwds)

      -
      +
      -independent
      +property independent

      bool, read-only

      Returns False if the owning gummy was created from a operation involving other gummys and True otherwise.

      -
      +
      -ksim
      +property ksim

      read-only

      -

      Returns 0.5*(gummy.Usim[0] + gummy.Usim[1])/gummy.usim

      +

      Returns 0.5*(gummy.Usim[0] + gummy.Usim[1])/gummy.usim

      -
      +
      -p
      +property p
      -
      +
      -static set_seed(seed)
      +static set_seed(seed)

      Sets the seed for the numpy.random.RandomState object shared by all Distribution instances.

      -
      +
      -simdata
      +property simdata

      numpy.ndarray, read-only

      Returns an array containing the Monte-Carlo simulation data. A NoSimulatedDataError is raised if no Monte-Carlo data is available.

      -
      +
      -simsorted
      +property simsorted

      numpy.ndarray, read-only

      Returns a sorted array containing the Monte-Carlo simulation data. A NoSimulatedDataError is raised if no Monte-Carlo data is available.

      -
      +
      -static simulate(nummys, n=100000, ufrom=None)
      +static simulate(nummys, n=100000, ufrom=None)
      -ufrom(x, sim=False)
      +ufrom(x, sim=False)

      Gets the standard uncertainty contributed from particular gummys or utypes if all other free variables are held fixed.

      - --- - - - - - - - -
      Parameters:x (gummy, str, or array_like) – A gummy, a string referencing a utype or a list containing -gummys and strings.
      Returns:
      Return type:float
      +
      +
      Parameters
      +

      x (gummy, str, or array_like) – A gummy, a string referencing a utype or a list containing +gummys and strings.

      +
      +
      Returns
      +

      +
      +
      Return type
      +

      float

      +
      +

      Example

      -
      >>>  a = gummy(1.2,0.2,utype='A')
      +
      >>>  a = gummy(1.2,0.2,utype='A')
       >>>  b = gummy(3.2,0.5,utype='A')
       >>>  c = gummy(0.9,0.2,utype='B')
       >>>  d = a + b + c
      @@ -4582,14 +5119,14 @@ 

      Submodules +
      -usim
      +property usim
      -
      +
      -xsim
      +property xsim

      @@ -4600,26 +5137,26 @@

      Submodules
      -class metrolopy.offsetunit.OffsetConversion(unit, offset)
      -

      Bases: metrolopy.nonlinearunit.NonlinearConversion

      +class metrolopy.offsetunit.OffsetConversion(unit, offset) +

      Bases: metrolopy.nonlinearunit.NonlinearConversion

      Represents a conversion of the form x -> x + offset.

      -copy()
      +copy()

      -class metrolopy.offsetunit.OffsetUnit(*params, **kwds)
      -

      Bases: metrolopy.nonlinearunit.NonlinearUnit

      +class metrolopy.offsetunit.OffsetUnit(*params, **kwds) +

      Bases: metrolopy.nonlinearunit.NonlinearUnit

      This class was created to handle units such as the degree Celsius and the degree Fahrenheit. This class takes the same parameters as the Unit class, -but actually creates two unit instances...

      +but actually creates two unit instances…

      -zero()
      +zero()
      @@ -4631,67 +5168,61 @@

      Submodules
      -metrolopy.pmethod.ccp_from_k(k, dof=inf, bayesian=False)
      +metrolopy.pmethod.ccp_from_k(k, dof=inf, bayesian=False)

      -metrolopy.pmethod.conservative_coverage_probability(p, dof=inf, bayesian=False)
      +metrolopy.pmethod.conservative_coverage_probability(p, dof=inf, bayesian=False)
      -metrolopy.pmethod.coverage_factor(p, dof=inf, bayesian=False)
      +metrolopy.pmethod.coverage_factor(p, dof=inf, bayesian=False)

      Returns the k factor for a given level of confidence and degrees of freedom -calculated from a normal or Student’s t distribution

      +calculated from a normal or Student’s t distribution

      Parameters:

      -
      -
      p: float
      -
      The level of confidence (as a fraction of 1).
      -
      dof: float or int,
      -
      optional (default is float(‘inf’)), the degrees of freedom.
      -
      - --- - - - - - -
      Returns:
      Return type:float
      +
      +
      p: float

      The level of confidence (as a fraction of 1).

      +
      +
      dof: float or int,

      optional (default is float(‘inf’)), the degrees of freedom.

      +
      +
      +
      +
      Returns
      +

      +
      +
      Return type
      +

      float

      +
      +
      -metrolopy.pmethod.coverage_probability(p, dof=inf, bayesian=False)
      +metrolopy.pmethod.coverage_probability(p, dof=inf, bayesian=False)
      -metrolopy.pmethod.cp_from_k(k, dof=inf, bayesian=False)
      +metrolopy.pmethod.cp_from_k(k, dof=inf, bayesian=False)
      -metrolopy.pmethod.loc_from_k(k, dof=inf, bayesian=False)
      +metrolopy.pmethod.loc_from_k(k, dof=inf, bayesian=False)

      Returns the level of confidence given a coverage factor k and degrees of -freedom for a Student’s t distribution.

      - --- - - - -
      Parameters:
        -
      • kfloat -coverage factor.
      • -
      • doffloat or int, optional -(default is float(‘inf’)), the degrees of freedom.
      • +freedom for a Student’s t distribution.

        +
        +
        Parameters
        +
          +
        • kfloat +coverage factor.

        • +
        • doffloat or int, optional +(default is float(‘inf’)), the degrees of freedom.

        -
      +
      +

      Returns: float

      @@ -4701,14 +5232,14 @@

      Submodules
      -class metrolopy.prefixedunit.BinaryPrefixedUnit(name, symbol, conversion=None, short_name=None, additional_names=None, additional_short_names=None, add_symbol=False, html_symbol=None, latex_symbol=None, ascii_symbol=None, linear=True, description=None, order=-1, prefixes=None, base_prefix=None, base_description=None, **kwds)
      -

      Bases: metrolopy.prefixedunit.PrefixedUnit

      -
      -
      PrefixedUnit(name,symbol,conversion=None,short_name=None,
      -
      additional_names=None,additional_short_names=None, +class metrolopy.prefixedunit.BinaryPrefixedUnit(name, symbol, conversion=None, short_name=None, additional_names=None, additional_short_names=None, add_symbol=False, html_symbol=None, latex_symbol=None, ascii_symbol=None, linear=True, description=None, order=-1, prefixes=None, base_prefix=None, base_description=None, **kwds) +

      Bases: metrolopy.prefixedunit.PrefixedUnit

      +
      +
      PrefixedUnit(name,symbol,conversion=None,short_name=None,

      additional_names=None,additional_short_names=None, add_symbol=False,html_symbol=None,latex_symbol=None, ascii_symbol=None,description=None,order=-1,prefixes=None, -base_prefix=None,base_description=None)

      +base_prefix=None,base_description=None)

      +

      Creating an instance of this class not only creates the base unit but also adds units with with a set of prefixes to the unit library.

      @@ -4717,21 +5248,21 @@

      Submodules
      -prefix_definitions = {'kilo': [1000, 'k', None, None, None], 'mega': [1000000.0, 'M', None, None, None], 'giga': [1000000000.0, 'G', None, None, None], 'tera': [1000000000000.0, 'T', None, None, None], 'peta': [1000000000000000.0, 'P', None, None, None], 'exa': [1e+18, 'E', None, None, None], 'zetta': [1e+21, 'Z', None, None, None], 'yotta': [1e+24, 'Y', None, None, None], 'kibi': [1024, 'Ki', None, None, None], 'mebi': [1048576, 'Mi', None, None, None], 'gibi': [1073741824, 'Gi', None, None, None], 'tebi': [1099511627776, 'Ti', None, None, None], 'pebi': [1125899906842624, 'Pi', None, None, None], 'exbi': [1152921504606846976, 'Ei', None, None, None], 'zibi': [1180591620717411303424, 'Zi', None, None, None], 'yobi': [1208925819614629174706176, 'Yi', None, None, None]}
      +prefix_definitions = {'exa': [1e+18, 'E', None, None, None], 'exbi': [1152921504606846976, 'Ei', None, None, None], 'gibi': [1073741824, 'Gi', None, None, None], 'giga': [1000000000.0, 'G', None, None, None], 'kibi': [1024, 'Ki', None, None, None], 'kilo': [1000, 'k', None, None, None], 'mebi': [1048576, 'Mi', None, None, None], 'mega': [1000000.0, 'M', None, None, None], 'pebi': [1125899906842624, 'Pi', None, None, None], 'peta': [1000000000000000.0, 'P', None, None, None], 'tebi': [1099511627776, 'Ti', None, None, None], 'tera': [1000000000000.0, 'T', None, None, None], 'yobi': [1208925819614629174706176, 'Yi', None, None, None], 'yotta': [1e+24, 'Y', None, None, None], 'zetta': [1e+21, 'Z', None, None, None], 'zibi': [1180591620717411303424, 'Zi', None, None, None]}

      -class metrolopy.prefixedunit.PrefixedUnit(name, symbol, conversion=None, short_name=None, additional_names=None, additional_short_names=None, add_symbol=False, html_symbol=None, latex_symbol=None, ascii_symbol=None, linear=True, description=None, order=-1, prefixes=None, base_prefix=None, base_description=None, **kwds)
      -

      Bases: metrolopy.unit.Unit

      -
      -
      PrefixedUnit(name,symbol,conversion=None,short_name=None,
      -
      additional_names=None,additional_short_names=None, +class metrolopy.prefixedunit.PrefixedUnit(name, symbol, conversion=None, short_name=None, additional_names=None, additional_short_names=None, add_symbol=False, html_symbol=None, latex_symbol=None, ascii_symbol=None, linear=True, description=None, order=-1, prefixes=None, base_prefix=None, base_description=None, **kwds) +

      Bases: metrolopy.unit.Unit

      +
      +
      PrefixedUnit(name,symbol,conversion=None,short_name=None,

      additional_names=None,additional_short_names=None, add_symbol=False,html_symbol=None,latex_symbol=None, ascii_symbol=None,description=None,order=-1,prefixes=None, -base_prefix=None,base_description=None)

      +base_prefix=None,base_description=None)

      +

      Creating an instance of this class not only creates the base unit but also adds units with with a set of prefixes to the unit library.

      @@ -4739,7 +5270,7 @@

      Submodules
      -prefix_definitions = {'yocto': [1e-24, 'y', None, None, None], 'zepto': [1e-21, 'z', None, None, None], 'atto': [1e-18, 'a', None, None, None], 'femto': [1e-15, 'f', None, None, None], 'pico': [1e-12, 'p', None, None, None], 'nano': [1e-09, 'n', None, None, None], 'micro': [1e-06, 'μ', '&mu;', None, 'u'], 'milli': [0.001, 'm', None, None, None], 'centi': [0.01, 'c', None, None, None], 'deci': [0.1, 'd', None, None, None], 'deca': [10, 'da', None, None, None], 'hecto': [100, 'h', None, None, None], 'kilo': [1000, 'k', None, None, None], 'mega': [1000000, 'M', None, None, None], 'giga': [1000000000.0, 'G', None, None, None], 'tera': [1000000000000.0, 'T', None, None, None], 'peta': [1000000000000000.0, 'P', None, None, None], 'exa': [1e+18, 'E', None, None, None], 'zetta': [1e+21, 'Z', None, None, None], 'yotta': [1e+24, 'Y', None, None, None]}
      +prefix_definitions = {'atto': [1e-18, 'a', None, None, None], 'centi': [0.01, 'c', None, None, None], 'deca': [10, 'da', None, None, None], 'deci': [0.1, 'd', None, None, None], 'exa': [1e+18, 'E', None, None, None], 'femto': [1e-15, 'f', None, None, None], 'giga': [1000000000.0, 'G', None, None, None], 'hecto': [100, 'h', None, None, None], 'kilo': [1000, 'k', None, None, None], 'mega': [1000000, 'M', None, None, None], 'micro': [1e-06, 'μ', '&mu;', None, 'u'], 'milli': [0.001, 'm', None, None, None], 'nano': [1e-09, 'n', None, None, None], 'peta': [1000000000000000.0, 'P', None, None, None], 'pico': [1e-12, 'p', None, None, None], 'tera': [1000000000000.0, 'T', None, None, None], 'yocto': [1e-24, 'y', None, None, None], 'yotta': [1e+24, 'Y', None, None, None], 'zepto': [1e-21, 'z', None, None, None], 'zetta': [1e+21, 'Z', None, None, None]}

      @@ -4751,44 +5282,44 @@

      Submodules
      -class metrolopy.printing.MetaPrettyPrinter
      -

      Bases: type

      -
      +class metrolopy.printing.MetaPrettyPrinter +

      Bases: type

      +
      -printer
      +property printer

      Get or set the prefered display printer. This is a string with one of the following values:

      -

      “any”, “latex”, “html”, “unicode”, “ascii”, or “any_but_latex”

      -

      “any” will usually pick html or latex output when running in an IPython +

      “any”, “latex”, “html”, “unicode”, “ascii”, or “any_but_latex”

      +

      “any” will usually pick html or latex output when running in an IPython console or Jupyter notebook and unicode otherwise.

      -

      “any_but_latex” will usually pick html when running in an IPython +

      “any_but_latex” will usually pick html when running in an IPython console or Jupyter notebook and unicode otherwise.

      -

      “latex” and “html” are only available when running under IPython. If -these printers are not available the display will default to “unicode”.

      +

      “latex” and “html” are only available when running under IPython. If +these printers are not available the display will default to “unicode”.

      -class metrolopy.printing.PrettyPrinter
      -

      Bases: object

      +class metrolopy.printing.PrettyPrinter +

      Bases: object

      -ascii(**kwds)
      +ascii(**kwds)

      Prints a representation of the object using only ASCII characters. -Equivalent to print(cls.tostring(fmt=’ascii’)). See the tostring +Equivalent to print(cls.tostring(fmt=’ascii’)). See the tostring method.

      -break_on_printing_error = False
      +break_on_printing_error = False
      -html(**kwds)
      +html(**kwds)

      Prints a representation of the object using HTML formatting if this method is called from an IPython console or Juptyer notebook. See the tostring method.

      @@ -4796,7 +5327,7 @@

      Submodules
      -latex(math=None, **kwds)
      +latex(math=None, **kwds)

      Prints a representation of the object using LaTeX formatting if this method is called from an IPython console or Juptyer notebook. See the tostring method.

      @@ -4804,93 +5335,93 @@

      Submodules
      -latex_math(text)
      +latex_math()

      -latex_math_plot(text)
      +latex_math_plot()
      -latex_norm(text)
      +latex_norm()
      -latex_norm_plot(txt)
      +latex_norm_plot()
      -printer = 'any_but_latex'
      +printer = 'any_but_latex'
      -toascii(**kwds)
      +toascii(**kwds)

      Returns a string representing this object formatted using only ASCII -characters; equivalent to PrettyPrinter.tostring(fmt=’ascii’,**kwds). +characters; equivalent to PrettyPrinter.tostring(fmt=’ascii’,**kwds). See the tostring method.

      -tohtml(**kwds)
      +tohtml(**kwds)

      Returns a string representing this object formatted for html; equivalent -to PrettyPrinter.tostring(fmt=’html’,**kwds). See the tostring method.

      +to PrettyPrinter.tostring(fmt=’html’,**kwds). See the tostring method.

      -tolatex(**kwds)
      +tolatex(**kwds)

      Returns a string representing this object formatted for LaTeX; equivalent -to PrettyPrinter.tostring(fmt=’latex’,**kwds). See the tostring method.

      +to PrettyPrinter.tostring(fmt=’latex’,**kwds). See the tostring method.

      -tounicode(**kwds)
      +tounicode(**kwds)

      Returns a string representing this object; equivalent to -PrettyPrinter.tostring(fmt=’unicode’,**kwds) and PrettyPrinter.__str__(). +PrettyPrinter.tostring(fmt=’unicode’,**kwds) and PrettyPrinter.__str__(). See the tostring method.

      -unicode(**kwds)
      +unicode(**kwds)

      Prints a representation of the object. Equivalent to -print(cls.tostring(fmt=’unicode’)). See the tostring method.

      +print(cls.tostring(fmt=’unicode’)). See the tostring method.

      -metrolopy.printing.print_html(text)
      +metrolopy.printing.print_html(text)
      -metrolopy.printing.print_latex(text)
      +metrolopy.printing.print_latex(text)
      -metrolopy.printing.print_markdown(text)
      +metrolopy.printing.print_markdown(text)
      -metrolopy.printing.set_printer(value)
      +metrolopy.printing.set_printer(value)

      Sets the preferred default display printer. This is a string with one of the following values:

      -

      “any”, “latex”, “html”, “unicode”, or “ascii”

      -

      “any” will usually pick html or latex output when running in an IPython +

      “any”, “latex”, “html”, “unicode”, or “ascii”

      +

      “any” will usually pick html or latex output when running in an IPython console or Jupyter notebook and unicode otherwise.

      -

      “latex” and “html” are only available when running under IPython. If -these printers are not available the display will default to “unicode”.

      +

      “latex” and “html” are only available when running under IPython. If +these printers are not available the display will default to “unicode”.

      @@ -4900,8 +5431,8 @@

      Submodules
      -class metrolopy.relunits.RatioUnit(name, symbol, conversion=None, short_name=None, add_symbol=False, html_symbol=None, latex_symbol=None, ascii_symbol=None, description=None, order=-1, **kwds)
      -

      Bases: metrolopy.unit.Unit

      +class metrolopy.relunits.RatioUnit(name, symbol, conversion=None, short_name=None, add_symbol=False, html_symbol=None, latex_symbol=None, ascii_symbol=None, description=None, order=-1, **kwds) +

      Bases: metrolopy.unit.Unit

      RatioUnit is used for dimensionless units like % where powers, e.g. %**2, are not desired.

      @@ -4923,56 +5454,56 @@

      Submodules
      -class metrolopy.ummy.GummyTag(tag_name)
      -

      Bases: object

      +class metrolopy.ummy.GummyTag(tag_name) +

      Bases: object

      -get_values()
      +get_values()
      -
      +
      -static set_tag(g, tag)
      +static set_tag(g, tag)
      -tags = <WeakValueDictionary at 0x6f73cc0>
      +tags = <WeakValueDictionary>
      -class metrolopy.ummy.MFraction
      -

      Bases: fractions.Fraction

      +class metrolopy.ummy.MFraction +

      Bases: fractions.Fraction

      A fraction.Fraction sub-class that works with mpmath.mpf objects

      -class metrolopy.ummy.ummy(x, u=0, dof=inf, utype=None)
      -

      Bases: metrolopy.dfunc.Dfunc

      +class metrolopy.ummy.ummy(x, u=0, dof=inf, utype=None) +

      Bases: metrolopy.dfunc.Dfunc

      -angle()
      +angle()
      -conjugate()
      +conjugate()
      -
      +
      -const
      +property const

      bool, read-only

      Returns True if the gummy represents an exact value with no uncertainty.

      -copy(formatting=True, tofloat=False)
      +copy(formatting=True, tofloat=False)

      Returns a copy of the gummy. If the formatting parameter is True the display formatting information will be copied and if False the display formatting will be set to the default for a @@ -4983,70 +5514,66 @@

      Submodules
      -correlation(g)
      +correlation(g)

      Returns the correlation coefficient between self and g.

      -
      +
      -static correlation_matrix(gummys)
      +static correlation_matrix(gummys)

      Returns the correlation matrix of a list or array of gummys.

      -covariance(g)
      +covariance(g)

      Returns the covariance between self and g.

      -
      +
      -static covariance_matrix(gummys)
      +static covariance_matrix(gummys)

      Returns the variance-covariance matrix of a list or array of gummys.

      -
      +
      -classmethod create(x, u=None, dof=None, correlation_matrix=None, covariance_matrix=None)
      +classmethod create(x, u=None, dof=None, correlation_matrix=None, covariance_matrix=None)

      A class method that creates a list of (possibly) correlated ummys.

      - --- - - - - - - - -
      Parameters:
        -
      • x – A list of floats corresponding to the x-value of each ummy.
      • -
      • u, dof, k, loc, utype (optional) – Lists that correspond to the +
        +
        Parameters
        +
          +
        • x – A list of floats corresponding to the x-value of each ummy.

        • +
        • u, dof, k, loc, utype (optional) – Lists that correspond to the parameters in the ummy initializer (with the i-th value in each list passed to the initializer for the i-th ummy). These may also be a single -value with this same value is to passed to each initializer.

        • -
        • correlation_matrix (optional) – A list or array to be used as the correlation +value with this same value is to passed to each initializer.

        • +
        • correlation_matrix (optional) – A list or array to be used as the correlation matrix of the ummys. This is optional and must be set to the default value of None if the covariance_matrix is specified. If both the correlation_matrix and the covariance_matrix are -None (or omitted) then the ummys will be uncorrelated.

        • -
        • covariance_matrix (optional) – A list or array to be used as the variance- +None (or omitted) then the ummys will be uncorrelated.

        • +
        • covariance_matrix (optional) – A list or array to be used as the variance- covariance matrix of the ummys. If the covariance matrix is specified the u parameter will be ignored This parameter is optional and must be set to the default value of None if the correlation_matrix is specified. If both the correlation_matrix and the covariance_matrix are None (or omitted) then the ummys -will be uncorrelated.

        • +will be uncorrelated.

        -
      Returns:

      -
      Return type:

      a list of ummys

      -
      +
      +
      Returns
      +

      +
      +
      Return type
      +

      a list of ummys

      +
      +
      -
      +
      -dof
      +property dof

      float, read-only

      Returns the number or degrees of freedom that the uncertainty of the gummy is based on. If the gummy was created as the result of an @@ -5058,24 +5585,23 @@

      Submodules
      -doffrom(x)
      +doffrom(x)

      Gets the degrees of freedom contributed from particular gummys or utypes if all other free variables are held fixed.

      - --- - - - - - - - -
      Parameters:x (gummy, str, or array_like) – A gummy, a string referencing a utype or a list containing -gummys and strings.
      Returns:
      Return type:float
      +
      +
      Parameters
      +

      x (gummy, str, or array_like) – A gummy, a string referencing a utype or a list containing +gummys and strings.

      +
      +
      Returns
      +

      +
      +
      Return type
      +

      float

      +
      +

      Example

      -
      >>>  a = gummy(1.2,0.2,dof=5,utype='A')
      +
      >>>  a = gummy(1.2,0.2,dof=5,utype='A')
       >>>  b = gummy(3.2,0.5,dof=7,utype='A')
       >>>  c = gummy(0.9,0.2,utype='B')
       >>>  d = a + b + c
      @@ -5085,92 +5611,91 @@ 

      Submodules +
      -finfo
      +property finfo
      -
      +
      -imag
      +property imag
      -max_digits = 15
      +max_digits = 15
      -max_dof = 10000
      +max_dof = 10000
      -nsig = 2
      +nsig = 2
      -
      +
      -real
      +property real
      -rounding_u = False
      +rounding_u = False
      -sci_notation = None
      +sci_notation = None
      -sci_notation_high = 7
      +sci_notation_high = 7
      -sci_notation_low = -3
      +sci_notation_low = -3
      -thousand_spaces = True
      +thousand_spaces = True
      -tofloat()
      +tofloat()

      Returns a copy of the gummy with x an u converted to floats.

      -
      +
      -u
      +property u
      -ufrom(x)
      +ufrom(x)

      Gets the standard uncertainty contributed from particular gummys or utypes if all other free variables are held fixed.

      - --- - - - - - - - -
      Parameters:x (gummy, str, or array_like) – A gummy, a string referencing a utype or a list containing -gummys and strings.
      Returns:
      Return type:float
      +
      +
      Parameters
      +

      x (gummy, str, or array_like) – A gummy, a string referencing a utype or a list containing +gummys and strings.

      +
      +
      Returns
      +

      +
      +
      Return type
      +

      float

      +
      +

      Example

      -
      >>>  a = gummy(1.2,0.2,utype='A')
      +
      >>>  a = gummy(1.2,0.2,utype='A')
       >>>  b = gummy(3.2,0.5,utype='A')
       >>>  c = gummy(0.9,0.2,utype='B')
       >>>  d = a + b + c
      @@ -5180,16 +5705,16 @@ 

      Submodules +
      -utype
      +property utype

      str or None

      An arbitrary string value labeling the uncertainty type.

      -
      +
      -x
      +property x

      @@ -5201,166 +5726,147 @@

      Submodules
      -class metrolopy.unit.Conversion(unit, factor=1)
      -

      Bases: object

      +class metrolopy.unit.Conversion(unit, factor=1) +

      Bases: object

      Represents a unit conversion. This class should only be used as arguments to Unit object initializers. Each conversion should be associated with one and only one parent Unit.

      - --- - - - -
      Parameters:
        -
      • unit (str or Unit) – the Unit that the parent Unit will be converted to.
      • -
      • factor (float, optional) – The conversion factor between the parent Unit and the new Unit: +
        +
        Parameters
        +
          +
        • unit (str or Unit) – the Unit that the parent Unit will be converted to.

        • +
        • factor (float, optional) – The conversion factor between the parent Unit and the new Unit: [value with new Unit] = factor * [value with parent Unit] -The default value is 1

        • +The default value is 1

        -
      +
      +

      -chain(c)
      +chain(c)
      -copy()
      +copy()
      -frm(g)
      +frm(g)
      -linear = True
      +linear = True
      -pow(e)
      +pow(e)
      -to(g)
      +to(g)
      -
      +
      -unit
      +property unit

      -class metrolopy.unit.Unit(name, symbol, conversion=None, short_name=None, add_symbol=False, html_symbol=None, latex_symbol=None, ascii_symbol=None, description=None, order=-1, **kwds)
      -

      Bases: metrolopy.printing.PrettyPrinter

      +class metrolopy.unit.Unit(name, symbol, conversion=None, short_name=None, add_symbol=False, html_symbol=None, latex_symbol=None, ascii_symbol=None, description=None, order=-1, **kwds) +

      Bases: metrolopy.printing.PrettyPrinter

      Creating an instance of this class creates a representation of a physical unit and adds it to the unit library. Units already in the unit library or derived units made up of other units in the unit library can be accessed by passing a text string with the unit name or symbol to the static method Unit.unit.

      - --- - - - -
      Parameters:
        -
      • name (str) – The name of the unit. The name can be used access the unit with the +

        +
        Parameters
        +
          +
        • name (str) – The name of the unit. The name can be used access the unit with the Unit.unit method, but note that if you define a Unit with an identical name to a previously defined unit then the older name will -be shadowed.

          -
        • -
        • symbol (str) – A unicode symbol used when displaying the unit. If the add_symbol +be shadowed.

        • +
        • symbol (str) – A unicode symbol used when displaying the unit. If the add_symbol parameter is set to True, then this symbol can also be used -to access the unit with the Unit.unit method.

          -
        • -
        • conversion (Conversion or None, optional) – A conversion to another unit. When creating units be careful to avoid +to access the unit with the Unit.unit method.

        • +
        • conversion (Conversion or None, optional) – A conversion to another unit. When creating units be careful to avoid circular conversions, i.e. you can define:

          -

          Unit(‘inch’,’in’,conversion=None) -Unit(‘foot’,’ft’,conversion=Conversion(‘in’,12)) -Unit(‘yard’,’yd’,conversion=Conversion(‘ft’,3))

          +

          Unit(‘inch’,’in’,conversion=None) +Unit(‘foot’,’ft’,conversion=Conversion(‘in’,12)) +Unit(‘yard’,’yd’,conversion=Conversion(‘ft’,3))

          but not:

          -

          Unit(‘inch’,’in’,conversion=Conversion(‘yd’,1/36)) -Unit(‘foot’,’ft’,conversion=Conversion(‘in’,12)) -Unit(‘yard’,’yd’,conversion=Conversion(‘ft’,3))

          +

          Unit(‘inch’,’in’,conversion=Conversion(‘yd’,1/36)) +Unit(‘foot’,’ft’,conversion=Conversion(‘in’,12)) +Unit(‘yard’,’yd’,conversion=Conversion(‘ft’,3))

          Note that an equivent and allowable way of defining the first set of units above is:

          -

          Unit(‘inch’,’in’,conversion=None) -Unit(‘foot’,’ft’,conversion=Conversion(‘in’,12)) -Unit(‘yard’,’yd’,conversion=Conversion(‘in’,36))

          +

          Unit(‘inch’,’in’,conversion=None) +Unit(‘foot’,’ft’,conversion=Conversion(‘in’,12)) +Unit(‘yard’,’yd’,conversion=Conversion(‘in’,36))

          Either way will allow the free conversion between inches, feet, and yards. You can also define the inch as:

          -

          Unit(‘inch’,’in’,conversion=(‘cm’,2.54)

          +

          Unit(‘inch’,’in’,conversion=(‘cm’,2.54)

          (The inch is actually defined this way in the builtin unit library.)

        • -
        • short_name (str or None) – a short name

          -
        • -
        • add_symbol (bool, optional) – If this is True, then the symbol can be used to look up the unit -in the unit library. The default is False

          -
        • -
        • html_symbol, latex_symbol, ascii_symbol (str or Mone, optional) – html, latex, and ascii versions of the symbol if they are different -from the unicode representation of the symbol.

          -
        • -
        • description (str or None, optional) – a description of the unit

          -
        • -
        • order (int , optional) – When displaying composite derived units, the symbols with a lower -order value will be displayed. The default if -1.

          -
        • +
        • short_name (str or None) – a short name

        • +
        • add_symbol (bool, optional) – If this is True, then the symbol can be used to look up the unit +in the unit library. The default is False

        • +
        • html_symbol, latex_symbol, ascii_symbol (str or Mone, optional) – html, latex, and ascii versions of the symbol if they are different +from the unicode representation of the symbol.

        • +
        • description (str or None, optional) – a description of the unit

        • +
        • order (int , optional) – When displaying composite derived units, the symbols with a lower +order value will be displayed. The default if -1.

        -
      +
      +
      -

      See also

      -

      The

      -
      -
      PrefixedUnit
      -
      Creates a set of units with SI prefixes (..., kilo, mega, giga, ...)
      -
      BinaryPrefixedUnit
      -
      Creates a set of unit with binary prefixes (..., kibi, mebi, gibi, ...)
      -
      LogUnit
      -
      Logrithmic units (e.g. decibel or neper)
      -
      OffsetUnit
      -
      Units with an offset origin (degree Celsius or degree Fahrenheit)
      +

      See also

      +

      The

      +
      +
      PrefixedUnit

      Creates a set of units with SI prefixes (…, kilo, mega, giga, …)

      +
      +
      BinaryPrefixedUnit

      Creates a set of unit with binary prefixes (…, kibi, mebi, gibi, …)

      +
      +
      LogUnit

      Logrithmic units (e.g. decibel or neper)

      +
      +
      OffsetUnit

      Units with an offset origin (degree Celsius or degree Fahrenheit)

      +
      -
      +
      -static alias(alias, unit)
      +static alias(alias, unit)

      Creates an alias that can be used to reference a Unit.

      - --- - - - -
      Parameters:
        -
      • alias (str) – a string containing the new alias
      • -
      • unit (str or Unit) – A string referencing the Unit that will be assigned -the alias or the Unit instance its self.
      • +
        +
        Parameters
        +
          +
        • alias (str) – a string containing the new alias

        • +
        • unit (str or Unit) – A string referencing the Unit that will be assigned +the alias or the Unit instance its self.

        -
      +
      +

      -
      +
      -aliases
      +property aliases

      read-only

      Returns a set of the unshadowed aliases of this unit. To add aliases to the unit use the Unit.alias static method.

      -
      +
      -conversion
      +property conversion

      Gets or sets the Conversion instance for the unit.

      *This property is not intended to be used directly and setting this property may cause problems*

      @@ -5368,20 +5874,20 @@

      Submodules
      -convert(g, unit)
      +convert(g, unit)

      Converts a number or gummy from a quanitity with the units self to unit.

      This is not intended be used directly, instead use the gummy.convert method.

      -
      +
      -static format_latex(text)
      +static format_latex(text)
      -
      +
      -is_dimensionless
      +property is_dimensionless

      bool, read-only

      Returns True if a conversion exists between self and one, and False if not.

      @@ -5389,21 +5895,21 @@

      Submodules
      -linear = True
      +linear = True

      -
      +
      -static load(library_name)
      +static load(library_name)
      -
      +
      -static reorder(txt)
      +static reorder(txt)

      This changes the order in which the symbols of composite derived units are displayed.

      Examples

      -
      >>> print(Unit.unit('ft lb'))
      +
      >>> print(Unit.unit('ft lb'))
       ft lb
       >>> print(Unit.unit('lb ft'))  #This is the same unit as above and displays identically
       ft lb
      @@ -5414,62 +5920,57 @@ 

      Submodules +
      -shadowed_aliases
      +property shadowed_aliases

      read-only

      Returns a set of the shadowed aliases of this unit.

      -tostring(fmt=None, **kwds)
      +tostring(fmt=None, **kwds)

      Returns a string containing the symbol for the unit the format given by -the keyword fmt which may be set to a string the values ‘html’, ‘latex’, -‘ascii’, or ‘unicode’.

      +the keyword fmt which may be set to a string the values ‘html’, ‘latex’, +‘ascii’, or ‘unicode’.

      -
      +
      -static unit(txt, exception=True)
      +static unit(txt, exception=True)

      Finds an returns a Unit object from the Unit library.

      - --- - - - -
      Parameters:
        -
      • txtstr, Unit or 1 +

        +
        Parameters
        +
          +
        • txtstr, Unit or 1 This may be a string representing the unit. The string can contain the name, short name or (if the unit was created with add_symbol set to True) the symbol of the unit or a combination of names and/or symbols of several different -units. Spaces or the character ‘*’ represent multiplication, -the character ‘/’ represents division and the string ‘**’ +units. Spaces or the character ‘*’ represent multiplication, +the character ‘/’ represents division and the string ‘**’ represents the power operator. For example txt can be:

          -

          ‘kg m**2/s’

          +

          ‘kg m**2/s’

          or equivalently:

          -

          ‘kilogram*metre*metre*second**-1’ or ‘(kg/s)*m**2’.

          -

          If a unit name contains a space, ‘*’ or ‘/’ character then the +

          ‘kilogram*metre*metre*second**-1’ or ‘(kg/s)*m**2’.

          +

          If a unit name contains a space, ‘*’ or ‘/’ character then the name must be enclosed in square brackets, e.g:

          [light year]

          If txt is a Unit instance that instance is returned.

        • -
        • exceptionbool, optional +

        • exceptionbool, optional If this is True then a UnitNotFoundError or UnitLibError is raised if a unit is not found that matches txt. If it is False and a unit is not found, then Unit.unit returns -None without raising an exception. The default is True.

          -
        • +None without raising an exception. The default is True.

        -
      +
      +

      -
      +
      -units
      +property units

      read-only

      Returns a list of the constituent units and their exponents, e.g. for kg m**2/s units would be [(kg, 1), (m, 2), (s, -1)].

      @@ -5483,63 +5984,55 @@

      Submodules
      -metrolopy.unitutils.convert(amount, from_unit, to_unit)
      +metrolopy.unitutils.convert(amount, from_unit, to_unit)

      Performs a unit conversion of amount in units of from_unit to units of to_unit.

      -

      equivalent to gummy(amount,from_unit).convert(to_unit)

      +

      equivalent to gummy(amount,from_unit).convert(to_unit)

      -metrolopy.unitutils.search_units(search=None, fmt=None, show_all=False, units=None, prnt=True)
      +metrolopy.unitutils.search_units(search=None, fmt=None, show_all=False, units=None, prnt=True)

      Prints a list of all loaded units or all units that match the search terms.

      - --- - - - -
      Parameters:
        -
      • search (str or None, optional) – A space separated list of search terms to case insentively match. +
        +
        Parameters
        +
          +
        • search (str or None, optional) – A space separated list of search terms to case insentively match. If this is omitted or set equal to None then a list of all loaded -units will be printed. The default is None.

        • -
        • fmt ({‘html’,’latex’,’unicode’,’ascii’,`None`},optional) – The output format. If None, then the gummy.printer value is used. +units will be printed. The default is None.

        • +
        • fmt ({‘html’,’latex’,’unicode’,’ascii’,`None`},optional) – The output format. If None, then the gummy.printer value is used. If latex output is selected, Markdown is actually used with the unit -symbols and conversion displayed using inline LaTeX.

        • -
        • show_all (bool, optional) – If True units are shown with each prefix listed on a separate line +symbols and conversion displayed using inline LaTeX.

        • +
        • show_all (bool, optional) – If True units are shown with each prefix listed on a separate line (e.g. the millisecond and the microsecond are listed in addition to the second) and interval units are shown. If False only the base -unit is shown. The default is False.

        • -
        • units (list of str or Unit,optional) – A list of units to print. If this parameter is specified the values -of the search and show_all parameters are ignored.
        • -
        • prnt (bool, optional) – If this is True, the results are printed. If it is False the results -are returned as a string. The default is True.
        • +unit is shown. The default is False.

          +
        • units (list of str or Unit,optional) – A list of units to print. If this parameter is specified the values +of the search and show_all parameters are ignored.

        • +
        • prnt (bool, optional) – If this is True, the results are printed. If it is False the results +are returned as a string. The default is True.

        -
      +
      +

      -metrolopy.unitutils.shadowed_units(fmt=None, prnt=True)
      +metrolopy.unitutils.shadowed_units(fmt=None, prnt=True)

      Lists any units which have a shadowed name or alias. Units may be shadowed if the user has defined a new unit with the same name or alias as an existing unit.

      - --- - - - -
      Parameters:
        -
      • fmt ({‘html’,’latex’,’unicode’,’ascii’,`None`},optional) – The output format. If None, then the gummy.printer value is used. +
        +
        Parameters
        +
          +
        • fmt ({‘html’,’latex’,’unicode’,’ascii’,`None`},optional) – The output format. If None, then the gummy.printer value is used. If latex output is selected, Markdown is actually used with the unit -symbols and conversion displayed using inline LaTeX.

        • -
        • prnt (bool, optional) – If this is True, the results are printed. If it is False the results -are returned as a string. The default is True.
        • +symbols and conversion displayed using inline LaTeX.

          +
        • prnt (bool, optional) – If this is True, the results are printed. If it is False the results +are returned as a string. The default is True.

        -
      +
      +
      @@ -5549,8 +6042,8 @@

      Submodules

      metrolopy.version module

      @@ -5566,7 +6059,7 @@

      Submodules - +
      @@ -5628,12 +6121,12 @@

      Navigation

    • modules |
    • - + \ No newline at end of file diff --git a/docs/_build/html/metrolopy.tests.html b/docs/_build/html/metrolopy.tests.html index 9a9eda3..2eb5b25 100644 --- a/docs/_build/html/metrolopy.tests.html +++ b/docs/_build/html/metrolopy.tests.html @@ -1,34 +1,20 @@ - + - - - metrolopy.tests package — metrolopy 0.5.4 documentation - + + metrolopy.tests package — metrolopy 0.5.6 documentation - - - - - - + + + + + - - + @@ -56,7 +42,7 @@

      Submodules

      metrolopy.tests.test_create module

      -metrolopy.tests.test_create.test_gummy_init(n=None, exception_on_warning=True, prnt=False, plot=False)
      +metrolopy.tests.test_create.test_gummy_init(n=None, exception_on_warning=True, prnt=False, plot=False)
      @@ -71,7 +57,7 @@

      Submodules - +
      @@ -111,12 +97,12 @@

      Navigation

    • modules |
    • - + \ No newline at end of file diff --git a/docs/_build/html/modules.html b/docs/_build/html/modules.html index 381b849..e47857b 100644 --- a/docs/_build/html/modules.html +++ b/docs/_build/html/modules.html @@ -1,34 +1,20 @@ - + - - - metrolopy — metrolopy 0.5.4 documentation - + + metrolopy — metrolopy 0.5.6 documentation - - - - - - + + + + + - - + @@ -105,15 +91,15 @@

      This Page

      - +
      @@ -127,12 +113,12 @@

      Navigation

    • modules |
    • - + \ No newline at end of file diff --git a/docs/_build/html/objects.inv b/docs/_build/html/objects.inv index a02f8a3..743f021 100644 Binary files a/docs/_build/html/objects.inv and b/docs/_build/html/objects.inv differ diff --git a/docs/_build/html/py-modindex.html b/docs/_build/html/py-modindex.html index 50f3018..c89f847 100644 --- a/docs/_build/html/py-modindex.html +++ b/docs/_build/html/py-modindex.html @@ -1,37 +1,23 @@ - + - - - Python Module Index — metrolopy 0.5.4 documentation - + + Python Module Index — metrolopy 0.5.6 documentation - - - - - - + + + + + - - + @@ -196,15 +182,15 @@

      Python Module Index

      @@ -218,12 +204,12 @@

      Navigation

    • modules |
    • - + \ No newline at end of file diff --git a/docs/_build/html/search.html b/docs/_build/html/search.html index 985d560..5b7262a 100644 --- a/docs/_build/html/search.html +++ b/docs/_build/html/search.html @@ -1,42 +1,25 @@ - + - - - Search — metrolopy 0.5.4 documentation - + + Search — metrolopy 0.5.6 documentation - - - - - - + + + + + + - - - + - - + @@ -57,7 +40,7 @@

      Navigation

      Search

      - +

      Please activate JavaScript to enable the search functionality. @@ -70,7 +53,7 @@

      Search

      containing fewer words won't appear in the result list.

      - +
      @@ -97,12 +80,12 @@

      Navigation

    • modules |
    • - +
      \ No newline at end of file diff --git a/docs/_build/html/searchindex.js b/docs/_build/html/searchindex.js index fa0ede2..72ed1fb 100644 --- a/docs/_build/html/searchindex.js +++ b/docs/_build/html/searchindex.js @@ -1 +1 @@ -Search.setIndex({docnames:["hand_made_doc","index","metrolopy","metrolopy.tests","modules","todo"],envversion:51,filenames:["hand_made_doc.rst","index.rst","metrolopy.rst","metrolopy.tests.rst","modules.rst","todo.rst"],objects:{"":{metrolopy:[2,0,0,"-"]},"metrolopy.budget":{Budget:[2,1,1,""]},"metrolopy.budget.Budget":{column_names:[2,2,1,""],columns:[2,2,1,""],default_column_names:[2,2,1,""],default_columns:[2,2,1,""],default_css:[2,2,1,""],df:[2,2,1,""],df_html:[2,2,1,""],df_latex:[2,2,1,""],df_str:[2,2,1,""],k:[2,2,1,""],p:[2,2,1,""],show_c:[2,2,1,""],show_d:[2,2,1,""],show_s:[2,2,1,""],tostring:[2,3,1,""],units_on_values:[2,2,1,""]},"metrolopy.dfunc":{Dfunc:[2,1,1,""]},"metrolopy.dfunc.Dfunc":{apply:[2,4,1,""],napply:[2,4,1,""],tofloat:[2,3,1,""]},"metrolopy.distributions":{ArcSinDist:[2,1,1,""],BinomialDist:[2,1,1,""],Convolution:[2,1,1,""],CurvlinearTrapDist:[2,1,1,""],Distribution:[2,1,1,""],ExponentialDist:[2,1,1,""],GammaDist:[2,1,1,""],LaplaceDist:[2,1,1,""],LogNormalDist:[2,1,1,""],MultiNormalDist:[2,1,1,""],MultiTDist:[2,1,1,""],MultiTElement:[2,1,1,""],MultivariateDistribution:[2,1,1,""],MultivariateElement:[2,1,1,""],NormalDist:[2,1,1,""],PoissonDist:[2,1,1,""],TDist:[2,1,1,""],TrapezoidalDist:[2,1,1,""],TriangularDist:[2,1,1,""],UniformDist:[2,1,1,""],WeibullDist:[2,1,1,""]},"metrolopy.distributions.ArcSinDist":{random:[2,3,1,""],u:[2,3,1,""],x:[2,3,1,""]},"metrolopy.distributions.BinomialDist":{random:[2,3,1,""],u:[2,3,1,""],x:[2,3,1,""]},"metrolopy.distributions.Convolution":{isindependent:[2,2,1,""],random:[2,3,1,""],x:[2,3,1,""]},"metrolopy.distributions.CurvlinearTrapDist":{random:[2,3,1,""],u:[2,3,1,""],x:[2,3,1,""]},"metrolopy.distributions.Distribution":{apply:[2,5,1,""],ci:[2,3,1,""],cisym:[2,3,1,""],clear:[2,3,1,""],covplot:[2,5,1,""],covsim:[2,3,1,""],covsim_matrix:[2,5,1,""],hist:[2,3,1,""],isindependent:[2,2,1,""],mean:[2,2,1,""],random:[2,3,1,""],random_state:[2,5,1,""],set_seed:[2,5,1,""],simdata:[2,2,1,""],simsorted:[2,2,1,""],simulate:[2,5,1,""],stdev:[2,2,1,""],u:[2,3,1,""],x:[2,3,1,""]},"metrolopy.distributions.ExponentialDist":{random:[2,3,1,""],u:[2,3,1,""],x:[2,3,1,""]},"metrolopy.distributions.GammaDist":{random:[2,3,1,""],u:[2,3,1,""],x:[2,3,1,""]},"metrolopy.distributions.LaplaceDist":{random:[2,3,1,""],u:[2,3,1,""],x:[2,3,1,""]},"metrolopy.distributions.LogNormalDist":{random:[2,3,1,""],u:[2,3,1,""],x:[2,3,1,""]},"metrolopy.distributions.MultiNormalDist":{cov:[2,2,1,""],u:[2,3,1,""],x:[2,3,1,""]},"metrolopy.distributions.MultiTDist":{cov:[2,2,1,""],u:[2,3,1,""],x:[2,3,1,""]},"metrolopy.distributions.MultivariateDistribution":{clear:[2,3,1,""],cov:[2,2,1,""],u:[2,3,1,""],x:[2,3,1,""]},"metrolopy.distributions.MultivariateElement":{clear:[2,3,1,""],cov:[2,3,1,""],random:[2,3,1,""],u:[2,3,1,""],x:[2,3,1,""]},"metrolopy.distributions.NormalDist":{random:[2,3,1,""],u:[2,3,1,""],x:[2,3,1,""]},"metrolopy.distributions.PoissonDist":{random:[2,3,1,""],u:[2,3,1,""],x:[2,3,1,""]},"metrolopy.distributions.TDist":{bayesian_default:[2,2,1,""],random:[2,3,1,""],u:[2,3,1,""],x:[2,3,1,""]},"metrolopy.distributions.TrapezoidalDist":{random:[2,3,1,""],u:[2,3,1,""],x:[2,3,1,""]},"metrolopy.distributions.TriangularDist":{random:[2,3,1,""],u:[2,3,1,""],x:[2,3,1,""]},"metrolopy.distributions.UniformDist":{random:[2,3,1,""],u:[2,3,1,""],x:[2,3,1,""]},"metrolopy.distributions.WeibullDist":{random:[2,3,1,""],u:[2,3,1,""],x:[2,3,1,""]},"metrolopy.exceptions":{BudgetWarning:[2,6,1,""],CircularUnitConversionError:[2,6,1,""],FitWarning:[2,6,1,""],GummyWarning:[2,6,1,""],IncompatibleUnitsError:[2,6,1,""],NoSimulatedDataError:[2,6,1,""],NoUnitConversionFoundError:[2,6,1,""],UncertiantyPrecisionWarning:[2,6,1,""],UnitError:[2,6,1,""],UnitLibError:[2,6,1,""],UnitLibNotFoundError:[2,6,1,""],UnitNotFoundError:[2,6,1,""],UnitWarning:[2,6,1,""]},"metrolopy.fit":{DoubleExpFit:[2,1,1,""],ExpFit:[2,1,1,""],Fit:[2,1,1,""],OneOverTFit:[2,1,1,""],PolyFit:[2,1,1,""],SinFit:[2,1,1,""]},"metrolopy.fit.DoubleExpFit":{count:[2,2,1,""],cov:[2,2,1,""],f:[2,3,1,""],fhtml:[2,3,1,""],fit_output:[2,2,1,""],flatex:[2,3,1,""],funicode:[2,3,1,""],get_p0:[2,3,1,""],get_punits:[2,3,1,""],jac:[2,3,1,""],nparam:[2,2,1,""],p0:[2,2,1,""],p:[2,2,1,""],pf:[2,2,1,""],punits:[2,2,1,""],res:[2,2,1,""],s:[2,2,1,""],solver:[2,2,1,""],ux:[2,2,1,""],uy:[2,2,1,""],x:[2,2,1,""],xdim:[2,2,1,""],xf:[2,2,1,""],y:[2,2,1,""],ydim:[2,2,1,""],yf:[2,2,1,""]},"metrolopy.fit.ExpFit":{count:[2,2,1,""],cov:[2,2,1,""],f:[2,3,1,""],fhtml:[2,3,1,""],fit_output:[2,2,1,""],flatex:[2,3,1,""],funicode:[2,3,1,""],get_p0:[2,3,1,""],get_punits:[2,3,1,""],jac:[2,3,1,""],nparam:[2,2,1,""],p0:[2,2,1,""],p:[2,2,1,""],pf:[2,2,1,""],punits:[2,2,1,""],res:[2,2,1,""],s:[2,2,1,""],solver:[2,2,1,""],ux:[2,2,1,""],uy:[2,2,1,""],x:[2,2,1,""],xdim:[2,2,1,""],xf:[2,2,1,""],y:[2,2,1,""],ydim:[2,2,1,""],yf:[2,2,1,""]},"metrolopy.fit.Fit":{f:[2,3,1,""],fhtml:[2,3,1,""],flatex:[2,3,1,""],funicode:[2,3,1,""],get_p0:[2,3,1,""],get_punits:[2,3,1,""],html:[2,3,1,""],jac:[2,3,1,""],latex:[2,3,1,""],latex_math:[2,2,1,""],ptostring:[2,3,1,""],toascii:[2,3,1,""],tohtml:[2,3,1,""],tolatex:[2,3,1,""],tostring:[2,3,1,""],ypred:[2,3,1,""],ypredf:[2,3,1,""]},"metrolopy.fit.OneOverTFit":{count:[2,2,1,""],cov:[2,2,1,""],f:[2,3,1,""],fhtml:[2,3,1,""],fit_output:[2,2,1,""],flatex:[2,3,1,""],funicode:[2,3,1,""],get_p0:[2,3,1,""],get_punits:[2,3,1,""],jac:[2,3,1,""],nparam:[2,2,1,""],p0:[2,2,1,""],p:[2,2,1,""],pf:[2,2,1,""],punits:[2,2,1,""],res:[2,2,1,""],s:[2,2,1,""],solver:[2,2,1,""],ux:[2,2,1,""],uy:[2,2,1,""],x:[2,2,1,""],xdim:[2,2,1,""],xf:[2,2,1,""],y:[2,2,1,""],ydim:[2,2,1,""],yf:[2,2,1,""]},"metrolopy.fit.PolyFit":{f:[2,3,1,""],fhtml:[2,3,1,""],flatex:[2,3,1,""],funicode:[2,3,1,""],get_p0:[2,3,1,""],get_punits:[2,3,1,""],jac:[2,3,1,""]},"metrolopy.fit.SinFit":{count:[2,2,1,""],cov:[2,2,1,""],f:[2,3,1,""],fhtml:[2,3,1,""],fit_output:[2,2,1,""],flatex:[2,3,1,""],funicode:[2,3,1,""],get_p0:[2,3,1,""],get_punits:[2,3,1,""],jac:[2,3,1,""],nparam:[2,2,1,""],p0:[2,2,1,""],p:[2,2,1,""],pf:[2,2,1,""],punits:[2,2,1,""],res:[2,2,1,""],s:[2,2,1,""],solver:[2,2,1,""],ux:[2,2,1,""],uy:[2,2,1,""],x:[2,2,1,""],xdim:[2,2,1,""],xf:[2,2,1,""],y:[2,2,1,""],ydim:[2,2,1,""],yf:[2,2,1,""]},"metrolopy.functions":{absolute:[2,7,1,""],add:[2,7,1,""],angle:[2,7,1,""],arccos:[2,7,1,""],arccosh:[2,7,1,""],arcsin:[2,7,1,""],arcsinh:[2,7,1,""],arctan2:[2,7,1,""],arctan:[2,7,1,""],arctanh:[2,7,1,""],around:[2,7,1,""],cbrt:[2,7,1,""],ceil:[2,7,1,""],conj:[2,7,1,""],cos:[2,7,1,""],cosh:[2,7,1,""],cross:[2,7,1,""],cumprod:[2,7,1,""],cumsum:[2,7,1,""],diff:[2,7,1,""],divide:[2,7,1,""],divmod:[2,7,1,""],ediff1d:[2,7,1,""],exp2:[2,7,1,""],exp:[2,7,1,""],expm1:[2,7,1,""],fix:[2,7,1,""],floor:[2,7,1,""],floor_divide:[2,7,1,""],gradient:[2,7,1,""],heaviside:[2,7,1,""],imag:[2,7,1,""],log10:[2,7,1,""],log1p:[2,7,1,""],log2:[2,7,1,""],log:[2,7,1,""],logaddexp2:[2,7,1,""],logaddexp:[2,7,1,""],mod:[2,7,1,""],modf:[2,7,1,""],multiply:[2,7,1,""],negative:[2,7,1,""],power:[2,7,1,""],prod:[2,7,1,""],real:[2,7,1,""],reciprocal:[2,7,1,""],remainder:[2,7,1,""],rint:[2,7,1,""],sign:[2,7,1,""],sin:[2,7,1,""],sinh:[2,7,1,""],sqrt:[2,7,1,""],square:[2,7,1,""],subtract:[2,7,1,""],sum:[2,7,1,""],tan:[2,7,1,""],tanh:[2,7,1,""],true_divide:[2,7,1,""],trunc:[2,7,1,""]},"metrolopy.gummy":{MetaGummy:[2,1,1,""],gummy:[2,1,1,""],jummy:[2,1,1,""]},"metrolopy.gummy.MetaGummy":{cmp_k:[2,2,1,""],cmp_p:[2,2,1,""],p_method:[2,2,1,""],style:[2,2,1,""]},"metrolopy.gummy.gummy":{U:[2,2,1,""],Usim:[2,2,1,""],ascii:[2,3,1,""],autoconvert:[2,2,1,""],budget:[2,3,1,""],c:[2,2,1,""],cisim:[2,2,1,""],convert:[2,3,1,""],covplot:[2,4,1,""],create:[2,4,1,""],exception_on_fmt_error:[2,2,1,""],graft:[2,3,1,""],hist:[2,3,1,""],html:[2,3,1,""],imag:[2,2,1,""],k:[2,2,1,""],latex:[2,3,1,""],mulsep:[2,2,1,""],p:[2,2,1,""],reduce_unit:[2,3,1,""],show_dof:[2,2,1,""],show_k:[2,2,1,""],show_name:[2,2,1,""],show_p:[2,2,1,""],sim:[2,3,1,""],simulate:[2,5,1,""],slashaxis:[2,2,1,""],solidus:[2,2,1,""],style:[2,2,1,""],toascii:[2,3,1,""],tohtml:[2,3,1,""],tolatex:[2,3,1,""],tostring:[2,3,1,""],u:[2,2,1,""],ubreakdown:[2,2,1,""],unicode:[2,3,1,""],unit:[2,2,1,""],usim:[2,2,1,""],uunit:[2,2,1,""],uunit_is_rel:[2,2,1,""],x:[2,2,1,""],xsim:[2,2,1,""]},"metrolopy.gummy.jummy":{angle:[2,3,1,""],conjugate:[2,3,1,""],copy:[2,3,1,""],cov:[2,2,1,""],imag:[2,2,1,""],real:[2,2,1,""],tostring:[2,3,1,""],unit:[2,2,1,""],x:[2,2,1,""]},"metrolopy.logunit":{LogConversion:[2,1,1,""],LogUnit:[2,1,1,""]},"metrolopy.logunit.LogConversion":{copy:[2,3,1,""]},"metrolopy.logunit.LogUnit":{get_composite:[2,3,1,""],zero:[2,3,1,""]},"metrolopy.mean":{autocorrelation:[2,7,1,""],delta_diff:[2,7,1,""],delta_diff_mean:[2,7,1,""],delta_sum:[2,7,1,""],delta_sum_mean:[2,7,1,""],mean:[2,7,1,""],mean_datetime:[2,7,1,""],n_eff:[2,7,1,""],sigma_trim:[2,7,1,""],wmean:[2,7,1,""]},"metrolopy.nonlinearunit":{NonlinearConversion:[2,1,1,""],NonlinearUnit:[2,1,1,""],ReciprocalConversion:[2,1,1,""]},"metrolopy.nonlinearunit.NonlinearConversion":{chain:[2,3,1,""],copy:[2,3,1,""],linear:[2,2,1,""],pow:[2,3,1,""],rchain:[2,3,1,""]},"metrolopy.nonlinearunit.NonlinearUnit":{from_uunit:[2,3,1,""],get_composite:[2,3,1,""],linear:[2,2,1,""],to_uunit:[2,3,1,""],zero:[2,3,1,""]},"metrolopy.nonlinearunit.ReciprocalConversion":{chain:[2,3,1,""],copy:[2,3,1,""],frm:[2,3,1,""],to:[2,3,1,""]},"metrolopy.nummy":{MetaNummy:[2,1,1,""],nummy:[2,1,1,""]},"metrolopy.nummy.MetaNummy":{bayesian:[2,2,1,""],cimethod:[2,2,1,""],mcpropagate:[2,2,1,""]},"metrolopy.nummy.nummy":{Usim:[2,2,1,""],bayesian:[2,2,1,""],cimethod:[2,2,1,""],cisim:[2,2,1,""],correlation_matrix_sim:[2,5,1,""],correlation_sim:[2,3,1,""],covariance_matrix_sim:[2,5,1,""],covariance_sim:[2,3,1,""],covplot:[2,5,1,""],create:[2,4,1,""],distribution:[2,2,1,""],dof:[2,2,1,""],hist:[2,3,1,""],independent:[2,2,1,""],ksim:[2,2,1,""],p:[2,2,1,""],set_seed:[2,5,1,""],simdata:[2,2,1,""],simsorted:[2,2,1,""],simulate:[2,5,1,""],ufrom:[2,3,1,""],usim:[2,2,1,""],xsim:[2,2,1,""]},"metrolopy.offsetunit":{OffsetConversion:[2,1,1,""],OffsetUnit:[2,1,1,""]},"metrolopy.offsetunit.OffsetConversion":{copy:[2,3,1,""]},"metrolopy.offsetunit.OffsetUnit":{zero:[2,3,1,""]},"metrolopy.pmethod":{ccp_from_k:[2,7,1,""],conservative_coverage_probability:[2,7,1,""],coverage_factor:[2,7,1,""],coverage_probability:[2,7,1,""],cp_from_k:[2,7,1,""],loc_from_k:[2,7,1,""]},"metrolopy.prefixedunit":{BinaryPrefixedUnit:[2,1,1,""],PrefixedUnit:[2,1,1,""]},"metrolopy.prefixedunit.BinaryPrefixedUnit":{prefix_definitions:[2,2,1,""]},"metrolopy.prefixedunit.PrefixedUnit":{prefix_definitions:[2,2,1,""]},"metrolopy.printing":{MetaPrettyPrinter:[2,1,1,""],PrettyPrinter:[2,1,1,""],print_html:[2,7,1,""],print_latex:[2,7,1,""],print_markdown:[2,7,1,""],set_printer:[2,7,1,""]},"metrolopy.printing.MetaPrettyPrinter":{printer:[2,2,1,""]},"metrolopy.printing.PrettyPrinter":{ascii:[2,3,1,""],break_on_printing_error:[2,2,1,""],html:[2,3,1,""],latex:[2,3,1,""],latex_math:[2,3,1,""],latex_math_plot:[2,3,1,""],latex_norm:[2,3,1,""],latex_norm_plot:[2,3,1,""],printer:[2,2,1,""],toascii:[2,3,1,""],tohtml:[2,3,1,""],tolatex:[2,3,1,""],tounicode:[2,3,1,""],unicode:[2,3,1,""]},"metrolopy.relunits":{RatioUnit:[2,1,1,""]},"metrolopy.tests":{test_create:[3,0,0,"-"]},"metrolopy.tests.test_create":{test_gummy_init:[3,7,1,""]},"metrolopy.ummy":{GummyTag:[2,1,1,""],MFraction:[2,1,1,""],ummy:[2,1,1,""]},"metrolopy.ummy.GummyTag":{get_values:[2,3,1,""],set_tag:[2,5,1,""],tags:[2,2,1,""]},"metrolopy.ummy.ummy":{"const":[2,2,1,""],angle:[2,3,1,""],conjugate:[2,3,1,""],copy:[2,3,1,""],correlation:[2,3,1,""],correlation_matrix:[2,5,1,""],covariance:[2,3,1,""],covariance_matrix:[2,5,1,""],create:[2,4,1,""],dof:[2,2,1,""],doffrom:[2,3,1,""],finfo:[2,2,1,""],imag:[2,2,1,""],max_digits:[2,2,1,""],max_dof:[2,2,1,""],nsig:[2,2,1,""],real:[2,2,1,""],rounding_u:[2,2,1,""],sci_notation:[2,2,1,""],sci_notation_high:[2,2,1,""],sci_notation_low:[2,2,1,""],thousand_spaces:[2,2,1,""],tofloat:[2,3,1,""],u:[2,2,1,""],ufrom:[2,3,1,""],utype:[2,2,1,""],x:[2,2,1,""]},"metrolopy.unit":{Conversion:[2,1,1,""],Unit:[2,1,1,""]},"metrolopy.unit.Conversion":{chain:[2,3,1,""],copy:[2,3,1,""],frm:[2,3,1,""],linear:[2,2,1,""],pow:[2,3,1,""],to:[2,3,1,""],unit:[2,2,1,""]},"metrolopy.unit.Unit":{alias:[2,5,1,""],aliases:[2,2,1,""],conversion:[2,2,1,""],convert:[2,3,1,""],format_latex:[2,5,1,""],is_dimensionless:[2,2,1,""],linear:[2,2,1,""],load:[2,5,1,""],reorder:[2,5,1,""],shadowed_aliases:[2,2,1,""],tostring:[2,3,1,""],unit:[2,5,1,""],units:[2,2,1,""]},"metrolopy.unitutils":{convert:[2,7,1,""],search_units:[2,7,1,""],shadowed_units:[2,7,1,""]},metrolopy:{budget:[2,0,0,"-"],dfunc:[2,0,0,"-"],distributions:[2,0,0,"-"],exceptions:[2,0,0,"-"],fit:[2,0,0,"-"],functions:[2,0,0,"-"],gummy:[2,0,0,"-"],logunit:[2,0,0,"-"],mean:[2,0,0,"-"],nonlinearunit:[2,0,0,"-"],nummy:[2,0,0,"-"],offsetunit:[2,0,0,"-"],pmethod:[2,0,0,"-"],prefixedunit:[2,0,0,"-"],printing:[2,0,0,"-"],relunits:[2,0,0,"-"],siunits:[2,0,0,"-"],tests:[3,0,0,"-"],ummy:[2,0,0,"-"],unit:[2,0,0,"-"],unitutils:[2,0,0,"-"],usunits:[2,0,0,"-"],version:[2,0,0,"-"]}},objnames:{"0":["py","module","Python module"],"1":["py","class","Python class"],"2":["py","attribute","Python attribute"],"3":["py","method","Python method"],"4":["py","classmethod","Python class method"],"5":["py","staticmethod","Python static method"],"6":["py","exception","Python exception"],"7":["py","function","Python function"]},objtypes:{"0":"py:module","1":"py:class","2":"py:attribute","3":"py:method","4":"py:classmethod","5":"py:staticmethod","6":"py:exception","7":"py:function"},terms:{"00e":[0,2],"01e":[0,2],"0x6f73cc0":2,"0xfaf6780":[],"13e":[0,2],"5px":2,"8ex":2,"9th":[1,2],"\u03bc":2,"abstract":2,"case":[0,1,2],"class":2,"const":[0,2],"default":[0,2],"float":[0,2],"function":4,"import":[0,1,2],"int":[0,2],"new":[0,2],"public":[1,2],"return":[0,2],"short":[0,2],"static":2,"super":[0,2],"switch":2,"throw":[0,2],"true":[0,2,3],"while":[0,2],But:[0,2],For:[0,2],Not:2,One:[0,2],The:[0,1,2],Then:0,These:[0,1,2],Use:2,With:[0,2],__init__:[0,2],__str__:2,_add:2,_appli:2,_compositeunit:0,_cov:0,_fit:2,_intervalunit:0,_nappli:2,_one:0,_radd:2,_simul:0,_sub:2,abov:[0,1,2],abs:[0,2],absolut:[0,2],absoult:2,access:[0,2],account:[0,2],actual:[0,2],add:[0,2],add_symbol:[0,2],added:0,addit:[0,2],additional_nam:[0,2],additional_short_nam:2,advoc:[0,2],affect:[0,2],after:0,again:[0,2],air:0,algebera:2,algorithm:0,alia:[0,2],alias:[0,2],align:2,all:[0,2],allow:[0,2],along:[0,2],alpha:0,alreadi:[0,2],also:[0,1,2],alter:2,altern:[0,1,2],alwai:2,amount:2,analysi:[0,2],analyz:0,angl:[0,2],ani:[0,2],anoth:[0,2],any_but_latex:[0,2],api:1,appear:0,append:0,appli:2,appropri:2,approxim:2,april:1,araound:0,arbitrari:[0,2],arcco:[0,2],arccosh:[0,2],arcsin:[0,2],arcsindist:[0,2],arcsinh:[0,2],arctan2:[0,2],arctan:[0,2],arctanh:[0,2],arg1:[0,2],arg2:[0,2],arg:[0,2],argument:[0,2],arithmet:2,around:2,arrai:[0,2],array_lik:2,ascii:[0,2],ascii_symbol:[0,2],assign:[0,2],associ:[0,2],assum:[0,2],assumpt:[0,2],asterisk:0,asterix:0,astronom:1,attach:[0,2],attempt:[0,2],atto:2,attribut:2,auto:[0,2],autoconvert:2,autocorrel:2,automat:[0,1,2],avail:[0,2],averag:2,avoid:[0,2],axes:0,axhlin:[0,2],axi:[0,2],axvlin:[0,2],back:[0,2],background:2,band:0,bar:0,base:[0,2],base_descript:[0,2],base_prefix:2,bayesian:[0,2],bayesian_default:2,becaus:[0,2],been:[0,2],befor:[0,2],begin:[0,2],behavior:0,below:[0,1,2],best:[0,1,2],between:[0,2],bin:[0,2],binari:[0,2],binaryprefixedunit:[0,2],binomi:0,binomialdist:[0,2],bipm:2,boadcast:0,bold:2,bool:[0,2],border:2,both:[0,2],bottom:2,bound:0,bracket:[0,2],break_on_printing_error:2,broadcast:[0,2],brochur:[1,2],budget:[0,1,4],budget_first_col_header_cel:2,budget_first_col_x_cel:2,budget_header_cel:2,budget_header_row:2,budget_row:2,budget_t:2,budget_x_cel:2,budgetwarn:2,bug:[1,5],built:[1,2],builtin:2,calcul:[0,2],calibr:1,call:[0,2],can:[0,1,2],canada:1,cancel:[0,2],cannot:2,capabl:0,care:2,carlo:[1,2],carri:[0,2],cartesian:0,caus:2,cbrt:[0,2],ccp:[0,2],ccp_from_k:2,ceil:[0,2],cell:2,celsiu:[0,2],center:[0,1,2],centi:2,certain:0,chain:[0,2],chang:[0,2],charact:[0,2],chebyshev:[0,2],chi:[0,2],chi_correct:2,chisquar:[0,2],chisquareddist:[0,2],choic:0,choos:2,ci_mark:[0,2],ci_marker_opt:[0,2],ciformat:0,cik:0,cimethod:[0,2],cioption:0,cip:0,circ:0,circular:[0,2],circularunitconversionerror:[0,2],cisim:[0,2],cisym:2,classmethod:[0,2],clear:2,clformat:0,clk:0,cloption:0,clp:0,cls:2,cm2:1,cmp_k:[0,2],cmp_p:[0,2],codata:1,code:[0,1,2],coeffici:[0,2],color:[0,2],column:[0,2],column_nam:[0,2],combin:[0,2],command:0,commonli:[0,2],compar:2,comparison:[0,2],compat:0,complet:[0,2],complex:[0,1,2],compon:[0,2],composit:[0,2],comprehens:1,comput:[0,2],concis:[0,2],confid:[0,2],confus:1,conj:[0,2],conjug:[0,2],conservative_coverage_prob:2,consol:[0,2],constant:[0,1,2],constitu:[0,2],conta:0,contact:1,contain:[0,1,2],content:4,contribut:[0,2],control:[0,2],convei:1,convers:[1,2],convert:[0,2],convolut:[0,2],coordin:[0,2],copi:[0,2],core:2,correct:0,correctli:2,correl:[0,1,2],correlation_matrix:[0,2],correlation_matrix_sim:2,correlation_sim:2,correspond:[0,2],cos:[0,2],cosh:[0,2],cosin:[0,2],council:1,count:[0,2],cov:[0,2],covari:[0,2],covariance_matrix:[0,2],covariance_matrix_sim:2,covariance_sim:2,coverag:[0,2],coverage_factor:2,coverage_prob:2,covplot:[0,2],covsim:2,covsim_matrix:2,cp_from_k:2,creat:[0,1,2],creation:2,cross:[0,2],css:[0,2],cube:[0,2],cubic:2,cumpord:0,cumprod:[0,2],cumsum:[0,2],curv:[1,2],curvlinear:0,curvlineartrapdist:[0,2],custom:2,custom_head:[0,2],custom_math_mod:[0,2],customari:1,data:[0,1,2],data_format:0,data_opt:0,datafram:[0,2],date:[0,2],deal:[0,1],deca:2,deci:2,decibel:[0,2],decid:2,decreas:[0,2],def:[0,2],default_column:2,default_column_nam:2,default_css:[0,2],defin:[0,1,2],definit:[0,1],defualt:0,deg:[0,2],degf:0,degr:0,degre:[0,1,2],delta:2,delta_diff:2,delta_diff_mean:2,delta_sum:2,delta_sum_mean:2,denomin:0,densiti:[0,2],depend:[0,2],deriv:[0,2],describ:[0,2],descript:[0,2],description_math_mod:[0,2],desir:[0,2],detail:[0,2],determin:[0,2],devat:2,develop:1,deviat:[0,2],df1:[0,2],df2:[0,2],df_html:[0,2],df_latex:[0,2],df_str:[0,2],dfunc:[0,4],dhypot:[0,2],dict:[0,2],dictionari:[0,2],diff:[0,2],differ:[0,1,2],digit:[0,2],dimens:[0,2],dimension:[0,2],dimensionless:[0,2],direchletdist:0,directli:[0,2],dirichlet:0,disabl:0,displai:2,distribut:[1,4],divid:[0,2],divis:[0,2],divmod:[0,2],document:[0,1,2],doe:[0,2],dof:[0,2],doffrom:[0,2],don:2,dot:[0,2],doubl:0,doubleexpfit:[0,2],down:2,download:1,dp1:[0,2],dp2:[0,2],draft:[1,2],draw:[0,2],drawn:[0,2],drift:2,dure:[0,2],dx1:[0,2],dx2:[0,2],each:[0,2],ediff1d:[0,2],edit:[0,1,2],effect:[0,2],either:[0,2],element:[0,2],els:0,enclos:[0,2],encod:2,end:0,entri:[0,2],enumer:0,epsilon:0,equal:[0,2],equat:[0,2],equiv:2,equival:[0,2],eras:[0,2],erg:0,error:[0,2],error_bar:0,error_bar_k:0,errorbar:0,estim:2,even:2,evenli:2,event:2,exa:2,exact:2,exactli:[0,2],exampl:[0,2],exbi:2,except:[0,4],exception_on_fmt_error:2,exception_on_warn:3,exclud:2,execut:[0,2],exist:[0,2],exit:[0,2],exp2:[0,2],exp:[0,2],expan:0,expand:[0,1,2],expfit:[0,2],explicitli:0,expm1:[0,2],expon:[0,2],exponenti:0,exponentialdist:[0,2],express:[0,1,2],extens:0,extra:[0,2],fab:0,facilit:2,factor:[0,2],fahrenheit:[0,2],fail:0,fals:[0,2,3],feet:2,femto:2,few:[0,2],fhtml:[0,2],figur:0,fill:2,find:[0,2,5],finfo:2,finit:[0,2],first:[0,1,2],fit:[1,4],fit_format:0,fit_opt:0,fit_output:[0,2],fitwarn:2,fix:[0,1,2],flag:[0,2],flase:0,flatex:[0,2],floor:[0,2],floor_divid:[0,2],fmt:[0,2],follow:[0,2],font:2,foot:[0,2],form:[0,2],format:2,format_latex:2,forward:[0,2],found:[0,2],four:[0,2],fraction:[0,1,2],fragment:[0,2],free:[0,1,2],freedom:[0,1,2],frm:2,from:[0,2],from_unit:2,from_uunit:2,full:0,func:[0,2],funicod:[0,2],gamma:0,gammadist:[0,2],gauss:[0,2],gener:[0,2],get:[0,2],get_composit:2,get_p0:[0,2],get_puint:0,get_punit:[0,2],get_valu:2,gibi:[0,2],giga:[0,2],github:1,give:[0,2],given:[0,2],gnu:1,good:0,gradient:[0,2],graft:[0,2],greater:[0,2],guass:0,guess:[0,2],guid:1,gum:[0,1,2],gummi:4,gummytag:2,gummywarn:2,half_width:[0,1,2],handl:[1,2],handmad:1,harold:1,has:[0,2],have:[0,2],head:[0,2],header:[0,2],heavisid:[0,2],heavysid:[0,2],hecto:2,held:[0,2],help:5,here:[0,2,5],hist:[0,2],histogram:[0,2],hold:[0,2],holomorph:[0,2],horizont:[0,2],how:[0,2],howev:[0,1,2],html:[0,2],html_symbol:[0,2],hyperbol:[0,2],hypot:[0,2],iau:1,idea:0,ident:[0,2],ignor:[0,2],ignore_nan:2,imag:[0,2],imaginari:[0,2],immedi:0,implement:[0,1,2],impos:1,improv:1,inch:[0,2],includ:[0,1,2],incompat:2,incompatibleunitserror:2,incorpor:[0,2],incorrectli:1,independ:[0,2],index:[1,2],indic:[0,2],inequ:[0,2],inf:[0,2],infinit:2,inform:[0,2],inherit:[0,2],init:[0,2],initi:[0,2],inlin:[0,2],input:[0,2],insensit:0,insent:2,insert:[0,2],instal:[0,1],instanc:[0,2],instead:2,institut:1,integ:[0,1,2],integr:2,intend:[0,2],interact:0,intern:[1,2],interpol:2,interpret:2,interv:[0,2],invers:[0,2],involv:2,ipython:[0,1,2],is_dimensionless:[0,2],isindepend:2,iso:1,issu:1,iter:[0,2],its:[0,2],itself:0,jac:[0,2],jacobian:[0,2],jgcm:1,joint:[0,2],jummi:2,juptyer:2,jupyt:[0,1,2],just:0,keep:0,kei:[0,2],keyword:[0,2],keywork:0,kibi:[0,2],kilo:[0,2],kilogram:[0,2],known:[0,1],kpa:1,ksim:[0,2],kwd:[0,2],lab:1,label:[0,2],lam:[0,2],laplac:0,laplacedist:[0,2],largest:0,last:[0,2],later:0,latex:[0,2],latex_math:2,latex_math_plot:2,latex_norm:2,latex_norm_plot:2,latex_symbol:[0,2],least:0,leastsq:[0,2],left:[0,2],left_width:[0,2],len:0,length:[0,2],less:[0,2],level:[0,2],librari:[0,2],library_nam:2,lie:[0,2],lies:0,light:[0,2],like:[0,2],limit:[0,2],limit_half_rang:[0,2],line:[0,2],linear:[0,2],linewidth:[0,2],list:[0,1,2],load:[0,2],loc:[0,2],loc_from_k:2,locat:0,log10:[0,2],log1p:[0,2],log2:[0,2],log:[0,2],log_bas:[0,2],log_func:[0,2],logaddexp2:[0,2],logaddexp:[0,2],logarithm:[0,2],logconvers:[0,2],loge:0,lognormaldist:[0,2],logrithm:[0,2],logunit:[0,4],look:[0,1,2],lot:5,lower:[0,2],lower_limit:[0,2],lowest:0,machin:0,machineri:2,made:[0,2],magnitud:0,mai:[0,2],major:1,make:[0,2],mani:[0,1],march:1,markdown:[0,2],marker:[0,2],mask:2,match:[0,2],math:[0,2],mathemat:2,mathrm:2,matrix:[0,2],max_digit:[0,2],max_dof:2,maximum:[0,2],maxit:[0,2],mcisim:[0,2],mcisym:[0,2],mcpropag:2,mean:[0,4],mean_datetim:2,mean_mark:[0,2],mean_marker_opt:[0,2],measur:[0,1,2],measurand:[0,2],mebi:[0,2],mega:[0,2],metagummi:2,metanummi:2,metaprettyprint:2,meter:0,method:2,metr:[0,2],metrolog:1,metrologia:2,mfraction:2,micro:[0,2],microinch:0,microsecond:[0,2],milli:2,millisecond:[0,2],min:2,minim:2,minor:1,minu:2,miscellan:2,miss:[0,2],mix:[0,2],mod:[0,2],mode:[0,2],modf:[0,2],modifi:[0,1,2],modul:[0,1,4],modulu:0,mone:2,mont:[1,2],more:[0,1,2],most:[0,2],mpf:[0,1,2],mpmath:[0,1,2],much:1,mulit:0,mulsep:[0,2],multi:2,multinormaldist:[0,2],multipl:[0,2],multipli:[0,2],multitdist:[0,2],multitel:2,multivari:[0,2],multivariatedistribut:[0,2],multivariateel:2,multvariatedistribut:0,must:[0,1,2],n_eff:2,n_sigma:2,n_sigma_trim:2,name:[0,2],nan:2,nano:2,nappli:[0,2],nation:1,natur:[0,2],ndarrai:[0,2],nearest:[0,2],necessari:0,need:[0,2,5],neg:[0,1,2],negat:0,neither:[0,2],neper:[0,2],never:0,newli:[0,2],nist:[1,2],nls:[0,2],non:[0,2],none:[0,2,3],nonlinear:[0,2],nonlinearconvers:2,nonlinearunit:[0,4],nor:2,norm:2,normal:[0,2],normaldist:[0,2],nosimulateddataerror:[0,2],notat:[0,2],note:[0,1,2],notebook:[0,1,2],notimplementederror:[0,2],nounitconversionfounderror:[0,2],now:[0,2],nparam:[0,2],nprop:[0,2],nrc:1,nsig:[0,2],number:[0,2],numer:2,nummi:4,numpi:[0,1,2],object:[0,1,2],observ:[0,2],odd:2,odr:[0,2],off:2,offset:[0,2],offsetconvers:[0,2],offsetunit:[0,4],often:[0,2],older:[0,2],ols:0,omit:[0,2],ommit:0,onc:[0,2],one:[0,2],oneovertfit:[0,2],onli:[0,2],oper:2,operand:0,opertaion:2,optim:[0,2],option:[0,2],order:[0,2],origin:[0,2],other:[0,1,2],otherwis:[0,2],out:[0,2],outlier:2,outlin:1,output:[0,2],outsid:2,over:[0,2],over_plot:0,overrid:[0,2],overridden:[0,2],own:2,p_method:[0,2],packag:[0,1,4],pad:2,page:1,pair:0,panda:[0,1,2],param:2,paramet:2,paramt:0,parent:2,park:1,parksh:1,pars:2,part:[0,2],partial:[0,2],particular:[0,2],pass:[0,2],pebi:2,perform:[0,2],perhap:1,peta:2,phi:[0,2],physic:[0,1,2],pick:[0,2],pico:2,pip:1,place:[0,2],pleas:1,plot:[0,2,3],plot_opt:[0,2],plot_point:0,plu:2,plusmn:1,pmethod:4,pmi:[0,2],pmsim:[0,2],pmsimi:[0,2],point:[0,2],poisson:0,poissondist:[0,2],polar:0,polyfit:[0,2],polynomi:0,popul:[0,2],posit:2,possibl:[0,2],pow:2,power:[0,2],ppm:[0,2],practic:1,predict:[0,2],prefer:[0,2],prefix:[0,2],prefix_definit:2,prefixedunit:[0,4],pressur:0,pretti:[0,2],prettyprint:2,previou:0,previous:[0,2],primarili:2,print:[0,4],print_html:2,print_latex:2,print_markdown:2,printer:[0,2],prnt:[0,2,3],probabl:[0,2],problem:2,procedur:2,prod:[0,2],propag:[0,1,2],properti:2,proport:0,provid:2,ptostr:2,publish:2,punit:[0,2],pure:1,put:[0,2,5],pyplot:[0,2],python:[0,1,2],quadrant:[0,2],quaitii:0,quanit:[0,2],quantiti:[0,1,2],rais:[0,2],random:[0,2],random_st:[0,2],randomst:[0,2],rare:0,rate:[0,2],rather:[0,2],ratiounit:2,raw:[0,2],rchain:2,read:[0,2],readi:2,real:[0,2],reciproc:[0,2],reciprocalconvers:2,recogn:0,recommend:1,red:[0,2],reduc:[0,2],reduce_unit:[0,2],refer:[0,1,2],referenc:[0,1,2],rel:[0,2],relat:2,relationship:0,releas:1,relunit:4,remaind:[0,2],remov:[0,2],reorder:[0,2],repres:[0,1,2],represent:[0,2],requir:[0,1,2],res:[0,2],research:1,resect:2,resid:2,residu:[0,2],respect:[0,2],respons:[0,2],restrict:1,result:[0,2],retriev:[0,2],right:2,right_width:[0,2],rint:[0,2],root:[0,2],round:[0,2],rounding_u:[0,2],row:[0,2],rss:0,rule:[0,2],run:[0,2],s276:2,same:[0,1,2],sampl:[0,2],satterthwait:2,scalar:[0,2],scale:[0,2],scatter:[0,2],sci_not:[0,2],sci_notation_high:[0,2],sci_notation_low:[0,2],scientif:[0,2],scipi:[0,1,2],search:[1,2],search_unit:[0,2],second:[0,2],section:[0,1],see:[0,1,2],seed:[0,2],select:[0,2],self:[0,2],sensit:[0,2],separ:[0,2],seri:2,serv:[0,2],session:[0,2],set:[0,1,2],set_print:2,set_se:[0,2],set_tag:2,sever:[0,1,2],shadow:[0,2],shadow_unit:2,shadowed_alias:[0,2],shadowed_unit:2,shape:[0,2],share:[0,2],shift:[0,2],short_nam:[0,2],shortest:[0,2],should:[0,2],show:[0,2],show_:[0,2],show_al:[0,2],show_c:[0,2],show_d:[0,2],show_data:0,show_dof:[0,2],show_expanded_u:[0,2],show_fit:0,show_k:[0,2],show_nam:[0,2],show_p:[0,2],show_subtot:[0,2],shown:[0,2],side:2,sigma:[0,2],sigma_is_known:[0,2],sigma_trim:2,sign:[0,2],signal:2,signatur:[0,2],signific:[0,2],sim:[0,2],simdata:[0,2],similar:[0,2],simpli:2,simsort:[0,2],simul:2,simultan:[0,2],sin:[0,2],sinc:0,sine:[0,2],sinfit:[0,2],singl:[0,2],sinh:[0,2],siunit:[0,4],size:[0,2],slash:[0,2],slashaxi:[0,2],slightli:1,slow:2,smallest:0,softwar:1,solid:2,solidu:[0,2],solver:[0,2],some:[1,2],someth:5,sometim:[0,2],sort:[0,2],sound:0,sourc:1,space:[0,2],special:[1,2],specifi:[0,2],spl:0,spline:2,sqrt:[0,2],squar:[0,2],stabl:[0,2],stack:1,standard:[0,1,2],start:[0,5],statement:2,staticmethod:[0,2],stdev:2,str:[0,2],straight:0,string:[0,1,2],strip:2,student:[0,2],style:[0,2],sub:2,subclass:[0,2],submodul:4,subpackag:4,substitut:0,subtot:[0,2],subtract:[0,2],subtrat:0,success:0,sum:[0,2],suppli:[0,2],support:[0,1,2],symbol:[0,2],symmetr:[0,2],system:[1,2],tab:0,tabl:[0,2],tack:2,tag:2,tag_nam:2,take:[0,2],taken:[0,2],tan:[0,2],tangent:[0,2],tanh:[0,2],tdist:[0,2],tebi:2,teh:2,temperatur:0,tera:2,term:[0,1,2],test:[2,4],test_creat:[2,4],test_gummy_init:3,text:[0,2],than:[0,1,2],thei:[0,1,2],them:[0,2],themont:0,thi:[0,1,2],thick:[0,2],thin:2,those:[0,2],though:[0,2],thousand_spac:2,ths:2,thu:[0,2],time:0,titl:[0,2],title_styl:[0,2],to_unit:2,to_uunit:2,toascii:[0,2],tofloat:[0,2],tohtml:[0,2],tolatex:[0,2],tool:1,top_to_base_ratio:[0,2],tostr:[0,2],total:[0,2],tounicod:[0,2],toward:[0,2],track:[0,2],tradit:[0,2],tradition:[0,2],transcendent:0,trapezoid:0,trapezoidaldist:[0,2],treat:[0,2],tri:0,trial:0,triangular:0,triangulardist:[0,2],true_divid:[0,2],trunc:[0,2],try_fconvert:0,tupl:[0,2],turn:2,tutori:1,two:[0,2],txt:[0,2],type:[0,1,2],u00b0f:0,ubreakdown:[0,2],ueq:[0,2],ufrom:[0,2],ufsim:[0,2],ummi:[0,4],uncertainti:[0,1,2],uncertianti:0,uncertiantyprecisionwarn:2,uncorrel:[0,2],under:[0,1,2],unicod:[0,2],uniform:0,uniformdist:[0,1,2],unit:[1,4],uniterror:2,unitliberror:[0,2],unitlibnotfounderror:2,unitlibrari:2,unitnotfounderror:[0,2],units_on_valu:[0,2],unitutil:4,unitwarn:2,unless:[0,2],unpredict:2,unshadow:[0,2],until:0,upa:0,upon:[0,2],upper:[0,2],upper_limit:[0,2],use:[0,2],use_n_eff:2,used:[0,1,2],useful:[0,2],user:[0,2],uses:[0,2],usim:[0,2],using:[0,1,2],usual:[0,2],usunit:[0,4],usym:2,utyp:[0,2],uunit:[0,1,2],uunit_is_rel:[0,2],valid:[0,2],valu:[0,1,2],valueerror:2,vari:[0,2],variabl:[0,2],varianc:[0,2],variou:0,verbatim:1,veri:[0,2],verison:2,version:[0,4],versu:2,vertic:[0,2],view:[0,2],wai:[0,2],want:[0,1,2],warn:[0,2],weakvaluedictionari:2,weibul:0,weibulldist:[0,2],weight:[0,2],weird:0,welch:2,well:2,were:[0,1],when:[0,2],whenev:0,where:[0,2],whether:[0,2],which:[0,1,2],who:[0,2],width:2,willink:2,wish:[0,1,2],without:[0,2],wmean:2,word:[0,2],work:[0,2],would:[0,2],write:[0,2],xdim:[0,2],xfsim:[0,2],xlabel:[0,2],xlist:[0,2],xmax:0,xmin:0,xname:[0,2],xsim:[0,2],xsym:2,xunit:[0,2],yard:[0,2],ydim:[0,2],year:[0,2],ylabel:[0,2],yname:[0,2],yobi:2,yocto:2,yotta:2,you:[0,1,2],ypred:[0,2],ypredf:[0,2],yunit:[0,2],zepto:2,zero:[0,2],zetta:2,zhang:2,zibi:2},titles:["MetroloPy","MetroloPy, the docs","metrolopy package","metrolopy.tests package","metrolopy","to do"],titleterms:{"abstract":0,"class":[0,1],"function":[0,2],"static":0,appli:0,arithmet:0,attribut:0,author:1,auto:1,basic:0,budget:2,built:0,carlo:0,come:1,common:0,content:[2,3],convers:0,curv:0,custom:0,dfunc:2,did:1,displai:0,distribut:[0,2],doc:1,except:2,fit:[0,2],format:0,from:1,further:1,gener:1,get:1,gummi:[0,1,2],histori:1,indic:1,involv:0,jummi:0,licens:1,logunit:2,mathemat:0,mean:2,method:0,metrolopi:[0,1,2,3,4],modul:[2,3],mont:0,multi:0,name:1,nonlinearunit:2,numer:0,nummi:2,offsetunit:2,oper:0,packag:[2,3],paramet:0,pmethod:2,prefixedunit:2,print:2,properti:0,read:1,relat:0,relunit:2,search:0,simul:0,siunit:2,some:0,start:1,sub:0,submodul:[2,3],subpackag:2,tabl:1,test:3,test_creat:3,ummi:2,unit:[0,2],unitutil:2,usunit:2,variat:0,version:[1,2],where:1}}) \ No newline at end of file +Search.setIndex({docnames:["hand_made_doc","index","metrolopy","metrolopy.tests","modules","todo"],envversion:{"sphinx.domains.c":1,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":1,"sphinx.domains.index":1,"sphinx.domains.javascript":1,"sphinx.domains.math":2,"sphinx.domains.python":1,"sphinx.domains.rst":1,"sphinx.domains.std":1,sphinx:56},filenames:["hand_made_doc.rst","index.rst","metrolopy.rst","metrolopy.tests.rst","modules.rst","todo.rst"],objects:{"":{metrolopy:[2,0,0,"-"]},"metrolopy.budget":{Budget:[2,1,1,""]},"metrolopy.budget.Budget":{column_names:[2,2,1,""],columns:[2,2,1,""],default_column_names:[2,3,1,""],default_columns:[2,3,1,""],default_css:[2,3,1,""],df:[2,2,1,""],df_html:[2,2,1,""],df_latex:[2,2,1,""],df_str:[2,2,1,""],k:[2,2,1,""],p:[2,2,1,""],show_c:[2,3,1,""],show_d:[2,3,1,""],show_s:[2,3,1,""],tostring:[2,2,1,""],units_on_values:[2,3,1,""]},"metrolopy.dfunc":{Dfunc:[2,1,1,""]},"metrolopy.dfunc.Dfunc":{apply:[2,2,1,""],napply:[2,2,1,""],tofloat:[2,2,1,""]},"metrolopy.distributions":{ArcSinDist:[2,1,1,""],BinomialDist:[2,1,1,""],Convolution:[2,1,1,""],CurvlinearTrapDist:[2,1,1,""],Distribution:[2,1,1,""],ExponentialDist:[2,1,1,""],GammaDist:[2,1,1,""],LaplaceDist:[2,1,1,""],LogNormalDist:[2,1,1,""],MultiNormalDist:[2,1,1,""],MultiTDist:[2,1,1,""],MultiTElement:[2,1,1,""],MultivariateDistribution:[2,1,1,""],MultivariateElement:[2,1,1,""],NormalDist:[2,1,1,""],PoissonDist:[2,1,1,""],TDist:[2,1,1,""],TrapezoidalDist:[2,1,1,""],TriangularDist:[2,1,1,""],UniformDist:[2,1,1,""],WeibullDist:[2,1,1,""]},"metrolopy.distributions.ArcSinDist":{random:[2,2,1,""],u:[2,2,1,""],x:[2,2,1,""]},"metrolopy.distributions.BinomialDist":{random:[2,2,1,""],u:[2,2,1,""],x:[2,2,1,""]},"metrolopy.distributions.Convolution":{isindependent:[2,3,1,""],random:[2,2,1,""],x:[2,2,1,""]},"metrolopy.distributions.CurvlinearTrapDist":{random:[2,2,1,""],u:[2,2,1,""],x:[2,2,1,""]},"metrolopy.distributions.Distribution":{apply:[2,2,1,""],ci:[2,2,1,""],cisym:[2,2,1,""],clear:[2,2,1,""],covplot:[2,2,1,""],covsim:[2,2,1,""],covsim_matrix:[2,2,1,""],hist:[2,2,1,""],isindependent:[2,3,1,""],mean:[2,2,1,""],random:[2,2,1,""],random_state:[2,2,1,""],set_seed:[2,2,1,""],simdata:[2,3,1,""],simsorted:[2,2,1,""],simulate:[2,2,1,""],stdev:[2,2,1,""],u:[2,2,1,""],x:[2,2,1,""]},"metrolopy.distributions.ExponentialDist":{random:[2,2,1,""],u:[2,2,1,""],x:[2,2,1,""]},"metrolopy.distributions.GammaDist":{random:[2,2,1,""],u:[2,2,1,""],x:[2,2,1,""]},"metrolopy.distributions.LaplaceDist":{random:[2,2,1,""],u:[2,2,1,""],x:[2,2,1,""]},"metrolopy.distributions.LogNormalDist":{random:[2,2,1,""],u:[2,2,1,""],x:[2,2,1,""]},"metrolopy.distributions.MultiNormalDist":{cov:[2,2,1,""],u:[2,2,1,""],x:[2,2,1,""]},"metrolopy.distributions.MultiTDist":{cov:[2,2,1,""],u:[2,2,1,""],x:[2,2,1,""]},"metrolopy.distributions.MultivariateDistribution":{clear:[2,2,1,""],cov:[2,2,1,""],u:[2,2,1,""],x:[2,2,1,""]},"metrolopy.distributions.MultivariateElement":{clear:[2,2,1,""],cov:[2,2,1,""],random:[2,2,1,""],u:[2,2,1,""],x:[2,2,1,""]},"metrolopy.distributions.NormalDist":{random:[2,2,1,""],u:[2,2,1,""],x:[2,2,1,""]},"metrolopy.distributions.PoissonDist":{random:[2,2,1,""],u:[2,2,1,""],x:[2,2,1,""]},"metrolopy.distributions.TDist":{bayesian_default:[2,3,1,""],random:[2,2,1,""],u:[2,2,1,""],x:[2,2,1,""]},"metrolopy.distributions.TrapezoidalDist":{random:[2,2,1,""],u:[2,2,1,""],x:[2,2,1,""]},"metrolopy.distributions.TriangularDist":{random:[2,2,1,""],u:[2,2,1,""],x:[2,2,1,""]},"metrolopy.distributions.UniformDist":{random:[2,2,1,""],u:[2,2,1,""],x:[2,2,1,""]},"metrolopy.distributions.WeibullDist":{random:[2,2,1,""],u:[2,2,1,""],x:[2,2,1,""]},"metrolopy.exceptions":{BudgetWarning:[2,4,1,""],CircularUnitConversionError:[2,4,1,""],FitWarning:[2,4,1,""],GummyWarning:[2,4,1,""],IncompatibleUnitsError:[2,4,1,""],NoSimulatedDataError:[2,4,1,""],NoUnitConversionFoundError:[2,4,1,""],UncertiantyPrecisionWarning:[2,4,1,""],UnitError:[2,4,1,""],UnitLibError:[2,4,1,""],UnitLibNotFoundError:[2,4,1,""],UnitNotFoundError:[2,4,1,""],UnitWarning:[2,4,1,""]},"metrolopy.fit":{DoubleExpFit:[2,1,1,""],ExpFit:[2,1,1,""],Fit:[2,1,1,""],OneOverTFit:[2,1,1,""],PolyFit:[2,1,1,""],SinFit:[2,1,1,""]},"metrolopy.fit.DoubleExpFit":{count:[2,3,1,""],cov:[2,3,1,""],f:[2,2,1,""],fhtml:[2,2,1,""],fit_output:[2,3,1,""],flatex:[2,2,1,""],funicode:[2,2,1,""],get_p0:[2,2,1,""],get_punits:[2,2,1,""],jac:[2,2,1,""],nparam:[2,3,1,""],p0:[2,3,1,""],p:[2,3,1,""],pf:[2,3,1,""],punits:[2,3,1,""],res:[2,3,1,""],s:[2,3,1,""],solver:[2,3,1,""],ux:[2,3,1,""],uy:[2,3,1,""],x:[2,3,1,""],xdim:[2,3,1,""],xf:[2,3,1,""],y:[2,3,1,""],ydim:[2,3,1,""],yf:[2,3,1,""]},"metrolopy.fit.ExpFit":{count:[2,3,1,""],cov:[2,3,1,""],f:[2,2,1,""],fhtml:[2,2,1,""],fit_output:[2,3,1,""],flatex:[2,2,1,""],funicode:[2,2,1,""],get_p0:[2,2,1,""],get_punits:[2,2,1,""],jac:[2,2,1,""],nparam:[2,3,1,""],p0:[2,3,1,""],p:[2,3,1,""],pf:[2,3,1,""],punits:[2,3,1,""],res:[2,3,1,""],s:[2,3,1,""],solver:[2,3,1,""],ux:[2,3,1,""],uy:[2,3,1,""],x:[2,3,1,""],xdim:[2,3,1,""],xf:[2,3,1,""],y:[2,3,1,""],ydim:[2,3,1,""],yf:[2,3,1,""]},"metrolopy.fit.Fit":{f:[2,2,1,""],fhtml:[2,2,1,""],flatex:[2,2,1,""],funicode:[2,2,1,""],get_p0:[2,2,1,""],get_punits:[2,2,1,""],html:[2,2,1,""],jac:[2,2,1,""],latex:[2,2,1,""],latex_math:[2,3,1,""],ptostring:[2,2,1,""],toascii:[2,2,1,""],tohtml:[2,2,1,""],tolatex:[2,2,1,""],tostring:[2,2,1,""],ypred:[2,2,1,""],ypredf:[2,2,1,""]},"metrolopy.fit.OneOverTFit":{count:[2,3,1,""],cov:[2,3,1,""],f:[2,2,1,""],fhtml:[2,2,1,""],fit_output:[2,3,1,""],flatex:[2,2,1,""],funicode:[2,2,1,""],get_p0:[2,2,1,""],get_punits:[2,2,1,""],jac:[2,2,1,""],nparam:[2,3,1,""],p0:[2,3,1,""],p:[2,3,1,""],pf:[2,3,1,""],punits:[2,3,1,""],res:[2,3,1,""],s:[2,3,1,""],solver:[2,3,1,""],ux:[2,3,1,""],uy:[2,3,1,""],x:[2,3,1,""],xdim:[2,3,1,""],xf:[2,3,1,""],y:[2,3,1,""],ydim:[2,3,1,""],yf:[2,3,1,""]},"metrolopy.fit.PolyFit":{f:[2,2,1,""],fhtml:[2,2,1,""],flatex:[2,2,1,""],funicode:[2,2,1,""],get_p0:[2,2,1,""],get_punits:[2,2,1,""],jac:[2,2,1,""]},"metrolopy.fit.SinFit":{count:[2,3,1,""],cov:[2,3,1,""],f:[2,2,1,""],fhtml:[2,2,1,""],fit_output:[2,3,1,""],flatex:[2,2,1,""],funicode:[2,2,1,""],get_p0:[2,2,1,""],get_punits:[2,2,1,""],jac:[2,2,1,""],nparam:[2,3,1,""],p0:[2,3,1,""],p:[2,3,1,""],pf:[2,3,1,""],punits:[2,3,1,""],res:[2,3,1,""],s:[2,3,1,""],solver:[2,3,1,""],ux:[2,3,1,""],uy:[2,3,1,""],x:[2,3,1,""],xdim:[2,3,1,""],xf:[2,3,1,""],y:[2,3,1,""],ydim:[2,3,1,""],yf:[2,3,1,""]},"metrolopy.functions":{absolute:[2,5,1,""],add:[2,5,1,""],angle:[2,5,1,""],arccos:[2,5,1,""],arccosh:[2,5,1,""],arcsin:[2,5,1,""],arcsinh:[2,5,1,""],arctan2:[2,5,1,""],arctan:[2,5,1,""],arctanh:[2,5,1,""],around:[2,5,1,""],cbrt:[2,5,1,""],ceil:[2,5,1,""],conj:[2,5,1,""],cos:[2,5,1,""],cosh:[2,5,1,""],cross:[2,5,1,""],cumprod:[2,5,1,""],cumsum:[2,5,1,""],diff:[2,5,1,""],divide:[2,5,1,""],divmod:[2,5,1,""],ediff1d:[2,5,1,""],exp2:[2,5,1,""],exp:[2,5,1,""],expm1:[2,5,1,""],fix:[2,5,1,""],floor:[2,5,1,""],floor_divide:[2,5,1,""],gradient:[2,5,1,""],heaviside:[2,5,1,""],imag:[2,5,1,""],log10:[2,5,1,""],log1p:[2,5,1,""],log2:[2,5,1,""],log:[2,5,1,""],logaddexp2:[2,5,1,""],logaddexp:[2,5,1,""],mod:[2,5,1,""],modf:[2,5,1,""],multiply:[2,5,1,""],negative:[2,5,1,""],power:[2,5,1,""],prod:[2,5,1,""],real:[2,5,1,""],reciprocal:[2,5,1,""],remainder:[2,5,1,""],rint:[2,5,1,""],sign:[2,5,1,""],sin:[2,5,1,""],sinh:[2,5,1,""],sqrt:[2,5,1,""],square:[2,5,1,""],subtract:[2,5,1,""],sum:[2,5,1,""],tan:[2,5,1,""],tanh:[2,5,1,""],true_divide:[2,5,1,""],trunc:[2,5,1,""]},"metrolopy.gummy":{MetaGummy:[2,1,1,""],gummy:[2,1,1,""],jummy:[2,1,1,""]},"metrolopy.gummy.MetaGummy":{cmp_k:[2,2,1,""],cmp_p:[2,2,1,""],p_method:[2,2,1,""],style:[2,2,1,""]},"metrolopy.gummy.gummy":{U:[2,2,1,""],Usim:[2,2,1,""],ascii:[2,2,1,""],autoconvert:[2,3,1,""],budget:[2,2,1,""],c:[2,2,1,""],cisim:[2,2,1,""],convert:[2,2,1,""],covplot:[2,2,1,""],create:[2,2,1,""],exception_on_fmt_error:[2,3,1,""],graft:[2,2,1,""],hist:[2,2,1,""],html:[2,2,1,""],imag:[2,2,1,""],k:[2,2,1,""],latex:[2,2,1,""],mulsep:[2,3,1,""],p:[2,2,1,""],reduce_unit:[2,2,1,""],show_dof:[2,3,1,""],show_k:[2,3,1,""],show_name:[2,3,1,""],show_p:[2,3,1,""],sim:[2,2,1,""],simulate:[2,2,1,""],slashaxis:[2,3,1,""],solidus:[2,3,1,""],style:[2,3,1,""],toascii:[2,2,1,""],tohtml:[2,2,1,""],tolatex:[2,2,1,""],tostring:[2,2,1,""],u:[2,2,1,""],ubreakdown:[2,2,1,""],unicode:[2,2,1,""],unit:[2,2,1,""],usim:[2,2,1,""],uunit:[2,2,1,""],uunit_is_rel:[2,2,1,""],x:[2,2,1,""],xsim:[2,2,1,""]},"metrolopy.gummy.jummy":{angle:[2,2,1,""],conjugate:[2,2,1,""],copy:[2,2,1,""],cov:[2,2,1,""],imag:[2,2,1,""],real:[2,2,1,""],tofloat:[2,2,1,""],tostring:[2,2,1,""],unit:[2,2,1,""],x:[2,2,1,""]},"metrolopy.logunit":{LogConversion:[2,1,1,""],LogUnit:[2,1,1,""]},"metrolopy.logunit.LogConversion":{copy:[2,2,1,""]},"metrolopy.logunit.LogUnit":{get_composite:[2,2,1,""],zero:[2,2,1,""]},"metrolopy.mean":{autocorrelation:[2,5,1,""],delta_diff:[2,5,1,""],delta_diff_mean:[2,5,1,""],delta_sum:[2,5,1,""],delta_sum_mean:[2,5,1,""],mean:[2,5,1,""],mean_datetime:[2,5,1,""],n_eff:[2,5,1,""],sigma_trim:[2,5,1,""],wmean:[2,5,1,""]},"metrolopy.nonlinearunit":{NonlinearConversion:[2,1,1,""],NonlinearUnit:[2,1,1,""],ReciprocalConversion:[2,1,1,""]},"metrolopy.nonlinearunit.NonlinearConversion":{chain:[2,2,1,""],copy:[2,2,1,""],linear:[2,3,1,""],pow:[2,2,1,""],rchain:[2,2,1,""]},"metrolopy.nonlinearunit.NonlinearUnit":{from_uunit:[2,2,1,""],get_composite:[2,2,1,""],linear:[2,3,1,""],to_uunit:[2,2,1,""],zero:[2,2,1,""]},"metrolopy.nonlinearunit.ReciprocalConversion":{chain:[2,2,1,""],copy:[2,2,1,""],frm:[2,2,1,""],to:[2,2,1,""]},"metrolopy.nummy":{MetaNummy:[2,1,1,""],nummy:[2,1,1,""]},"metrolopy.nummy.MetaNummy":{bayesian:[2,2,1,""],cimethod:[2,2,1,""],mcpropagate:[2,2,1,""]},"metrolopy.nummy.nummy":{Usim:[2,2,1,""],bayesian:[2,3,1,""],cimethod:[2,3,1,""],cisim:[2,2,1,""],correlation_matrix_sim:[2,2,1,""],correlation_sim:[2,2,1,""],covariance_matrix_sim:[2,2,1,""],covariance_sim:[2,2,1,""],covplot:[2,2,1,""],create:[2,2,1,""],distribution:[2,2,1,""],dof:[2,2,1,""],hist:[2,2,1,""],independent:[2,2,1,""],ksim:[2,2,1,""],p:[2,2,1,""],set_seed:[2,2,1,""],simdata:[2,2,1,""],simsorted:[2,2,1,""],simulate:[2,2,1,""],ufrom:[2,2,1,""],usim:[2,2,1,""],xsim:[2,2,1,""]},"metrolopy.offsetunit":{OffsetConversion:[2,1,1,""],OffsetUnit:[2,1,1,""]},"metrolopy.offsetunit.OffsetConversion":{copy:[2,2,1,""]},"metrolopy.offsetunit.OffsetUnit":{zero:[2,2,1,""]},"metrolopy.pmethod":{ccp_from_k:[2,5,1,""],conservative_coverage_probability:[2,5,1,""],coverage_factor:[2,5,1,""],coverage_probability:[2,5,1,""],cp_from_k:[2,5,1,""],loc_from_k:[2,5,1,""]},"metrolopy.prefixedunit":{BinaryPrefixedUnit:[2,1,1,""],PrefixedUnit:[2,1,1,""]},"metrolopy.prefixedunit.BinaryPrefixedUnit":{prefix_definitions:[2,3,1,""]},"metrolopy.prefixedunit.PrefixedUnit":{prefix_definitions:[2,3,1,""]},"metrolopy.printing":{MetaPrettyPrinter:[2,1,1,""],PrettyPrinter:[2,1,1,""],print_html:[2,5,1,""],print_latex:[2,5,1,""],print_markdown:[2,5,1,""],set_printer:[2,5,1,""]},"metrolopy.printing.MetaPrettyPrinter":{printer:[2,2,1,""]},"metrolopy.printing.PrettyPrinter":{ascii:[2,2,1,""],break_on_printing_error:[2,3,1,""],html:[2,2,1,""],latex:[2,2,1,""],latex_math:[2,2,1,""],latex_math_plot:[2,2,1,""],latex_norm:[2,2,1,""],latex_norm_plot:[2,2,1,""],printer:[2,3,1,""],toascii:[2,2,1,""],tohtml:[2,2,1,""],tolatex:[2,2,1,""],tounicode:[2,2,1,""],unicode:[2,2,1,""]},"metrolopy.relunits":{RatioUnit:[2,1,1,""]},"metrolopy.tests":{test_create:[3,0,0,"-"]},"metrolopy.tests.test_create":{test_gummy_init:[3,5,1,""]},"metrolopy.ummy":{GummyTag:[2,1,1,""],MFraction:[2,1,1,""],ummy:[2,1,1,""]},"metrolopy.ummy.GummyTag":{get_values:[2,2,1,""],set_tag:[2,2,1,""],tags:[2,3,1,""]},"metrolopy.ummy.ummy":{"const":[2,2,1,""],angle:[2,2,1,""],conjugate:[2,2,1,""],copy:[2,2,1,""],correlation:[2,2,1,""],correlation_matrix:[2,2,1,""],covariance:[2,2,1,""],covariance_matrix:[2,2,1,""],create:[2,2,1,""],dof:[2,2,1,""],doffrom:[2,2,1,""],finfo:[2,2,1,""],imag:[2,2,1,""],max_digits:[2,3,1,""],max_dof:[2,3,1,""],nsig:[2,3,1,""],real:[2,2,1,""],rounding_u:[2,3,1,""],sci_notation:[2,3,1,""],sci_notation_high:[2,3,1,""],sci_notation_low:[2,3,1,""],thousand_spaces:[2,3,1,""],tofloat:[2,2,1,""],u:[2,2,1,""],ufrom:[2,2,1,""],utype:[2,2,1,""],x:[2,2,1,""]},"metrolopy.unit":{Conversion:[2,1,1,""],Unit:[2,1,1,""]},"metrolopy.unit.Conversion":{chain:[2,2,1,""],copy:[2,2,1,""],frm:[2,2,1,""],linear:[2,3,1,""],pow:[2,2,1,""],to:[2,2,1,""],unit:[2,2,1,""]},"metrolopy.unit.Unit":{alias:[2,2,1,""],aliases:[2,2,1,""],conversion:[2,2,1,""],convert:[2,2,1,""],format_latex:[2,2,1,""],is_dimensionless:[2,2,1,""],linear:[2,3,1,""],load:[2,2,1,""],reorder:[2,2,1,""],shadowed_aliases:[2,2,1,""],tostring:[2,2,1,""],unit:[2,2,1,""],units:[2,2,1,""]},"metrolopy.unitutils":{convert:[2,5,1,""],search_units:[2,5,1,""],shadowed_units:[2,5,1,""]},metrolopy:{budget:[2,0,0,"-"],dfunc:[2,0,0,"-"],distributions:[2,0,0,"-"],exceptions:[2,0,0,"-"],fit:[2,0,0,"-"],functions:[2,0,0,"-"],gummy:[2,0,0,"-"],logunit:[2,0,0,"-"],mean:[2,0,0,"-"],nonlinearunit:[2,0,0,"-"],nummy:[2,0,0,"-"],offsetunit:[2,0,0,"-"],pmethod:[2,0,0,"-"],prefixedunit:[2,0,0,"-"],printing:[2,0,0,"-"],relunits:[2,0,0,"-"],siunits:[2,0,0,"-"],tests:[3,0,0,"-"],ummy:[2,0,0,"-"],unit:[2,0,0,"-"],unitutils:[2,0,0,"-"],usunits:[2,0,0,"-"],version:[2,0,0,"-"]}},objnames:{"0":["py","module","Python module"],"1":["py","class","Python class"],"2":["py","method","Python method"],"3":["py","attribute","Python attribute"],"4":["py","exception","Python exception"],"5":["py","function","Python function"]},objtypes:{"0":"py:module","1":"py:class","2":"py:method","3":"py:attribute","4":"py:exception","5":"py:function"},terms:{"00e":[0,2],"01e":[0,2],"13e":[0,2],"5px":2,"8ex":2,"9th":[1,2],"\u03bc":2,"abstract":2,"case":[0,1,2],"class":2,"const":[0,2],"default":[0,2],"float":[0,2],"function":4,"import":[0,1,2],"int":[0,2],"new":[0,2],"public":[1,2],"return":[0,2],"short":[0,2],"static":2,"super":[0,2],"switch":2,"throw":[0,2],"true":[0,2,3],"while":[0,2],But:[0,2],For:[0,2],Not:2,One:[0,2],The:[0,1,2],Then:0,These:[0,1,2],Use:2,With:[0,2],__init__:[0,2],__str__:2,_add:2,_appli:2,_compositeunit:0,_cov:0,_fit:2,_intervalunit:0,_nappli:2,_one:0,_radd:2,_simul:0,_sub:2,abov:[0,1,2],abs:[0,2],absolut:[0,2],absoult:2,access:[0,2],account:[0,2],actual:[0,2],add:[0,2],add_symbol:[0,2],added:0,addit:[0,2],additional_nam:[0,2],additional_short_nam:2,advoc:[0,2],affect:[0,2],after:0,again:[0,2],air:0,algebera:2,algorithm:0,alia:[0,2],alias:[0,2],align:2,all:[0,2],allow:[0,2],along:[0,2],alpha:0,alreadi:[0,2],also:[0,1,2],alter:2,altern:[0,1,2],alwai:2,amount:2,analysi:[0,2],analyz:0,angl:[0,2],ani:[0,2],anoth:[0,2],any_but_latex:[0,2],api:1,appear:0,append:0,appli:2,appropri:2,approxim:2,april:1,araound:0,arbitrari:[0,2],arcco:[0,2],arccosh:[0,2],arcsin:[0,2],arcsindist:[0,2],arcsinh:[0,2],arctan2:[0,2],arctan:[0,2],arctanh:[0,2],arg1:[0,2],arg2:[0,2],arg:[0,2],argument:[0,2],arithmet:2,around:2,arrai:[0,2],array_lik:2,ascii:[0,2],ascii_symbol:[0,2],assign:[0,2],associ:[0,2],assum:[0,2],assumpt:[0,2],asterisk:0,asterix:0,astronom:1,attach:[0,2],attempt:[0,2],atto:2,attribut:2,auto:[0,2],autoconvert:2,autocorrel:2,automat:[0,1,2],avail:[0,2],averag:2,avoid:[0,2],axes:0,axhlin:[0,2],axi:[0,2],axvlin:[0,2],back:[0,2],background:2,band:0,bar:0,base:[0,2],base_descript:[0,2],base_prefix:2,bayesian:[0,2],bayesian_default:2,becaus:[0,2],been:[0,2],befor:[0,2],begin:[0,2],behavior:0,below:[0,1,2],best:[0,1,2],between:[0,2],bin:[0,2],binari:[0,2],binaryprefixedunit:[0,2],binomi:0,binomialdist:[0,2],bipm:2,boadcast:0,bold:2,bool:[0,2],border:2,both:[0,2],bottom:2,bound:0,bracket:[0,2],break_on_printing_error:2,broadcast:[0,2],brochur:[1,2],budget:[0,1,4],budget_first_col_header_cel:2,budget_first_col_x_cel:2,budget_header_cel:2,budget_header_row:2,budget_row:2,budget_t:2,budget_x_cel:2,budgetwarn:2,bug:[1,5],built:[1,2],builtin:2,calcul:[0,2],calibr:1,call:[0,2],can:[0,1,2],canada:1,cancel:[0,2],cannot:2,capabl:0,care:2,carlo:[1,2],carri:[0,2],cartesian:0,caus:2,cbrt:[0,2],ccp:[0,2],ccp_from_k:2,ceil:[0,2],cell:2,celsiu:[0,2],center:[0,1,2],centi:2,certain:0,chain:[0,2],chang:[0,2],charact:[0,2],chebyshev:[0,2],chi:[0,2],chi_correct:2,chisquar:[0,2],chisquareddist:[0,2],choic:0,choos:2,ci_mark:[0,2],ci_marker_opt:[0,2],ciformat:0,cik:0,cimethod:[0,2],cioption:0,cip:0,circ:0,circular:[0,2],circularunitconversionerror:[0,2],cisim:[0,2],cisym:2,classmethod:[0,2],clear:2,clformat:0,clk:0,cloption:0,clp:0,cls:2,cm2:1,cmp_k:[0,2],cmp_p:[0,2],codata:1,code:[0,1,2],coeffici:[0,2],color:[0,2],column:[0,2],column_nam:[0,2],combin:[0,2],command:0,commonli:[0,2],compar:2,comparison:[0,2],compat:0,complet:[0,2],complex:[0,1,2],compon:[0,2],composit:[0,2],comprehens:1,comput:[0,2],concis:[0,2],conda:1,condo:[],confid:[0,2],confus:1,conj:[0,2],conjug:[0,2],conservative_coverage_prob:2,consol:[0,2],constant:[0,1,2],constitu:[0,2],conta:0,contact:1,contain:[0,1,2],content:4,contribut:[0,2],control:[0,2],convei:1,convers:[1,2],convert:[0,2],convolut:[0,2],coordin:[0,2],copi:[0,2],core:2,correct:0,correctli:2,correl:[0,1,2],correlation_matrix:[0,2],correlation_matrix_sim:2,correlation_sim:2,correspond:[0,2],cos:[0,2],cosh:[0,2],cosin:[0,2],council:1,count:[0,2],cov:[0,2],covari:[0,2],covariance_matrix:[0,2],covariance_matrix_sim:2,covariance_sim:2,coverag:[0,2],coverage_factor:2,coverage_prob:2,covplot:[0,2],covsim:2,covsim_matrix:2,cp_from_k:2,creat:[0,1,2],creation:2,cross:[0,2],css:[0,2],cube:[0,2],cubic:2,cumpord:0,cumprod:[0,2],cumsum:[0,2],curv:[1,2],curvlinear:0,curvlineartrapdist:[0,2],custom:2,custom_head:[0,2],custom_math_mod:[0,2],customari:1,data:[0,1,2],data_format:0,data_opt:0,datafram:[0,2],date:[0,2],deal:[0,1],deca:2,deci:2,decibel:[0,2],decid:2,decreas:[0,2],def:[0,2],default_column:2,default_column_nam:2,default_css:[0,2],defin:[0,1,2],definit:[0,1],defualt:0,deg:[0,2],degf:0,degr:0,degre:[0,1,2],delta:2,delta_diff:2,delta_diff_mean:2,delta_sum:2,delta_sum_mean:2,denomin:0,densiti:[0,2],depend:[0,2],deriv:[0,2],describ:[0,2],descript:[0,2],description_math_mod:[0,2],desir:[0,2],detail:[0,2],determin:[0,2],devat:2,develop:1,deviat:[0,2],df1:[0,2],df2:[0,2],df_html:[0,2],df_latex:[0,2],df_str:[0,2],dfunc:[0,4],dhypot:[0,2],dict:[0,2],dictionari:[0,2],diff:[0,2],differ:[0,1,2],digit:[0,2],dimens:[0,2],dimension:[0,2],dimensionless:[0,2],direchletdist:0,directli:[0,2],dirichlet:0,disabl:0,displai:2,distribut:[1,4],divid:[0,2],divis:[0,2],divmod:[0,2],document:[0,1,2],doe:[0,2],dof:[0,2],doffrom:[0,2],don:2,dot:[0,2],doubl:0,doubleexpfit:[0,2],down:2,download:1,dp1:[0,2],dp2:[0,2],draft:[1,2],draw:[0,2],drawn:[0,2],drift:2,dure:[0,2],dx1:[0,2],dx2:[0,2],each:[0,2],ediff1d:[0,2],edit:[0,1,2],effect:[0,2],either:[0,2],element:[0,2],els:0,enclos:[0,2],encod:2,end:0,entri:[0,2],enumer:0,epsilon:0,equal:[0,2],equat:[0,2],equiv:2,equival:[0,2],eras:[0,2],erg:0,error:[0,2],error_bar:0,error_bar_k:0,errorbar:0,estim:2,even:2,evenli:2,event:2,exa:2,exact:2,exactli:[0,2],exampl:[0,2],exbi:2,except:[0,4],exception_on_fmt_error:2,exception_on_warn:3,exclud:2,execut:[0,2],exist:[0,2],exit:[0,2],exp2:[0,2],exp:[0,2],expan:0,expand:[0,1,2],expfit:[0,2],explicitli:0,expm1:[0,2],expon:[0,2],exponenti:0,exponentialdist:[0,2],express:[0,1,2],extens:0,extra:[0,2],fab:0,facilit:2,factor:[0,2],fahrenheit:[0,2],fail:0,fals:[0,2,3],feet:2,femto:2,few:[0,2],fhtml:[0,2],figur:0,fill:2,find:[0,2,5],finfo:2,finit:[0,2],first:[0,1,2],fit:[1,4],fit_format:0,fit_opt:0,fit_output:[0,2],fitwarn:2,fix:[0,1,2],flag:[0,2],flase:0,flatex:[0,2],floor:[0,2],floor_divid:[0,2],fmt:[0,2],follow:[0,2],font:2,foot:[0,2],form:[0,2],format:2,format_latex:2,forward:[0,2],found:[0,2],four:[0,2],fraction:[0,1,2],fragment:[0,2],free:[0,1,2],freedom:[0,1,2],frm:2,from:[0,2],from_unit:2,from_uunit:2,full:0,func:[0,2],funicod:[0,2],gamma:0,gammadist:[0,2],gauss:[0,2],gener:[0,2],get:[0,2],get_composit:2,get_p0:[0,2],get_puint:0,get_punit:[0,2],get_valu:2,gibi:[0,2],giga:[0,2],github:1,give:[0,2],given:[0,2],gnu:1,good:0,gradient:[0,2],graft:[0,2],greater:[0,2],guass:0,guess:[0,2],guid:1,gum:[0,1,2],gummi:4,gummytag:2,gummywarn:2,half_width:[0,1,2],handl:[1,2],handmad:1,harold:1,has:[0,2],have:[0,2],head:[0,2],header:[0,2],heavisid:[0,2],heavysid:[0,2],hecto:2,held:[0,2],help:5,here:[0,2,5],hist:[0,2],histogram:[0,2],hold:[0,2],holomorph:[0,2],horizont:[0,2],how:[0,2],howev:[0,1,2],html:[0,2],html_symbol:[0,2],hyperbol:[0,2],hypot:[0,2],iau:1,idea:0,ident:[0,2],ignor:[0,2],ignore_nan:2,imag:[0,2],imaginari:[0,2],immedi:0,implement:[0,1,2],impos:1,improv:1,inch:[0,2],includ:[0,1,2],incompat:2,incompatibleunitserror:2,incorpor:[0,2],incorrectli:1,independ:[0,2],index:[1,2],indic:[0,2],inequ:[0,2],inf:[0,2],infinit:2,inform:[0,2],inherit:[0,2],init:[0,2],initi:[0,2],inlin:[0,2],input:[0,2],insensit:0,insent:2,insert:[0,2],instal:[0,1],instanc:[0,2],instead:2,institut:1,integ:[0,1,2],integr:2,intend:[0,2],interact:0,intern:[1,2],interpol:2,interpret:2,interv:[0,2],invers:[0,2],involv:2,ipython:[0,1,2],is_dimensionless:[0,2],isindepend:2,iso:1,issu:1,iter:[0,2],its:[0,2],itself:0,jac:[0,2],jacobian:[0,2],jgcm:1,joint:[0,2],jummi:2,juptyer:2,jupyt:[0,1,2],just:0,keep:0,kei:[0,2],keyword:[0,2],keywork:0,kibi:[0,2],kilo:[0,2],kilogram:[0,2],known:[0,1],kpa:1,ksim:[0,2],kwd:[0,2],lab:1,label:[0,2],lam:[0,2],laplac:0,laplacedist:[0,2],largest:0,last:[0,2],later:0,latex:[0,2],latex_math:2,latex_math_plot:2,latex_norm:2,latex_norm_plot:2,latex_symbol:[0,2],least:0,leastsq:[0,2],left:[0,2],left_width:[0,2],len:0,length:[0,2],less:[0,2],level:[0,2],librari:[0,2],library_nam:2,lie:[0,2],lies:0,light:[0,2],like:[0,2],limit:[0,2],limit_half_rang:[0,2],line:[0,2],linear:[0,2],linewidth:[0,2],list:[0,1,2],load:[0,2],loc:[0,2],loc_from_k:2,locat:0,log10:[0,2],log1p:[0,2],log2:[0,2],log:[0,2],log_bas:[0,2],log_func:[0,2],logaddexp2:[0,2],logaddexp:[0,2],logarithm:[0,2],logconvers:[0,2],loge:0,lognormaldist:[0,2],logrithm:[0,2],logunit:[0,4],look:[0,1,2],lot:5,lower:[0,2],lower_limit:[0,2],lowest:0,machin:0,machineri:2,made:[0,2],magnitud:0,mai:[0,1,2],major:1,make:[0,2],mani:[0,1],march:1,markdown:[0,2],marker:[0,2],mask:2,match:[0,2],math:[0,2],mathemat:2,mathrm:2,matrix:[0,2],max_digit:[0,2],max_dof:2,maximum:[0,2],maxit:[0,2],mcisim:[0,2],mcisym:[0,2],mcpropag:2,mean:[0,4],mean_datetim:2,mean_mark:[0,2],mean_marker_opt:[0,2],measur:[0,1,2],measurand:[0,2],mebi:[0,2],mega:[0,2],metagummi:2,metanummi:2,metaprettyprint:2,meter:0,method:2,metr:[0,2],metrolog:1,metrologia:2,mfraction:2,micro:[0,2],microinch:0,microsecond:[0,2],milli:2,millisecond:[0,2],min:2,minim:2,minor:1,minu:2,miscellan:2,miss:[0,2],mix:[0,2],mod:[0,2],mode:[0,2],modf:[0,2],modifi:[0,1,2],modul:[0,1,4],modulu:0,mone:2,mont:[1,2],more:[0,1,2],most:[0,2],mpf:[0,1,2],mpmath:[0,1,2],much:1,mulit:0,mulsep:[0,2],multi:2,multinormaldist:[0,2],multipl:[0,2],multipli:[0,2],multitdist:[0,2],multitel:2,multivari:[0,2],multivariatedistribut:[0,2],multivariateel:2,multvariatedistribut:0,must:[0,1,2],n_eff:2,n_sigma:2,n_sigma_trim:2,name:[0,2],nan:2,nano:2,nappli:[0,2],nation:1,natur:[0,2],ndarrai:[0,2],nearest:[0,2],necessari:0,need:[0,2,5],neg:[0,1,2],negat:0,neither:[0,2],neper:[0,2],never:0,newli:[0,2],nist:[1,2],nls:[0,2],non:[0,2],none:[0,2,3],nonlinear:[0,2],nonlinearconvers:2,nonlinearunit:[0,4],nor:2,norm:2,normal:[0,2],normaldist:[0,2],nosimulateddataerror:[0,2],notat:[0,2],note:[0,1,2],notebook:[0,1,2],notimplementederror:[0,2],nounitconversionfounderror:[0,2],now:[0,2],nparam:[0,2],nprop:[0,2],nrc:1,nsig:[0,2],number:[0,2],numer:2,nummi:4,numpi:[0,1,2],object:[0,1,2],observ:[0,2],odd:2,odr:[0,2],off:2,offset:[0,2],offsetconvers:[0,2],offsetunit:[0,4],often:[0,2],older:[0,2],ols:0,omit:[0,2],ommit:0,onc:[0,2],one:[0,2],oneovertfit:[0,2],onli:[0,2],oper:2,operand:0,opertaion:2,optim:[0,2],option:[0,2],order:[0,2],origin:[0,2],other:[0,1,2],otherwis:[0,2],out:[0,2],outlier:2,outlin:1,output:[0,2],outsid:2,over:[0,2],over_plot:0,overrid:[0,2],overridden:[0,2],own:2,p_method:[0,2],packag:[0,1,4],pad:2,page:1,pair:0,panda:[0,1,2],param:2,paramet:2,paramt:0,parent:2,park:1,parksh:1,pars:2,part:[0,2],partial:[0,2],particular:[0,2],pass:[0,2],pebi:2,perform:[0,2],perhap:1,peta:2,phi:[0,2],physic:[0,1,2],pick:[0,2],pico:2,pip:1,place:[0,2],pleas:1,plot:[0,2,3],plot_opt:[0,2],plot_point:0,plu:2,plusmn:1,pmethod:4,pmi:[0,2],pmsim:[0,2],pmsimi:[0,2],point:[0,2],poisson:0,poissondist:[0,2],polar:0,polyfit:[0,2],polynomi:0,popul:[0,2],posit:2,possibl:[0,2],pow:2,power:[0,2],ppm:[0,2],practic:1,predict:[0,2],prefer:[0,2],prefix:[0,2],prefix_definit:2,prefixedunit:[0,4],pressur:0,pretti:[0,2],prettyprint:2,previou:0,previous:[0,2],primarili:2,print:[0,4],print_html:2,print_latex:2,print_markdown:2,printer:[0,2],prnt:[0,2,3],probabl:[0,2],problem:2,procedur:2,prod:[0,2],propag:[0,1,2],properti:2,proport:0,provid:2,ptostr:2,publish:2,punit:[0,2],pure:1,put:[0,2,5],pyplot:[0,2],python:[0,1,2],quadrant:[0,2],quaitii:0,quanit:[0,2],quantiti:[0,1,2],rais:[0,2],random:[0,2],random_st:[0,2],randomst:[0,2],rare:0,rate:[0,2],rather:[0,2],ratiounit:2,raw:[0,2],rchain:2,read:[0,2],readi:2,real:[0,2],reciproc:[0,2],reciprocalconvers:2,recogn:0,recommend:1,red:[0,2],reduc:[0,2],reduce_unit:[0,2],refer:[0,1,2],referenc:[0,1,2],rel:[0,2],relat:2,relationship:0,releas:1,relunit:4,remaind:[0,2],remov:[0,2],reorder:[0,2],repres:[0,1,2],represent:[0,2],requir:[0,1,2],res:[0,2],research:1,resect:2,resid:2,residu:[0,2],respect:[0,2],respons:[0,2],restrict:1,result:[0,2],retriev:[0,2],right:2,right_width:[0,2],rint:[0,2],root:[0,2],round:[0,2],rounding_u:[0,2],row:[0,2],rss:0,rule:[0,2],run:[0,2],s276:2,same:[0,1,2],sampl:[0,2],satterthwait:2,scalar:[0,2],scale:[0,2],scatter:[0,2],sci_not:[0,2],sci_notation_high:[0,2],sci_notation_low:[0,2],scientif:[0,2],scipi:[0,1,2],search:[1,2],search_unit:[0,2],second:[0,2],section:[0,1],see:[0,1,2],seed:[0,2],select:[0,2],self:[0,2],sensit:[0,2],separ:[0,2],septemb:1,seri:2,serv:[0,2],session:[0,2],set:[0,1,2],set_print:2,set_se:[0,2],set_tag:2,sever:[0,1,2],shadow:[0,2],shadow_unit:2,shadowed_alias:[0,2],shadowed_unit:2,shape:[0,2],share:[0,2],shift:[0,2],short_nam:[0,2],shortest:[0,2],should:[0,2],show:[0,2],show_:[0,2],show_al:[0,2],show_c:[0,2],show_d:[0,2],show_data:0,show_dof:[0,2],show_expanded_u:[0,2],show_fit:0,show_k:[0,2],show_nam:[0,2],show_p:[0,2],show_subtot:[0,2],shown:[0,2],side:2,sigma:[0,2],sigma_is_known:[0,2],sigma_trim:2,sign:[0,2],signal:2,signatur:[0,2],signific:[0,2],sim:[0,2],simdata:[0,2],similar:[0,2],simpli:2,simsort:[0,2],simul:2,simultan:[0,2],sin:[0,2],sinc:0,sine:[0,2],sinfit:[0,2],singl:[0,2],sinh:[0,2],siunit:[0,4],size:[0,2],slash:[0,2],slashaxi:[0,2],slightli:1,slow:2,smallest:0,softwar:1,solid:2,solidu:[0,2],solver:[0,2],some:[1,2],someth:5,sometim:[0,2],sort:[0,2],sound:0,sourc:1,space:[0,2],special:[1,2],specifi:[0,2],spl:0,spline:2,sqrt:[0,2],squar:[0,2],stabl:[0,2],stack:1,standard:[0,1,2],start:[0,5],statement:2,staticmethod:[0,2],stdev:2,str:[0,2],straight:0,string:[0,1,2],strip:2,student:[0,2],style:[0,2],sub:2,subclass:[0,2],submodul:4,subpackag:4,substitut:0,subtot:[0,2],subtract:[0,2],subtrat:0,success:0,sum:[0,2],suppli:[0,2],support:[0,1,2],symbol:[0,2],symmetr:[0,2],system:[1,2],tab:0,tabl:[0,2],tack:2,tag:2,tag_nam:2,take:[0,2],taken:[0,2],tan:[0,2],tangent:[0,2],tanh:[0,2],tdist:[0,2],tebi:2,teh:2,temperatur:0,tera:2,term:[0,1,2],test:[2,4],test_creat:[2,4],test_gummy_init:3,text:[0,2],than:[0,1,2],thei:[0,1,2],them:[0,2],themont:0,thi:[0,1,2],thick:[0,2],thin:2,those:[0,2],though:[0,2],thousand_spac:2,ths:2,thu:[0,2],time:0,titl:[0,2],title_styl:[0,2],to_unit:2,to_uunit:2,toascii:[0,2],tofloat:[0,2],tohtml:[0,2],tolatex:[0,2],tool:1,top_to_base_ratio:[0,2],tostr:[0,2],total:[0,2],tounicod:[0,2],toward:[0,2],track:[0,2],tradit:[0,2],tradition:[0,2],transcendent:0,trapezoid:0,trapezoidaldist:[0,2],treat:[0,2],tri:0,trial:0,triangular:0,triangulardist:[0,2],true_divid:[0,2],trunc:[0,2],try_fconvert:0,tupl:[0,2],turn:2,tutori:1,two:[0,2],txt:[0,2],type:[0,1,2],u00b0f:0,ubreakdown:[0,2],ueq:[0,2],ufrom:[0,2],ufsim:[0,2],ummi:[0,4],uncertainti:[0,1,2],uncertianti:0,uncertiantyprecisionwarn:2,uncorrel:[0,2],under:[0,1,2],unicod:[0,2],uniform:0,uniformdist:[0,1,2],unit:[1,4],uniterror:2,unitliberror:[0,2],unitlibnotfounderror:2,unitlibrari:2,unitnotfounderror:[0,2],units_on_valu:[0,2],unitutil:4,unitwarn:2,unless:[0,2],unpredict:2,unshadow:[0,2],until:0,upa:0,upon:[0,2],upper:[0,2],upper_limit:[0,2],use:[0,2],use_n_eff:2,used:[0,1,2],useful:[0,2],user:[0,2],uses:[0,2],usim:[0,2],using:[0,1,2],usual:[0,2],usunit:[0,4],usym:2,utyp:[0,2],uunit:[0,1,2],uunit_is_rel:[0,2],valid:[0,2],valu:[0,1,2],valueerror:2,vari:[0,2],variabl:[0,2],varianc:[0,2],variou:0,verbatim:1,veri:[0,2],verison:2,version:[0,4],versu:2,vertic:[0,2],view:[0,2],wai:[0,2],want:[0,1,2],warn:[0,2],weakvaluedictionari:2,weibul:0,weibulldist:[0,2],weight:[0,2],weird:0,welch:2,well:2,were:[0,1],when:[0,2],whenev:0,where:[0,2],whether:[0,2],which:[0,1,2],who:[0,2],width:2,willink:2,wish:[0,1,2],without:[0,2],wmean:2,word:[0,2],work:[0,2],would:[0,2],write:[0,2],xdim:[0,2],xfsim:[0,2],xlabel:[0,2],xlist:[0,2],xmax:0,xmin:0,xname:[0,2],xsim:[0,2],xsym:2,xunit:[0,2],yard:[0,2],ydim:[0,2],year:[0,2],ylabel:[0,2],yname:[0,2],yobi:2,yocto:2,yotta:2,you:[0,1,2],ypred:[0,2],ypredf:[0,2],yunit:[0,2],zepto:2,zero:[0,2],zetta:2,zhang:2,zibi:2},titles:["MetroloPy","MetroloPy, the docs","metrolopy package","metrolopy.tests package","metrolopy","to do"],titleterms:{"abstract":0,"class":[0,1],"function":[0,2],"static":0,appli:0,arithmet:0,attribut:0,author:1,auto:1,basic:0,budget:2,built:0,carlo:0,come:1,common:0,content:[2,3],convers:0,curv:0,custom:0,dfunc:2,did:1,displai:0,distribut:[0,2],doc:1,except:2,fit:[0,2],format:0,from:1,further:1,gener:1,get:1,gummi:[0,1,2],histori:1,indic:1,involv:0,jummi:0,licens:1,logunit:2,mathemat:0,mean:2,method:0,metrolopi:[0,1,2,3,4],modul:[2,3],mont:0,multi:0,name:1,nonlinearunit:2,numer:0,nummi:2,offsetunit:2,oper:0,packag:[2,3],paramet:0,pmethod:2,prefixedunit:2,print:2,properti:0,read:1,relat:0,relunit:2,search:0,simul:0,siunit:2,some:0,start:1,sub:0,submodul:[2,3],subpackag:2,tabl:1,test:3,test_creat:3,ummi:2,unit:[0,2],unitutil:2,usunit:2,variat:0,version:[1,2],where:1}}) \ No newline at end of file diff --git a/docs/_build/html/todo.html b/docs/_build/html/todo.html index cfb165b..2ff0646 100644 --- a/docs/_build/html/todo.html +++ b/docs/_build/html/todo.html @@ -1,34 +1,20 @@ - + - - - to do — metrolopy 0.5.4 documentation - + + to do — metrolopy 0.5.6 documentation - - - - - - + + + + + - - + @@ -69,15 +55,15 @@

      This Page

      - +
      @@ -91,12 +77,12 @@

      Navigation

    • modules |
    • - + \ No newline at end of file diff --git a/docs/index.rst b/docs/index.rst index 93e4a60..4422d40 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -22,7 +22,7 @@ MetroloPy is a pure python package and requires Python 3 and the `SciPy `_ stack (NumPy, SciPy, Pandas, and IPython). It looks best in a `Jupyter notebook `_. -Install MetroloPy with pip:: +Install MetroloPy with conda or pip:: $ pip install metrolopy @@ -125,7 +125,9 @@ version history uncertainty incorrectly if a gummy was created with an uncertainty set with an integer data type. Fixed several other minor bugs. * Version 0.5.3, built 10 April 2019, minor bug fixes. -* Version 0.5.4, built 15 April 2019, minor bug fixes. +* Version 0.5.4, built 15 April 2019, minor bug fixes. +* Version 0.5.5, built 7 May 2020, minor bug fixes. +* Version 0.5.6, built 24 September 2020, minor bug fixes. author diff --git a/metrolopy/.DS_Store b/metrolopy/.DS_Store new file mode 100644 index 0000000..b9f40dc Binary files /dev/null and b/metrolopy/.DS_Store differ diff --git a/metrolopy/gummy.py b/metrolopy/gummy.py index 41b6f65..d5fd00a 100644 --- a/metrolopy/gummy.py +++ b/metrolopy/gummy.py @@ -3028,17 +3028,26 @@ def angle(self): i = self._imag.graft(one) return gummy._apply(np.arctan2,darctan2,i,r) - def copy(self,formatting=True): + def copy(self,formatting=True,tofloat=False): """ Returns a copy of the jummy. If the `formatting` parameter is `True` the display formatting information will be copied and if `False` the display formatting will be set to the default for a - new jummy. The default for `formatting` is `True`. + new jummy. The default for `formatting` is `True`. If the + tofloats parameter is True x and u for both the real and + imaginary components will be converted to floats. """ - r = self._real.copy(formatting=formatting) - i = self._imag.copy(formatting=formatting) + r = self._real.copy(formatting=formatting,tofloat=tofloat) + i = self._imag.copy(formatting=formatting,tofloat=tofloat) return jummy(real=r,imag=i) + def tofloat(self): + """ + Returns a copy of the gummy with x an u (for both the real and + imaginary components) converted to floats. + """ + return self.copy(formatting=False,tofloat=True) + @classmethod def _apply(cls,function,derivative,*args,fxx=None,rjd=None): n = len(args) diff --git a/metrolopy/tests/test_create.py b/metrolopy/tests/test_create.py index 71bdf3a..e956a2d 100644 --- a/metrolopy/tests/test_create.py +++ b/metrolopy/tests/test_create.py @@ -17,7 +17,7 @@ def test_gummy_init(n=None,exception_on_warning=True,prnt=False,plot=False): if prnt or plot: n = 100 else: - n=1000000 + n=100000 units=['m','lb','m**2 s**3/kg**4','degF','dB(SPL)','%','Np'] uunits = {'%':100, 'ppm':1e6, 'ppb':1e9, 'ms/s':1000} diff --git a/metrolopy/ummy.py b/metrolopy/ummy.py index 58143f6..bd8ff2d 100644 --- a/metrolopy/ummy.py +++ b/metrolopy/ummy.py @@ -363,6 +363,12 @@ def _set_correlation_matrix(gummys, matrix): @staticmethod def _set_covariance_matrix(gummys, matrix): n = len(gummys) + try: + assert len(matrix) == n + for r in matrix: + assert len(r) == n + except: + raise ValueError('the covariance matrix must be a square matrix of the same length as gummys') # Set the u of each gummy using the diagonal of the matrix. for i in range(n): @@ -371,15 +377,13 @@ def _set_covariance_matrix(gummys, matrix): gummys[i]._ref = None else: if gummys[i]._ref is None: - gummys[i]._ref = _GummyRef() - e = matrix[i][i]**0.5 - gummys[i]._u = e + gummys[i]._ref = _GummyRef() + gummys[i]._u = matrix[i][i]**0.5 # Set the correlations - for i in range(0,n): - for j in range(0,n): - matrix[i][j] /= gummys[i]._u*gummys[j]._u - ummy._set_correlation_matrix(gummys,matrix) + m = [[e/(gummys[i]._u*gummys[j]._u) for j,e in enumerate(r)] + for i,r in enumerate(matrix)] + ummy._set_correlation_matrix(gummys,m) @classmethod def create(cls,x,u=None,dof=None,correlation_matrix=None, diff --git a/metrolopy/version.py b/metrolopy/version.py index 19f156f..d8b9246 100644 --- a/metrolopy/version.py +++ b/metrolopy/version.py @@ -20,4 +20,4 @@ # You should have received a copy of the GNU General Public License along with # MetroloPy. If not, see . -__version__ = '0.5.5' +__version__ = '0.5.6'