Skip to main content

PX436 scripts

These scripts were generated by a previous lecturer of this course. I'm not a Python user personally, so can't help you with running them, but leave them here in case they're useful to you:

Here are the scripts I use to show orbits in the Schwarzschild geometry. The scripts are written in Python and require the standard third party packages numpy, scipy and matplotlib. The scripts operate by generating individual movie frames which are saved to disk and then stitched together at the end. The stitching is not portable and will probably only run under linux (possibly MACs, definitely not Windows).