feat: add example script for analysis

This commit is contained in:
kellerer
2023-04-13 21:05:03 +02:00
parent f79172b454
commit 5f08b9775c
4 changed files with 26 additions and 3 deletions
+10 -1
View File
@@ -31,9 +31,18 @@ running on a cluster you should
You can then start the simulation using
$ mpiexec -n 4 bin/karl --parameter_file=simulation_config/test_parameter.json
$ mpiexec -n 4 bin/karl --parameter_file simulation_config/test_parameter.json
You can of course specify some other number of MPI threads or use a different
JSON file. If you have to use some non-standard method to start MPI programs
(such as poe) instead of mpiexec you might need to check the relevant
documentation.
ANALYSIS OF THE SIMULATION OUTPUT:
Python scripts are provided to analyze the output of the simulation. They can be
found in the folder "analysis". The script require the python packages
numpy, matplotlib, scipy and h5py.
An example of how to use the analysis scripts is provided in the file "analysis/plot_example.py".