Skip to main content

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: s.w.jones@keele.ac.uk.

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

NuGridpy-0.1.4966.tar.gz (151.7 kB view details)

Uploaded Source

File details

Details for the file NuGridpy-0.1.4966.tar.gz.

File metadata

  • Download URL: NuGridpy-0.1.4966.tar.gz
  • Upload date:
  • Size: 151.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for NuGridpy-0.1.4966.tar.gz
Algorithm Hash digest
SHA256 1161f17ae3fc361e81b48bc2e3c7130cfaf378a70b99f26736f420ede099dd9d
MD5 d49117721c9ac369da045deee7c52fe6
BLAKE2b-256 ca142c966143901148003c8d94095b30ac407de2deeb7d3cbc2f05b851e91135

See more details on using hashes here.

Provenance

Supported by

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