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: swjones@uvic.ca.

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.5204.tar.gz (156.1 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for NuGridpy-0.1.5204.tar.gz
Algorithm Hash digest
SHA256 48dd8ec2985a555c0e16990c35254330c3d514d4645f8765906d08b5e712a1ed
MD5 6496ed61f32c4762374754ed90c0a24d
BLAKE2b-256 4c1c471860f5ca0be3b2ac16e9767e27461c7d5043c59ecc5b5a9a8895329dab

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