Skip to content
Snippets Groups Projects
Commit 53df267f authored by Philipp Arras's avatar Philipp Arras
Browse files

Instructions for demos

parent 76b01d6f
No related branches found
No related tags found
1 merge request!27Devel
Pipeline #116394 passed
# How to run the demos
## Basic imaging with automatic weighting
- Download the [data](https://www.philipp-arras.de/assets/CYG-ALL-2052-2MHZ.ms.tar.gz) and unpack it.
- Change the path under `[data]` in `cygnusa.cfg` to the path where the data is located.
- Run
```sh
python3 imaging_with_automatic_weighting.py cygnusa.cfg
```
or, if you have `mpi4py` installed:
``` sh
mpirun -np <ntasks> python3 imaging_with_automatic_weighting.py cygnusa.cfg
```
which should speed up the computation. The number of threads used *per task* can be set in the configuration file `cygnusa.cfg` in the section `[technical]/nthreads`. The number threads multiplied by the number of MPI tasks should not exceed the number CPU cores available on the machine.
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment