| Download
SageMath notebooks associated to the Black Hole Lectures (https://luth.obspm.fr/~luthier/gourgoulhon/bh16)
Project: BHLectures
Views: 20102Kernel: SageMath 9.1.beta0
Multiple images in Schwarzschild spacetime
This Jupyter/SageMath notebook is relative to the lectures Geometry and physics of black holes.
Click here to download the notebook file (ipynb format). To run it, you must start SageMath with sage -n jupyter
.
In [1]:
'SageMath version 9.1.beta0, Release Date: 2020-01-10'
In [2]:
Schwarzschild metric
In [3]:
In [4]:
For plots:
In [5]:
Bunch of geodesics
In [6]:
In [7]:
In [8]:
Computation:
In [9]:
b = -12.000000 m
b = -11.200000 m
b = -10.400000 m
b = -9.600000 m
b = -8.800000 m
b = -8.000000 m
b = -7.200000 m
b = -6.400000 m
b = -5.600000 m
b = -4.800000 m
b = -4.000000 m
b = -3.200000 m
b = -2.400000 m
b = -1.600000 m
b = -0.800000 m
b = 0.000000 m
b = 0.800000 m
b = 1.600000 m
b = 2.400000 m
b = 3.200000 m
b = 4.000000 m
b = 4.800000 m
b = 5.600000 m
b = 6.400000 m
b = 7.200000 m
b = 8.000000 m
b = 8.800000 m
b = 9.600000 m
b = 10.400000 m
b = 11.200000 m
b = 12.000000 m
b = 5.000000 m
b = 5.200000 m
b = 5.400000 m
b = -5.400000 m
b = -5.200000 m
b = -5.000000 m
Images of a generic source
In [10]:
In [11]:
In [12]:
Image of an aligned source (source on the -axis)
In [13]:
In [14]:
In [15]:
In [ ]: