Skip to main content

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

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

helmeos-1.0.0.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

helmeos-1.0.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file helmeos-1.0.0.tar.gz.

File metadata

  • Download URL: helmeos-1.0.0.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.15

File hashes

Hashes for helmeos-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1a024df55d0e6d6dfc69b394fbb3576d6e07012b265344380d7303b68cb07ab6
MD5 c5be0871c5c34371f2d38f6167ee3fd1
BLAKE2b-256 b36f3decbcad5df16b25ffb5bc56bfa8704b973c2cbe527af17e096ffa6f1eea

See more details on using hashes here.

File details

Details for the file helmeos-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: helmeos-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.15

File hashes

Hashes for helmeos-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed7ee3f9872895c4d2382dc9ac895b81ee0ca8eaa59927ab9c64e42f8da357b5
MD5 8863d5854bde539b7de56efe35ab5109
BLAKE2b-256 aa310c2299e9a30aab9577d9c0c83d19927b33201e683130eca58399fb1c3625

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page