The following jupyter notebooks are part of the teaching material for the GR course in the MSc program at AUTh.
-
TOV_equations (derivation of the TOV equations)
-
TOV_isotropic (equations in isotropic coordinates)
-
pyTOV (numerical solution of TOV equations for polytropic EOS)
-
pyTOVpp (numerical solution of TOV equations for piecewise-polytropic EOS)
-
pyTOVtab (numerical solution of TOV equations for tabulated EOS)
-
pyTOV-STT (numerical solution of TOV equations in STT theory anf for piecewise-polytropic EOS)
The lecture notes for the course can be found here and here.