https://github.com/astrobarker/tovpy
Python based Tolman–Oppenheimer–Volkoff (TOV) solver
https://github.com/astrobarker/tovpy
Last synced: over 1 year ago
JSON representation
Python based Tolman–Oppenheimer–Volkoff (TOV) solver
- Host: GitHub
- URL: https://github.com/astrobarker/tovpy
- Owner: AstroBarker
- License: gpl-3.0
- Created: 2024-01-02T17:33:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-28T21:12:01.000Z (over 2 years ago)
- Last Synced: 2025-02-04T10:56:40.345Z (over 1 year ago)
- Language: Python
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tovpy
A Python based Tolman–Oppenheimer–Volkoff (TOV) solver for the structure of a simple neutron star.
Can be used to produce mass radius plots.
Supports both polytropic equation of state as well as tabulated nuclear equations of state.
For nuclear equations of state, use tables from [StellarCollapse](https://stellarcollapse.org/microphysics.html)
With the nuclear equation of state, we assume a cold neutron star (minimum temperature of the table) and beta equilibrium.
Includes forward Euler and RK4 temporal integration.
## Dependencies
- numpy
- matplotlib
- astropy
- numba