| Download
SageMath notebooks associated to the Black Hole Lectures (https://luth.obspm.fr/~luthier/gourgoulhon/bh16)
Project: BHLectures
Views: 20110Kernel: SageMath 9.1.beta8
Image of an accretion disk around a Schwarzschild black hole
This Jupyter/SageMath notebook is relative to the lectures Geometry and physics of black holes.
In [1]:
'SageMath version 9.1.beta8, Release Date: 2020-03-18'
In [2]:
Function
We evaluate via the functions elliptic_f and elliptic_kc of SageMath, taking into account that the second argument of elliptic_f
and the argument of elliptic_kc
is and not .
In [3]:
Asymptotic direction from some emission point
In [4]:
In [5]:
Value of for a given
In [6]:
In [7]:
In [8]:
In [9]:
as a function of along a null geodesic parametrized by
In [10]:
In [11]:
Periastron as a function of
In [12]:
In [13]:
In [14]:
Computation of null geodesics
In [15]:
Inner and outer radii of the accretion disk:
In [16]:
Colors of the various images:
In [17]:
Emission from the upper part of the disk ()
In [18]:
In [19]:
In [20]:
In [21]:
In [22]:
In [23]:
In [24]:
In [25]:
In [26]:
In [27]:
In [28]:
In [29]:
In [30]:
In [31]:
In [32]:
In [33]:
In [34]:
In [35]:
Inner radius and width of primary image:
In [36]:
Inner radius and width of secondary image:
In [37]:
Inner radius and width of tertiary image:
In [38]:
Emission from the lower part of the disk ()
In [39]:
In [40]:
In [41]:
In [42]:
In [43]:
In [44]:
In [45]:
In [46]:
In [47]:
In [48]:
In [49]:
In [50]:
In [51]:
In [52]:
Slight reajustment to take into account that the null geodesics are cut at finite :
In [53]:
In [54]:
In [55]: