add function integration, tests and docs

This commit is contained in:
2019-05-30 22:38:37 +02:00
parent d0873a36da
commit 6aec598889
45 changed files with 3861 additions and 1541 deletions

View File

@@ -5,3 +5,9 @@
table.indextable tr.cap {
background-color: #333;
}
/* move doc link a bit up */
.viewcode-back {
float: right;
position: relative;
top: -1.5em;
}

View File

@@ -34,7 +34,8 @@ release = '2019.5.19'
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.autodoc'
'sphinx.ext.autodoc',
'sphinx.ext.viewcode',
]
# Add any paths that contain templates here, relative to this directory.
@@ -52,6 +53,7 @@ exclude_patterns = []
# a list of builtin themes.
#
html_theme = 'alabaster'
pygments_style = 'solarized-dark'
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
@@ -66,6 +68,8 @@ html_theme_options = {
'base_bg': '#292b2e',
'base_text': '#b2b2b2',
'body_text': '#b2b2b2',
'viewcode_target_bg': '#292b2e',
'pre_bg': '#25272c',
'code_text': '#b2b2b2',
'code_hover': 'transparent',
'sidebar_text': '#b2b2b2',
@@ -76,6 +80,6 @@ html_theme_options = {
'highlight_bg': '#444F65',
'xref_bg': 'transparent',
'xref_border': 'transparent',
'seealso_bg': '#3c3c3c',
'seealso_bg': '#25272c',
'seealso_border': '#2C2C2C',
}

View File

@@ -1,7 +0,0 @@
fit module
==========
.. automodule:: fit
:members:
:undoc-members:
:show-inheritance:

View File

@@ -6,7 +6,5 @@ src
data
date
fit
geometry
solver
solver_model
numerical

46
docs/source/numerical.rst Normal file
View File

@@ -0,0 +1,46 @@
numerical package
=================
Submodules
----------
numerical.fit module
--------------------
.. automodule:: numerical.fit
:members:
:undoc-members:
:show-inheritance:
numerical.integration module
----------------------------
.. automodule:: numerical.integration
:members:
:undoc-members:
:show-inheritance:
numerical.ode module
--------------------
.. automodule:: numerical.ode
:members:
:undoc-members:
:show-inheritance:
numerical.ode\_model module
---------------------------
.. automodule:: numerical.ode_model
:members:
:undoc-members:
:show-inheritance:
Module contents
---------------
.. automodule:: numerical
:members:
:undoc-members:
:show-inheritance:

View File

@@ -1,7 +0,0 @@
solver module
=============
.. automodule:: solver
:members:
:undoc-members:
:show-inheritance:

View File

@@ -1,7 +0,0 @@
solver\_model module
====================
.. automodule:: solver_model
:members:
:undoc-members:
:show-inheritance: