Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

Reference manual of the SageMath package kerrgeodesic_gw

10989 views
License: GPL3
ubuntu2004
1
from kerrgeodesic_gw import KerrBH
2
a = var('a')
3
M = KerrBH(a)
4
M.boyer_lindquist_coordinates()
5
init_point = M((0, 6, pi/2, 0), name='p0')
6
geod = M.geodesic([0, 300], init_point, mu=1, E=0.883, \
7
L=1.982, Q=0.467, a_num=0.998)
8
geod.integrate(step=0.005)
9
graph = geod.plot(label_axes=True) # True is required for jmol
10
graph._extra_kwds['aspect_ratio'] = 1 # for jmol
11
sphinx_plot(graph)
12