[Python-modules-commits] [python-pysolar] 02/05: Added sphinx output
Wolfgang Borgert
debacle at moszumanska.debian.org
Fri Oct 3 23:38:04 UTC 2014
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to reference refs/remotes/upstream/gh-pages
in repository python-pysolar.
commit cb027b6b4dc67138f0307e9cdc1721dcc1391d66
Author: pingswept <brandon at pingswept.org>
Date: Wed Mar 3 22:59:21 2010 -0500
Added sphinx output
---
.buildinfo | 4 +
_sources/index.txt | 76 ++++
_static/basic.css | 417 +++++++++++++++++++
_static/default.css | 230 +++++++++++
_static/doctools.js | 232 +++++++++++
_static/file.png | Bin 0 -> 392 bytes
_static/jquery.js | 32 ++
_static/minus.png | Bin 0 -> 199 bytes
_static/plus.png | Bin 0 -> 199 bytes
_static/pygments.css | 61 +++
_static/searchtools.js | 467 +++++++++++++++++++++
genindex.html | 215 ++++++++++
index.html | 1076 ++++++++++++++++++++++++++++++++++++++++++++----
modindex.html | 164 ++++++++
objects.inv | 38 ++
search.html | 98 +++++
searchindex.js | 1 +
17 files changed, 3039 insertions(+), 72 deletions(-)
diff --git a/.buildinfo b/.buildinfo
new file mode 100644
index 0000000..0597451
--- /dev/null
+++ b/.buildinfo
@@ -0,0 +1,4 @@
+# Sphinx build info version 1
+# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
+config: 446d67718be063c36c0c4e12ff44939d
+tags: fbb0d17656682115ca4d033fb2f83ba1
diff --git a/_sources/index.txt b/_sources/index.txt
new file mode 100644
index 0000000..25624bf
--- /dev/null
+++ b/_sources/index.txt
@@ -0,0 +1,76 @@
+.. Pysolar documentation master file
+
+.. toctree::
+ :maxdepth: 2
+
+Indices and tables
+==================
+
+* :ref:`genindex`
+* :ref:`modindex`
+* :ref:`search`
+
+Descriptions of modules and function reference
+==============================================
+
+The core functions are in solar.py.
+
+constants.py
+------------
+.. automodule:: constants
+ :members:
+
+horizon.py
+----------
+.. automodule:: horizon
+ :members:
+
+julian.py
+---------
+.. automodule:: julian
+ :members:
+
+poly.py
+-------
+.. automodule:: poly
+ :members:
+
+query_usno.py
+-------------
+.. automodule:: query_usno
+ :members:
+
+radiation.py
+------------
+.. automodule:: radiation
+ :members:
+
+shade.py
+--------
+.. automodule:: shade
+ :members:
+
+shade_test.py
+-------------
+.. automodule:: shade_test
+ :members:
+
+simulate.py
+-----------
+.. automodule:: simulate
+ :members:
+
+solar.py
+--------
+.. automodule:: solar
+ :members:
+
+testsolar.py
+------------
+.. automodule:: testsolar
+ :members:
+
+util.py
+-------
+.. automodule:: util
+ :members:
diff --git a/_static/basic.css b/_static/basic.css
new file mode 100644
index 0000000..a04d654
--- /dev/null
+++ b/_static/basic.css
@@ -0,0 +1,417 @@
+/**
+ * Sphinx stylesheet -- basic theme
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ */
+
+/* -- main layout ----------------------------------------------------------- */
+
+div.clearer {
+ clear: both;
+}
+
+/* -- relbar ---------------------------------------------------------------- */
+
+div.related {
+ width: 100%;
+ font-size: 90%;
+}
+
+div.related h3 {
+ display: none;
+}
+
+div.related ul {
+ margin: 0;
+ padding: 0 0 0 10px;
+ list-style: none;
+}
+
+div.related li {
+ display: inline;
+}
+
+div.related li.right {
+ float: right;
+ margin-right: 5px;
+}
+
+/* -- sidebar --------------------------------------------------------------- */
+
+div.sphinxsidebarwrapper {
+ padding: 10px 5px 0 10px;
+}
+
+div.sphinxsidebar {
+ float: left;
+ width: 230px;
+ margin-left: -100%;
+ font-size: 90%;
+}
+
+div.sphinxsidebar ul {
+ list-style: none;
+}
+
+div.sphinxsidebar ul ul,
+div.sphinxsidebar ul.want-points {
+ margin-left: 20px;
+ list-style: square;
+}
+
+div.sphinxsidebar ul ul {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+
+div.sphinxsidebar form {
+ margin-top: 10px;
+}
+
+div.sphinxsidebar input {
+ border: 1px solid #98dbcc;
+ font-family: sans-serif;
+ font-size: 1em;
+}
+
+img {
+ border: 0;
+}
+
+/* -- search page ----------------------------------------------------------- */
+
+ul.search {
+ margin: 10px 0 0 20px;
+ padding: 0;
+}
+
+ul.search li {
+ padding: 5px 0 5px 20px;
+ background-image: url(file.png);
+ background-repeat: no-repeat;
+ background-position: 0 7px;
+}
+
+ul.search li a {
+ font-weight: bold;
+}
+
+ul.search li div.context {
+ color: #888;
+ margin: 2px 0 0 30px;
+ text-align: left;
+}
+
+ul.keywordmatches li.goodmatch a {
+ font-weight: bold;
+}
+
+/* -- index page ------------------------------------------------------------ */
+
+table.contentstable {
+ width: 90%;
+}
+
+table.contentstable p.biglink {
+ line-height: 150%;
+}
+
+a.biglink {
+ font-size: 1.3em;
+}
+
+span.linkdescr {
+ font-style: italic;
+ padding-top: 5px;
+ font-size: 90%;
+}
+
+/* -- general index --------------------------------------------------------- */
+
+table.indextable td {
+ text-align: left;
+ vertical-align: top;
+}
+
+table.indextable dl, table.indextable dd {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+
+table.indextable tr.pcap {
+ height: 10px;
+}
+
+table.indextable tr.cap {
+ margin-top: 10px;
+ background-color: #f2f2f2;
+}
+
+img.toggler {
+ margin-right: 3px;
+ margin-top: 3px;
+ cursor: pointer;
+}
+
+/* -- general body styles --------------------------------------------------- */
+
+a.headerlink {
+ visibility: hidden;
+}
+
+h1:hover > a.headerlink,
+h2:hover > a.headerlink,
+h3:hover > a.headerlink,
+h4:hover > a.headerlink,
+h5:hover > a.headerlink,
+h6:hover > a.headerlink,
+dt:hover > a.headerlink {
+ visibility: visible;
+}
+
+div.body p.caption {
+ text-align: inherit;
+}
+
+div.body td {
+ text-align: left;
+}
+
+.field-list ul {
+ padding-left: 1em;
+}
+
+.first {
+ margin-top: 0 !important;
+}
+
+p.rubric {
+ margin-top: 30px;
+ font-weight: bold;
+}
+
+/* -- sidebars -------------------------------------------------------------- */
+
+div.sidebar {
+ margin: 0 0 0.5em 1em;
+ border: 1px solid #ddb;
+ padding: 7px 7px 0 7px;
+ background-color: #ffe;
+ width: 40%;
+ float: right;
+}
+
+p.sidebar-title {
+ font-weight: bold;
+}
+
+/* -- topics ---------------------------------------------------------------- */
+
+div.topic {
+ border: 1px solid #ccc;
+ padding: 7px 7px 0 7px;
+ margin: 10px 0 10px 0;
+}
+
+p.topic-title {
+ font-size: 1.1em;
+ font-weight: bold;
+ margin-top: 10px;
+}
+
+/* -- admonitions ----------------------------------------------------------- */
+
+div.admonition {
+ margin-top: 10px;
+ margin-bottom: 10px;
+ padding: 7px;
+}
+
+div.admonition dt {
+ font-weight: bold;
+}
+
+div.admonition dl {
+ margin-bottom: 0;
+}
+
+p.admonition-title {
+ margin: 0px 10px 5px 0px;
+ font-weight: bold;
+}
+
+div.body p.centered {
+ text-align: center;
+ margin-top: 25px;
+}
+
+/* -- tables ---------------------------------------------------------------- */
+
+table.docutils {
+ border: 0;
+ border-collapse: collapse;
+}
+
+table.docutils td, table.docutils th {
+ padding: 1px 8px 1px 0;
+ border-top: 0;
+ border-left: 0;
+ border-right: 0;
+ border-bottom: 1px solid #aaa;
+}
+
+table.field-list td, table.field-list th {
+ border: 0 !important;
+}
+
+table.footnote td, table.footnote th {
+ border: 0 !important;
+}
+
+th {
+ text-align: left;
+ padding-right: 5px;
+}
+
+/* -- other body styles ----------------------------------------------------- */
+
+dl {
+ margin-bottom: 15px;
+}
+
+dd p {
+ margin-top: 0px;
+}
+
+dd ul, dd table {
+ margin-bottom: 10px;
+}
+
+dd {
+ margin-top: 3px;
+ margin-bottom: 10px;
+ margin-left: 30px;
+}
+
+dt:target, .highlight {
+ background-color: #fbe54e;
+}
+
+dl.glossary dt {
+ font-weight: bold;
+ font-size: 1.1em;
+}
+
+.field-list ul {
+ margin: 0;
+ padding-left: 1em;
+}
+
+.field-list p {
+ margin: 0;
+}
+
+.refcount {
+ color: #060;
+}
+
+.optional {
+ font-size: 1.3em;
+}
+
+.versionmodified {
+ font-style: italic;
+}
+
+.system-message {
+ background-color: #fda;
+ padding: 5px;
+ border: 3px solid red;
+}
+
+.footnote:target {
+ background-color: #ffa
+}
+
+.line-block {
+ display: block;
+ margin-top: 1em;
+ margin-bottom: 1em;
+}
+
+.line-block .line-block {
+ margin-top: 0;
+ margin-bottom: 0;
+ margin-left: 1.5em;
+}
+
+/* -- code displays --------------------------------------------------------- */
+
+pre {
+ overflow: auto;
+}
+
+td.linenos pre {
+ padding: 5px 0px;
+ border: 0;
+ background-color: transparent;
+ color: #aaa;
+}
+
+table.highlighttable {
+ margin-left: 0.5em;
+}
+
+table.highlighttable td {
+ padding: 0 0.5em 0 0.5em;
+}
+
+tt.descname {
+ background-color: transparent;
+ font-weight: bold;
+ font-size: 1.2em;
+}
+
+tt.descclassname {
+ background-color: transparent;
+}
+
+tt.xref, a tt {
+ background-color: transparent;
+ font-weight: bold;
+}
+
+h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
+ background-color: transparent;
+}
+
+/* -- math display ---------------------------------------------------------- */
+
+img.math {
+ vertical-align: middle;
+}
+
+div.body div.math p {
+ text-align: center;
+}
+
+span.eqno {
+ float: right;
+}
+
+/* -- printout stylesheet --------------------------------------------------- */
+
+ at media print {
+ div.document,
+ div.documentwrapper,
+ div.bodywrapper {
+ margin: 0 !important;
+ width: 100%;
+ }
+
+ div.sphinxsidebar,
+ div.related,
+ div.footer,
+ #top-link {
+ display: none;
+ }
+}
diff --git a/_static/default.css b/_static/default.css
new file mode 100644
index 0000000..3725744
--- /dev/null
+++ b/_static/default.css
@@ -0,0 +1,230 @@
+/**
+ * Sphinx stylesheet -- default theme
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ */
+
+ at import url("basic.css");
+
+/* -- page layout ----------------------------------------------------------- */
+
+body {
+ font-family: sans-serif;
+ font-size: 100%;
+ background-color: #11303d;
+ color: #000;
+ margin: 0;
+ padding: 0;
+}
+
+div.document {
+ background-color: #1c4e63;
+}
+
+div.documentwrapper {
+ float: left;
+ width: 100%;
+}
+
+div.bodywrapper {
+ margin: 0 0 0 230px;
+}
+
+div.body {
+ background-color: #ffffff;
+ color: #000000;
+ padding: 0 20px 30px 20px;
+}
+
+div.footer {
+ color: #ffffff;
+ width: 100%;
+ padding: 9px 0 9px 0;
+ text-align: center;
+ font-size: 75%;
+}
+
+div.footer a {
+ color: #ffffff;
+ text-decoration: underline;
+}
+
+div.related {
+ background-color: #133f52;
+ line-height: 30px;
+ color: #ffffff;
+}
+
+div.related a {
+ color: #ffffff;
+}
+
+div.sphinxsidebar {
+}
+
+div.sphinxsidebar h3 {
+ font-family: 'Trebuchet MS', sans-serif;
+ color: #ffffff;
+ font-size: 1.4em;
+ font-weight: normal;
+ margin: 0;
+ padding: 0;
+}
+
+div.sphinxsidebar h3 a {
+ color: #ffffff;
+}
+
+div.sphinxsidebar h4 {
+ font-family: 'Trebuchet MS', sans-serif;
+ color: #ffffff;
+ font-size: 1.3em;
+ font-weight: normal;
+ margin: 5px 0 0 0;
+ padding: 0;
+}
+
+div.sphinxsidebar p {
+ color: #ffffff;
+}
+
+div.sphinxsidebar p.topless {
+ margin: 5px 10px 10px 10px;
+}
+
+div.sphinxsidebar ul {
+ margin: 10px;
+ padding: 0;
+ color: #ffffff;
+}
+
+div.sphinxsidebar a {
+ color: #98dbcc;
+}
+
+div.sphinxsidebar input {
+ border: 1px solid #98dbcc;
+ font-family: sans-serif;
+ font-size: 1em;
+}
+
+/* -- body styles ----------------------------------------------------------- */
+
+a {
+ color: #355f7c;
+ text-decoration: none;
+}
+
+a:hover {
+ text-decoration: underline;
+}
+
+div.body p, div.body dd, div.body li {
+ text-align: justify;
+ line-height: 130%;
+}
+
+div.body h1,
+div.body h2,
+div.body h3,
+div.body h4,
+div.body h5,
+div.body h6 {
+ font-family: 'Trebuchet MS', sans-serif;
+ background-color: #f2f2f2;
+ font-weight: normal;
+ color: #20435c;
+ border-bottom: 1px solid #ccc;
+ margin: 20px -20px 10px -20px;
+ padding: 3px 0 3px 10px;
+}
+
+div.body h1 { margin-top: 0; font-size: 200%; }
+div.body h2 { font-size: 160%; }
+div.body h3 { font-size: 140%; }
+div.body h4 { font-size: 120%; }
+div.body h5 { font-size: 110%; }
+div.body h6 { font-size: 100%; }
+
+a.headerlink {
+ color: #c60f0f;
+ font-size: 0.8em;
+ padding: 0 4px 0 4px;
+ text-decoration: none;
+}
+
+a.headerlink:hover {
+ background-color: #c60f0f;
+ color: white;
+}
+
+div.body p, div.body dd, div.body li {
+ text-align: justify;
+ line-height: 130%;
+}
+
+div.admonition p.admonition-title + p {
+ display: inline;
+}
+
+div.admonition p {
+ margin-bottom: 5px;
+}
+
+div.admonition pre {
+ margin-bottom: 5px;
+}
+
+div.admonition ul, div.admonition ol {
+ margin-bottom: 5px;
+}
+
+div.note {
+ background-color: #eee;
+ border: 1px solid #ccc;
+}
+
+div.seealso {
+ background-color: #ffc;
+ border: 1px solid #ff6;
+}
+
+div.topic {
+ background-color: #eee;
+}
+
+div.warning {
+ background-color: #ffe4e4;
+ border: 1px solid #f66;
+}
+
+p.admonition-title {
+ display: inline;
+}
+
+p.admonition-title:after {
+ content: ":";
+}
+
+pre {
+ padding: 5px;
+ background-color: #eeffcc;
+ color: #333333;
+ line-height: 120%;
+ border: 1px solid #ac9;
+ border-left: none;
+ border-right: none;
+}
+
+tt {
+ background-color: #ecf0f3;
+ padding: 0 1px 0 1px;
+ font-size: 0.95em;
+}
+
+.warning tt {
+ background: #efc2c2;
+}
+
+.note tt {
+ background: #d6d6d6;
+}
\ No newline at end of file
diff --git a/_static/doctools.js b/_static/doctools.js
new file mode 100644
index 0000000..9447678
--- /dev/null
+++ b/_static/doctools.js
@@ -0,0 +1,232 @@
+/// XXX: make it cross browser
+
+/**
+ * make the code below compatible with browsers without
+ * an installed firebug like debugger
+ */
+if (!window.console || !console.firebug) {
+ var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
+ "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
+ window.console = {};
+ for (var i = 0; i < names.length; ++i)
+ window.console[names[i]] = function() {}
+}
+
+/**
+ * small helper function to urldecode strings
+ */
+jQuery.urldecode = function(x) {
+ return decodeURIComponent(x).replace(/\+/g, ' ');
+}
+
+/**
+ * small helper function to urlencode strings
+ */
+jQuery.urlencode = encodeURIComponent;
+
+/**
+ * This function returns the parsed url parameters of the
+ * current request. Multiple values per key are supported,
+ * it will always return arrays of strings for the value parts.
+ */
+jQuery.getQueryParameters = function(s) {
+ if (typeof s == 'undefined')
+ s = document.location.search;
+ var parts = s.substr(s.indexOf('?') + 1).split('&');
+ var result = {};
+ for (var i = 0; i < parts.length; i++) {
+ var tmp = parts[i].split('=', 2);
+ var key = jQuery.urldecode(tmp[0]);
+ var value = jQuery.urldecode(tmp[1]);
+ if (key in result)
+ result[key].push(value);
+ else
+ result[key] = [value];
+ }
+ return result;
+}
+
+/**
+ * small function to check if an array contains
+ * a given item.
+ */
+jQuery.contains = function(arr, item) {
+ for (var i = 0; i < arr.length; i++) {
+ if (arr[i] == item)
+ return true;
+ }
+ return false;
+}
+
+/**
+ * highlight a given string on a jquery object by wrapping it in
+ * span elements with the given class name.
+ */
+jQuery.fn.highlightText = function(text, className) {
+ function highlight(node) {
+ if (node.nodeType == 3) {
+ var val = node.nodeValue;
+ var pos = val.toLowerCase().indexOf(text);
+ if (pos >= 0 && !jQuery.className.has(node.parentNode, className)) {
+ var 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);
+ }
+ }
+ else if (!jQuery(node).is("button, select, textarea")) {
+ jQuery.each(node.childNodes, function() {
+ highlight(this)
+ });
+ }
+ }
+ return this.each(function() {
+ highlight(this);
+ });
+}
+
+/**
+ * Small JavaScript module for the documentation.
+ */
+var Documentation = {
+
+ init : function() {
+ this.fixFirefoxAnchorBug();
+ this.highlightSearchWords();
+ this.initModIndex();
+ },
+
+ /**
+ * i18n support
+ */
+ TRANSLATIONS : {},
+ PLURAL_EXPR : function(n) { return n == 1 ? 0 : 1; },
+ LOCALE : 'unknown',
+
+ // gettext and ngettext don't access this so that the functions
+ // can savely bound to a different name (_ = Documentation.gettext)
+ gettext : function(string) {
+ var translated = Documentation.TRANSLATIONS[string];
+ if (typeof translated == 'undefined')
+ return string;
+ return (typeof translated == 'string') ? translated : translated[0];
+ },
+
+ ngettext : function(singular, plural, n) {
+ var translated = Documentation.TRANSLATIONS[singular];
+ if (typeof translated == 'undefined')
+ return (n == 1) ? singular : plural;
+ return translated[Documentation.PLURALEXPR(n)];
+ },
+
+ addTranslations : function(catalog) {
+ for (var key in catalog.messages)
+ this.TRANSLATIONS[key] = catalog.messages[key];
+ this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')');
+ this.LOCALE = catalog.locale;
+ },
+
+ /**
+ * add context elements like header anchor links
+ */
+ addContextElements : function() {
+ $('div[id] > :header:first').each(function() {
+ $('<a class="headerlink">\u00B6</a>').
+ attr('href', '#' + this.id).
+ attr('title', _('Permalink to this headline')).
+ appendTo(this);
+ });
+ $('dt[id]').each(function() {
+ $('<a class="headerlink">\u00B6</a>').
+ attr('href', '#' + this.id).
+ attr('title', _('Permalink to this definition')).
+ appendTo(this);
+ });
+ },
+
+ /**
+ * workaround a firefox stupidity
+ */
+ fixFirefoxAnchorBug : function() {
+ if (document.location.hash && $.browser.mozilla)
+ window.setTimeout(function() {
+ document.location.href += '';
+ }, 10);
+ },
+
+ /**
+ * highlight the search words provided in the url in the text
+ */
+ highlightSearchWords : function() {
+ var params = $.getQueryParameters();
+ var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : [];
+ if (terms.length) {
+ var body = $('div.body');
+ window.setTimeout(function() {
+ $.each(terms, function() {
+ body.highlightText(this.toLowerCase(), 'highlight');
+ });
+ }, 10);
+ $('<li class="highlight-link"><a href="javascript:Documentation.' +
+ 'hideSearchWords()">' + _('Hide Search Matches') + '</a></li>')
+ .appendTo($('.sidebar .this-page-menu'));
+ }
+ },
+
+ /**
+ * init the modindex toggle buttons
+ */
+ initModIndex : function() {
+ var togglers = $('img.toggler').click(function() {
+ var src = $(this).attr('src');
+ var idnum = $(this).attr('id').substr(7);
+ console.log($('tr.cg-' + idnum).toggle());
+ 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');
+ }).css('display', '');
+ if (DOCUMENTATION_OPTIONS.COLLAPSE_MODINDEX) {
+ togglers.click();
+ }
+ },
+
+ /**
+ * helper function to hide the search marks again
+ */
+ hideSearchWords : function() {
+ $('.sidebar .this-page-menu li.highlight-link').fadeOut(300);
+ $('span.highlight').removeClass('highlight');
+ },
+
+ /**
+ * make the url absolute
+ */
+ makeURL : function(relativeURL) {
+ return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL;
+ },
+
+ /**
+ * get the current relative url
+ */
+ getCurrentURL : function() {
+ var path = document.location.pathname;
+ var parts = path.split(/\//);
+ $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() {
+ if (this == '..')
+ parts.pop();
+ });
+ var url = parts.join('/');
+ return path.substring(url.lastIndexOf('/') + 1, path.length - 1);
+ }
+};
+
+// quick alias for translations
+_ = Documentation.gettext;
+
+$(document).ready(function() {
+ Documentation.init();
+});
diff --git a/_static/file.png b/_static/file.png
new file mode 100644
index 0000000..d18082e
Binary files /dev/null and b/_static/file.png differ
diff --git a/_static/jquery.js b/_static/jquery.js
new file mode 100644
index 0000000..82b98e1
--- /dev/null
+++ b/_static/jquery.js
@@ -0,0 +1,32 @@
+/*
+ * jQuery 1.2.6 - New Wave Javascript
+ *
+ * Copyright (c) 2008 John Resig (jquery.com)
+ * Dual licensed under the MIT (MIT-LICENSE.txt)
+ * and GPL (GPL-LICENSE.txt) licenses.
+ *
+ * $Date: 2008-05-24 14:22:17 -0400 (Sat, 24 May 2008) $
+ * $Rev: 5685 $
+ */
+(function(){var _jQuery=window.jQuery,_$=window.$;var jQuery=window.jQuery=window.$=function(selector,context){return new jQuery.fn.init(selector,context);};var quickExpr=/^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/,isSimple=/^.[^:#\[\.]*$/,undefined;jQuery.fn=jQuery.prototype={init:function(selector,context){selector=selector||document;if(selector.nodeType){this[0]=selector;this.length=1;return this;}if(typeof selector=="string"){var match=quickExpr.exec(selector);if(match&&(match[1]||!context)){ [...]
+return jQuery(context).find(selector);}else if(jQuery.isFunction(selector))return jQuery(document)[jQuery.fn.ready?"ready":"load"](selector);return this.setArray(jQuery.makeArray(selector));},jquery:"1.2.6",size:function(){return this.length;},length:0,get:function(num){return num==undefined?jQuery.makeArray(this):this[num];},pushStack:function(elems){var ret=jQuery(elems);ret.prevObject=this;return ret;},setArray:function(elems){this.length=0;Array.prototype.push.apply(this,elems);retur [...]
+return this.cloneNode(true);});var clone=ret.find("*").andSelf().each(function(){if(this[expando]!=undefined)this[expando]=null;});if(events===true)this.find("*").andSelf().each(function(i){if(this.nodeType==3)return;var events=jQuery.data(this,"events");for(var type in events)for(var handler in events[type])jQuery.event.add(clone[i],type,events[type][handler],events[type][handler].data);});return ret;},filter:function(selector){return this.pushStack(jQuery.isFunction(selector)&&jQuery.g [...]
+selector=jQuery.multiFilter(selector,this);var isArrayLike=selector.length&&selector[selector.length-1]!==undefined&&!selector.nodeType;return this.filter(function(){return isArrayLike?jQuery.inArray(this,selector)<0:this!=selector;});},add:function(selector){return this.pushStack(jQuery.unique(jQuery.merge(this.get(),typeof selector=='string'?jQuery(selector):jQuery.makeArray(selector))));},is:function(selector){return!!selector&&jQuery.multiFilter(selector,this).length>0;},hasClass:fun [...]
+return(this[0].value||"").replace(/\r/g,"");}return undefined;}if(value.constructor==Number)value+='';return this.each(function(){if(this.nodeType!=1)return;if(value.constructor==Array&&/radio|checkbox/.test(this.type))this.checked=(jQuery.inArray(this.value,value)>=0||jQuery.inArray(this.name,value)>=0);else if(jQuery.nodeName(this,"select")){var values=jQuery.makeArray(value);jQuery("option",this).each(function(){this.selected=(jQuery.inArray(this.value,values)>=0||jQuery.inArray(this. [...]
+this.value=value;});},html:function(value){return value==undefined?(this[0]?this[0].innerHTML:null):this.empty().append(value);},replaceWith:function(value){return this.after(value).remove();},eq:function(i){return this.slice(i,i+1);},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments));},map:function(callback){return this.pushStack(jQuery.map(this,function(elem,i){return callback.call(elem,i,elem);}));},andSelf:function(){return this.add(this.prevObject);} [...]
+return this.trigger("setData"+parts[1]+"!",[parts[0],value]).each(function(){jQuery.data(this,key,value);});},removeData:function(key){return this.each(function(){jQuery.removeData(this,key);});},domManip:function(args,table,reverse,callback){var clone=this.length>1,elems;return this.each(function(){if(!elems){elems=jQuery.clean(args,this.ownerDocument);if(reverse)elems.reverse();}var obj=this;if(table&&jQuery.nodeName(this,"table")&&jQuery.nodeName(elems[0],"tr"))obj=this.getElementsByT [...]
+jQuery.globalEval(elem.text||elem.textContent||elem.innerHTML||"");if(elem.parentNode)elem.parentNode.removeChild(elem);}function now(){return+new Date;}jQuery.extend=jQuery.fn.extend=function(){var target=arguments[0]||{},i=1,length=arguments.length,deep=false,options;if(target.constructor==Boolean){deep=target;target=arguments[1]||{};i=2;}if(typeof target!="object"&&typeof target!="function")target={};if(length==i){target=this;--i;}for(;i<length;i++)if((options=arguments[i])!=null)for( [...]
+script.appendChild(document.createTextNode(data));head.insertBefore(script,head.firstChild);head.removeChild(script);}},nodeName:function(elem,name){return elem.nodeName&&elem.nodeName.toUpperCase()==name.toUpperCase();},cache:{},data:function(elem,name,data){elem=elem==window?windowData:elem;var id=elem[expando];if(!id)id=elem[expando]=++uuid;if(name&&!jQuery.cache[id])jQuery.cache[id]={};if(data!==undefined)jQuery.cache[id][name]=data;return name?jQuery.cache[id][name]:id;},removeData: [...]
+for(;i<length;)if(callback.apply(object[i++],args)===false)break;}else{if(length==undefined){for(name in object)if(callback.call(object[name],name,object[name])===false)break;}else
+for(var value=object[0];i<length&&callback.call(value,i,value)!==false;value=object[++i]){}}return object;},prop:function(elem,value,type,i,name){if(jQuery.isFunction(value))value=value.call(elem,i);return value&&value.constructor==Number&&type=="curCSS"&&!exclude.test(name)?value+"px":value;},className:{add:function(elem,classNames){jQuery.each((classNames||"").split(/\s+/),function(i,className){if(elem.nodeType==1&&!jQuery.className.has(elem.className,className))elem.className+=(elem.c [...]
+jQuery.swap(elem,props,getWH);return Math.max(0,val);}return jQuery.curCSS(elem,name,force);},curCSS:function(elem,name,force){var ret,style=elem.style;function color(elem){if(!jQuery.browser.safari)return false;var ret=defaultView.getComputedStyle(elem,null);return!ret||ret.getPropertyValue("color")=="";}if(name=="opacity"&&jQuery.browser.msie){ret=jQuery.attr(style,"opacity");return ret==""?"1":ret;}if(jQuery.browser.opera&&name=="display"){var save=style.outline;style.outline="0 solid [...]
+ret=jQuery.merge(ret,elem);});return ret;},attr:function(elem,name,value){if(!elem||elem.nodeType==3||elem.nodeType==8)return undefined;var notxml=!jQuery.isXMLDoc(elem),set=value!==undefined,msie=jQuery.browser.msie;name=notxml&&jQuery.props[name]||name;if(elem.tagName){var special=/href|src|style/.test(name);if(name=="selected"&&jQuery.browser.safari)elem.parentNode.selectedIndex;if(name in elem&¬xml&&!special){if(set){if(name=="type"&&jQuery.nodeName(elem,"input")&&elem.parentNode) [...]
+while(i)ret[--i]=array[i];}return ret;},inArray:function(elem,array){for(var i=0,length=array.length;i<length;i++)if(array[i]===elem)return i;return-1;},merge:function(first,second){var i=0,elem,pos=first.length;if(jQuery.browser.msie){while(elem=second[i++])if(elem.nodeType!=8)first[pos++]=elem;}else
+while(elem=second[i++])first[pos++]=elem;return first;},unique:function(array){var ret=[],done={};try{for(var i=0,length=array.length;i<length;i++){var id=jQuery.data(array[i]);if(!done[id]){done[id]=true;ret.push(array[i]);}}}catch(e){ret=array;}return ret;},grep:function(elems,callback,inv){var ret=[];for(var i=0,length=elems.length;i<length;i++)if(!inv!=!callback(elems[i],i))ret.push(elems[i]);return ret;},map:function(elems,callback){var ret=[];for(var i=0,length=elems.length;i<lengt [...]
+for(handler in events[type])if(!parts[1]||events[type][handler].type==parts[1])delete events[type][handler];for(ret in events[type])break;if(!ret){if(!jQuery.event.special[type]||jQuery.event.special[type].teardown.call(elem)===false){if(elem.removeEventListener)elem.removeEventListener(type,jQuery.data(elem,"handle"),false);else if(elem.detachEvent)elem.detachEvent("on"+type,jQuery.data(elem,"handle"));}ret=null;delete events[type];}}});}for(ret in events)break;if(!ret){var handle=jQuer [...]
+jQuery.readyList.push(function(){return fn.call(this,jQuery);});return this;}});jQuery.extend({isReady:false,readyList:[],ready:function(){if(!jQuery.isReady){jQuery.isReady=true;if(jQuery.readyList){jQuery.each(jQuery.readyList,function(){this.call(document);});jQuery.readyList=null;}jQuery(document).triggerHandler("ready");}}});var readyBound=false;function bindReady(){if(readyBound)return;readyBound=true;if(document.addEventListener&&!jQuery.browser.opera)document.addEventListener("DO [...]
+xhr.open(type,s.url,s.async);try{if(s.data)xhr.setRequestHeader("Content-Type",s.contentType);if(s.ifModified)xhr.setRequestHeader("If-Modified-Since",jQuery.lastModified[s.url]||"Thu, 01 Jan 1970 00:00:00 GMT");xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");xhr.setRequestHeader("Accept",s.dataType&&s.accepts[s.dataType]?s.accepts[s.dataType]+", */*":s.accepts._default);}catch(e){}if(s.beforeSend&&s.beforeSend(xhr,s)===false){s.global&&jQuery.active--;xhr.abort();return false; [...]
+jQuery.handleError(s,xhr,status);complete();if(s.async)xhr=null;}};if(s.async){var ival=setInterval(onreadystatechange,13);if(s.timeout>0)setTimeout(function(){if(xhr){xhr.abort();if(!requestDone)onreadystatechange("timeout");}},s.timeout);}try{xhr.send(s.data);}catch(e){jQuery.handleError(s,xhr,null,e);}if(!s.async)onreadystatechange();function success(){if(s.success)s.success(data,status);if(s.global)jQuery.event.trigger("ajaxSuccess",[xhr,s]);}function complete(){if(s.complete)s.compl [...]
+for(var j in a)if(a[j]&&a[j].constructor==Array)jQuery.each(a[j],function(){s.push(encodeURIComponent(j)+"="+encodeURIComponent(this));});else
+s.push(encodeURIComponent(j)+"="+encodeURIComponent(jQuery.isFunction(a[j])?a[j]():a[j]));return s.join("&").replace(/%20/g,"+");}});jQuery.fn.extend({show:function(speed,callback){return speed?this.animate({height:"show",width:"show",opacity:"show"},speed,callback):this.filter(":hidden").each(function(){this.style.display=this.oldblock||"";if(jQuery.css(this,"display")=="none"){var elem=jQuery("<"+this.tagName+" />").appendTo("body");this.style.display=elem.css("display");if(this.style. [...]
+e.custom(start,val,"");}});return true;});},queue:function(type,fn){if(jQuery.isFunction(type)||(type&&type.constructor==Array)){fn=type;type="fx";}if(!type||(typeof type=="string"&&!fn))return queue(this[0],type);return this.each(function(){if(fn.constructor==Array)queue(this,type,fn);else{queue(this,type).push(fn);if(queue(this,type).length==1)fn.call(this);}});},stop:function(clearQueue,gotoEnd){var timers=jQuery.timers;if(clearQueue)this.queue([]);this.each(function(){for(var i=timer [...]
\ No newline at end of file
diff --git a/_static/minus.png b/_static/minus.png
new file mode 100644
index 0000000..da1c562
Binary files /dev/null and b/_static/minus.png differ
diff --git a/_static/plus.png b/_static/plus.png
new file mode 100644
index 0000000..b3cb374
Binary files /dev/null and b/_static/plus.png differ
diff --git a/_static/pygments.css b/_static/pygments.css
new file mode 100644
index 0000000..1f2d2b6
--- /dev/null
+++ b/_static/pygments.css
@@ -0,0 +1,61 @@
+.hll { background-color: #ffffcc }
+.c { color: #408090; font-style: italic } /* Comment */
+.err { border: 1px solid #FF0000 } /* Error */
+.k { color: #007020; font-weight: bold } /* Keyword */
+.o { color: #666666 } /* Operator */
+.cm { color: #408090; font-style: italic } /* Comment.Multiline */
+.cp { color: #007020 } /* Comment.Preproc */
+.c1 { color: #408090; font-style: italic } /* Comment.Single */
+.cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */
+.gd { color: #A00000 } /* Generic.Deleted */
+.ge { font-style: italic } /* Generic.Emph */
+.gr { color: #FF0000 } /* Generic.Error */
+.gh { color: #000080; font-weight: bold } /* Generic.Heading */
+.gi { color: #00A000 } /* Generic.Inserted */
+.go { color: #303030 } /* Generic.Output */
+.gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
+.gs { font-weight: bold } /* Generic.Strong */
+.gu { color: #800080; font-weight: bold } /* Generic.Subheading */
+.gt { color: #0040D0 } /* Generic.Traceback */
+.kc { color: #007020; font-weight: bold } /* Keyword.Constant */
+.kd { color: #007020; font-weight: bold } /* Keyword.Declaration */
+.kn { color: #007020; font-weight: bold } /* Keyword.Namespace */
+.kp { color: #007020 } /* Keyword.Pseudo */
+.kr { color: #007020; font-weight: bold } /* Keyword.Reserved */
+.kt { color: #902000 } /* Keyword.Type */
+.m { color: #208050 } /* Literal.Number */
+.s { color: #4070a0 } /* Literal.String */
+.na { color: #4070a0 } /* Name.Attribute */
+.nb { color: #007020 } /* Name.Builtin */
+.nc { color: #0e84b5; font-weight: bold } /* Name.Class */
+.no { color: #60add5 } /* Name.Constant */
+.nd { color: #555555; font-weight: bold } /* Name.Decorator */
+.ni { color: #d55537; font-weight: bold } /* Name.Entity */
+.ne { color: #007020 } /* Name.Exception */
+.nf { color: #06287e } /* Name.Function */
+.nl { color: #002070; font-weight: bold } /* Name.Label */
+.nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
+.nt { color: #062873; font-weight: bold } /* Name.Tag */
+.nv { color: #bb60d5 } /* Name.Variable */
+.ow { color: #007020; font-weight: bold } /* Operator.Word */
+.w { color: #bbbbbb } /* Text.Whitespace */
+.mf { color: #208050 } /* Literal.Number.Float */
+.mh { color: #208050 } /* Literal.Number.Hex */
+.mi { color: #208050 } /* Literal.Number.Integer */
+.mo { color: #208050 } /* Literal.Number.Oct */
+.sb { color: #4070a0 } /* Literal.String.Backtick */
+.sc { color: #4070a0 } /* Literal.String.Char */
+.sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */
+.s2 { color: #4070a0 } /* Literal.String.Double */
+.se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */
+.sh { color: #4070a0 } /* Literal.String.Heredoc */
+.si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */
+.sx { color: #c65d09 } /* Literal.String.Other */
+.sr { color: #235388 } /* Literal.String.Regex */
+.s1 { color: #4070a0 } /* Literal.String.Single */
+.ss { color: #517918 } /* Literal.String.Symbol */
+.bp { color: #007020 } /* Name.Builtin.Pseudo */
+.vc { color: #bb60d5 } /* Name.Variable.Class */
+.vg { color: #bb60d5 } /* Name.Variable.Global */
+.vi { color: #bb60d5 } /* Name.Variable.Instance */
+.il { color: #208050 } /* Literal.Number.Integer.Long */
\ No newline at end of file
diff --git a/_static/searchtools.js b/_static/searchtools.js
new file mode 100644
index 0000000..e022625
--- /dev/null
+++ b/_static/searchtools.js
@@ -0,0 +1,467 @@
+/**
+ * helper function to return a node containing the
+ * search summary for a given text. keywords is a list
+ * of stemmed words, hlwords is the list of normal, unstemmed
+ * words. the first one is used to find the occurance, the
+ * latter for highlighting it.
+ */
+
+jQuery.makeSearchSummary = function(text, keywords, hlwords) {
+ var textLower = text.toLowerCase();
+ var start = 0;
+ $.each(keywords, function() {
+ var i = textLower.indexOf(this.toLowerCase());
+ if (i > -1)
+ start = i;
+ });
+ start = Math.max(start - 120, 0);
+ var excerpt = ((start > 0) ? '...' : '') +
+ $.trim(text.substr(start, 240)) +
+ ((start + 240 - text.length) ? '...' : '');
+ var rv = $('<div class="context"></div>').text(excerpt);
+ $.each(hlwords, function() {
+ rv = rv.highlightText(this, 'highlight');
+ });
+ return rv;
+}
+
+/**
+ * Porter Stemmer
+ */
+var PorterStemmer = function() {
+
+ var step2list = {
+ ational: 'ate',
+ tional: 'tion',
+ enci: 'ence',
+ anci: 'ance',
+ izer: 'ize',
+ bli: 'ble',
+ alli: 'al',
+ entli: 'ent',
+ eli: 'e',
+ ousli: 'ous',
+ ization: 'ize',
+ ation: 'ate',
+ ator: 'ate',
+ alism: 'al',
+ iveness: 'ive',
+ fulness: 'ful',
+ ousness: 'ous',
+ aliti: 'al',
+ iviti: 'ive',
+ biliti: 'ble',
+ logi: 'log'
+ };
+
+ var step3list = {
+ icate: 'ic',
+ ative: '',
+ alize: 'al',
+ iciti: 'ic',
+ ical: 'ic',
+ ful: '',
+ ness: ''
+ };
+
+ var c = "[^aeiou]"; // consonant
+ var v = "[aeiouy]"; // vowel
+ var C = c + "[^aeiouy]*"; // consonant sequence
+ var V = v + "[aeiou]*"; // vowel sequence
+
+ var mgr0 = "^(" + C + ")?" + V + C; // [C]VC... is m>0
+ var meq1 = "^(" + C + ")?" + V + C + "(" + V + ")?$"; // [C]VC[V] is m=1
+ var mgr1 = "^(" + C + ")?" + V + C + V + C; // [C]VCVC... is m>1
+ var s_v = "^(" + C + ")?" + v; // vowel in stem
+
+ this.stemWord = function (w) {
+ var stem;
+ var suffix;
+ var firstch;
+ var origword = w;
+
+ if (w.length < 3)
+ return w;
+
+ var re;
+ var re2;
+ var re3;
+ var re4;
+
+ firstch = w.substr(0,1);
+ if (firstch == "y")
+ w = firstch.toUpperCase() + w.substr(1);
+
+ // Step 1a
+ re = /^(.+?)(ss|i)es$/;
+ re2 = /^(.+?)([^s])s$/;
+
+ if (re.test(w))
+ w = w.replace(re,"$1$2");
+ else if (re2.test(w))
+ w = w.replace(re2,"$1$2");
+
+ // Step 1b
+ re = /^(.+?)eed$/;
+ re2 = /^(.+?)(ed|ing)$/;
+ if (re.test(w)) {
+ var fp = re.exec(w);
+ re = new RegExp(mgr0);
+ if (re.test(fp[1])) {
+ re = /.$/;
+ w = w.replace(re,"");
+ }
+ }
+ else if (re2.test(w)) {
+ var fp = re2.exec(w);
+ stem = fp[1];
+ re2 = new RegExp(s_v);
+ if (re2.test(stem)) {
+ w = stem;
+ re2 = /(at|bl|iz)$/;
+ re3 = new RegExp("([^aeiouylsz])\\1$");
+ re4 = new RegExp("^" + C + v + "[^aeiouwxy]$");
+ if (re2.test(w))
+ w = w + "e";
+ else if (re3.test(w)) {
+ re = /.$/;
+ w = w.replace(re,"");
+ }
+ else if (re4.test(w))
+ w = w + "e";
+ }
+ }
+
+ // Step 1c
+ re = /^(.+?)y$/;
+ if (re.test(w)) {
+ var fp = re.exec(w);
+ stem = fp[1];
+ re = new RegExp(s_v);
+ if (re.test(stem))
+ w = stem + "i";
+ }
+
+ // Step 2
+ re = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/;
+ if (re.test(w)) {
+ var fp = re.exec(w);
+ stem = fp[1];
+ suffix = fp[2];
+ re = new RegExp(mgr0);
+ if (re.test(stem))
+ w = stem + step2list[suffix];
+ }
+
+ // Step 3
+ re = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/;
+ if (re.test(w)) {
+ var fp = re.exec(w);
+ stem = fp[1];
+ suffix = fp[2];
+ re = new RegExp(mgr0);
+ if (re.test(stem))
+ w = stem + step3list[suffix];
+ }
+
+ // Step 4
+ re = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/;
+ re2 = /^(.+?)(s|t)(ion)$/;
+ if (re.test(w)) {
+ var fp = re.exec(w);
+ stem = fp[1];
+ re = new RegExp(mgr1);
+ if (re.test(stem))
+ w = stem;
+ }
+ else if (re2.test(w)) {
+ var fp = re2.exec(w);
+ stem = fp[1] + fp[2];
+ re2 = new RegExp(mgr1);
+ if (re2.test(stem))
+ w = stem;
+ }
+
+ // Step 5
+ re = /^(.+?)e$/;
+ if (re.test(w)) {
+ var fp = re.exec(w);
+ stem = fp[1];
+ re = new RegExp(mgr1);
+ re2 = new RegExp(meq1);
+ re3 = new RegExp("^" + C + v + "[^aeiouwxy]$");
+ if (re.test(stem) || (re2.test(stem) && !(re3.test(stem))))
+ w = stem;
+ }
+ re = /ll$/;
+ re2 = new RegExp(mgr1);
+ if (re.test(w) && re2.test(w)) {
+ re = /.$/;
+ w = w.replace(re,"");
+ }
+
+ // and turn initial Y back to y
+ if (firstch == "y")
+ w = firstch.toLowerCase() + w.substr(1);
+ return w;
+ }
+}
+
+
+/**
+ * Search Module
+ */
+var Search = {
+
+ _index : null,
+ _queued_query : null,
+ _pulse_status : -1,
+
+ init : function() {
+ var params = $.getQueryParameters();
+ if (params.q) {
+ var query = params.q[0];
+ $('input[name="q"]')[0].value = query;
+ this.performSearch(query);
+ }
+ },
+
+ /**
+ * Sets the index
+ */
+ setIndex : function(index) {
+ var q;
+ this._index = index;
+ if ((q = this._queued_query) !== null) {
+ this._queued_query = null;
+ Search.query(q);
+ }
+ },
+
+ hasIndex : function() {
+ return this._index !== null;
+ },
+
+ deferQuery : function(query) {
+ this._queued_query = query;
+ },
+
+ stopPulse : function() {
+ this._pulse_status = 0;
+ },
+
+ startPulse : function() {
+ if (this._pulse_status >= 0)
+ return;
+ function pulse() {
+ Search._pulse_status = (Search._pulse_status + 1) % 4;
+ var dotString = '';
+ for (var i = 0; i < Search._pulse_status; i++)
+ dotString += '.';
+ Search.dots.text(dotString);
+ if (Search._pulse_status > -1)
+ window.setTimeout(pulse, 500);
+ };
+ pulse();
+ },
+
+ /**
+ * perform a search for something
+ */
+ performSearch : function(query) {
+ // create the required interface elements
+ this.out = $('#search-results');
+ this.title = $('<h2>' + _('Searching') + '</h2>').appendTo(this.out);
+ this.dots = $('<span></span>').appendTo(this.title);
+ this.status = $('<p style="display: none"></p>').appendTo(this.out);
+ this.output = $('<ul class="search"/>').appendTo(this.out);
+
+ $('#search-progress').text(_('Preparing search...'));
+ this.startPulse();
+
+ // index already loaded, the browser was quick!
+ if (this.hasIndex())
+ this.query(query);
+ else
+ this.deferQuery(query);
+ },
+
+ query : function(query) {
+ // stem the searchterms and add them to the
+ // correct list
+ var stemmer = new PorterStemmer();
+ var searchterms = [];
+ var excluded = [];
+ var hlterms = [];
+ var tmp = query.split(/\s+/);
+ var object = (tmp.length == 1) ? tmp[0].toLowerCase() : null;
+ for (var i = 0; i < tmp.length; i++) {
+ // stem the word
+ var word = stemmer.stemWord(tmp[i]).toLowerCase();
+ // select the correct list
+ if (word[0] == '-') {
+ var toAppend = excluded;
+ word = word.substr(1);
+ }
+ else {
+ var toAppend = searchterms;
+ hlterms.push(tmp[i].toLowerCase());
+ }
+ // only add if not already in the list
+ if (!$.contains(toAppend, word))
+ toAppend.push(word);
+ };
+ var highlightstring = '?highlight=' + $.urlencode(hlterms.join(" "));
+
+ console.debug('SEARCH: searching for:');
+ console.info('required: ', searchterms);
+ console.info('excluded: ', excluded);
+
+ // prepare search
+ var filenames = this._index.filenames;
+ var titles = this._index.titles;
+ var terms = this._index.terms;
+ var descrefs = this._index.descrefs;
+ var modules = this._index.modules;
+ var desctypes = this._index.desctypes;
+ var fileMap = {};
+ var files = null;
+ var objectResults = [];
+ var regularResults = [];
+ $('#search-progress').empty();
+
+ // lookup as object
+ if (object != null) {
+ for (var module in modules) {
+ if (module.indexOf(object) > -1) {
+ fn = modules[module];
+ descr = _('module, in ') + titles[fn];
+ objectResults.push([filenames[fn], module, '#module-'+module, descr]);
+ }
+ }
+ for (var prefix in descrefs) {
+ for (var name in descrefs[prefix]) {
+ var fullname = (prefix ? prefix + '.' : '') + name;
+ if (fullname.toLowerCase().indexOf(object) > -1) {
+ match = descrefs[prefix][name];
+ descr = desctypes[match[1]] + _(', in ') + titles[match[0]];
+ objectResults.push([filenames[match[0]], fullname, '#'+fullname, descr]);
+ }
+ }
+ }
+ }
+
+ // sort results descending
+ objectResults.sort(function(a, b) {
+ return (a[1] > b[1]) ? -1 : ((a[1] < b[1]) ? 1 : 0);
+ });
+
+
+ // perform the search on the required terms
+ for (var i = 0; i < searchterms.length; i++) {
+ var word = searchterms[i];
+ // no match but word was a required one
+ if ((files = terms[word]) == null)
+ break;
+ if (files.length == undefined) {
+ files = [files];
+ }
+ // create the mapping
+ for (var j = 0; j < files.length; j++) {
+ var file = files[j];
+ if (file in fileMap)
+ fileMap[file].push(word);
+ else
+ fileMap[file] = [word];
+ }
+ }
+
+ // now check if the files don't contain excluded terms
+ for (var file in fileMap) {
+ var valid = true;
+
+ // check if all requirements are matched
+ if (fileMap[file].length != searchterms.length)
+ continue;
+
+ // ensure that none of the excluded terms is in the
+ // search result.
+ for (var i = 0; i < excluded.length; i++) {
+ if (terms[excluded[i]] == file ||
+ $.contains(terms[excluded[i]] || [], file)) {
+ valid = false;
+ break;
+ }
+ }
+
+ // if we have still a valid result we can add it
+ // to the result list
+ if (valid)
+ regularResults.push([filenames[file], titles[file], '', null]);
+ }
+
+ // delete unused variables in order to not waste
+ // memory until list is retrieved completely
+ delete filenames, titles, terms;
+
+ // now sort the regular results descending by title
+ regularResults.sort(function(a, b) {
+ var left = a[1].toLowerCase();
+ var right = b[1].toLowerCase();
+ return (left > right) ? -1 : ((left < right) ? 1 : 0);
+ });
+
+ // combine both
+ var results = regularResults.concat(objectResults);
+
+ // print the results
+ var resultCount = results.length;
+ function displayNextItem() {
+ // results left, load the summary and display it
+ if (results.length) {
+ var item = results.pop();
+ var listItem = $('<li style="display:none"></li>');
+ listItem.append($('<a/>').attr(
+ 'href',
+ item[0] + DOCUMENTATION_OPTIONS.FILE_SUFFIX +
+ highlightstring + item[2]).html(item[1]));
+ if (item[3]) {
+ listItem.append($('<span> (' + item[3] + ')</span>'));
+ Search.output.append(listItem);
+ listItem.slideDown(5, function() {
+ displayNextItem();
+ });
+ } else if (DOCUMENTATION_OPTIONS.HAS_SOURCE) {
+ $.get('_sources/' + item[0] + '.txt', function(data) {
+ listItem.append($.makeSearchSummary(data, searchterms, hlterms));
+ Search.output.append(listItem);
+ listItem.slideDown(5, function() {
+ displayNextItem();
+ });
+ });
+ } else {
+ // no source available, just display title
+ Search.output.append(listItem);
+ listItem.slideDown(5, function() {
+ displayNextItem();
+ });
+ }
+ }
+ // search finished, update title and status message
+ else {
+ Search.stopPulse();
+ Search.title.text(_('Search Results'));
+ if (!resultCount)
+ Search.status.text(_('Your search did not match any documents. Please make sure that all words are spelled correctly and that you\'ve selected enough categories.'));
+ else
+ Search.status.text(_('Search finished, found %s page(s) matching the search query.').replace('%s', resultCount));
+ Search.status.fadeIn(500);
+ }
+ }
+ displayNextItem();
+ }
+}
+
+$(document).ready(function() {
+ Search.init();
+});
diff --git a/genindex.html b/genindex.html
new file mode 100644
index 0000000..76db706
--- /dev/null
+++ b/genindex.html
@@ -0,0 +1,215 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+
+ <title>Index — Pysolar v0.4.1 documentation</title>
+ <link rel="stylesheet" href="_static/default.css" type="text/css" />
+ <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
+ <script type="text/javascript">
+ var DOCUMENTATION_OPTIONS = {
+ URL_ROOT: '#',
+ VERSION: '0.4.1',
+ COLLAPSE_MODINDEX: false,
+ FILE_SUFFIX: '.html',
+ HAS_SOURCE: true
+ };
+ </script>
+ <script type="text/javascript" src="_static/jquery.js"></script>
+ <script type="text/javascript" src="_static/doctools.js"></script>
+ <link rel="top" title="Pysolar v0.4.1 documentation" href="index.html" />
+ </head>
+ <body>
+ <div class="related">
+ <h3>Navigation</h3>
+ <ul>
+ <li class="right" style="margin-right: 10px">
+ <a href="#" title="General Index"
+ accesskey="I">index</a></li>
+ <li class="right" >
+ <a href="modindex.html" title="Global Module Index"
+ accesskey="M">modules</a> |</li>
+ <li><a href="index.html">Pysolar v0.4.1 documentation</a> »</li>
+ </ul>
+ </div>
+
+ <div class="document">
+ <div class="documentwrapper">
+ <div class="bodywrapper">
+ <div class="body">
+
+
+ <h1 id="index">Index</h1>
+
+ <a href="#B"><strong>B</strong></a> | <a href="#C"><strong>C</strong></a> | <a href="#D"><strong>D</strong></a> | <a href="#E"><strong>E</strong></a> | <a href="#G"><strong>G</strong></a> | <a href="#H"><strong>H</strong></a> | <a href="#J"><strong>J</strong></a> | <a href="#M"><strong>M</strong></a> | <a href="#P"><strong>P</strong></a> | <a href="#Q"><strong>Q</strong></a> | <a href="#R"><strong>R</strong></a> | <a href="#S"><strong>S</strong></a> | <a href="#T"><strong>T</strong></ [...]
+
+ <hr />
+
+
+<h2 id="B">B</h2>
+<table width="100%" class="indextable"><tr><td width="33%" valign="top">
+<dl>
+
+<dt><a href="index.html#simulate.BuildTimeList">BuildTimeList() (in module simulate)</a></dt></dl></td><td width="33%" valign="top"><dl>
+</dl></td></tr></table>
+
+<h2 id="C">C</h2>
+<table width="100%" class="indextable"><tr><td width="33%" valign="top">
+<dl>
+
+<dt><a href="index.html#util.clear_index">clear_index() (in module util)</a></dt>
+<dt><a href="index.html#module-constants">constants (module)</a></dt></dl></td><td width="33%" valign="top"><dl>
+</dl></td></tr></table>
+
+<h2 id="D">D</h2>
+<table width="100%" class="indextable"><tr><td width="33%" valign="top">
+<dl>
+
+<dt><a href="index.html#util.declination_degree">declination_degree() (in module util)</a></dt>
+<dt><a href="index.html#util.diffuse_ratio">diffuse_ratio() (in module util)</a></dt>
+<dt><a href="index.html#util.diffuse_transmittance">diffuse_transmittance() (in module util)</a></dt>
+<dt><a href="index.html#util.diffuse_underclear">diffuse_underclear() (in module util)</a></dt></dl></td><td width="33%" valign="top"><dl>
+<dt><a href="index.html#util.diffuse_underovercast">diffuse_underovercast() (in module util)</a></dt>
+<dt><a href="index.html#util.direct_underclear">direct_underclear() (in module util)</a></dt>
+</dl></td></tr></table>
+
+<h2 id="E">E</h2>
+<table width="100%" class="indextable"><tr><td width="33%" valign="top">
+<dl>
+
+<dt><a href="index.html#query_usno.EncodeRequest">EncodeRequest() (in module query_usno)</a></dt>
+<dt><a href="index.html#util.extraterrestrial_irrad">extraterrestrial_irrad() (in module util)</a></dt></dl></td><td width="33%" valign="top"><dl>
+</dl></td></tr></table>
+
+<h2 id="G">G</h2>
+<table width="100%" class="indextable"><tr><td width="33%" valign="top">
+<dl>
+
+<dt><a href="index.html#solar.GetAltitude">GetAltitude() (in module solar)</a></dt>
+<dt><a href="index.html#solar.GetDeclination">GetDeclination() (in module solar)</a></dt>
+<dt><a href="index.html#julian.GetJulianEphemerisDay">GetJulianEphemerisDay() (in module julian)</a></dt>
+<dt><a href="index.html#util.GetSunriseSunset">GetSunriseSunset() (in module util)</a></dt>
+<dt><a href="index.html#util.GetSunriseTime">GetSunriseTime() (in module util)</a></dt></dl></td><td width="33%" valign="top"><dl>
+<dt><a href="index.html#util.GetSunsetTime">GetSunsetTime() (in module util)</a></dt>
+<dt><a href="index.html#solar.GetTopocentricAzimuthAngle">GetTopocentricAzimuthAngle() (in module solar)</a></dt>
+<dt><a href="index.html#util.global_irradiance_clear">global_irradiance_clear() (in module util)</a></dt>
+<dt><a href="index.html#util.global_irradiance_overcast">global_irradiance_overcast() (in module util)</a></dt>
+</dl></td></tr></table>
+
+<h2 id="H">H</h2>
+<table width="100%" class="indextable"><tr><td width="33%" valign="top">
+<dl>
+
+<dt><a href="index.html#module-horizon">horizon (module)</a></dt></dl></td><td width="33%" valign="top"><dl>
+</dl></td></tr></table>
+
+<h2 id="J">J</h2>
+<table width="100%" class="indextable"><tr><td width="33%" valign="top">
+<dl>
+
+<dt><a href="index.html#module-julian">julian (module)</a></dt></dl></td><td width="33%" valign="top"><dl>
+</dl></td></tr></table>
+
+<h2 id="M">M</h2>
+<table width="100%" class="indextable"><tr><td width="33%" valign="top">
+<dl>
+
+<dt><a href="index.html#util.mean_earth_sun_distance">mean_earth_sun_distance() (in module util)</a></dt></dl></td><td width="33%" valign="top"><dl>
+</dl></td></tr></table>
+
+<h2 id="P">P</h2>
+<table width="100%" class="indextable"><tr><td width="33%" valign="top">
+<dl>
+
+<dt><a href="index.html#module-poly">poly (module)</a></dt></dl></td><td width="33%" valign="top"><dl>
+</dl></td></tr></table>
+
+<h2 id="Q">Q</h2>
+<table width="100%" class="indextable"><tr><td width="33%" valign="top">
+<dl>
+
+<dt><a href="index.html#module-query_usno">query_usno (module)</a></dt></dl></td><td width="33%" valign="top"><dl>
+</dl></td></tr></table>
+
+<h2 id="R">R</h2>
+<table width="100%" class="indextable"><tr><td width="33%" valign="top">
+<dl>
+
+<dt><a href="index.html#module-radiation">radiation (module)</a></dt></dl></td><td width="33%" valign="top"><dl>
+</dl></td></tr></table>
+
+<h2 id="S">S</h2>
+<table width="100%" class="indextable"><tr><td width="33%" valign="top">
+<dl>
+
+<dt><a href="index.html#module-shade">shade (module)</a></dt>
+<dt><a href="index.html#module-shade_test">shade_test (module)</a></dt>
+<dt><a href="index.html#module-simulate">simulate (module)</a></dt>
+<dt><a href="index.html#simulate.SimulateSpan">SimulateSpan() (in module simulate)</a></dt></dl></td><td width="33%" valign="top"><dl>
+<dt><a href="index.html#module-solar">solar (module)</a></dt>
+<dt><a href="index.html#util.solarelevation_function_clear">solarelevation_function_clear() (in module util)</a></dt>
+<dt><a href="index.html#util.solarelevation_function_overcast">solarelevation_function_overcast() (in module util)</a></dt>
+</dl></td></tr></table>
+
+<h2 id="T">T</h2>
+<table width="100%" class="indextable"><tr><td width="33%" valign="top">
+<dl>
+
+<dt><a href="index.html#module-testsolar">testsolar (module)</a></dt></dl></td><td width="33%" valign="top"><dl>
+</dl></td></tr></table>
+
+<h2 id="U">U</h2>
+<table width="100%" class="indextable"><tr><td width="33%" valign="top">
+<dl>
+
+<dt><a href="index.html#module-util">util (module)</a></dt></dl></td><td width="33%" valign="top"><dl>
+</dl></td></tr></table>
+
+
+
+ </div>
+ </div>
+ </div>
+ <div class="sphinxsidebar">
+ <div class="sphinxsidebarwrapper">
+
+
+
+ <div id="searchbox" style="display: none">
+ <h3>Quick search</h3>
+ <form class="search" action="search.html" method="get">
+ <input type="text" name="q" size="18" />
+ <input type="submit" value="Go" />
+ <input type="hidden" name="check_keywords" value="yes" />
+ <input type="hidden" name="area" value="default" />
+ </form>
+ <p class="searchtip" style="font-size: 90%">
+ Enter search terms or a module, class or function name.
+ </p>
+ </div>
+ <script type="text/javascript">$('#searchbox').show(0);</script>
+ </div>
+ </div>
+ <div class="clearer"></div>
+ </div>
+ <div class="related">
+ <h3>Navigation</h3>
+ <ul>
+ <li class="right" style="margin-right: 10px">
+ <a href="#" title="General Index"
+ >index</a></li>
+ <li class="right" >
+ <a href="modindex.html" title="Global Module Index"
+ >modules</a> |</li>
+ <li><a href="index.html">Pysolar v0.4.1 documentation</a> »</li>
+ </ul>
+ </div>
+ <div class="footer">
+ © Copyright 2008-2010, Brandon Stafford.
+ Last updated on Mar 03, 2010.
+ Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.5.
+ </div>
+ </body>
+</html>
\ No newline at end of file
diff --git a/index.html b/index.html
index 3b56230..e51946e 100644
--- a/index.html
+++ b/index.html
@@ -1,80 +1,1012 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
-
- <title>pingswept/pysolar @ GitHub</title>
-
- <style type="text/css">
- body {
- margin-top: 1.0em;
- background-color: #161289;
- font-family: "Helvetica,Arial,FreeSans";
- color: #ffffff;
- }
- #container {
- margin: 0 auto;
- width: 700px;
- }
- h1 { font-size: 3.8em; color: #e9ed76; margin-bottom: 3px; }
- h1 .small { font-size: 0.4em; }
- h1 a { text-decoration: none }
- h2 { font-size: 1.5em; color: #e9ed76; }
- h3 { text-align: center; color: #e9ed76; }
- a { color: #e9ed76; }
- .description { font-size: 1.2em; margin-bottom: 30px; margin-top: 30px; font-style: italic;}
- .download { float: right; }
- pre { background: #000; color: #fff; padding: 15px;}
- hr { border: 0; width: 80%; border-bottom: 1px solid #aaa}
- .footer { text-align:center; padding-top:30px; font-style: italic; }
- </style>
-
-</head>
-
-<body>
- <a href="http://github.com/pingswept/pysolar"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
-
- <div id="container">
-
- <div class="download">
- <a href="http://github.com/pingswept/pysolar/zipball/master">
- <img border="0" width="90" src="http://github.com/images/modules/download/zip.png"></a>
- <a href="http://github.com/pingswept/pysolar/tarball/master">
- <img border="0" width="90" src="http://github.com/images/modules/download/tar.png"></a>
- </div>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <h1><a href="http://github.com/pingswept/pysolar">pysolar</a>
- <span class="small">by <a href="http://github.com/pingswept">pingswept</a></span></h1>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+
+ <title>Indices and tables — Pysolar v0.4.1 documentation</title>
+ <link rel="stylesheet" href="_static/default.css" type="text/css" />
+ <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
+ <script type="text/javascript">
+ var DOCUMENTATION_OPTIONS = {
+ URL_ROOT: '#',
+ VERSION: '0.4.1',
+ COLLAPSE_MODINDEX: false,
+ FILE_SUFFIX: '.html',
+ HAS_SOURCE: true
+ };
+ </script>
+ <script type="text/javascript" src="_static/jquery.js"></script>
+ <script type="text/javascript" src="_static/doctools.js"></script>
+ <link rel="top" title="Pysolar v0.4.1 documentation" href="#" />
+ </head>
+ <body>
+ <div class="related">
+ <h3>Navigation</h3>
+ <ul>
+ <li class="right" style="margin-right: 10px">
+ <a href="genindex.html" title="General Index"
+ accesskey="I">index</a></li>
+ <li class="right" >
+ <a href="modindex.html" title="Global Module Index"
+ accesskey="M">modules</a> |</li>
+ <li><a href="#">Pysolar v0.4.1 documentation</a> »</li>
+ </ul>
+ </div>
- <div class="description">
- Pysolar is a collection of Python libraries for simulating the irradiation of any point on earth by the sun. It includes code for extremely precise ephemeris calculations.
- </div>
+ <div class="document">
+ <div class="documentwrapper">
+ <div class="bodywrapper">
+ <div class="body">
+
+ <ul class="simple">
+</ul>
+<div class="section" id="indices-and-tables">
+<h1>Indices and tables<a class="headerlink" href="#indices-and-tables" title="Permalink to this headline">¶</a></h1>
+<ul class="simple">
+<li><a class="reference external" href="genindex.html"><em>Index</em></a></li>
+<li><a class="reference external" href="modindex.html"><em>Module Index</em></a></li>
+<li><a class="reference external" href="search.html"><em>Search Page</em></a></li>
+</ul>
+</div>
+<div class="section" id="descriptions-of-modules-and-function-reference">
+<h1>Descriptions of modules and function reference<a class="headerlink" href="#descriptions-of-modules-and-function-reference" title="Permalink to this headline">¶</a></h1>
+<p>The core functions are in solar.py.</p>
+<div class="section" id="module-constants">
+<h2>constants.py<a class="headerlink" href="#module-constants" title="Permalink to this headline">¶</a></h2>
+<p>Constants as input for ephemeris calculations</p>
+</div>
+<div class="section" id="module-horizon">
+<h2>horizon.py<a class="headerlink" href="#module-horizon" title="Permalink to this headline">¶</a></h2>
+<p>Script for detecting angle to solar obstructions from spherically distorted images</p>
+</div>
+<div class="section" id="module-julian">
+<h2>julian.py<a class="headerlink" href="#module-julian" title="Permalink to this headline">¶</a></h2>
+<p>Julian calendar calculations for calculating the position of the sun relative to the earth</p>
+<dl class="function">
+<dt id="julian.GetJulianEphemerisDay">
+<tt class="descclassname">julian.</tt><tt class="descname">GetJulianEphemerisDay</tt><big>(</big><em>julian_day</em>, <em>delta_seconds=66.0</em><big>)</big><a class="headerlink" href="#julian.GetJulianEphemerisDay" title="Permalink to this definition">¶</a></dt>
+<dd>delta_seconds is value referred to by astronomers as Delta-T, defined as the difference between
+Dynamical Time (TD) and Universal Time (UT). In 2007, it’s around 65 seconds.
+A list of values for Delta-T can be found here: <a class="reference external" href="ftp://maia.usno.navy.mil/ser7/deltat.data">ftp://maia.usno.navy.mil/ser7/deltat.data</a></dd></dl>
- <h2>Authors</h2>
-<p>pingswept (brandon at pingswept.org)
<br/>
<br/> </p>
-<h2>Contact</h2>
-<p>Brandon Stafford (brandon at pingswept.org)
<br/> </p>
+</div>
+<div class="section" id="module-poly">
+<h2>poly.py<a class="headerlink" href="#module-poly" title="Permalink to this headline">¶</a></h2>
+<p>Additional support constants and their calculation for solar geometry</p>
+</div>
+<div class="section" id="module-query_usno">
+<h2>query_usno.py<a class="headerlink" href="#module-query_usno" title="Permalink to this headline">¶</a></h2>
+<p>Tool for requesting data from US Naval Observatory</p>
+<dl class="function">
+<dt id="query_usno.EncodeRequest">
+<tt class="descclassname">query_usno.</tt><tt class="descname">EncodeRequest</tt><big>(</big><em>latitude</em>, <em>longitude</em>, <em>timestamp</em>, <em>elevation</em><big>)</big><a class="headerlink" href="#query_usno.EncodeRequest" title="Permalink to this definition">¶</a></dt>
+<dd><p>Builds a string of arguments to be passed to the Perl script at the USNO</p>
+<p>Note that the degree arguments must be integers, or the USNO script chokes.</p>
+</dd></dl>
+</div>
+<div class="section" id="module-radiation">
+<h2>radiation.py<a class="headerlink" href="#module-radiation" title="Permalink to this headline">¶</a></h2>
+<p>Calculate different kinds of radiation components via default values</p>
+</div>
+<div class="section" id="module-shade">
+<h2>shade.py<a class="headerlink" href="#module-shade" title="Permalink to this headline">¶</a></h2>
+<p>Shade calculation functions</p>
+</div>
+<div class="section" id="module-shade_test">
+<h2>shade_test.py<a class="headerlink" href="#module-shade_test" title="Permalink to this headline">¶</a></h2>
+<p>A test module for shading calculations</p>
+</div>
+<div class="section" id="module-simulate">
+<h2>simulate.py<a class="headerlink" href="#module-simulate" title="Permalink to this headline">¶</a></h2>
+<p>Support functions for horizon calculation</p>
+<dl class="function">
+<dt id="simulate.BuildTimeList">
+<tt class="descclassname">simulate.</tt><tt class="descname">BuildTimeList</tt><big>(</big><em>start_utc_datetime</em>, <em>end_utc_datetime</em>, <em>step_minutes</em><big>)</big><a class="headerlink" href="#simulate.BuildTimeList" title="Permalink to this definition">¶</a></dt>
+<dd>Create a list of sample points evenly spaced apart by step_minutes.</dd></dl>
- <h2>Download</h2>
- <p>
- You can download this project in either
- <a href="http://github.com/pingswept/pysolar/zipball/master">zip</a> or
- <a href="http://github.com/pingswept/pysolar/tarball/master">tar</a> formats.
- </p>
- <p>You can also clone the project with <a href="http://git-scm.com">Git</a>
- by running:
- <pre>$ git clone git://github.com/pingswept/pysolar</pre>
- </p>
+<dl class="function">
+<dt id="simulate.SimulateSpan">
+<tt class="descclassname">simulate.</tt><tt class="descname">SimulateSpan</tt><big>(</big><em>latitude_deg</em>, <em>longitude_deg</em>, <em>horizon</em>, <em>start_utc_datetime</em>, <em>end_utc_datetime</em>, <em>step_minutes</em>, <em>elevation=0</em>, <em>temperature_celsius=25</em>, <em>pressure_millibars=1013.25</em><big>)</big><a class="headerlink" href="#simulate.SimulateSpan" title="Permalink to this definition">¶</a></dt>
+<dd><p>Simulate the motion of the sun over a time span and location of your choosing.</p>
+<p>The start and end points are set by datetime objects, which can be created with
+the standard Python datetime module like this:
+import datetime
+start = datetime.datetime(2008, 12, 23, 23, 14, 0)</p>
+</dd></dl>
- <div class="footer">
- get the source code on GitHub : <a href="http://github.com/pingswept/pysolar">pingswept/pysolar</a>
- </div>
+</div>
+<div class="section" id="module-solar">
+<h2>solar.py<a class="headerlink" href="#module-solar" title="Permalink to this headline">¶</a></h2>
+<p>Solar geometry functions</p>
+<p>This module contains the most important functions for calculation of the position of the sun.</p>
+<dl class="function">
+<dt id="solar.GetAltitude">
+<tt class="descclassname">solar.</tt><tt class="descname">GetAltitude</tt><big>(</big><em>latitude_deg</em>, <em>longitude_deg</em>, <em>utc_datetime</em>, <em>elevation=0</em>, <em>temperature_celsius=25</em>, <em>pressure_millibars=1013.25</em><big>)</big><a class="headerlink" href="#solar.GetAltitude" title="Permalink to this definition">¶</a></dt>
+<dd>See also the faster, but less accurate, GetAltitudeFast()</dd></dl>
+
+<dl class="function">
+<dt id="solar.GetDeclination">
+<tt class="descclassname">solar.</tt><tt class="descname">GetDeclination</tt><big>(</big><em>day</em><big>)</big><a class="headerlink" href="#solar.GetDeclination" title="Permalink to this definition">¶</a></dt>
+<dd>The declination of the sun is the angle between
+Earth’s equatorial plane and a line between the Earth and the sun.
+The declination of the sun varies between 23.45 degrees and -23.45 degrees,
+hitting zero on the equinoxes and peaking on the solstices.</dd></dl>
+
+<dl class="function">
+<dt id="solar.GetTopocentricAzimuthAngle">
+<tt class="descclassname">solar.</tt><tt class="descname">GetTopocentricAzimuthAngle</tt><big>(</big><em>topocentric_local_hour_angle</em>, <em>latitude</em>, <em>topocentric_sun_declination</em><big>)</big><a class="headerlink" href="#solar.GetTopocentricAzimuthAngle" title="Permalink to this definition">¶</a></dt>
+<dd>Measured eastward from north</dd></dl>
+
+</div>
+<div class="section" id="module-testsolar">
+<h2>testsolar.py<a class="headerlink" href="#module-testsolar" title="Permalink to this headline">¶</a></h2>
+</div>
+<div class="section" id="module-util">
+<h2>util.py<a class="headerlink" href="#module-util" title="Permalink to this headline">¶</a></h2>
+<p>Additional support functions for solar geometry, astronomy, radiation correlation</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name" colspan="2">Original author:</th></tr>
+<tr><td> </td><td class="field-body">Simeon Nwaogaidu</td>
+</tr>
+<tr class="field"><th class="field-name">Contact:</th><td class="field-body">SimeonObinna.Nwaogaidu AT lahmeyer DOT de</td>
+</tr>
+<tr class="field"><th class="field-name" colspan="2">Additional author:</th></tr>
+<tr><td> </td><td class="field-body">Holger Zebner</td>
+</tr>
+<tr class="field"><th class="field-name">Contact:</th><td class="field-body">holger.zebner AT lahmeyer DOT de</td>
+</tr>
+<tr class="field"><th class="field-name" colspan="2">Additional author:</th></tr>
+<tr><td> </td><td class="field-body">Brandon Stafford</td>
+</tr>
+</tbody>
+</table>
+<dl class="function">
+<dt id="util.GetSunriseSunset">
+<tt class="descclassname">util.</tt><tt class="descname">GetSunriseSunset</tt><big>(</big><em>latitude_deg</em>, <em>longitude_deg</em>, <em>utc_datetime</em>, <em>timezone</em><big>)</big><a class="headerlink" href="#util.GetSunriseSunset" title="Permalink to this definition">¶</a></dt>
+<dd><p>This function calculates the astronomical sunrise and sunset times in local time.</p>
+<p>WARNING: THIS FUNCTION IS BROKEN. It relies on an unknown library called conversions_time, and another library called decimaldegrees that does not appear to have an active maintainer. TODO: Fix this function so it works without creating unnecessary dependencies.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>latitude_deg</strong> : float</p>
+<blockquote>
+<p>latitude in decimal degree. A geographical term denoting
+the north/south angular location of a place on a sphere.</p>
+</blockquote>
+<p><strong>longitude_deg</strong> : float</p>
+<blockquote>
+<p>longitude in decimal degree. Longitude shows your location
+in an east-west direction,relative to the Greenwich meridian.</p>
+</blockquote>
+<p><strong>utc_datetime</strong> : date_object</p>
+<blockquote>
+<p>utc_datetime. UTC DateTime is for Universal Time ( i.e. like a GMT+0 )</p>
+</blockquote>
+<p><strong>timezone</strong> : float</p>
+<blockquote>
+<p>timezone as numerical value: GMT offset in hours. A time zone is a region of
+the earth that has uniform standard time, usually referred to as the local time.</p>
+</blockquote>
+</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body"><p class="first"><strong>sunrise_time_dt</strong> : datetime.datetime</p>
+<blockquote>
+<p>Sunrise time in local time as datetime_obj.</p>
+</blockquote>
+<p><strong>sunset_time_dt</strong> : datetime.datetime</p>
+<blockquote class="last">
+<p>Sunset time in local time as datetime_obj.</p>
+</blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p class="rubric">References</p>
+<table class="docutils citation" frame="void" id="r1" rules="none">
+<colgroup><col class="label" /><col /></colgroup>
+<tbody valign="top">
+<tr><td class="label"><a class="fn-backref" href="#id1">[R1]</a></td><td><a class="reference external" href="http://www.skypowerinternational.com/pdf/Radiation/7.1415.01.121_cm121_bed-anleitung_engl.pdf">http://www.skypowerinternational.com/pdf/Radiation/7.1415.01.121_cm121_bed-anleitung_engl.pdf</a></td></tr>
+</tbody>
+</table>
+<table class="docutils citation" frame="void" id="r2" rules="none">
+<colgroup><col class="label" /><col /></colgroup>
+<tbody valign="top">
+<tr><td class="label"><a class="fn-backref" href="#id2">[R2]</a></td><td><a class="reference external" href="http://pysolar.org/">http://pysolar.org/</a></td></tr>
+</tbody>
+</table>
+<p class="rubric">Examples</p>
+<div class="highlight-python"><div class="highlight"><pre><span class="gp">>>> </span><span class="n">gmt_offset</span> <span class="o">=</span> <span class="mf">1</span>
+<span class="gp">>>> </span><span class="n">lat</span> <span class="o">=</span> <span class="mf">50.111512</span>
+<span class="gp">>>> </span><span class="n">lon</span> <span class="o">=</span> <span class="mf">8.680506</span>
+<span class="gp">>>> </span><span class="n">timezone_local</span> <span class="o">=</span> <span class="s">'Europe/Berlin'</span>
+<span class="gp">>>> </span><span class="n">utct</span> <span class="o">=</span> <span class="n">dt</span><span class="o">.</span><span class="n">datetime</span><span class="o">.</span><span class="n">utcnow</span><span class="p">()</span>
+<span class="gp">>>> </span><span class="n">sr</span><span class="p">,</span> <span class="n">ss</span> <span class="o">=</span> <span class="n">sb</span><span class="o">.</span><span class="n">GetSunriseSunset</span><span class="p">(</span><span class="n">lat</span><span class="p">,</span> <span class="n">lon</span><span class="p">,</span> <span class="n">utct</span><span class="p">,</span> <span class="n">gmt_offset</span><span class="p">)</span>
+<span class="gp">>>> </span><span class="k">print</span> <span class="s">'sunrise: '</span><span class="p">,</span> <span class="n">sr</span>
+<span class="gp">>>> </span><span class="k">print</span> <span class="s">'sunset:'</span><span class="p">,</span> <span class="n">ss</span>
+</pre></div>
+</div>
+</dd></dl>
+
+<dl class="function">
+<dt id="util.GetSunriseTime">
+<tt class="descclassname">util.</tt><tt class="descname">GetSunriseTime</tt><big>(</big><em>latitude_deg</em>, <em>longitude_deg</em>, <em>utc_datetime</em>, <em>timezone</em><big>)</big><a class="headerlink" href="#util.GetSunriseTime" title="Permalink to this definition">¶</a></dt>
+<dd>Wrapper for GetSunriseSunset that returns just the sunrise time</dd></dl>
+
+<dl class="function">
+<dt id="util.GetSunsetTime">
+<tt class="descclassname">util.</tt><tt class="descname">GetSunsetTime</tt><big>(</big><em>latitude_deg</em>, <em>longitude_deg</em>, <em>utc_datetime</em>, <em>timezone</em><big>)</big><a class="headerlink" href="#util.GetSunsetTime" title="Permalink to this definition">¶</a></dt>
+<dd>Wrapper for GetSunriseSunset that returns just the sunset time</dd></dl>
+
+<dl class="function">
+<dt id="util.clear_index">
+<tt class="descclassname">util.</tt><tt class="descname">clear_index</tt><big>(</big><em>ghi_data</em>, <em>utc_datetime</em>, <em>latitude_deg</em>, <em>longitude_deg</em><big>)</big><a class="headerlink" href="#util.clear_index" title="Permalink to this definition">¶</a></dt>
+<dd><p>This calculates the clear index ratio.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>ghi_data</strong> : array_like</p>
+<blockquote>
+<p>global horizontal irradiation data array</p>
+</blockquote>
+<p><strong>utc_datetime</strong> : date_object</p>
+<blockquote>
+<p>utc_datetime. UTC DateTime is for Universal Time ( i.e. like a GMT+0 )</p>
+</blockquote>
+<p><strong>latitude_deg</strong> : float</p>
+<blockquote>
+<p>latitude in decimal degree. A geographical term denoting the north/south angular location of a place
+on a sphere.</p>
+</blockquote>
+<p><strong>longitude_deg</strong> : float</p>
+<blockquote>
+<p>longitude in decimal degree. Longitude shows your location in an east-west direction,relative to the
+Greenwich meridian.</p>
+</blockquote>
+</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body"><p class="first"><strong>KT</strong> : float</p>
+<blockquote class="last">
+<p>Clear index ratio</p>
+</blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p class="rubric">References</p>
+<table class="docutils citation" frame="void" id="r3" rules="none">
+<colgroup><col class="label" /><col /></colgroup>
+<tbody valign="top">
+<tr><td class="label"><a class="fn-backref" href="#id3">[R3]</a></td><td>S. Younes, R.Claywell and el al,”Quality control of solar radiation data: present status and proposed
+new approaches”, energy 30 (2005), pp 1533 - 1549.</td></tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="util.declination_degree">
+<tt class="descclassname">util.</tt><tt class="descname">declination_degree</tt><big>(</big><em>utc_datetime</em>, <em>TY=365</em><big>)</big><a class="headerlink" href="#util.declination_degree" title="Permalink to this definition">¶</a></dt>
+<dd><p>The declination of the sun is the angle between Earth’s equatorial plane and a line
+between the Earth and the sun. It varies between 23.45 degrees and -23.45 degrees,
+hitting zero on the equinoxes and peaking on the solstices.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>utc_datetime</strong> : date_object</p>
+<blockquote>
+<p>utc_datetime. UTC DateTime is for Universal Time ( i.e. like a GMT+0 )</p>
+</blockquote>
+<p><strong>TY</strong> : float</p>
+<blockquote>
+<p>Total number of days in a year. eg. 365 days per year,(no leap days)</p>
+</blockquote>
+</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body"><p class="first"><strong>DEC</strong> : float</p>
+<blockquote class="last">
+<p>The declination of the Sun</p>
+</blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p class="rubric">References</p>
+<table class="docutils citation" frame="void" id="r4" rules="none">
+<colgroup><col class="label" /><col /></colgroup>
+<tbody valign="top">
+<tr><td class="label"><a class="fn-backref" href="#id4">[R4]</a></td><td><a class="reference external" href="http://pysolar.org/">http://pysolar.org/</a></td></tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="util.diffuse_ratio">
+<tt class="descclassname">util.</tt><tt class="descname">diffuse_ratio</tt><big>(</big><em>DIFF_data</em>, <em>ghi_data</em><big>)</big><a class="headerlink" href="#util.diffuse_ratio" title="Permalink to this definition">¶</a></dt>
+<dd><p>Function calculates the Diffuse ratio.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>DIFF_data</strong> : array_like</p>
+<blockquote>
+<p>Diffuse horizontal irradiation data</p>
+</blockquote>
+<p><strong>ghi_data</strong> : array_like</p>
+<blockquote>
+<p>global horizontal irradiation data array</p>
+</blockquote>
+</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body"><p class="first"><strong>K</strong> : float</p>
+<blockquote class="last">
+<p>diffuse_ratio</p>
+</blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p class="rubric">References</p>
+<table class="docutils citation" frame="void" id="r5" rules="none">
+<colgroup><col class="label" /><col /></colgroup>
+<tbody valign="top">
+<tr><td class="label"><a class="fn-backref" href="#id5">[R5]</a></td><td>S. Younes, R.Claywell and el al,”Quality control of solar radiation data: present status and proposed
+new approaches”, energy 30 (2005), pp 1533 - 1549.</td></tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="util.diffuse_transmittance">
+<tt class="descclassname">util.</tt><tt class="descname">diffuse_transmittance</tt><big>(</big><em>TL=1.0</em><big>)</big><a class="headerlink" href="#util.diffuse_transmittance" title="Permalink to this definition">¶</a></dt>
+<dd><p>Equation calculates the Diffuse_transmittance and the is the Theoretical Diffuse Irradiance on a horizontal
+surface when the sun is at the zenith.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>TL</strong> : float</p>
+<blockquote>
+<p>Linke turbidity factor</p>
+</blockquote>
+</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body"><p class="first"><strong>DT</strong> : float</p>
+<blockquote class="last">
+<p>diffuse_transmittance</p>
+</blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p class="rubric">References</p>
+<table class="docutils citation" frame="void" id="r6" rules="none">
+<colgroup><col class="label" /><col /></colgroup>
+<tbody valign="top">
+<tr><td class="label"><a class="fn-backref" href="#id6">[R6]</a></td><td>S. Younes, R.Claywell and el al,”Quality control of solar radiation data: present status and proposed
+new approaches”, energy 30 (2005), pp 1533 - 1549.</td></tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="util.diffuse_underclear">
+<tt class="descclassname">util.</tt><tt class="descname">diffuse_underclear</tt><big>(</big><em>latitude_deg</em>, <em>longitude_deg</em>, <em>utc_datetime</em>, <em>elevation=0.0</em>, <em>temperature_celsius=25</em>, <em>pressure_millibars=1013.25</em>, <em>TL=1.0</em><big>)</big><a class="headerlink" href="#util.diffuse_underclear" title="Permalink to this definition">¶</a></dt>
+<dd><p>Equation calculates diffuse radiation under clear sky conditions.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>latitude_deg</strong> : float</p>
+<blockquote>
+<p>latitude in decimal degree. A geographical term denoting the north/south angular location of a place on
+a sphere.</p>
+</blockquote>
+<p><strong>longitude_deg</strong> : float</p>
+<blockquote>
+<p>longitude in decimal degree. Longitude shows your location in an east-west direction,relative to the
+Greenwich meridian.</p>
+</blockquote>
+<p><strong>utc_datetime</strong> : date_object</p>
+<blockquote>
+<p>utc_datetime. UTC DateTime is for Universal Time ( i.e. like a GMT+0 )</p>
+</blockquote>
+<p><strong>elevation</strong> : float</p>
+<blockquote>
+<p>The elevation of a geographic location is its height above a fixed reference point, often the mean sea level.</p>
+</blockquote>
+<p><strong>temperature_celsius</strong> : float</p>
+<blockquote>
+<p>Temperature is a physical property of a system that underlies the common notions of hot and cold.</p>
+</blockquote>
+<p><strong>pressure_millibars</strong> : float</p>
+<blockquote>
+<p>pressure_millibars</p>
+</blockquote>
+<p><strong>TL</strong> : float</p>
+<blockquote>
+<p>Linke turbidity factor</p>
+</blockquote>
+</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body"><p class="first"><strong>DIFFC</strong> : float</p>
+<blockquote class="last">
+<p>Diffuse Irradiation under clear sky</p>
+</blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p class="rubric">References</p>
+<table class="docutils citation" frame="void" id="r7" rules="none">
+<colgroup><col class="label" /><col /></colgroup>
+<tbody valign="top">
+<tr><td class="label"><a class="fn-backref" href="#id7">[R7]</a></td><td>S. Younes, R.Claywell and el al,”Quality control of solar radiation data: present status and proposed
+new approaches”, energy 30 (2005), pp 1533 - 1549.</td></tr>
+</tbody>
+</table>
+</dd></dl>
- </div>
+<dl class="function">
+<dt id="util.diffuse_underovercast">
+<tt class="descclassname">util.</tt><tt class="descname">diffuse_underovercast</tt><big>(</big><em>latitude_deg</em>, <em>longitude_deg</em>, <em>utc_datetime</em>, <em>elevation=0.0</em>, <em>temperature_celsius=25</em>, <em>pressure_millibars=1013.25</em>, <em>TL=1.0</em><big>)</big><a class="headerlink" href="#util.diffuse_underovercast" title="Permalink to this definition">¶</a></dt>
+<dd><p>Function calculates the diffuse radiation under overcast conditions.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>latitude_deg</strong> : float</p>
+<blockquote>
+<p>latitude in decimal degree. A geographical term denoting the north/south angular location of a place on a
+sphere.</p>
+</blockquote>
+<p><strong>longitude_deg</strong> : float</p>
+<blockquote>
+<p>longitude in decimal degree. Longitude shows your location in an east-west direction,relative to the
+Greenwich meridian.</p>
+</blockquote>
+<p><strong>utc_datetime</strong> : date_object</p>
+<blockquote>
+<p>utc_datetime. UTC DateTime is for Universal Time ( i.e. like a GMT+0 )</p>
+</blockquote>
+<p><strong>elevation</strong> : float</p>
+<blockquote>
+<p>The elevation of a geographic location is its height above a fixed reference point, often the mean sea level.</p>
+</blockquote>
+<p><strong>temperature_celsius</strong> : float</p>
+<blockquote>
+<p>Temperature is a physical property of a system that underlies the common notions of hot and cold.</p>
+</blockquote>
+<p><strong>pressure_millibars</strong> : float</p>
+<blockquote>
+<p>pressure_millibars</p>
+</blockquote>
+<p><strong>TL</strong> : float</p>
+<blockquote>
+<p>Linke turbidity factor</p>
+</blockquote>
+</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body"><p class="first"><strong>DIFOC</strong> : float</p>
+<blockquote class="last">
+<p>Diffuse Irradiation under overcast</p>
+</blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p class="rubric">References</p>
+<table class="docutils citation" frame="void" id="r8" rules="none">
+<colgroup><col class="label" /><col /></colgroup>
+<tbody valign="top">
+<tr><td class="label"><a class="fn-backref" href="#id8">[R8]</a></td><td>S. Younes, R.Claywell and el al,”Quality control of solar radiation data: present status and proposed
+new approaches”, energy 30 (2005), pp 1533 - 1549.</td></tr>
+</tbody>
+</table>
+</dd></dl>
-
-</body>
-</html>
+<dl class="function">
+<dt id="util.direct_underclear">
+<tt class="descclassname">util.</tt><tt class="descname">direct_underclear</tt><big>(</big><em>latitude_deg</em>, <em>longitude_deg</em>, <em>utc_datetime</em>, <em>temperature_celsius=25</em>, <em>pressure_millibars=1013.25</em>, <em>TY=365</em>, <em>AM=2.0</em>, <em>TL=1.0</em>, <em>elevation=0.0</em><big>)</big><a class="headerlink" href="#util.direct_underclear" title="Permalink to this definition">¶</a></dt>
+<dd><p>Equation calculates direct radiation under clear sky conditions.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>latitude_deg</strong> : float</p>
+<blockquote>
+<p>latitude in decimal degree. A geographical term denoting the north/south angular location of a
+place on a sphere.</p>
+</blockquote>
+<p><strong>longitude_deg</strong> : float</p>
+<blockquote>
+<p>longitude in decimal degree. Longitude shows your location in an east-west direction,relative to the
+Greenwich meridian.</p>
+</blockquote>
+<p><strong>utc_datetime</strong> : date_object</p>
+<blockquote>
+<p>utc_datetime. UTC DateTime is for Universal Time ( i.e. like a GMT+0 )</p>
+</blockquote>
+<p><strong>temperature_celsius</strong> : float</p>
+<blockquote>
+<p>Temperature is a physical property of a system that underlies the common notions of hot and cold.</p>
+</blockquote>
+<p><strong>pressure_millibars</strong> : float</p>
+<blockquote>
+<p>pressure_millibars</p>
+</blockquote>
+<p><strong>TY</strong> : float</p>
+<blockquote>
+<p>Total number of days in a year. eg. 365 days per year,(no leap days)</p>
+</blockquote>
+<p><strong>AM</strong> : float</p>
+<blockquote>
+<p>Air mass. An Air Mass is a measure of how far light travels through the Earth’s atmosphere. One air mass,
+or AM1, is the thickness of the Earth’s atmosphere. Air mass zero (AM0) describes solar irradiance in space,
+where it is unaffected by the atmosphere. The power density of AM1 light is about 1,000 W/m^2</p>
+</blockquote>
+<p><strong>TL</strong> : float</p>
+<blockquote>
+<p>Linke turbidity factor</p>
+</blockquote>
+<p><strong>elevation</strong> : float</p>
+<blockquote>
+<p>The elevation of a geographic location is its height above a fixed reference point, often the mean
+sea level.</p>
+</blockquote>
+</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body"><p class="first"><strong>DIRC</strong> : float</p>
+<blockquote class="last">
+<p>Direct Irradiation under clear</p>
+</blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p class="rubric">References</p>
+<table class="docutils citation" frame="void" id="r9" rules="none">
+<colgroup><col class="label" /><col /></colgroup>
+<tbody valign="top">
+<tr><td class="label"><a class="fn-backref" href="#id9">[R9]</a></td><td>S. Younes, R.Claywell and el al,”Quality control of solar radiation data: present status and proposed
+new approaches”, energy 30 (2005), pp 1533 - 1549.</td></tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="util.extraterrestrial_irrad">
+<tt class="descclassname">util.</tt><tt class="descname">extraterrestrial_irrad</tt><big>(</big><em>utc_datetime</em>, <em>latitude_deg</em>, <em>longitude_deg</em>, <em>SC=1367.0</em><big>)</big><a class="headerlink" href="#util.extraterrestrial_irrad" title="Permalink to this definition">¶</a></dt>
+<dd><p>Equation calculates Extratrestrial radiation. Solar radiation incident outside the earth’s
+atmosphere is called extraterrestrial radiation. On average the extraterrestrial irradiance
+is 1367 Watts/meter2 (W/m2). This value varies by + or - 3 percent as the earth orbits the sun.
+The earth’s closest approach to the sun occurs around January 4th and it is furthest
+from the sun around July 5th.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>utc_datetime</strong> : date_object</p>
+<blockquote>
+<p>utc_datetime. UTC DateTime is for Universal Time ( i.e. like a GMT+0 )</p>
+</blockquote>
+<p><strong>latitude_deg</strong> : float</p>
+<blockquote>
+<p>latitude in decimal degree. A geographical term denoting the north/south angular location
+of a place on a sphere.</p>
+</blockquote>
+<p><strong>longitude_deg</strong> : float</p>
+<blockquote>
+<p>longitude in decimal degree. Longitude shows your location in an east-west direction,relative
+to the Greenwich meridian.</p>
+</blockquote>
+<p><strong>SC</strong> : float</p>
+<blockquote>
+<p>The solar constant is the amount of incoming solar electromagnetic radiation per unit area, measured
+on the outer surface of Earth’s atmosphere in a plane perpendicular to the rays.It is measured by
+satellite to be roughly 1366 watts per square meter (W/m^2)</p>
+</blockquote>
+</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body"><p class="first"><strong>EXTR1</strong> : float</p>
+<blockquote class="last">
+<p>Extraterrestrial irradiation</p>
+</blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p class="rubric">References</p>
+<table class="docutils citation" frame="void" id="r10" rules="none">
+<colgroup><col class="label" /><col /></colgroup>
+<tbody valign="top">
+<tr><td class="label"><a class="fn-backref" href="#id10">[R10]</a></td><td><a class="reference external" href="http://solardat.uoregon.edu/SolarRadiationBasics.html">http://solardat.uoregon.edu/SolarRadiationBasics.html</a></td></tr>
+</tbody>
+</table>
+<table class="docutils citation" frame="void" id="r11" rules="none">
+<colgroup><col class="label" /><col /></colgroup>
+<tbody valign="top">
+<tr><td class="label"><a class="fn-backref" href="#id11">[R11]</a></td><td>Dr. J. Schumacher and et al,”INSEL LE(Integrated Simulation Environment Language)Block reference”,p.68</td></tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="util.global_irradiance_clear">
+<tt class="descclassname">util.</tt><tt class="descname">global_irradiance_clear</tt><big>(</big><em>DIRC</em>, <em>DIFFC</em>, <em>latitude_deg</em>, <em>longitude_deg</em>, <em>utc_datetime</em>, <em>temperature_celsius=25</em>, <em>pressure_millibars=1013.25</em>, <em>TY=365</em>, <em>AM=2.0</em>, <em>TL=1.0</em>, <em>elevation=0.0</em><big>)</big><a class="headerlink" href="#util.global_irradiance_clear" title="Permalink to this definition">¶</a></dt>
+<dd><p>Equation calculates global irradiance under clear sky conditions.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>DIRC</strong> : float</p>
+<blockquote>
+<p>Direct Irradiation under clear</p>
+</blockquote>
+<p><strong>DIFFC</strong> : float</p>
+<blockquote>
+<p>Diffuse Irradiation under clear sky</p>
+</blockquote>
+<p><strong>latitude_deg</strong> : float</p>
+<blockquote>
+<p>latitude in decimal degree. A geographical term denoting the north/south angular location of a place
+on a sphere.</p>
+</blockquote>
+<p><strong>longitude_deg</strong> : float</p>
+<blockquote>
+<p>longitude in decimal degree. Longitude shows your location in an east-west direction,relative to
+the Greenwich meridian.</p>
+</blockquote>
+<p><strong>utc_datetime</strong> : date_object</p>
+<blockquote>
+<p>utc_datetime. UTC DateTime is for Universal Time ( i.e. like a GMT+0 )</p>
+</blockquote>
+<p><strong>temperature_celsius</strong> : float</p>
+<blockquote>
+<p>Temperature is a physical property of a system that underlies the common notions of hot and cold.</p>
+</blockquote>
+<p><strong>pressure_millibars</strong> : float</p>
+<blockquote>
+<p>pressure_millibars</p>
+</blockquote>
+<p><strong>elevation</strong> : float</p>
+<blockquote>
+<p>The elevation of a geographic location is its height above a fixed reference point, often the
+mean sea level.</p>
+</blockquote>
+<p><strong>TY</strong> : float</p>
+<blockquote>
+<p>Total number of days in a year. eg. 365 days per year,(no leap days)</p>
+</blockquote>
+<p><strong>AM</strong> : float</p>
+<blockquote>
+<p>Air mass. An Air Mass is a measure of how far light travels through the Earth’s atmosphere. One air mass,
+or AM1, is the thickness of the Earth’s atmosphere. Air mass zero (AM0) describes solar irradiance in
+space, where it is unaffected by the atmosphere. The power density of AM1 light is about 1,000 W/m.</p>
+</blockquote>
+<p><strong>TL</strong> : float</p>
+<blockquote>
+<p>Linke turbidity factor</p>
+</blockquote>
+<p><strong>elevation</strong> : float</p>
+<blockquote>
+<p>The elevation of a geographic location is its height above a fixed reference point, often the mean sea
+level.</p>
+</blockquote>
+</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body"><p class="first"><strong>ghic</strong> : float</p>
+<blockquote class="last">
+<p>Global Irradiation under clear sky</p>
+</blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p class="rubric">References</p>
+<table class="docutils citation" frame="void" id="r12" rules="none">
+<colgroup><col class="label" /><col /></colgroup>
+<tbody valign="top">
+<tr><td class="label"><a class="fn-backref" href="#id12">[R12]</a></td><td>S. Younes, R.Claywell and el al,”Quality control of solar radiation data: present status and proposed
+new approaches”, energy 30 (2005), pp 1533 - 1549.</td></tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="util.global_irradiance_overcast">
+<tt class="descclassname">util.</tt><tt class="descname">global_irradiance_overcast</tt><big>(</big><em>latitude_deg</em>, <em>longitude_deg</em>, <em>utc_datetime</em>, <em>elevation=0.0</em>, <em>temperature_celsius=25</em>, <em>pressure_millibars=1013.25</em><big>)</big><a class="headerlink" href="#util.global_irradiance_overcast" title="Permalink to this definition">¶</a></dt>
+<dd><p>Calculated Global is used to compare to the Diffuse under overcast conditions.
+Under overcast skies, global and diffuse are expected to be equal due to the absence of the beam
+component.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>latitude_deg</strong> : float</p>
+<blockquote>
+<p>latitude in decimal degree. A geographical term denoting the north/south angular location of a
+place on a sphere.</p>
+</blockquote>
+<p><strong>longitude_deg</strong> : float</p>
+<blockquote>
+<p>longitude in decimal degree. Longitude shows your location in an east-west direction,relative
+to the Greenwich meridian.</p>
+</blockquote>
+<p><strong>utc_datetime</strong> : date_object</p>
+<blockquote>
+<p>utc_datetime. UTC DateTime is for Universal Time ( i.e. like a GMT+0 )</p>
+</blockquote>
+<p><strong>elevation</strong> : float</p>
+<blockquote>
+<p>The elevation of a geographic location is its height above a fixed reference point, often the
+mean sea level.</p>
+</blockquote>
+<p><strong>temperature_celsius</strong> : float</p>
+<blockquote>
+<p>Temperature is a physical property of a system that underlies the common notions of hot and
+cold.</p>
+</blockquote>
+<p><strong>pressure_millibars</strong> : float</p>
+<blockquote>
+<p>pressure_millibars</p>
+</blockquote>
+</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body"><p class="first"><strong>ghioc</strong> : float</p>
+<blockquote class="last">
+<p>Global Irradiation under overcast sky</p>
+</blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p class="rubric">References</p>
+<table class="docutils citation" frame="void" id="r13" rules="none">
+<colgroup><col class="label" /><col /></colgroup>
+<tbody valign="top">
+<tr><td class="label"><a class="fn-backref" href="#id13">[R13]</a></td><td>S. Younes, R.Claywell and el al, “Quality
+control of solar radiation data: present status
+and proposed new approaches”, energy 30
+(2005), pp 1533 - 1549.</td></tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="util.mean_earth_sun_distance">
+<tt class="descclassname">util.</tt><tt class="descname">mean_earth_sun_distance</tt><big>(</big><em>utc_datetime</em><big>)</big><a class="headerlink" href="#util.mean_earth_sun_distance" title="Permalink to this definition">¶</a></dt>
+<dd><p>Mean Earth-Sun distance is the arithmetical mean of the maximum and minimum distances
+between a planet (Earth) and the object about which it revolves (Sun). However,
+the function is used to calculate the Mean earth sun distance.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>utc_datetime</strong> : date_object</p>
+<blockquote>
+<p>utc_datetime. UTC DateTime is for Universal Time ( i.e. like a GMT+0 )</p>
+</blockquote>
+</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body"><p class="first"><strong>KD</strong> : float</p>
+<blockquote class="last">
+<p>Mean earth sun distance</p>
+</blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p class="rubric">References</p>
+<table class="docutils citation" frame="void" id="r14" rules="none">
+<colgroup><col class="label" /><col /></colgroup>
+<tbody valign="top">
+<tr><td class="label"><a class="fn-backref" href="#id14">[R14]</a></td><td><a class="reference external" href="http://sunbird.jrc.it/pvgis/solres/solmod3.htm#clear-sky%20radiation">http://sunbird.jrc.it/pvgis/solres/solmod3.htm#clear-sky%20radiation</a></td></tr>
+</tbody>
+</table>
+<table class="docutils citation" frame="void" id="r15" rules="none">
+<colgroup><col class="label" /><col /></colgroup>
+<tbody valign="top">
+<tr><td class="label"><a class="fn-backref" href="#id15">[R15]</a></td><td>R. aguiar and et al, “The ESRA user guidebook, vol. 2. database”, models and exploitation software-Solar
+radiation models, p.113</td></tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="util.solarelevation_function_clear">
+<tt class="descclassname">util.</tt><tt class="descname">solarelevation_function_clear</tt><big>(</big><em>latitude_deg</em>, <em>longitude_deg</em>, <em>utc_datetime</em>, <em>temperature_celsius=25</em>, <em>pressure_millibars=1013.25</em>, <em>elevation=0.0</em><big>)</big><a class="headerlink" href="#util.solarelevation_function_clear" title="Permalink to this definition">¶</a></dt>
+<dd><p>Equation calculates Solar elevation function for clear sky type.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>latitude_deg</strong> : float</p>
+<blockquote>
+<p>latitude in decimal degree. A geographical term denoting
+the north/south angular location of a place on a sphere.</p>
+</blockquote>
+<p><strong>longitude_deg</strong> : float</p>
+<blockquote>
+<p>longitude in decimal degree. Longitude shows your location
+in an east-west direction,relative to the Greenwich meridian.</p>
+</blockquote>
+<p><strong>utc_datetime</strong> : date_object</p>
+<blockquote>
+<p>utc_datetime. UTC DateTime is for Universal Time ( i.e. like a GMT+0 )</p>
+</blockquote>
+<p><strong>temperature_celsius</strong> : float</p>
+<blockquote>
+<p>Temperature is a physical property of a system that underlies the common notions of hot and cold.</p>
+</blockquote>
+<p><strong>pressure_millibars</strong> : float</p>
+<blockquote>
+<p>pressure_millibars</p>
+</blockquote>
+<p><strong>elevation</strong> : float</p>
+<blockquote>
+<p>The elevation of a geographic location is its height above a fixed reference point, often the mean
+sea level.</p>
+</blockquote>
+</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body"><p class="first"><strong>SOLALTC</strong> : float</p>
+<blockquote class="last">
+<p>Solar elevation function clear sky</p>
+</blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p class="rubric">References</p>
+<table class="docutils citation" frame="void" id="r16" rules="none">
+<colgroup><col class="label" /><col /></colgroup>
+<tbody valign="top">
+<tr><td class="label"><a class="fn-backref" href="#id16">[R16]</a></td><td>S. Younes, R.Claywell and el al,”Quality control of solar radiation data: present status
+and proposed new approaches”, energy 30 (2005), pp 1533 - 1549.</td></tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="util.solarelevation_function_overcast">
+<tt class="descclassname">util.</tt><tt class="descname">solarelevation_function_overcast</tt><big>(</big><em>latitude_deg</em>, <em>longitude_deg</em>, <em>utc_datetime</em>, <em>elevation=0.0</em>, <em>temperature_celsius=25</em>, <em>pressure_millibars=1013.25</em><big>)</big><a class="headerlink" href="#util.solarelevation_function_overcast" title="Permalink to this definition">¶</a></dt>
+<dd><p>The function calculates solar elevation function for overcast sky type.
+This associated hourly overcast radiation model is based on the estimation of the
+overcast sky transmittance with the sun directly overhead combined with the application
+of an over sky elavation function to estimate the overcast day global irradiation
+value at any solar elevation.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>latitude_deg</strong> : float</p>
+<blockquote>
+<p>latitude in decimal degree. A geographical term denoting the north/south angular location of a place on a
+sphere.</p>
+</blockquote>
+<p><strong>longitude_deg</strong> : float</p>
+<blockquote>
+<p>longitude in decimal degree. Longitude shows your location in an east-west direction,relative to the
+Greenwich meridian.</p>
+</blockquote>
+<p><strong>utc_datetime</strong> : date_object</p>
+<blockquote>
+<p>utc_datetime. UTC DateTime is for Universal Time ( i.e. like a GMT+0 )</p>
+</blockquote>
+<p><strong>elevation</strong> : float</p>
+<blockquote>
+<p>The elevation of a geographic location is its height above a fixed reference point, often the mean sea level.</p>
+</blockquote>
+<p><strong>temperature_celsius</strong> : float</p>
+<blockquote>
+<p>Temperature is a physical property of a system that underlies the common notions of hot and cold.</p>
+</blockquote>
+<p><strong>pressure_millibars</strong> : float</p>
+<blockquote>
+<p>pressure_millibars</p>
+</blockquote>
+</td>
+</tr>
+<tr class="field"><th class="field-name">Returns:</th><td class="field-body"><p class="first"><strong>SOLALTO</strong> : float</p>
+<blockquote class="last">
+<p>Solar elevation function overcast</p>
+</blockquote>
+</td>
+</tr>
+</tbody>
+</table>
+<p class="rubric">References</p>
+<table class="docutils citation" frame="void" id="r17" rules="none">
+<colgroup><col class="label" /><col /></colgroup>
+<tbody valign="top">
+<tr><td class="label"><a class="fn-backref" href="#id17">[R17]</a></td><td>Prof. Peter Tregenza,”Solar radiation and daylight models”, p.89.</td></tr>
+</tbody>
+</table>
+<table class="docutils citation" frame="void" id="r18" rules="none">
+<colgroup><col class="label" /><col /></colgroup>
+<tbody valign="top">
+<tr><td class="label"><a class="fn-backref" href="#id18">[R18]</a></td><td>Also accessible through Google Books: <a class="reference external" href="http://tinyurl.com/5kdbwu">http://tinyurl.com/5kdbwu</a>
+Tariq Muneer, “Solar Radiation and Daylight Models, Second Edition: For the Energy Efficient
+Design of Buildings”</td></tr>
+</tbody>
+</table>
+</dd></dl>
+
+</div>
+</div>
+
+
+ </div>
+ </div>
+ </div>
+ <div class="sphinxsidebar">
+ <div class="sphinxsidebarwrapper">
+ <h3><a href="#">Table Of Contents</a></h3>
+ <ul>
+<li><a class="reference external" href="#">Indices and tables</a></li>
+<li><a class="reference external" href="#descriptions-of-modules-and-function-reference">Descriptions of modules and function reference</a><ul>
+<li><a class="reference external" href="#module-constants">constants.py</a></li>
+<li><a class="reference external" href="#module-horizon">horizon.py</a></li>
+<li><a class="reference external" href="#module-julian">julian.py</a></li>
+<li><a class="reference external" href="#module-poly">poly.py</a></li>
+<li><a class="reference external" href="#module-query_usno">query_usno.py</a></li>
+<li><a class="reference external" href="#module-radiation">radiation.py</a></li>
+<li><a class="reference external" href="#module-shade">shade.py</a></li>
+<li><a class="reference external" href="#module-shade_test">shade_test.py</a></li>
+<li><a class="reference external" href="#module-simulate">simulate.py</a></li>
+<li><a class="reference external" href="#module-solar">solar.py</a></li>
+<li><a class="reference external" href="#module-testsolar">testsolar.py</a></li>
+<li><a class="reference external" href="#module-util">util.py</a></li>
+</ul>
+</li>
+</ul>
+
+ <h3>This Page</h3>
+ <ul class="this-page-menu">
+ <li><a href="_sources/index.txt"
+ rel="nofollow">Show Source</a></li>
+ </ul>
+ <div id="searchbox" style="display: none">
+ <h3>Quick search</h3>
+ <form class="search" action="search.html" method="get">
+ <input type="text" name="q" size="18" />
+ <input type="submit" value="Go" />
+ <input type="hidden" name="check_keywords" value="yes" />
+ <input type="hidden" name="area" value="default" />
+ </form>
+ <p class="searchtip" style="font-size: 90%">
+ Enter search terms or a module, class or function name.
+ </p>
+ </div>
+ <script type="text/javascript">$('#searchbox').show(0);</script>
+ </div>
+ </div>
+ <div class="clearer"></div>
+ </div>
+ <div class="related">
+ <h3>Navigation</h3>
+ <ul>
+ <li class="right" style="margin-right: 10px">
+ <a href="genindex.html" title="General Index"
+ >index</a></li>
+ <li class="right" >
+ <a href="modindex.html" title="Global Module Index"
+ >modules</a> |</li>
+ <li><a href="#">Pysolar v0.4.1 documentation</a> »</li>
+ </ul>
+ </div>
+ <div class="footer">
+ © Copyright 2008-2010, Brandon Stafford.
+ Last updated on Mar 03, 2010.
+ Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.5.
+ </div>
+ </body>
+</html>
\ No newline at end of file
diff --git a/modindex.html b/modindex.html
new file mode 100644
index 0000000..d0801fe
--- /dev/null
+++ b/modindex.html
@@ -0,0 +1,164 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+
+ <title>Global Module Index — Pysolar v0.4.1 documentation</title>
+ <link rel="stylesheet" href="_static/default.css" type="text/css" />
+ <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
+ <script type="text/javascript">
+ var DOCUMENTATION_OPTIONS = {
+ URL_ROOT: '#',
+ VERSION: '0.4.1',
+ COLLAPSE_MODINDEX: false,
+ FILE_SUFFIX: '.html',
+ HAS_SOURCE: true
+ };
+ </script>
+ <script type="text/javascript" src="_static/jquery.js"></script>
+ <script type="text/javascript" src="_static/doctools.js"></script>
+ <link rel="top" title="Pysolar v0.4.1 documentation" href="index.html" />
+
+
+ <script type="text/javascript">
+ DOCUMENTATION_OPTIONS.COLLAPSE_MODINDEX = true;
+ </script>
+
+
+ </head>
+ <body>
+ <div class="related">
+ <h3>Navigation</h3>
+ <ul>
+ <li class="right" style="margin-right: 10px">
+ <a href="genindex.html" title="General Index"
+ accesskey="I">index</a></li>
+ <li class="right" >
+ <a href="#" title="Global Module Index"
+ accesskey="M">modules</a> |</li>
+ <li><a href="index.html">Pysolar v0.4.1 documentation</a> »</li>
+ </ul>
+ </div>
+
+ <div class="document">
+ <div class="documentwrapper">
+ <div class="bodywrapper">
+ <div class="body">
+
+
+ <h1 id="global-module-index">Global Module Index</h1>
+ <a href="#cap-C"><strong>C</strong></a> |
+ <a href="#cap-H"><strong>H</strong></a> |
+ <a href="#cap-J"><strong>J</strong></a> |
+ <a href="#cap-P"><strong>P</strong></a> |
+ <a href="#cap-Q"><strong>Q</strong></a> |
+ <a href="#cap-R"><strong>R</strong></a> |
+ <a href="#cap-S"><strong>S</strong></a> |
+ <a href="#cap-T"><strong>T</strong></a> |
+ <a href="#cap-U"><strong>U</strong></a>
+ <hr/>
+
+ <table width="100%" class="indextable" cellspacing="0" cellpadding="2"><tr class="pcap"><td></td><td> </td><td></td></tr>
+ <tr class="cap"><td></td><td><a name="cap-C"><strong>C</strong></a></td><td></td></tr><tr>
+ <td></td>
+ <td>
+ <a href="index.html#module-constants"><tt class="xref">constants</tt></a></td><td>
+ <em></em></td></tr><tr class="pcap"><td></td><td> </td><td></td></tr>
+ <tr class="cap"><td></td><td><a name="cap-H"><strong>H</strong></a></td><td></td></tr><tr>
+ <td></td>
+ <td>
+ <a href="index.html#module-horizon"><tt class="xref">horizon</tt></a></td><td>
+ <em></em></td></tr><tr class="pcap"><td></td><td> </td><td></td></tr>
+ <tr class="cap"><td></td><td><a name="cap-J"><strong>J</strong></a></td><td></td></tr><tr>
+ <td></td>
+ <td>
+ <a href="index.html#module-julian"><tt class="xref">julian</tt></a></td><td>
+ <em></em></td></tr><tr class="pcap"><td></td><td> </td><td></td></tr>
+ <tr class="cap"><td></td><td><a name="cap-P"><strong>P</strong></a></td><td></td></tr><tr>
+ <td></td>
+ <td>
+ <a href="index.html#module-poly"><tt class="xref">poly</tt></a></td><td>
+ <em></em></td></tr><tr class="pcap"><td></td><td> </td><td></td></tr>
+ <tr class="cap"><td></td><td><a name="cap-Q"><strong>Q</strong></a></td><td></td></tr><tr>
+ <td></td>
+ <td>
+ <a href="index.html#module-query_usno"><tt class="xref">query_usno</tt></a></td><td>
+ <em></em></td></tr><tr class="pcap"><td></td><td> </td><td></td></tr>
+ <tr class="cap"><td></td><td><a name="cap-R"><strong>R</strong></a></td><td></td></tr><tr>
+ <td></td>
+ <td>
+ <a href="index.html#module-radiation"><tt class="xref">radiation</tt></a></td><td>
+ <em></em></td></tr><tr class="pcap"><td></td><td> </td><td></td></tr>
+ <tr class="cap"><td></td><td><a name="cap-S"><strong>S</strong></a></td><td></td></tr><tr>
+ <td></td>
+ <td>
+ <a href="index.html#module-shade"><tt class="xref">shade</tt></a></td><td>
+ <em></em></td></tr><tr>
+ <td></td>
+ <td>
+ <a href="index.html#module-shade_test"><tt class="xref">shade_test</tt></a></td><td>
+ <em></em></td></tr><tr>
+ <td></td>
+ <td>
+ <a href="index.html#module-simulate"><tt class="xref">simulate</tt></a></td><td>
+ <em></em></td></tr><tr>
+ <td></td>
+ <td>
+ <a href="index.html#module-solar"><tt class="xref">solar</tt></a></td><td>
+ <em></em></td></tr><tr class="pcap"><td></td><td> </td><td></td></tr>
+ <tr class="cap"><td></td><td><a name="cap-T"><strong>T</strong></a></td><td></td></tr><tr>
+ <td></td>
+ <td>
+ <a href="index.html#module-testsolar"><tt class="xref">testsolar</tt></a></td><td>
+ <em></em></td></tr><tr class="pcap"><td></td><td> </td><td></td></tr>
+ <tr class="cap"><td></td><td><a name="cap-U"><strong>U</strong></a></td><td></td></tr><tr>
+ <td></td>
+ <td>
+ <a href="index.html#module-util"><tt class="xref">util</tt></a></td><td>
+ <em></em></td></tr>
+ </table>
+
+
+ </div>
+ </div>
+ </div>
+ <div class="sphinxsidebar">
+ <div class="sphinxsidebarwrapper">
+ <div id="searchbox" style="display: none">
+ <h3>Quick search</h3>
+ <form class="search" action="search.html" method="get">
+ <input type="text" name="q" size="18" />
+ <input type="submit" value="Go" />
+ <input type="hidden" name="check_keywords" value="yes" />
+ <input type="hidden" name="area" value="default" />
+ </form>
+ <p class="searchtip" style="font-size: 90%">
+ Enter search terms or a module, class or function name.
+ </p>
+ </div>
+ <script type="text/javascript">$('#searchbox').show(0);</script>
+ </div>
+ </div>
+ <div class="clearer"></div>
+ </div>
+ <div class="related">
+ <h3>Navigation</h3>
+ <ul>
+ <li class="right" style="margin-right: 10px">
+ <a href="genindex.html" title="General Index"
+ >index</a></li>
+ <li class="right" >
+ <a href="#" title="Global Module Index"
+ >modules</a> |</li>
+ <li><a href="index.html">Pysolar v0.4.1 documentation</a> »</li>
+ </ul>
+ </div>
+ <div class="footer">
+ © Copyright 2008-2010, Brandon Stafford.
+ Last updated on Mar 03, 2010.
+ Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.5.
+ </div>
+ </body>
+</html>
\ No newline at end of file
diff --git a/objects.inv b/objects.inv
new file mode 100644
index 0000000..9e3c905
--- /dev/null
+++ b/objects.inv
@@ -0,0 +1,38 @@
+# Sphinx inventory version 1
+# Project: Pysolar
+# Version: 0.4.1
+shade mod index.html
+julian mod index.html
+radiation mod index.html
+poly mod index.html
+util mod index.html
+testsolar mod index.html
+simulate mod index.html
+query_usno mod index.html
+horizon mod index.html
+shade_test mod index.html
+solar mod index.html
+constants mod index.html
+solar.GetAltitude function index.html
+simulate.BuildTimeList function index.html
+util.direct_underclear function index.html
+util.global_irradiance_clear function index.html
+util.diffuse_transmittance function index.html
+query_usno.EncodeRequest function index.html
+util.GetSunriseTime function index.html
+util.mean_earth_sun_distance function index.html
+util.declination_degree function index.html
+simulate.SimulateSpan function index.html
+util.clear_index function index.html
+solar.GetDeclination function index.html
+util.GetSunsetTime function index.html
+util.solarelevation_function_overcast function index.html
+util.GetSunriseSunset function index.html
+util.diffuse_underovercast function index.html
+util.solarelevation_function_clear function index.html
+julian.GetJulianEphemerisDay function index.html
+util.diffuse_ratio function index.html
+util.extraterrestrial_irrad function index.html
+util.diffuse_underclear function index.html
+solar.GetTopocentricAzimuthAngle function index.html
+util.global_irradiance_overcast function index.html
diff --git a/search.html b/search.html
new file mode 100644
index 0000000..86284e9
--- /dev/null
+++ b/search.html
@@ -0,0 +1,98 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+
+ <title>Search — Pysolar v0.4.1 documentation</title>
+ <link rel="stylesheet" href="_static/default.css" type="text/css" />
+ <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
+ <script type="text/javascript">
+ var DOCUMENTATION_OPTIONS = {
+ URL_ROOT: '#',
+ VERSION: '0.4.1',
+ COLLAPSE_MODINDEX: false,
+ FILE_SUFFIX: '.html',
+ HAS_SOURCE: true
+ };
+ </script>
+ <script type="text/javascript" src="_static/jquery.js"></script>
+ <script type="text/javascript" src="_static/doctools.js"></script>
+ <script type="text/javascript" src="_static/searchtools.js"></script>
+ <link rel="top" title="Pysolar v0.4.1 documentation" href="index.html" />
+ </head>
+ <body>
+ <div class="related">
+ <h3>Navigation</h3>
+ <ul>
+ <li class="right" style="margin-right: 10px">
+ <a href="genindex.html" title="General Index"
+ accesskey="I">index</a></li>
+ <li class="right" >
+ <a href="modindex.html" title="Global Module Index"
+ accesskey="M">modules</a> |</li>
+ <li><a href="index.html">Pysolar v0.4.1 documentation</a> »</li>
+ </ul>
+ </div>
+
+ <div class="document">
+ <div class="documentwrapper">
+ <div class="bodywrapper">
+ <div class="body">
+
+ <h1 id="search-documentation">Search</h1>
+ <div id="fallback" class="admonition warning">
+ <script type="text/javascript">$('#fallback').hide();</script>
+ <p>
+ Please activate JavaScript to enable the search
+ functionality.
+ </p>
+ </div>
+ <p>
+ From here you can search these documents. Enter your search
+ words into the box below and click "search". Note that the search
+ function will automatically search for all of the words. Pages
+ containing fewer words won't appear in the result list.
+ </p>
+ <form action="" method="get">
+ <input type="text" name="q" value="" />
+ <input type="submit" value="search" />
+ <span id="search-progress" style="padding-left: 10px"></span>
+ </form>
+
+ <div id="search-results">
+
+ </div>
+
+ </div>
+ </div>
+ </div>
+ <div class="sphinxsidebar">
+ <div class="sphinxsidebarwrapper">
+ </div>
+ </div>
+ <div class="clearer"></div>
+ </div>
+ <div class="related">
+ <h3>Navigation</h3>
+ <ul>
+ <li class="right" style="margin-right: 10px">
+ <a href="genindex.html" title="General Index"
+ >index</a></li>
+ <li class="right" >
+ <a href="modindex.html" title="Global Module Index"
+ >modules</a> |</li>
+ <li><a href="index.html">Pysolar v0.4.1 documentation</a> »</li>
+ </ul>
+ </div>
+
+ <div class="footer">
+ © Copyright 2008-2010, Brandon Stafford.
+ Last updated on Mar 03, 2010.
+ Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.5.
+ </div>
+ <script type="text/javascript" src="searchindex.js"></script>
+
+ </body>
+</html>
\ No newline at end of file
diff --git a/searchindex.js b/searchindex.js
new file mode 100644
index 0000000..20547bf
--- /dev/null
+++ b/searchindex.js
@@ -0,0 +1 @@
+Search.setIndex({desctypes:{"0":"function"},terms:{skypowerintern:0,clear_index:0,global:0,correl:0,edu:0,accur:0,depend:0,zone:0,decim:0,under:0,stafford:0,r16:0,r17:0,r14:0,r15:0,r12:0,string:0,r10:0,r11:0,far:0,getdeclin:0,distort:0,util:0,condit:0,julian_dai:0,level:0,list:0,geograph:0,htm:0,direct:0,second:0,end_utc_datetim:0,pass:0,index:0,simeon:0,appear:0,compar:0,sun:0,uniform:0,access:0,hourli:0,"new":0,tregenza:0,here:0,locat:0,valu:0,search:0,naval:0,holger:0,query_usno:0,dif [...]
\ No newline at end of file
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pysolar.git
More information about the Python-modules-commits
mailing list