Documentation
¶
Index ¶
- func PlotEffectivePotential(mass float64, L float64, outputPath string) error
- func PlotGeodesicTrajectory(mass float64, impactParameter float64, outputPath string) error
- func PlotMetricFunction(mass float64, outputPath string) error
- func PlotMultipleGeodesics(mass float64, impactParams []float64, outputPath string) error
- func PlotMultiplePotentials(mass float64, impactParams []float64, outputPath string) error
- func PlotRadialGeodesic(mass float64, impactParameter float64, outputPath string) error
- func PlotTimeDilation(mass float64, outputPath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PlotEffectivePotential ¶
PlotEffectivePotential creates a plot of the effective potential for photon orbits. V_eff(r) = (1 - 2M/r) * L²/r²
Parameters:
mass: Black hole mass L: Angular momentum (impact parameter b) outputPath: Where to save the PNG
func PlotGeodesicTrajectory ¶
PlotGeodesicTrajectory plots a photon geodesic in the (x, y) plane. This shows the actual path of light around a black hole.
func PlotMetricFunction ¶
PlotMetricFunction plots the metric function f(r) = 1 - 2M/r
func PlotMultipleGeodesics ¶
PlotMultipleGeodesics plots several photon paths with different impact parameters.
func PlotMultiplePotentials ¶
PlotMultiplePotentials plots effective potentials for different impact parameters.
func PlotRadialGeodesic ¶
PlotRadialGeodesic plots r vs proper time for a photon.
func PlotTimeDilation ¶
PlotTimeDilation creates a plot of gravitational time dilation vs radius.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.