README.md 1.06 KB
Newer Older
Philipp Arras's avatar
Philipp Arras committed
1
# VLBI Resolve: Dynamic VLBI Imaging with information field theory
Philipp Arras's avatar
Philipp Arras committed
2

Philipp Arras's avatar
Philipp Arras committed
3
This repository belongs to the paper "The variable shadow of M87*" (https://arxiv.org/abs/2002.05218).
Philipp Arras's avatar
Philipp Arras committed
4
5
6
7
8
9

# Installation

Make sure that you have a python version >= 3.6. Then install the python packages scipy, matplotlib, nifty and nifty_gridder.

```
Philipp Frank's avatar
Philipp Frank committed
10
pip3 install --user "scipy>=1.4" matplotlib git+https://gitlab.mpcdf.mpg.de/ift/nifty@3f31d6b308387400cdfd7cd8c36e74f80b7a46cb git+https://gitlab.mpcdf.mpg.de/ift/nifty_gridder.git@f1540b9cca161e1aa32aa3cd09a592b3dac5f16b
Philipp Arras's avatar
Philipp Arras committed
11
12
```

Philipp Arras's avatar
Philipp Arras committed
13
14
15
16
17
# Run the reconstructions

FIXME Write something on MPI.
FIXME How to use it with EHT data.

Philipp Frank's avatar
Philipp Frank committed
18
19
20
21
22
23
The reconstructions start from a common initial configuration (`initial.h5`). It can be generated using the command

```
python3 movie_start.py
```

Philipp Arras's avatar
Philipp Arras committed
24
25
26
With the following commands start a reconstruction of your favourite example.

```
Philipp Frank's avatar
Philipp Frank committed
27
28
29
python3 reconstruction.py blobs initial.h5
python3 reconstruction.py crescent initial.h5
python3 reconstruction.py disk initial.h5
Philipp Arras's avatar
Philipp Arras committed
30
31
32
```

In order to run the tests you need pytest. Then run:
Philipp Arras's avatar
Philipp Arras committed
33

Philipp Arras's avatar
Philipp Arras committed
34
35
36
```
pytest-3 test.py
```