Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

Reference manual of the SageMath package kerrgeodesic_gw

Project: Sagittarius
Views: 7639
License: GPL3
Image: ubuntu2004
1
from kerrgeodesic_gw import surface_density_gaussian
2
param = param = [6.5, 0., 0.3]
3
s_plot = lambda r, phi: surface_density_gaussian(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