Python tools for NuGrid
Project description
Nugridpy is a set of Python tools to access and analyse (e.g. plot) the various output formats (including the hdf5-based se format) from NuGrid codes (mppnp and ppn) and from the MESA stellar evolution code. In principle the NuGridpy tools can be used on any stellar evolution code output if the tools to write se hdf5 files available on the NuGrid web page are used. The mesa.py module will work with MESA ASCII output in the ‘LOGS’ directory. These modules were written with an interactive work mode in mind, in particular taking advantage of the interactive ipython session that we usually start with ‘ipython –pylab’ or inside an ipython notebook.
Once your session starts import the mesa or nugridse or ppn module (depending on which type of data you are working with):
>>> import mesa as ms
and read the docstring:
>>> help(ms)
There are reasonable doc strings in the modules. If you have made tested and debugged improvements we are happy to know about them and we may add them to the release available on the web page. The tools provided here are useful to us, but of course there are still many things that need attention and improvement. We have a good list of scheduled improvements, let us know if you want to help with these. You can contact us by email: swjones@uvic.ca.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file NuGridpy-0.1.6400.tar.gz
.
File metadata
- Download URL: NuGridpy-0.1.6400.tar.gz
- Upload date:
- Size: 156.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4ec093ce7f4373f07fc797e7b99a32f7b2a7014d0b3055310e507a56b6a1e13 |
|
MD5 | 170e8553547ff3c09f92da060e6098f8 |
|
BLAKE2b-256 | b918f0881e68bbb7a5221e5a21c91a031d7109c8ffe47c3f7c3689b624fff1c1 |