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 surface_density_toy_model
2
param = [6.5, 0, 0.6, 0.1]
3
s_plot = lambda r, phi: surface_density_toy_model(r, phi, param)
4
r, phi, z = var('r phi z')
5
g = plot3d(s_plot, (r, 6, 8), (phi, -0.4, 0.4), \
6
transformation=(r*cos(phi), r*sin(phi), z))
7
sphinx_plot(g)
8