Skip to content

Commit 03cbaaf

Browse files
committed
Update documentation, revise DMD intro, and set version to 1.0.
1 parent 437b97d commit 03cbaaf

File tree

7 files changed

+425
-691
lines changed

7 files changed

+425
-691
lines changed

README.md

+14-8
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,9 @@ pip3 install git+https://github.com/FlowModelingControl/flowtorch
7272
# to uninstall flowTorch, run
7373
pip3 uninstall flowtorch
7474
```
75-
76-
The repository contains a collection of examples as part of the documentation. To open the [Jupyter labs](https://jupyter.org/), navigate to `./docs/source/notebooks` and run `jupyter lab`. Note that to execute some of the notebooks, the corresponding datasets are required. The datasets can be downloaded [here](https://cloudstorage.tu-braunschweig.de/getlink/fiUZaFzUuyX5SsAX8mh75rZJ/datasets_20_07_2021.tar.gz). Download the data into a directory of your choice and navigate into that directory. To extract the archive, run:
75+
To get an overview of what *flowTorch* can do for you, have a look at the [online documentation](https://flowmodelingcontrol.github.io/flowtorch-docs/1.0/index.html). The examples presented in the online documentation are also contained in this repository. In fact, the documentation is a static version of several [Jupyter labs](https://jupyter.org/) with start-to-end analyses. If you are interested in an interactive version of one particular example, navigate to `./docs/source/notebooks` and run `jupyter lab`. Note that to execute some of the notebooks, the **corresponding datasets are required**. The datasets can be downloaded [here](https://cloudstorage.tu-braunschweig.de/getlink/fiYBqV7Qq1cAxLBsxQpPBvsw/datasets_15_10_2021.tar.gz) (~2.5GB). Download the data into a directory of your choice and navigate into that directory. To extract the archive, run:
7776
```
78-
tar xzf datasets_20_07_2021.tar.gz
77+
tar xzf datasets_15_10_2021.tar.gz
7978
```
8079
To tell *flowTorch* where the datasets are located, define the `FLOWTORCH_DATASETS` environment variable:
8180
```
@@ -87,16 +86,24 @@ echo "export FLOWTORCH_DATASETS=\"$(pwd)/datasets/\"" >> ~/.bashrc
8786
```
8887

8988
## Development
89+
### Documentation
9090

91-
For documentation and testing, the following additional packages are required:
91+
To build the flowTorch documentation, the following additional packages are required:
9292
```
93-
pip3 install sphinx sphinx_rtd_theme nbsphinx pytest recommonmark
93+
pip3 install sphinx sphinx_rtd_theme nbsphinx recommonmark
9494
```
9595
To build the HTML version of the API documentation, navigate to `./docs` and run:
9696
```
9797
make html
9898
```
99-
To perform unit testing, execute:
99+
100+
### Unit testing
101+
All sub-packages contain unit tests, which require the installation of PyTest:
102+
```
103+
pip3 install pytest
104+
```
105+
Moreover, the flowTorch datasets must be downloaded and referenced as described in the previous section.
106+
To run all unit tests of all sub-packages, execute:
100107
```
101108
pytest flowtorch
102109
```
@@ -108,7 +115,6 @@ or run individual test modules, e.g.,
108115
```
109116
pytest flowtorch/data/test_FOAMDataloader.py
110117
```
111-
Note that the unit tests rely on the datasets provided in the link above.
112118

113119
## Getting help
114120

@@ -121,7 +127,7 @@ If you encounter any issues using *flowTorch* or if you have any questions regar
121127

122128
## Reference
123129

124-
**TODO:** add citeable reference
130+
If *flowTorch* aids your work, you may support our work by referencing this repository.
125131

126132
## License
127133

docs/source/index.rst

+5-11
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,24 @@
11
flowTorch Documentation
22
=======================
33

4-
Welcome to the **flowTorch** documentation! On this website, you find instructions to install and use flowTorch,
5-
Jupyterlab examples, start-to-end workflows with numerical and experimental data, and a documentation of
4+
Welcome to the **flowTorch** documentation! On this website, you find examples with numerical and experimental data, and a documentation of
65
the Python :term:`API`.
76

8-
.. toctree::
9-
:maxdepth: 2
10-
:caption: Overview:
11-
12-
overview/introduction
13-
overview/glossary
14-
157
.. toctree::
168
:maxdepth: 1
179
:caption: Examples
1810

11+
overview/glossary
1912
notebooks/linear_algebra_basics
2013
notebooks/svd_ht
14+
notebooks/ipsp_explorer
2115
notebooks/dmd_intro
2216
notebooks/svd_cylinder
23-
notebooks/piv_analysis
2417
notebooks/dmd_cylinder
2518
notebooks/cnm_cylinder
2619
notebooks/dmd_naca0012_surface
27-
notebooks/ipsp_explorer
20+
notebooks/piv_analysis
21+
2822

2923
.. toctree::
3024
:maxdepth: 1

0 commit comments

Comments
 (0)