{ "info": { "author": "NuGrid Team", "author_email": "fherwig@uvic.ca", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Framework :: IPython", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5", "Topic :: Scientific/Engineering :: Astronomy", "Topic :: Scientific/Engineering :: Visualization" ], "description": "|Build Status| |PyPI version|\n\nNuGridPy\n========\n\n`NuGridPy `__ is the NuGrid Python\npackage providing tools to access and analyse (e.g. plot) various output\nformats (including the `NuGrid hdf5-based se\nformat `__) from NuGrid codes (mppnp and\nppn) and from the MESA stellar evolution code using the `NuGrid mesa\\_h5\nMESA extension `__. In principle the\nNuGridPy package can be used on any stellar evolution code output if the\n`NuGrid se libraries `__ are used for\noutput. The mesa.py module will work with MESA ASCII output in the\n``LOGS`` directory.\n\nUsing NuGridPy\n--------------\n\nThe NuGridPy modules were written with an interactive work mode in mind,\neither\n\n- taking advantage of the interactive ipython session, or\n- inside a jupyter ipython notebooks. Once your session starts import\n modules, such as ``mesa``, ``nugridse`` or ``ppn`` (depending on\n which type of data you are working with) from the NuGridPy package,\n for example:\n\n::\n\n from nugridpy import mesa as ms\n\nExample session\n~~~~~~~~~~~~~~~\n\n- `Star explore notebook on Jupyter\n nbviewer `__\n- `More examples on Jupyter\n nbviewer `__\n\nA typical example session in a jupyter notebook that can be performed at\nthe `Web-Exploration of NuGrid Data Interactive\n(WENDI) `__ server would look like this:\n\n1. Go to https://wendi.nugridstars.org and sign-in with your github ID\n (sessions will be culled at regular intervals > a few hours, if you\n want to use this service beyond this trial period send a message to\n fherwig at uvic.ca)\n2. Start a Python 3 ipython notebooks\n3. Load NuGridPy packages and initialise data source:\n\n ::\n\n %pylab\n # loading packages\n from nugridpy import nugridse as nuse\n from nugridpy import mesa\n #setting data path for mesa and nuse\n data_dir='/data/nugrid_vos'\n # data_dir='/data/nugrid_apod2/' # alternative data store\n # do ! ls /data/nug* to check for other alternative data stores\n mesa.set_nugrid_path(data_dir)\n nuse.set_nugrid_path(data_dir)\n\n4. Creating see and ppd instances\n\n ::\n\n # see: Stellar Evolution and Explosion data\n # ppd: Post-Processing Data\n m2z02_ppd=nuse.se(mass=2,Z=0.02)\n m2z02_see=mesa.history_data(mass=2,Z=0.02)\n\n5. Plot Hertzsprung-Russel diagram or Kippenhahn diagram\n\n ::\n\n m2z02_see.hrd_new()\n\n ::\n\n m2z02_see.kip_cont()\n\n6. Inquire doc string, plot abundance profiles from ppd data\\_dir\n\n ::\n\n m2z02_see.plot?\n\n ::\n\n figure(11)\n m2z02_ppd.plot('mass','Ba-138',fname=33500,logy=True,shape='-',\\\n linewidth=2,limits=[0.5882, 0.5889,-7.8, -3.2])\n\n ::\n\n species=['H-1','C-12','C-13','N-14','Fe-56','Sr-86','Ba-138','Pb-206']\n ifig=121;close(ifig);figure(ifig)\n m2z02_ppd.abu_profile(isos=species, ifig=ifig, fname=45500, logy=True, colourblind=True)\n ylim(-9,0)\n xlim(0.603,0.6033)\n title(\"Formation of the $^\\mathsf{13}\\mathsf{C}$ pocket: the partial H-$^\\mathsf{12}\\mathsf{C}$ zone\")\n\nDocumentation\n-------------\n\nEach module, class, function has (or should have!) reasonable doc\nstrings in the modules. Read the docstring: ``help(ms)``,\n``m2z02_see.plot?``\n\nThe docstrings are also available on the `Documentation web\npage `__.\n\nIf you have made tested and debugged improvements we are happy to know\nabout them. Make a pull request on github. Such improvements include the\ndocumentation.\n\nThe tools provided here are useful to us, but of course there are still\nmany things that need attention and improvement. Please add submit an\n*issue* on the github repo for ideas of improvements and to report bugs.\nLet us know if you want to help with these. Pull requests and new issues\nare most welcome!\n\nInstallation\n------------\n\nThere are several ways you can install NuGridPy.\n\nPyPI\n~~~~\n\nMajor release from PyPI:\n\n::\n\n pip install nugridpy\n\nRelease from github:\n~~~~~~~~~~~~~~~~~~~~\n\nSometimes you want to install a specific release. Go to the `NuGridPy\nRelease page `__ and\ndetermine the tag of the release you want. If the tag is ``v0.7.2``\ninstall that release with pip using the following (you could choose\nsomething else for the egg name):\n\n::\n\n pip install -e git://github.com/NuGrid/NuGridPy.git@v0.7.4#egg=nugridpy\n\nIf you just want to install whatever the latest commit is on github\nusing github you can do:\n\n::\n\n pip install git+https://github.com/NuGrid/NuGridPy.git\n\nClone and PYTHONPATH\n~~~~~~~~~~~~~~~~~~~~\n\nEspecially for developing NuGridPy you may want to use pip but have more\ncontrol of where the installation goes, to change the repo and commit\nback. In that case you can clone this repo, e.g.:\n\n::\n\n cd ; mkdir src; cd src\n git clone https://github.com/NuGrid/NuGridPy.git\n\nand point the ``PYTHONPATH`` variable to the NuGridPy repo directory.\n\nInside a jupyter notebook you can set the path the following way:\n\n::\n\n import sys\n sys.path.append('/home/user/src/NuGridPy')\n\nRequired packages\n~~~~~~~~~~~~~~~~~\n\nAll modules should work with the python distribution recommended\n`NuGridDoc\npython `__\ndistribution, with one additional package, the *future* package that\nneeds to be installed additionally.\n\nNuGridPy has the following python dependencies:\n``numpy scipy matplotlib h5py xlrd future``\n\nFor additional details on required packages, dependencies and manual\ninstallation please consult the Wiki.\n\n.. |Build Status| image:: https://travis-ci.org/NuGrid/NuGridPy.svg?branch=master\n :target: https://travis-ci.org/NuGrid/NuGridPy\n.. |PyPI version| image:: https://badge.fury.io/py/NuGridpy.svg\n :target: https://badge.fury.io/py/NuGridpy\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://nugrid.github.io/NuGridPy", "keywords": "", "license": "BSD 3-clause", "maintainer": "", "maintainer_email": "", "name": "NuGridpy", "package_url": "https://pypi.org/project/NuGridpy/", "platform": "Linux", "project_url": "https://pypi.org/project/NuGridpy/", "project_urls": { "Homepage": "https://nugrid.github.io/NuGridPy" }, "release_url": "https://pypi.org/project/NuGridpy/0.7.5/", "requires_dist": null, "requires_python": "", "summary": "Python tools for NuGrid", "version": "0.7.5" }, "last_serial": 3915661, "releases": { "0.1.4449": [ { "comment_text": "", "digests": { "md5": "13dbbdad693f92c61f0016b85ef77dd3", "sha256": "431177c019e9bb7d065c469cfb9205997ffe049524a5ef51e4479feffc72c176" }, "downloads": -1, "filename": "NuGridpy-0.1.4449.tar.gz", "has_sig": false, "md5_digest": "13dbbdad693f92c61f0016b85ef77dd3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 138841, "upload_time": "2014-07-09T23:33:34", "url": "https://files.pythonhosted.org/packages/bb/fd/349230fceba9e20b5815b8f2fbe034e37369dcc4080831b524f8acf0bd83/NuGridpy-0.1.4449.tar.gz" } ], "0.1.4644": [ { "comment_text": "", "digests": { "md5": "57c3cd91b90a652b4d2e3e7c04e64acc", "sha256": "5d5313c7f32071d6b45c1826fea68a0bae6de68ea146ea97baa8e1ec19eb43ef" }, "downloads": -1, "filename": "NuGridpy-0.1.4644.tar.gz", "has_sig": false, "md5_digest": "57c3cd91b90a652b4d2e3e7c04e64acc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 146522, "upload_time": "2014-11-19T20:42:38", "url": "https://files.pythonhosted.org/packages/7b/1e/b8e4006048d670d78c44d5026b68a9c63846541a32cbea833cb59b51f9b4/NuGridpy-0.1.4644.tar.gz" } ], "0.1.4862": [ { "comment_text": "", "digests": { "md5": "80d9bf0353bc870822c9e4ea4cf47c66", "sha256": "5a081e63e1376b9e55dd76326c409e1312fc416870f18b10b9c6249fa36e8daf" }, "downloads": -1, "filename": "NuGridpy-0.1.4862.tar.gz", "has_sig": false, "md5_digest": "80d9bf0353bc870822c9e4ea4cf47c66", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 148281, "upload_time": "2014-11-19T20:47:30", "url": "https://files.pythonhosted.org/packages/83/f7/a89ad5a8b027bfecfc63d2f7e76370e5bae5cd1942c272aa32c2fcdf5646/NuGridpy-0.1.4862.tar.gz" } ], "0.1.4906": [ { "comment_text": "", "digests": { "md5": "25af058fdc717711b0bde2d33e9f3da1", "sha256": "ca6c4939663e55507cbae962a200e5ed98e6cfb9c951e37b87b04a4850448102" }, "downloads": -1, "filename": "NuGridpy-0.1.4906.tar.gz", "has_sig": false, "md5_digest": "25af058fdc717711b0bde2d33e9f3da1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 148304, "upload_time": "2014-11-26T23:27:44", "url": "https://files.pythonhosted.org/packages/34/ff/ece91d9acf40542687bbd2303abe27ac3d72c501c3b7507959d55abda7bb/NuGridpy-0.1.4906.tar.gz" } ], "0.1.4966": [ { "comment_text": "", "digests": { "md5": "d49117721c9ac369da045deee7c52fe6", "sha256": "1161f17ae3fc361e81b48bc2e3c7130cfaf378a70b99f26736f420ede099dd9d" }, "downloads": -1, "filename": "NuGridpy-0.1.4966.tar.gz", "has_sig": false, "md5_digest": "d49117721c9ac369da045deee7c52fe6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 151734, "upload_time": "2014-12-03T03:15:33", "url": "https://files.pythonhosted.org/packages/ca/14/2c966143901148003c8d94095b30ac407de2deeb7d3cbc2f05b851e91135/NuGridpy-0.1.4966.tar.gz" } ], "0.1.5071": [ { "comment_text": "", "digests": { "md5": "508384d8704629a30cfb75a5c406490a", "sha256": "08f987402e630e28ee29c3dd6995c07334ba983bb549bfa8846d51dfd321e4c7" }, "downloads": -1, "filename": "NuGridpy-0.1.5071.tar.gz", "has_sig": false, "md5_digest": "508384d8704629a30cfb75a5c406490a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 154726, "upload_time": "2015-01-15T21:15:14", "url": "https://files.pythonhosted.org/packages/4c/b3/fd887de5a1960d8bdaabf8dfc1d126bd3cff08efbf79f6da709a9b98e98a/NuGridpy-0.1.5071.tar.gz" } ], "0.1.5072": [ { "comment_text": "", "digests": { "md5": "304ca1726c179221fbaf893eeb9f9c2a", "sha256": "79447aee9991f79727f8fb22960229edcbafb072d58a6ddb7e00c3a7f2c6b198" }, "downloads": -1, "filename": "NuGridpy-0.1.5072.tar.gz", "has_sig": false, "md5_digest": "304ca1726c179221fbaf893eeb9f9c2a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 154735, "upload_time": "2015-01-15T23:24:48", "url": "https://files.pythonhosted.org/packages/16/69/25561704a8f44f9f72798ba86556c57179495581970d74ea515d98c08fca/NuGridpy-0.1.5072.tar.gz" } ], "0.1.5074": [ { "comment_text": "", "digests": { "md5": "030b133d49c99cc4d1cd693b9e1469a7", "sha256": "9bddc2f88a1b8e43498c68cac50b2a602527d589b8c219d99ffa8636700c10e7" }, "downloads": -1, "filename": "NuGridpy-0.1.5074.tar.gz", "has_sig": false, "md5_digest": "030b133d49c99cc4d1cd693b9e1469a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 154711, "upload_time": "2015-01-16T18:27:58", "url": "https://files.pythonhosted.org/packages/0b/09/7a25105ccb30444a343bad8c5e9a41079e29ccc61dabd7a46624fb023807/NuGridpy-0.1.5074.tar.gz" } ], "0.1.5087": [ { "comment_text": "", "digests": { "md5": "2bbc64f0be963a8643eb521b62e2827b", "sha256": "5fe2830239358d109b083d40a9f62eb9dfe63784bee8245c3d0fcd3dc9b50259" }, "downloads": -1, "filename": "NuGridpy-0.1.5087.tar.gz", "has_sig": false, "md5_digest": "2bbc64f0be963a8643eb521b62e2827b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 155875, "upload_time": "2015-01-22T01:10:50", "url": "https://files.pythonhosted.org/packages/88/e0/3a966582c5ac75d37c0335e3aa9fc7155069acb2be977fefbde148b5f265/NuGridpy-0.1.5087.tar.gz" } ], "0.1.5204": [ { "comment_text": "", "digests": { "md5": "6496ed61f32c4762374754ed90c0a24d", "sha256": "48dd8ec2985a555c0e16990c35254330c3d514d4645f8765906d08b5e712a1ed" }, "downloads": -1, "filename": "NuGridpy-0.1.5204.tar.gz", "has_sig": false, "md5_digest": "6496ed61f32c4762374754ed90c0a24d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 156133, "upload_time": "2015-02-19T16:24:24", "url": "https://files.pythonhosted.org/packages/4c/1c/471860f5ca0be3b2ac16e9767e27461c7d5043c59ecc5b5a9a8895329dab/NuGridpy-0.1.5204.tar.gz" } ], "0.1.5205": [], "0.1.5212": [ { "comment_text": "", "digests": { "md5": "890fd0cb56b47a569c94e6ddbb820a95", "sha256": "13efa78b9ab5ec21928a290ef95c196e2f43a23aaa8effc83290c93a53575ab4" }, "downloads": -1, "filename": "NuGridpy-0.1.5212.tar.gz", "has_sig": false, "md5_digest": "890fd0cb56b47a569c94e6ddbb820a95", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 156413, "upload_time": "2015-02-23T11:17:23", "url": "https://files.pythonhosted.org/packages/cf/ea/d474b7eb1b446e78e8f2cd63757c73e9f42662cdcade9c971651a2a687cb/NuGridpy-0.1.5212.tar.gz" } ], "0.1.5213": [ { "comment_text": "", "digests": { "md5": "aabc8a6e5bb0375b00b58a5fe69062f2", "sha256": "96cfd09e83537f8db9cfb21b6b29969eaa2bbd18d11ef656fe4421e050bd016b" }, "downloads": -1, "filename": "NuGridpy-0.1.5213.tar.gz", "has_sig": false, "md5_digest": "aabc8a6e5bb0375b00b58a5fe69062f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 156422, "upload_time": "2015-02-23T14:26:24", "url": "https://files.pythonhosted.org/packages/73/04/714d9c11578582edc8fb1a5315678983f0744f264a94d65c2b21e9af757f/NuGridpy-0.1.5213.tar.gz" } ], "0.1.5480": [ { "comment_text": "", "digests": { "md5": "0d7ca62a38c9960a3dcd7bd5741e3e03", "sha256": "e899facbc81d7b2c078cac6728727c5d7a32fe10850d61f09f1f42abeca70254" }, "downloads": -1, "filename": "NuGridpy-0.1.5480.tar.gz", "has_sig": false, "md5_digest": "0d7ca62a38c9960a3dcd7bd5741e3e03", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 157562, "upload_time": "2015-05-19T07:04:51", "url": "https://files.pythonhosted.org/packages/f1/f6/14abb96e167f88d7361c4a2fe02e76725bcdb690cd991205d57f367f9efc/NuGridpy-0.1.5480.tar.gz" } ], "0.1.6384": [ { "comment_text": "", "digests": { "md5": "b2c100cd3774bfd860b38321fc4a1eb5", "sha256": "ab3e7c96f7255a2949bdc063229a7a8098e4b8e7371ee2ca466b4a41cfd112ce" }, "downloads": -1, "filename": "NuGridpy-0.1.6384.tar.gz", "has_sig": false, "md5_digest": "b2c100cd3774bfd860b38321fc4a1eb5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 159901, "upload_time": "2016-02-06T03:44:53", "url": "https://files.pythonhosted.org/packages/3f/6c/66f8722e35a510b87f187095e29146563427019770a9f31bb0e831f7dd50/NuGridpy-0.1.6384.tar.gz" } ], "0.1.6400": [ { "comment_text": "", "digests": { "md5": "170e8553547ff3c09f92da060e6098f8", "sha256": "a4ec093ce7f4373f07fc797e7b99a32f7b2a7014d0b3055310e507a56b6a1e13" }, "downloads": -1, "filename": "NuGridpy-0.1.6400.tar.gz", "has_sig": false, "md5_digest": "170e8553547ff3c09f92da060e6098f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 156893, "upload_time": "2016-02-07T23:09:33", "url": "https://files.pythonhosted.org/packages/b9/18/f0881e68bbb7a5221e5a21c91a031d7109c8ffe47c3f7c3689b624fff1c1/NuGridpy-0.1.6400.tar.gz" } ], "0.1.6401": [ { "comment_text": "", "digests": { "md5": "edf445a272b4bc4c48dcf36c8be62de6", "sha256": "2e1d8ae486ea8204418c6d305a8fa8480fef46d05ba70cb33f4b21eaa4963cfd" }, "downloads": -1, "filename": "NuGridpy-0.1.6401.tar.gz", "has_sig": false, "md5_digest": "edf445a272b4bc4c48dcf36c8be62de6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 160315, "upload_time": "2016-02-07T23:44:35", "url": "https://files.pythonhosted.org/packages/b7/47/ef2d265b183684c364b2da9dbbc74817980a9c40c07c6899c76cb6b94370/NuGridpy-0.1.6401.tar.gz" } ], "0.7.3": [ { "comment_text": "", "digests": { "md5": "4ccab0d4969c246574b5dabec5449129", "sha256": "2505f0eed1bc73151fc43bd30593d3bb97ef92003fc874ca753dc578ffdab3e2" }, "downloads": -1, "filename": "NuGridpy-0.7.3.tar.gz", "has_sig": false, "md5_digest": "4ccab0d4969c246574b5dabec5449129", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 169888, "upload_time": "2017-11-19T06:23:21", "url": "https://files.pythonhosted.org/packages/b6/7d/603a5df96e80d7aa53fd7f733112347d1af714a8e89b618defd82575e752/NuGridpy-0.7.3.tar.gz" } ], "0.7.4": [ { "comment_text": "", "digests": { "md5": "cb3a3dcaab25515e86100268a62f1998", "sha256": "c27dc655f13e4c509bd0c17d66e66b976df22fdee7f575f235c39c41fd499f37" }, "downloads": -1, "filename": "NuGridpy-0.7.4.tar.gz", "has_sig": false, "md5_digest": "cb3a3dcaab25515e86100268a62f1998", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 170484, "upload_time": "2017-11-19T07:51:55", "url": "https://files.pythonhosted.org/packages/4c/7d/883424c0a1288930cfb4f24085c91902977f81480dbc8345904307507d27/NuGridpy-0.7.4.tar.gz" } ], "0.7.5": [ { "comment_text": "", "digests": { "md5": "a6c7f03876f9c430ad6993ecc6a7188a", "sha256": "731d6f0d2bd115771c947ed4d9fc87d24f4eed3a2595c1f0b571a5a401f2e3ed" }, "downloads": -1, "filename": "NuGridpy-0.7.5.tar.gz", "has_sig": false, "md5_digest": "a6c7f03876f9c430ad6993ecc6a7188a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 171069, "upload_time": "2018-05-31T04:19:27", "url": "https://files.pythonhosted.org/packages/64/bf/b7b802faf76fc8f9894ede6dddac8884c4647e5e4bc78ede5b45cddbed47/NuGridpy-0.7.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a6c7f03876f9c430ad6993ecc6a7188a", "sha256": "731d6f0d2bd115771c947ed4d9fc87d24f4eed3a2595c1f0b571a5a401f2e3ed" }, "downloads": -1, "filename": "NuGridpy-0.7.5.tar.gz", "has_sig": false, "md5_digest": "a6c7f03876f9c430ad6993ecc6a7188a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 171069, "upload_time": "2018-05-31T04:19:27", "url": "https://files.pythonhosted.org/packages/64/bf/b7b802faf76fc8f9894ede6dddac8884c4647e5e4bc78ede5b45cddbed47/NuGridpy-0.7.5.tar.gz" } ] }