Skip to content
/ helmeos Public

A Python implementation/port of Frank Timmes' Helmholtz EoS.

License

Notifications You must be signed in to change notification settings

msbc/helmeos

Repository files navigation

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.

About

A Python implementation/port of Frank Timmes' Helmholtz EoS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages