py_mesa_reader
py_mesa_reader copied to clipboard
Tools for easily accessing and manipulating data from MESA in python.
When history.data contains only one entry, MesaData cannot handle it, as the data(key) method returns an element instead of an array. For instance, when I use the following code to...
Hi, At the moment when one wants to install py_mesa_reader, one needs to do it via the ZIP from GitHub: ``` pip install https://github.com/wmwolf/py_mesa_reader/archive/master.zip ``` It would be great if...
In this example, `LOGS` is a MESA log dir with only one profile. The root cause is that when `numpy.genfromtxt` reads only one line from profiles.index, it returns an array...
The filename that is read by the `read_data` function currently assumes that `self.file_name` is a string and checks the file suffix with the string method `endswith`. However, this prevents from...
Hi Bill, I've been using mesa_reader to handle very large grids of stars(~1000 individual runs adding up to tens of GiB) for my work, and I felt tempted to optimize...
Adding some quality of life things to the repo: Two Github actions: 1. check the code for style and common errors with `ruff` (`test-package.yml`) 2. Automatically publish new github release...
I stumbled upon an issue with the "luminosity" value not being treated correctly, and tried to solve it: The history_colums.list does not include the non-logarithmic luminosity as "L", but as...