SkillAgentSearch skills...

TOVsolver

Python package for solving TOV equation and calculating tidal properties

Install / Use

/learn @amotornenko/TOVsolver
About this skill

Quality Score

0/100

Supported Platforms

Universal

README


Python for TOV solver

<div class="contents"> </div> <div class="section-numbering"> </div>

About

Python package to solve Tolman-Oppenheimer-Volkoff equation. Allows to study properties of static neutron stars with given equation of state. Additionally is able to calculate tidal properties of neutron stars. The package can become quite handy by using from jupyter noebook.

<p align="center"> <img src="example/figures/mr.png" width="400"/> <img src="example/figures/tidal.png" width="600"/> </p>

Documentation

To install use:

pip3 install .

Or if you do not have root access, then to install locally:

pip3 install . --user

See an example jupyter notebook in the example folder.

Functionality

Solves TOV equation, calculates mass and radius of static neutron star at given central density. Calculates tidal properties of neutron star.

Literature

License

Copyright 2019-2022 Anton Motornenko (FIAS)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

View on GitHub
GitHub Stars41
CategoryDevelopment
Updated11d ago
Forks11

Languages

Jupyter Notebook

Security Score

80/100

Audited on Mar 25, 2026

No findings