Skip to content
Simple raytracing utility for rendering images if various black hole and neutron star metrics.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__pycache__
README.md
baking.py
flat.metric
gb.metric
kerr.metric
lensing.gif
rn.metric
sc.metric
trace.py

README.md

Gravitational Raytracing

This is the code written by Devanshu Panchal and Patrick Rall for our final project in Dr. Richard Matzner's General Relativity course, Spring 2018.

Metrics are inputted in baking.py. Sympy is used to compute the Christoffel symbols, and the geodesic equation solver is baked into a .metric file. The actual ray tracing is performed in trace.py, which contains lots of switches for different visualizations.

Our report is available here: http://patrickrall.ddns.net/NeutronStarRaytrace.pdf I hope somebody finds this useful...

You can’t perform that action at this time.