Skip to content

Commit bda7edd

Browse files
authored
Update readme for documentation and adding website (#538)
* Update readme for documentation. * Added a website for memilio
1 parent 3ec7a18 commit bda7edd

File tree

6 files changed

+312
-57
lines changed

6 files changed

+312
-57
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,8 @@ jobs:
313313
- name: Prepare basic Pages sites
314314
run: |
315315
mkdir -p public
316-
cp ci_index/main_index.html public/index.html
316+
cp docs/style.css public/style.css
317+
cp docs/index.html public/index.html
317318
- name: Prepare documentation
318319
run: |
319320
mkdir -p public/documentation

README.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,28 @@
33
[![CI](https://github.com/DLR-SC/memilio/actions/workflows/main.yml/badge.svg)](https://github.com/DLR-SC/memilio/actions/workflows/main.yml)
44
[![codecov](https://codecov.io/gh/DLR-SC/memilio/branch/main/graph/badge.svg?token=DVQXIQJHBM)](https://codecov.io/gh/DLR-SC/memilio)
55

6-
MEmilio is a common project between the Institute for Software Technology of the German Aerospace Center (DLR) and the department of Systems Immunology (SIMM) of the Helmholtz Center for Infection Research (HZI). This project will bring cutting-edge and compute-intensive epidemiological models to a large scale, which enables a precise and high-resolution spatiotemporal pandemic simulation for entire countries. MEmilio is still under developement but it is available as Open Source and we encourage everyone to make use of it. If you use it, please cite:
6+
MEmilio is a common project between the Institute for Software Technology of the German Aerospace Center (DLR) and the department of Systems Immunology (SIMM) of the Helmholtz Center for Infection Research (HZI). This project will bring cutting edge and compute intensive epidemiological models to a large scale, which enables a precise and high-resolution spatiotemporal pandemic simulation for entire countries. MEmilio is still under developement but it is available as Open Source and we encourage everyone to make use of it. If you use it, please cite:
77

8-
M. J. Kühn, D. Abele, T. Mitra, W. Koslow, M. Abedi, K. Rack, M. Siggel, S. Khailaie, M. Klitz, S. Binder, Luca Spataro, J. Gilg, J. Kleinert, M. Häberle, L. Plötzke, C. D. Spinner, M. Stecher, X. X. Zhu, A. Basermann, M. Meyer-Hermann, "Assessment of effective mitigation and prediction of the spread of SARS-CoV-2 in Germany using demographic information and spatial resolution". Mathematical Biosciences 339, 108648 (2021). https://www.sciencedirect.com/science/article/pii/S0025556421000845
8+
- Kühn, Martin Joachim und Abele, Daniel und Kerkmann, David und Korf, Sascha Alexander und Zunker, Henrik und Wendler, Anna Clara und Bicker, Julia und Nguyen, Dang Khoa und Klitz, Margrit und Koslow, Wadim und Siggel, Martin und Kleinert, Jan und Rack, Kathrin und Binder, Sebastian und Plötzke, Lena und Schmieding, René und Lenz, Patrick und Betz, Maximilian Franz und Lutz, Annette und Gerstein, Carlotta und Schmidt, Agatha und Meyer-Hermann, Michael und Basermann, Achim (2022) MEmilio - a high performance Modular EpideMIcs simuLatIOn software (2022). https://github.com/DLR-SC/memilio, https://elib.dlr.de/192140/.
9+
10+
- Koslow W, Kühn MJ, Binder S, Klitz M, Abele D, et al. (2022) Appropriate relaxation of non-pharmaceutical interventions minimizes the risk of a resurgence in SARS-CoV-2 infections in spite of the Delta variant. PLOS Computational Biology 18(5): e1010054. https://doi.org/10.1371/journal.pcbi.1010054
911

1012
**Getting started**
1113

12-
This project is divided into multiple building blocks. The C++ implementation of the epidemiological models can be found in the cpp directory (see the [README](cpp/README.md) there). Currently, there is an ODE-SECIR and an agent-based model.
14+
MEmilio builds upon different model types, equation-based and agent-based. Furthermore, there are hybrid, graph-ODE-based models. Among the equation-based models, we provide ordinary differential equation (ODE) and integro-differential equation (IDE) based models. In order to provide highly efficient model implementations, MEmilio builds upon a C++ backend for its model and simulation-related content. Data acquisition, plotting, and machine-learnt models are provided in Python.
15+
16+
Details of the C++ implementation of the epidemiological models can be found in the cpp directory (see the [README](cpp/README.md) there).
1317

14-
Contact and inter-county mobility data for Germany are to be found in [data](data/README.md). Data download tools are found in the pycode folder.
18+
Some regularly used data for simulations of a pathogen's spread in Germany, like contact and inter-county mobility, can be found in [data](data/README.md).
1519

16-
In pycode, different MEmilio python packages are defined. Via our [python bindings package](pycode/memilio-simulation), you can run our simulations from python; this package actually calls the C++ code from python. The [epidata package](pycode/memilio-epidata) provides tools to download and structure important data such as infection or mobility data. More about the python packages can be found in [Python README](pycode/README.rst).
20+
In pycode, different MEmilio python packages are defined. Via our [memilio-simulation](pycode/memilio-simulation) package, you can run our C++ backend from python; this package uses [pybind11](https://github.com/pybind/pybind11) to bind our C++ model code. The [memilio-epidata](pycode/memilio-epidata) package provides tools to download and structure important data such as infection or mobility data. More about the python packages can be found in [Python README](pycode/README.rst).
1721

1822
**Documentation**
1923

2024
Each important part of the project described above is described in detail in the README in the corresponding directory. The README contains e.g. configuration and usage instructions for users and developers.
2125

2226
Also, the code is documented with doxygen and instructions on how to obtain it can be found in the docs folder.
23-
The documentation of the code of the master branch can be found at the following URL:
27+
The documentation of the code of the main branch can be found at the following URL:
2428

2529
https://dlr-sc.github.io/memilio/documentation/index.html
2630

@@ -29,5 +33,6 @@ https://dlr-sc.github.io/memilio/documentation/index.html
2933
Each part has different requirements and usage. Detailed instruction can be found in the corresponding READMEs.
3034

3135
**Development**
36+
3237
* [Git workflow and change process](https://github.com/DLR-SC/memilio/wiki/git-workflow)
33-
* [Coding Guidelines](https://github.com/DLR-SC/memilio/wiki/coding-guidelines)
38+
* [Coding Guidelines](https://github.com/DLR-SC/memilio/wiki/coding-guidelines)

ci_index/main_index.html

Lines changed: 0 additions & 32 deletions
This file was deleted.

docs/README.md

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,22 @@
1-
HPC against Corona Documentation
1+
MEmilio Documentation
22
===============================
3+
The MEmilio documentation is created by [doxygen](https://www.doxygen.nl/). The documentation of the main branch is automatically deployed to https://dlr-sc.github.io/memilio/documentation/index.html by the continuous integration process.
34

4-
iUsed software: doxygen 1.8.5 (www.doxygen.nl)
5+
In order to create the MEmilio documentation locally, follow the procedure below.
56

6-
7-
How to create this documentation:
7+
How to create the documentation:
88
---------------------------------
9-
1. Execute
10-
.. code:: sh
9+
1. From the `docs` folder, execute
1110

1211
doxygen
1312

14-
This will create an html documentation
15-
16-
2. Execute
17-
18-
.. code:: sh
13+
This will create an html documentation.
1914

20-
firefox html/index.html
15+
2. Open
2116

22-
This opens the documentation.
17+
docs/html/index.html
2318

2419

2520
How to use the documentation
2621
----------------------------
27-
28-
Under "Related Pages" all Readme files can be found. The title is shown there, thus it should be always meaningfull
29-
30-
Under "Files" the general file structure is projected and the documentation of classes and functions etc can be found within the specific file name.
22+
Under "Files", you can see the general file structure and access documentation of classes.

docs/index.html

Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
<!DOCTYPE html>
2+
<HTML lang="en">
3+
4+
<HEAD>
5+
<TITLE>MEmilio - a high performance Modular EpideMIcs simuLatIOn software</TITLE>
6+
<meta name="description"
7+
content="MEmilio, Infectious Disease Modeling, Pandemic, Mobility, Scenarios, German Aerospace Center">
8+
<meta name="keywords"
9+
content="MEmilio, Infectious Disease Modeling, Virus, Sars-CoV-2, Covid-19, Pandemic, Mobility, Scenarios, German Aerospace Center">
10+
<meta name="author" content="Deutsches Zentrum für Luft- und Raumfahrt e.V. (DLR)">
11+
<meta name="HandheldFriendly" content="true">
12+
<meta name="google-site-verification" content="BEq7yWqksTB4rBtUzG6qVYfhCm40JNbNWjpS537OnWo">
13+
<meta name="viewport" content="width=device-width, initial-scale=1">
14+
<meta charset="utf-8">
15+
<link rel="icon" href="https://www.dlr.de/favicon.ico" />
16+
<link rel="stylesheet" type="text/css" href="style.css">
17+
<script>
18+
19+
function width() {
20+
if (window.innerWidth && window.visualViewport.width) {
21+
return Math.min(window.innerWidth, window.visualViewport.width);
22+
}
23+
else if (window.innerWidth) {
24+
return window.innerWidth;
25+
}
26+
else if (window.visualViewport.width) {
27+
return window.visualViewport.width;
28+
} else {
29+
return 0;
30+
}
31+
}
32+
33+
function height() {
34+
if (window.innerHeight) {
35+
return window.innerHeight;
36+
} else {
37+
return 0;
38+
}
39+
}
40+
41+
function resize(elem, newwidth) {
42+
oldwidth = elem.width;
43+
oldheight = elem.height;
44+
if (elem.width === undefined) {
45+
oldwidth = parseInt(elem.style.width);
46+
oldheight = parseInt(elem.style.height);
47+
}
48+
var rescale = newwidth / oldwidth;
49+
elem.style.width = newwidth + "px";
50+
elem.style.height = rescale * oldheight + "px";
51+
}
52+
53+
</script>
54+
55+
56+
</HEAD>
57+
58+
<body style="background-color:#FFFFFF; overflow-x:hidden; overflow-y:scroll">
59+
60+
<div id="header" style="width:100%; background-color:#A9E2FF; margin:0px; position:fixed; z-index:6;">
61+
62+
<div id="header_left" style="padding-left:20px; padding-top:0px; width:30%; position:relative; float:left;">
63+
<p style='font-size:32pt'>MEmilio</p>
64+
</div>
65+
<div id="header_right" style="padding-left:20px; padding-top:40px; width:65%; position:relative; float:right;">
66+
<div class='menu_div'><a class='menu' href='index.html#start'>Start</a></div>
67+
<div class='menu_div'><a class='menu' href="documentation/index.html">Documentation</a></div>
68+
<div class='menu_div'><a class='menu' href="coverage/cpp/index.html">C++ Coverage</a></div>
69+
<div class='menu_div'><a class='menu' href="coverage/python/index.html">Python Coverage</a></div>
70+
<div class='menu_div'><a class='menu' href="pylint/index.html">Pylint</a></div>
71+
</div>
72+
73+
</div>
74+
75+
<div id='content' style="text-align:left; width:100%; margin:0px;">
76+
77+
<div id="start" style="position:relative; float:left; width:100%; box-sizing: border-box; padding-top:95px">
78+
<h1>MEmilio - a high performance Modular EpideMIcs simuLatIOn software</h1>
79+
80+
<div class="content">
81+
MEmilio is a common project between the Institute for Software Technology of the German Aerospace Center (DLR)
82+
and the department of Systems Immunology (SIMM) of the Helmholtz Center for Infection Research (HZI). This
83+
project will bring cutting edge and compute intensive epidemiological models to a large scale, which enables a
84+
precise and high-resolution spatiotemporal pandemic simulation for entire countries. MEmilio is still under
85+
developement but it is available as Open Source and we encourage everyone to make use of it. If you use it,
86+
please cite:
87+
88+
<ul>
89+
<li> Kühn, Martin Joachim und Abele, Daniel und Kerkmann, David und Korf, Sascha Alexander und Zunker, Henrik
90+
und
91+
Wendler, Anna Clara und Bicker, Julia und Nguyen, Dang Khoa und Klitz, Margrit und Koslow, Wadim und Siggel,
92+
Martin und Kleinert, Jan und Rack, Kathrin und Binder, Sebastian und Plötzke, Lena und Schmieding, René und
93+
Lenz, Patrick und Betz, Maximilian Franz und Lutz, Annette und Gerstein, Carlotta und Schmidt, Agatha und
94+
Meyer-Hermann, Michael und Basermann, Achim (2022) MEmilio - a high performance Modular EpideMIcs simuLatIOn
95+
software (2022). <a href="https://github.com/DLR-SC/memilio">https://github.com/DLR-SC/memilio</a>, <a
96+
href="https://elib.dlr.de/192140/">https://elib.dlr.de/192140/</a>.</li><br>
97+
98+
<li> Koslow W, Kühn MJ, Binder S, Klitz M, Abele D, et al. (2022) Appropriate relaxation of non-pharmaceutical
99+
interventions minimizes the risk of a resurgence in SARS-CoV-2 infections in spite of the Delta variant.
100+
PLOS
101+
Computational Biology 18(5): e1010054. <a
102+
href="https://doi.org/10.1371/journal.pcbi.1010054">https://doi.org/10.1371/journal.pcbi.1010054</a></li>
103+
</ul>
104+
<p></p>
105+
106+
Contact: <a href="mailto:[email protected]">[email protected]</a>
107+
<p></p>
108+
</div>
109+
110+
</div>
111+
112+
</div>
113+
114+
<div id="footer"
115+
style="position:relative; float:left; width:100%; box-sizing: border-box; background-color:#A9E2FF; bottom:0px; text-align:center">
116+
<a href="" style="padding-right:10px">Imprint and terms of use</a>
117+
<a href="" style="padding-right:10px">Privacy</a>
118+
<a href="" style="padding-right:10px">Cookies & Tracking</a>
119+
<a href="" style="padding-right:10px">Accessibility</a>
120+
</div>
121+
122+
123+
124+
<script>
125+
if (width() < 600) {
126+
for (var i = 0; i < document.getElementsByTagName('img').length; i++) {
127+
if (document.getElementsByTagName('img').item(i).width > 350) {
128+
resize(document.getElementsByTagName('img').item(i), 250);
129+
}
130+
}
131+
for (var i = 0; i < document.getElementsByClassName('content').length; i++) {
132+
document.getElementsByClassName('content').item(i).style.paddingLeft = '20px';
133+
document.getElementsByClassName('content').item(i).style.paddingRight = '20px';
134+
}
135+
document.getElementById('header_right').style.paddingTop = '0px';
136+
document.getElementById('start').style.paddingTop = '210px';
137+
}
138+
</script>
139+
140+
</body>
141+
142+
</HTML>

0 commit comments

Comments
 (0)