You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-17Lines changed: 21 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,15 +6,15 @@ The code, described in detail in Ref. [1], implements all the relevant equations
6
6
7
7
The use of AART in scientific publications must be properly acknowledged. Please cite:
8
8
9
-
Cardenas-Avendano, A., Zhu, H. & Lupsasca, A.
10
-
Adaptive Analytical Ray-Tracing of Black Hole Photon Rings.
11
-
[arXiv:Please come back soon for the reference!]
9
+
_______
10
+
Cardenas-Avendano, A., Lupsasca, A. & Zhu, H. "Adaptive Analytical RayTracing of Black Hole Photon Rings." [arXiv:2211.07469](https://arxiv.org/abs/2211.07469)
11
+
_______
12
12
13
13
We also request that AART modifications or extensions leading to a scientific publication be made public as free software.
14
14
15
15
<center> <em>Feel free to use images and movies produced with this code (with attribution) for your next presentation! </em> </center>
16
16
17
-
Last updated: 07.03.2022
17
+
Last updated: 11.15.2022
18
18
19
19
## AART's Components ##
20
20
@@ -37,11 +37,15 @@ All the dependencies are located in the <em>init.py</em> file. Most of the libra
37
37
38
38
To install any missing packages, run
39
39
40
-
<code> >> pip install "package_name" </code>
40
+
<code> pip install "package_name" </code>
41
41
42
-
or, if using anaconda, search for the missing packages and run, e.g. for h5py (Read and write HDF5 files from Python,)
42
+
or, if using anaconda, search for the missing packages and run, e.g. for h5py (Read and write HDF5 files from Python,)
43
43
44
-
<code> conda install -c anaconda h5py</code>
44
+
<code> conda install -c anaconda h5py</code>
45
+
46
+
Sometimes scipy does not update automatically to the latest version. If that is the case, you may want to type
47
+
48
+
<code> pip install -U scipy</code>
45
49
46
50
47
51
## How to run AART ##
@@ -56,7 +60,7 @@ We present some examples in the notebook:
56
60
57
61
The lensing bands are computed by simply running
58
62
59
-
<code> >> python lensingbands.py </code>
63
+
<code> python lensingbands.py </code>
60
64
61
65
The result will be stored in a HDF5 file that contains the values of the Bardeen's coordinates withing each lensing band. The datasets inside the resulting file are:
62
66
@@ -77,7 +81,7 @@ This image is produced in the example code:
77
81
78
82
To compute the equitorial radius, angle, and emission time of a photon, we perform a backward ray-tracing from the observer plane. By running the following, we evaluate the source radius, angle, and time within the grid from each lensing bands:
79
83
80
-
<code> >> python raytracing.py </code>
84
+
<code> python raytracing.py </code>
81
85
82
86
The result will be stored in a HDF5 file that contains source radius, angle, time, as well as the radial component of the four momentum at the equitorial plane, for lensing bands n=0,1,2. The datasets inside the resulting file are:
83
87
@@ -96,7 +100,7 @@ This image is produced in the example code:
96
100
97
101
Once the lensing bands and the rays have been computed, an image can be produced using a defined analytical profile by simply running
98
102
99
-
<code> >> python radialintensity.py </code>
103
+
<code> python radialintensity.py </code>
100
104
101
105
The datasets inside the resulting file are:
102
106
@@ -114,11 +118,11 @@ As the dataset produced after ray tracing contains all the information of the BL
114
118
115
119
One can also use a precomputed equatorial profile. AART currently implements profiles computed with inoisy. The example includes a test case (<em>inoisy.h5</em>), for which one can simply run by
116
120
117
-
<code> >> python iImages.py </code>
121
+
<code> python iImages.py </code>
118
122
119
123
or
120
124
121
-
<code> >> python iMovies.py </code>
125
+
<code> python iMovies.py </code>
122
126
123
127
to produce images or a set of images, respectively. Images can be produced by using a single equatorial profile, i.e., in the mode "stationary," or using the entire history of the equatorial structure, i.e, in the mode "dynamical." When movies are made, the dynamical version is assumed. In both cases, the resulting datasets inside the resulting file are:
124
128
@@ -132,7 +136,7 @@ This gif is produced in the example code:
132
136
133
137
With the images created using radial intensity prifiles, one may then calculate the visibility of the image projected onto a baseline. This function first performs radon transforms of the image at a set of specified angles (radonangles in <em>params.py</em>), and then compute the visibility amplitude by
134
138
135
-
<code> >> python visamp.py </code>
139
+
<code> python visamp.py </code>
136
140
137
141
This function creates a set of h5 files, one for each basline angle. These files contains the visibility amplitude as well as the frequency (baseline length in G$\lambda$). The resulting datasets inside the resulting file are:
138
142
@@ -152,7 +156,7 @@ This image is produced in the example code:
152
156
153
157
The linear polarization of a given configuration of the magnetic field can be computed by
154
158
155
-
<code> >> python polarization.py </code>
159
+
<code> python polarization.py </code>
156
160
157
161
The resulting datasets inside the resulting file are:
158
162
@@ -179,11 +183,11 @@ The linear polarization of a given configuration of the magnetic field can be co
179
183
180
184
## References ##
181
185
182
-
[1] Cardenas-Avendano, A., Zhu, H. & Lupsasca, A. Adaptive Analytical Ray-Tracing of Black Hole Photon Rings.
186
+
[1] Cardenas-Avendano, A., Lupsasca, A. & Zhu, H. Adaptive Analytical RayTracing of Black Hole Photon Rings. [arXiv:2211.07469](https://arxiv.org/abs/2211.07469)
183
187
184
-
[2] Gralla, S. E., & Lupsasca, A. (2020). Lensing by Kerr black holes. Physical Review D, 101(4), 044031.(arXiv:1910.12873)
188
+
[2] Gralla, S. E., & Lupsasca, A. (2020). Lensing by Kerr black holes. Physical Review D, 101(4), 044031.
185
189
186
-
[3] Gralla, S. E., & Lupsasca, A. (2020). Null geodesics of the Kerr exterior. Physical Review D, 101(4), 044032.(arXiv:1910.12881)
190
+
[3] Gralla, S. E., & Lupsasca, A. (2020). Null geodesics of the Kerr exterior. Physical Review D, 101(4), 044032.
187
191
188
192
[4] Gralla, S. E., Lupsasca, A., & Marrone, D. P. (2020). The shape of the black hole photon ring: A precise test of strong-field general relativity. Physical Review D, 102(12), 124004.
0 commit comments