@@ -8,41 +8,34 @@ T. Wenzel, F. Marchetti, E. Perracchione
...
@@ -8,41 +8,34 @@ T. Wenzel, F. Marchetti, E. Perracchione
```
```
It was used to carry out the numerical experiments and generate the figures for the publication.
It was used to carry out the numerical experiments and generate the figures for the publication.
The experiments were performed on Linux systems in 2023 and should work with Python versions of that time (e.g., `python3.9`).
The experiments were performed on Linux systems in 2023 and should work with Python versions of that time (e.g., `python3.7`).
The steps below each indicate a setup to be executed in a terminal, resulting in a URL printed to be opened in a browser to view and run the indicated notebooks.
The steps below each indicate a setup to be executed in a terminal, resulting in a URL printed to be opened in a browser to view and run the indicated notebooks.
To reproduce the figures and results CHANGE FROM HERE ON!!!
## Installation
------------------------------------
The data collected during the experiments is contained within this repository (in the `notebooks/data_figures` folder), and generating the figures is straightforward:
To create an virtual environment and install the required packages, simply run the `setup.sh` file.
To setup an evironment for regenerating the figures, execute:
```bash
## Downloading data
export BASEDIR=$PWD
virtualenv -p python3.9 venv-figures # replace python3.9 with something suitable
For the experiments described in Section 4.1, i.e. for the file [`section_4.1_compute_visualize.py`](`section_4.1_compute_visualize.py`), no data is required.
. venv-figures/bin/activate
For the experiments described in the Sections 4.2 and 4.3, a data download is required, for which we make use of code from
pip install-r requirements-figures.txt
["bmdal_reg"](https://github.com/dholzmueller/bmdal_reg), see the code within the folder `utils_data`.
cd$BASEDIR/pymor && pip install-e.
cd$BASEDIR&& ./start_notebook_server.sh
```
## Rerunning experiments and reproducing the plots
After opening the printed URL (the one with `127....`) in a browser, run
- for Figure 1: [`MC_adaptive_model__analysis.md`](notebooks/MC_adaptive_model__analysis.md)
To rereun the numerical experiments of Section 4.2 and reproduce its plots, execute: