Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1.52 KB

README.md

File metadata and controls

34 lines (20 loc) · 1.52 KB

helmeos

codecov License

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.

References

Prerequisites

Python packages:

  • numpy
  • matplotlib (optional, for plotting)

This is only tested on Python3.

Installation

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

Example

See example.py for example code.