[Python-modules-commits] [python-pysolar] 04/05: Rebuilt documentation off previous commit

Wolfgang Borgert debacle at moszumanska.debian.org
Fri Oct 3 23:38:05 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 257426f975e24528c7eacc3b5c95ab95f3401d29
Author: pingswept <brandon at pingswept.org>
Date:   Tue Mar 9 19:13:36 2010 -0500

    Rebuilt documentation off previous commit
---
 genindex.html         | 12 ++++++-----
 index.html            | 59 ++++++++++++++++++++++++++++++++++++++++-----------
 modindex.html         | 10 ++++-----
 objects.inv           |  2 ++
 search.html           | 12 +++++------
 searchindex.js        |  2 +-
 static/searchtools.js |  2 +-
 7 files changed, 69 insertions(+), 30 deletions(-)

diff --git a/genindex.html b/genindex.html
index 299b0b0..358edc8 100644
--- a/genindex.html
+++ b/genindex.html
@@ -6,8 +6,8 @@
     <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" />
+    <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:    '#',
@@ -17,8 +17,8 @@
         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/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>
@@ -52,6 +52,7 @@
 <table width="100%" class="indextable"><tr><td width="33%" valign="top">
 <dl>
 
+<dt><a href="index.html#constants.buildPolyDict">buildPolyDict() (in module constants)</a></dt>
 <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>
 
@@ -89,6 +90,7 @@
 
 <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.GetJulianDay">GetJulianDay() (in module julian)</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>
@@ -208,7 +210,7 @@
     </div>
     <div class="footer">
       © Copyright 2008-2010, Brandon Stafford.
-      Last updated on Mar 03, 2010.
+      Last updated on Mar 09, 2010.
       Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.5.
     </div>
   </body>
diff --git a/index.html b/index.html
index 4c0db7d..8fa8f31 100644
--- a/index.html
+++ b/index.html
@@ -6,8 +6,8 @@
     <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" />
+    <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:    '#',
@@ -17,8 +17,8 @@
         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/jquery.js"></script>
+    <script type="text/javascript" src="_static/doctools.js"></script>
     <link rel="top" title="Pysolar v0.4.1 documentation" href="#" /> 
   </head>
   <body>
@@ -55,21 +55,56 @@
 <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>
+<p>This file is consists of numerical constants for calculating corrections,
+such as the wiggling (“nutation”) of the axis of the earth. It also includes
+functions for building dictionaries of polynomial functions for rapid
+calculation of corrections.</p>
+<p>Most of the constants come from a 2005 paper by Reda and Andreas:</p>
+<p>I. Reda and A. Andreas, “Solar Position Algorithm for Solar Radiation
+Applications,” National Renewable Energy Laboratory, NREL/TP-560-34302,
+revised November 2005.</p>
+<p><a class="reference external" href="http://www.osti.gov/bridge/servlets/purl/15003974-iP3z6k/native/15003974.PDF">http://www.osti.gov/bridge/servlets/purl/15003974-iP3z6k/native/15003974.PDF</a></p>
+<p>However, it seems that Reda and Andreas took the bulk of the constants
+(L0, etc.) from Pierre Bretagnon and Gerard Francou’s Variations Seculaires
+des Orbites Planetaires, or VSOP87:</p>
+<p><a class="reference external" href="http://en.wikipedia.org/wiki/Secular_variations_of_the_planetary_orbits#VSOP87">http://en.wikipedia.org/wiki/Secular_variations_of_the_planetary_orbits#VSOP87</a></p>
+<p>See also <a class="reference external" href="ftp://ftp.imcce.fr/pub/ephem/planets/vsop87/VSOP87D.ear">ftp://ftp.imcce.fr/pub/ephem/planets/vsop87/VSOP87D.ear</a></p>
+<dl class="function">
+<dt id="constants.buildPolyDict">
+<tt class="descclassname">constants.</tt><tt class="descname">buildPolyDict</tt><big>(</big><big>)</big><a class="headerlink" href="#constants.buildPolyDict" title="Permalink to this definition">¶</a></dt>
+<dd>This function builds a dictionary of polynomial functions from a list of
+coefficients, so that the functions can be called by name. This is used in
+calculating nutation.</dd></dl>
+
 </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>
