Skip to main content

MESA tables for post-processing of MUSIC simulations

Project description

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:

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])

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

music_mesa_tables-0.2.3-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (81.8 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ x86-64

music_mesa_tables-0.2.3-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (81.7 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ ARM64

music_mesa_tables-0.2.3-cp313-cp313t-macosx_11_0_arm64.whl (82.5 MB view details)

Uploaded CPython 3.13tmacOS 11.0+ ARM64

music_mesa_tables-0.2.3-cp313-cp313t-macosx_10_12_x86_64.whl (81.8 MB view details)

Uploaded CPython 3.13tmacOS 10.12+ x86-64

music_mesa_tables-0.2.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (81.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

music_mesa_tables-0.2.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (81.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

music_mesa_tables-0.2.3-cp310-abi3-macosx_11_0_arm64.whl (82.5 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

music_mesa_tables-0.2.3-cp310-abi3-macosx_10_12_x86_64.whl (81.8 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file music_mesa_tables-0.2.3-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for music_mesa_tables-0.2.3-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 aaeb2f8367d5e920bc8a9b42f6c4f583ab693d3d570ec45e3dc9d10ce16531ae
MD5 5dd4fa2aa00710e592aaa0642c22ffea
BLAKE2b-256 657d800139014f06c676f5588afabe456a3b7e30845c2527630a7e364b939a5d

See more details on using hashes here.

File details

Details for the file music_mesa_tables-0.2.3-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for music_mesa_tables-0.2.3-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 dadce38647755ae998ba40c65c4317821b2b88c708210f062b9af99d10cabced
MD5 4946b2e4f094d0248ab1a34ea9bccd6b
BLAKE2b-256 587fa3822c986fb161a1b65321689df61130341d9e9d9e85d68810a0b8cef96e

See more details on using hashes here.

File details

Details for the file music_mesa_tables-0.2.3-cp313-cp313t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for music_mesa_tables-0.2.3-cp313-cp313t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9e3ae4885bf5c811848bcaa1feacb5f9b3f2e99b9e3f47cbe82c236bb3744277
MD5 ef9a0ee1a398a376fb1ee4995add8897
BLAKE2b-256 81facea8adaaed83537aaa7400d40772126afed939c38f326d8aa06b6e0f0ca4

See more details on using hashes here.

File details

Details for the file music_mesa_tables-0.2.3-cp313-cp313t-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for music_mesa_tables-0.2.3-cp313-cp313t-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 2fedfc0324ab489fd1c72d397ca3f9b2be9056adb15e26c73cddaf83e82c0e06
MD5 e9c30e9c7bd9c077d059b8d56eb05758
BLAKE2b-256 e29e2eb5660433e5f00bb55818ce85c1eff010cf468ef6855f58be2ea8022bef

See more details on using hashes here.

File details

Details for the file music_mesa_tables-0.2.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for music_mesa_tables-0.2.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e3fd8f74ac0948fbdc9af30b538da024bf5e51ca0465638570ac24e3132528fe
MD5 7e51adcc2dd660dddf96ab2be74c6e91
BLAKE2b-256 ab85111d138fdc261b32c9c7b84342f1b455cc2dd16b03a4ab08d5c1c54f749d

See more details on using hashes here.

File details

Details for the file music_mesa_tables-0.2.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for music_mesa_tables-0.2.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 53d5149eece5a76a2d221c211fae7b990689831703bb50476f4a1aa4f88768da
MD5 b9e8d559355297c309bee4ad124948a8
BLAKE2b-256 11eaa94ee1b945287af3c1a9f8b0b09b5a6726a1a909ab0be997c488d8582c1d

See more details on using hashes here.

File details

Details for the file music_mesa_tables-0.2.3-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for music_mesa_tables-0.2.3-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 176240afc051a132a0f5b639c84763f2050fce54a5354e97e58dcf9a0ea35dde
MD5 88ca8055762da4ee1cdd7832d68e3b95
BLAKE2b-256 38eb0c05fae06b67a8656d873b66334126f94112881d7ba3368df8bfcba9d558

See more details on using hashes here.

File details

Details for the file music_mesa_tables-0.2.3-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for music_mesa_tables-0.2.3-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0818ddc882654243ad459333dc4998996e57f5341bc939b38f221b81d9521d64
MD5 bb2854cd7a1dd4260738f5ba4434ab9c
BLAKE2b-256 a009c36ce2ce6ab32d3a0bf92a3b90876d02b8ad995d8d4eb6e10f3de2a15c84

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