A Python implementation/port of Frank Timmes' Helmholtz EoS.
This package provides a simple interface to the Helmholtz EoS for a wide range of temperatures and densities. The Helmholtz EoS is a tabulated equation of state for stellar matter, which is based on the Helmholtz free energy. The Helmholtz free energy is a function of temperature, density, and composition, and is used to calculate the pressure, internal energy, and entropy of a gas. This package does not provide a way to calculate the interpolation tables, but it does provide a way to read the tables and interpolate the values.
Python packages:
- numpy
- matplotlib (optional, for plotting)
This is only tested on Python3.
This package is available on PyPI, so you can install it using pip:
pip install helmeos
This package is also available on conda-forge, so you can install it using conda:
conda install -c conda-forge helmeos
See example.py for example code.