+<p>This script rectifies spherically distorted images in order to detect the
+angle to solar obstructions. It is not used in Pysolar’s ephemeris
+calculations.</p>
+<p>An example of this script in action appears here:</p>
+<p><a class="reference external" href="http://pingswept.org/2009/03/16/calculating-solar-panel-shading-in-python/">http://pingswept.org/2009/03/16/calculating-solar-panel-shading-in-python/</a></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>
+<p>This file contains all the functions related to the Julian calendar, which
+are used in calculating the position of the sun relative to the earth</p>
+<dl class="function">
+<dt id="julian.GetJulianDay">
+<tt class="descclassname">julian.</tt><tt class="descname">GetJulianDay</tt><big>(</big><em>utc_datetime</em><big>)</big><a class="headerlink" href="#julian.GetJulianDay" title="Permalink to this definition">¶</a></dt>
+<dd><p>This function is based on NREL/TP-560-34302 by Andreas and Reda</p>
+<p>This function does not accept years before 0 because of the bounds check
+on Python’s datetime.year field.</p>
+</dd></dl>
+
 <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
+<dd><p>delta_seconds is the 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>
+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></p>
+<p>More details: <a class="reference external" href="http://en.wikipedia.org/wiki/DeltaT">http://en.wikipedia.org/wiki/DeltaT</a></p>
+</dd></dl>
 
 </div>
 <div class="section" id="module-poly">
@@ -971,7 +1006,7 @@ Design of Buildings”</td></tr>
 
             <h3>This Page</h3>
             <ul class="this-page-menu">
-              <li><a href="sources/index.txt"
+              <li><a href="_sources/index.txt"
                      rel="nofollow">Show Source</a></li>
             </ul>
           <div id="searchbox" style="display: none">
@@ -1005,8 +1040,8 @@ Design of Buildings”</td></tr>
     </div>
     <div class="footer">
       © Copyright 2008-2010, Brandon Stafford.
-      Last updated on Mar 03, 2010.
+      Last updated on Mar 09, 2010.
       Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.5.
     </div>
   </body>
-</html>
+</html>
\ No newline at end of file
diff --git a/modindex.html b/modindex.html
index 65cb7c3..a05e7cd 100644
--- a/modindex.html
+++ b/modindex.html
@@ -6,8 +6,8 @@
     <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" />
+    <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:    '#',
@@ -17,8 +17,8 @@
         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/jquery.js"></script>
+    <script type="text/javascript" src="_static/doctools.js"></script>
     <link rel="top" title="Pysolar v0.4.1 documentation" href="index.html" />
  
 
@@ -157,7 +157,7 @@
     </div>
     <div class="footer">
       © Copyright 2008-2010, Brandon Stafford.
-      Last updated on Mar 03, 2010.
+      Last updated on Mar 09, 2010.
       Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.5.
     </div>
   </body>
diff --git a/objects.inv b/objects.inv
index 9e3c905..c88f07f 100644
--- a/objects.inv
+++ b/objects.inv
@@ -22,8 +22,10 @@ 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
+constants.buildPolyDict function index.html
 simulate.SimulateSpan function index.html
 util.clear_index function index.html
+julian.GetJulianDay function index.html
 solar.GetDeclination function index.html
 util.GetSunsetTime function index.html
 util.solarelevation_function_overcast function index.html
diff --git a/search.html b/search.html
index 7597f14..77f3f52 100644
--- a/search.html
+++ b/search.html
@@ -6,8 +6,8 @@
     <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" />
+    <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:    '#',
@@ -17,9 +17,9 @@
         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>
+    <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>
@@ -89,7 +89,7 @@
   
     <div class="footer">
       © Copyright 2008-2010, Brandon Stafford.
-      Last updated on Mar 03, 2010.
+      Last updated on Mar 09, 2010.
       Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.5.
     </div>
   <script type="text/javascript" src="searchindex.js"></script>
diff --git a/searchindex.js b/searchindex.js
index 20547bf..a6e3852 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +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
+Search.setIndex({desctypes:{"0":"function"},terms:{all:0,skypowerintern:0,clear_index:0,global:0,correl:0,edu:0,locat:0,accur:0,depend:0,zone:0,decim:0,under:0,must: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,servlet:0,common: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,imcc:0,longitud:0,variat:0,coeffici:0,here:0,tur [...]
\ No newline at end of file
diff --git a/static/searchtools.js b/static/searchtools.js
index ae89531..e022625 100644
--- a/static/searchtools.js
+++ b/static/searchtools.js
@@ -432,7 +432,7 @@ var Search = {
             displayNextItem();
           });
         } else if (DOCUMENTATION_OPTIONS.HAS_SOURCE) {
-          $.get('sources/' + item[0] + '.txt', function(data) {
+          $.get('_sources/' + item[0] + '.txt', function(data) {
             listItem.append($.makeSearchSummary(data, searchterms, hlterms));
             Search.output.append(listItem);
             listItem.slideDown(5, function() {

-- 
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