music-mesa-tables
Fast implementation of the 'mesa' equation of state as used in the MUSIC
project.
MUSIC is a stellar convection code. See e.g. Viallet et al (2016), Goffrey et al (2017).
The so-called 'mesa' equation of state implemented in MUSIC relies on tables
from the MESA project (version 15140).
In the regimes typically simulated in MUSIC, the relevant tables are:
- FreeEOS, from Irwin;
- OPAL, from Rogers and Nayfonov (2002);
- SCVH, from Saumon, Chabrier, and van Horn (1995).
See the MESA documentation for more details.
For use in MUSIC, these tables are reinterpolated in (density, internal energy) space. The reinterpolated tables are bundled in this package. This package is intended for post-processing of data from MUSIC simulations. To build stellar evolution models, refer to the MESA project.
This offers a Python API. Here is a simple example:
import music_mesa_tables as mmt
import numpy as np
eos = mmt.CstCompoEos(metallicity=0.02, he_frac=0.28)
density = np.array([1.05, 15.7, 134.9])
internal_energy = np.array([1e12, 1e15, 3e15])
state = mmt.CstCompoState(eos, density, internal_energy)
temperature = 10 ** state.compute(mmt.StateVar.LogTemperature)
# array([2.21745558e+03, 5.00852231e+06, 1.48317986e+07])
Metadata
Release files for music-mesa-tables 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 655.6 MB
Release files / music_mesa_tables-0.2.3-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | music_mesa_tables-0.2.3-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 81.8 MB |
| Tags | CPython 3.13 CPython 3.13 free-threading Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
aaeb2f8367d5e920bc8a9b42f6c4f583ab693d3d570ec45e3dc9d10ce16531ae
|
|
BLAKE2b-256 checksum How to use checksums |
657d800139014f06c676f5588afabe456a3b7e30845c2527630a7e364b939a5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.9.6
|
Release files / music_mesa_tables-0.2.3-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | music_mesa_tables-0.2.3-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 81.7 MB |
| Tags | CPython 3.13 CPython 3.13 free-threading Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
dadce38647755ae998ba40c65c4317821b2b88c708210f062b9af99d10cabced
|
|
BLAKE2b-256 checksum How to use checksums |
587fa3822c986fb161a1b65321689df61130341d9e9d9e85d68810a0b8cef96e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.9.6
|
Release files / music_mesa_tables-0.2.3-cp313-cp313t-macosx_11_0_arm64.whl
| Download URL | music_mesa_tables-0.2.3-cp313-cp313t-macosx_11_0_arm64.whl |
|---|---|
| Size | 82.5 MB |
| Tags | CPython 3.13 CPython 3.13 free-threading macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
9e3ae4885bf5c811848bcaa1feacb5f9b3f2e99b9e3f47cbe82c236bb3744277
|
|
BLAKE2b-256 checksum How to use checksums |
81facea8adaaed83537aaa7400d40772126afed939c38f326d8aa06b6e0f0ca4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.9.6
|
Release files / music_mesa_tables-0.2.3-cp313-cp313t-macosx_10_12_x86_64.whl
| Download URL | music_mesa_tables-0.2.3-cp313-cp313t-macosx_10_12_x86_64.whl |
|---|---|
| Size | 81.8 MB |
| Tags | CPython 3.13 CPython 3.13 free-threading macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
2fedfc0324ab489fd1c72d397ca3f9b2be9056adb15e26c73cddaf83e82c0e06
|
|
BLAKE2b-256 checksum How to use checksums |
e29e2eb5660433e5f00bb55818ce85c1eff010cf468ef6855f58be2ea8022bef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.9.6
|
Release files / music_mesa_tables-0.2.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | music_mesa_tables-0.2.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 81.8 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
e3fd8f74ac0948fbdc9af30b538da024bf5e51ca0465638570ac24e3132528fe
|
|
BLAKE2b-256 checksum How to use checksums |
ab85111d138fdc261b32c9c7b84342f1b455cc2dd16b03a4ab08d5c1c54f749d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.9.6
|
Release files / music_mesa_tables-0.2.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | music_mesa_tables-0.2.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 81.8 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
53d5149eece5a76a2d221c211fae7b990689831703bb50476f4a1aa4f88768da
|
|
BLAKE2b-256 checksum How to use checksums |
11eaa94ee1b945287af3c1a9f8b0b09b5a6726a1a909ab0be997c488d8582c1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.9.6
|
Release files / music_mesa_tables-0.2.3-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | music_mesa_tables-0.2.3-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 82.5 MB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
176240afc051a132a0f5b639c84763f2050fce54a5354e97e58dcf9a0ea35dde
|
|
BLAKE2b-256 checksum How to use checksums |
38eb0c05fae06b67a8656d873b66334126f94112881d7ba3368df8bfcba9d558
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.9.6
|
Release files / music_mesa_tables-0.2.3-cp310-abi3-macosx_10_12_x86_64.whl
| Download URL | music_mesa_tables-0.2.3-cp310-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 81.8 MB |
| Tags | CPython 3.10 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
0818ddc882654243ad459333dc4998996e57f5341bc939b38f221b81d9521d64
|
|
BLAKE2b-256 checksum How to use checksums |
a009c36ce2ce6ab32d3a0bf92a3b90876d02b8ad995d8d4eb6e10f3de2a15c84
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.9.6
|