add ode solver, tests and update docs

This commit is contained in:
2019-05-26 21:54:58 +02:00
parent 184e80269b
commit d0873a36da
33 changed files with 1821 additions and 396 deletions

View File

@@ -13,6 +13,7 @@
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/language_data.js"></script>
<script async="async" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS-MML_HTMLorMML"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
@@ -33,15 +34,25 @@
<div class="section" id="module-date">
<span id="date-module"></span><h1>date module<a class="headerlink" href="#module-date" title="Permalink to this headline"></a></h1>
<p>Created on Mon Jan 15 21:52:34 2018</p>
<p>&#64;author: Daniel Weschke</p>
<dl class="function">
<p>Calculate spacial dates.</p>
<dl class="field-list simple">
<dt class="field-odd">Date</dt>
<dd class="field-odd"><p>2018-01-15</p>
</dd>
</dl>
<span class="target" id="module-date"></span><dl class="function">
<dt id="date.ascension_of_jesus">
<code class="descname">ascension_of_jesus</code><span class="sig-paren">(</span><em>year</em><span class="sig-paren">)</span><a class="headerlink" href="#date.ascension_of_jesus" title="Permalink to this definition"></a></dt>
<dd><p>Ascension of Jesus.</p>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>datetime.date the day of ascension of Jesus</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>year</strong> (<em>int</em>) the year to calculate the ascension of Jesus</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the day of ascension of Jesus</p>
</dd>
<dt class="field-odd">Return type</dt>
<dd class="field-odd"><p>datetime.date</p>
</dd>
</dl>
</dd></dl>
@@ -51,8 +62,14 @@
<code class="descname">easter_friday</code><span class="sig-paren">(</span><em>year</em><span class="sig-paren">)</span><a class="headerlink" href="#date.easter_friday" title="Permalink to this definition"></a></dt>
<dd><p>Easter Friday.</p>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>datetime.date the day of Easter Friday</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>year</strong> (<em>int</em>) the year to calculate the Easter Friday</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the day of Easter Friday</p>
</dd>
<dt class="field-odd">Return type</dt>
<dd class="field-odd"><p>datetime.date</p>
</dd>
</dl>
</dd></dl>
@@ -62,8 +79,14 @@
<code class="descname">easter_monday</code><span class="sig-paren">(</span><em>year</em><span class="sig-paren">)</span><a class="headerlink" href="#date.easter_monday" title="Permalink to this definition"></a></dt>
<dd><p>Easter Monday.</p>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>datetime.date the day of Easter Monday</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>year</strong> (<em>int</em>) the year to calculate the Easter Monday</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the day of Easter Monday</p>
</dd>
<dt class="field-odd">Return type</dt>
<dd class="field-odd"><p>datetime.date</p>
</dd>
</dl>
</dd></dl>
@@ -73,8 +96,14 @@
<code class="descname">easter_sunday</code><span class="sig-paren">(</span><em>year</em><span class="sig-paren">)</span><a class="headerlink" href="#date.easter_sunday" title="Permalink to this definition"></a></dt>
<dd><p>Easter Sunday.</p>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>datetime.date the day of Easter Sunday</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>year</strong> (<em>int</em>) the year to calculate the Easter Sunday</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the day of Easter Sunday</p>
</dd>
<dt class="field-odd">Return type</dt>
<dd class="field-odd"><p>datetime.date</p>
</dd>
</dl>
</dd></dl>
@@ -84,24 +113,32 @@
<code class="descname">gaußsche_osterformel</code><span class="sig-paren">(</span><em>year</em><span class="sig-paren">)</span><a class="headerlink" href="#date.gaußsche_osterformel" title="Permalink to this definition"></a></dt>
<dd><p>Gaußsche Osterformel.</p>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>int the day of Easter Sunday as a day in march.</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>year</strong> (<em>int</em>) the year to calculate the Easter Sunday</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the day of Easter Sunday as a day in march.</p>
</dd>
<dt class="field-odd">Return type</dt>
<dd class="field-odd"><p>int</p>
</dd>
<dt class="field-even">Variables</dt>
<dd class="field-even"><ul class="simple">
<li><p><strong>X</strong> (<em>int</em>) Das Jahr / year</p></li>
<li><p><strong>K</strong><strong>(</strong><strong>X</strong><strong>)</strong> (<em>int</em>) Die Säkularzahl</p></li>
<li><p><strong>M</strong><strong>(</strong><strong>X</strong><strong>)</strong> (<em>int</em>) Die säkulare Mondschaltung</p></li>
<li><p><strong>S</strong><strong>(</strong><strong>K</strong><strong>)</strong> (<em>int</em>) Die säkulare Sonnenschaltung</p></li>
<li><p><strong>A</strong><strong>(</strong><strong>X</strong><strong>)</strong> (<em>int</em>) Den Mondparameter</p></li>
<li><p><strong>D</strong><strong>(</strong><strong>A</strong><strong>,</strong><strong>M</strong><strong>)</strong> (<em>int</em>) Den Keim für den ersten Vollmond im Frühling</p></li>
<li><p><strong>R</strong><strong>(</strong><strong>D</strong><strong>,</strong><strong>A</strong><strong>)</strong> (<em>int</em>) Die kalendarische Korrekturgröße</p></li>
<li><p><strong>OG</strong><strong>(</strong><strong>D</strong><strong>,</strong><strong>R</strong><strong>)</strong> (<em>int</em>) Die Ostergrenze</p></li>
<li><p><strong>SZ</strong><strong>(</strong><strong>X</strong><strong>,</strong><strong>S</strong><strong>)</strong> (<em>int</em>) Den ersten Sonntag im März</p></li>
<li><p><strong>OE</strong><strong>(</strong><strong>OG</strong><strong>,</strong><strong>SZ</strong><strong>)</strong> (<em>int</em>) Die Entfernung des Ostersonntags von der Ostergrenze (Osterentfernung in Tagen)</p></li>
<li><p><strong>OS</strong><strong>(</strong><strong>OG</strong><strong>,</strong><strong>OE</strong><strong>)</strong> (<em>int</em>) Das Datum des Ostersonntags als Märzdatum (32. März = 1. April usw.)</p></li>
</ul>
</dd>
</dl>
<p>Algorithmus gilt für den Gregorianischen Kalender.</p>
<ul class="simple">
<li><p>X Das Jahr / year</p></li>
<li><p>K(X) Die Säkularzahl</p></li>
<li><p>M(K) Die säkulare Mondschaltung</p></li>
<li><p>S(K) Die säkulare Sonnenschaltung</p></li>
<li><p>A(X) Den Mondparameter</p></li>
<li><p>D(A,M) Den Keim für den ersten Vollmond im Frühling</p></li>
<li><p>R(D,A) Die kalendarische Korrekturgröße</p></li>
<li><p>OG(D,R) Die Ostergrenze</p></li>
<li><p>SZ(X,S) Den ersten Sonntag im März</p></li>
<li><p>OE(OG,SZ) Die Entfernung des Ostersonntags von der Ostergrenze (Osterentfernung in Tagen)</p></li>
<li><p>OS(OG,OE) Das Datum des Ostersonntags als Märzdatum (32. März = 1. April usw.)</p></li>
</ul>
<p>source: <a class="reference external" href="https://de.wikipedia.org/wiki/Gau%C3%9Fsche_Osterformel">https://de.wikipedia.org/wiki/Gau%C3%9Fsche_Osterformel</a></p>
</dd></dl>
@@ -110,8 +147,14 @@
<code class="descname">pentecost</code><span class="sig-paren">(</span><em>year</em><span class="sig-paren">)</span><a class="headerlink" href="#date.pentecost" title="Permalink to this definition"></a></dt>
<dd><p>Pentecost.</p>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>datetime.date the day of Pentecost</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>year</strong> (<em>int</em>) the year to calculate the Pentecost</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the day of Pentecost</p>
</dd>
<dt class="field-odd">Return type</dt>
<dd class="field-odd"><p>datetime.date</p>
</dd>
</dl>
</dd></dl>