{ "info": { "author": "Christopher Wells", "author_email": "cwells2@oswego.edu", "bugtrack_url": null, "classifiers": [], "description": "# Megyr [![Build Status](https://travis-ci.org/ExcaliburZero/megyr.svg?branch=master)](https://travis-ci.org/ExcaliburZero/megyr) [![Documentation Status](https://readthedocs.org/projects/megyr/badge/?version=latest)](https://megyr.readthedocs.io/en/latest/?badge=latest)\nMegyr is a Python library for creating scripts to automate MESA and GYRE runs over grids of parameter values. It provides a main function that you can run with a set of configuration settings to determine how to run MESA and GYRE and what values to use for the different models.\n\n```python\nimport megyr\n\ndef main():\n megyr.run({\n \"input\": {\n \"mesa_configs\": [\"inlist.mustache\"],\n \"gyre_config\": \"gyre.in.mustache\"\n },\n \"output\": {\n \"gyre_oscillations_ad_summary_file\": \"oscillations_ad.csv\"\n },\n \"settings\": {\n \"mesa_star_location\": \"star\",\n \"gyre_location\": \"$GYRE_DIR/bin/gyre\",\n },\n \"stages\": {\n \"mesa_params\": mesa_params,\n \"gyre_params\": calc_gyre_params,\n }\n })\n\nmesa_params = {\n \"initial_mass\": [1, 1.1, 1.5],\n \"y\": [0.25, 0.27, 0.32]\n}\n\ndef calc_gyre_params(mesa_params, mesa_data):\n return {\n \"l\": [0, 1, 2],\n\n # Look at all the profiles that are at least 1 Gyr in age\n \"profile\": mesa_data[mesa_data[\"star_age\"] > 1000000000][\"profile\"]\n }\n\nif __name__ == \"__main__\":\n main()\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ExcaliburZero/megyr", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "megyr", "package_url": "https://pypi.org/project/megyr/", "platform": "", "project_url": "https://pypi.org/project/megyr/", "project_urls": { "Homepage": "https://github.com/ExcaliburZero/megyr" }, "release_url": "https://pypi.org/project/megyr/0.2.1/", "requires_dist": [ "pandas", "pystache" ], "requires_python": "", "summary": "A library for creating scripts to automate MESA and GYRE runs.", "version": "0.2.1" }, "last_serial": 4474940, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "2fd401f73ceb6a0bff53b77e9fea8e03", "sha256": "29177c537b23ddf683136105cc83410a4fd12e6e589e60e49a623004f8a09215" }, "downloads": -1, "filename": "megyr-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "2fd401f73ceb6a0bff53b77e9fea8e03", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8706, "upload_time": "2018-09-25T21:36:46", "url": "https://files.pythonhosted.org/packages/ce/35/94e858e713b648d7c428c77ffc6e70cc41dad868ed5f161e48b0dd28d0ea/megyr-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b44d6fe417b355e87ab99a410926a333", "sha256": "cd7df790a3bf2606f166c5eae189ba60936a07181c5bddfca6919cccacef8c75" }, "downloads": -1, "filename": "megyr-0.2.0.tar.gz", "has_sig": false, "md5_digest": "b44d6fe417b355e87ab99a410926a333", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6367, "upload_time": "2018-09-25T21:36:47", "url": "https://files.pythonhosted.org/packages/03/eb/c4baa916ee1d0b798bbde77e36e0a826a86a4484a0b3bb42c66d02707c51/megyr-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "c9e4495d4677f098d9a81fffea607829", "sha256": "b5851c066b79434c2e80fcd018b13f3d0ad1d1cbecd791711105bbe9d7623e87" }, "downloads": -1, "filename": "megyr-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c9e4495d4677f098d9a81fffea607829", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10096, "upload_time": "2018-11-11T18:59:48", "url": "https://files.pythonhosted.org/packages/98/2d/7d11642f3ea129a2a1681a0476feb8024f87d1d81d864ee8e084ddba72ea/megyr-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bc8e20f9c17999cb4a648f0f0bfb018e", "sha256": "b5bee2fd3240d0dd994398e8d8111c72d31fd660810b6b9239afb8fe0dde9caa" }, "downloads": -1, "filename": "megyr-0.2.1.tar.gz", "has_sig": false, "md5_digest": "bc8e20f9c17999cb4a648f0f0bfb018e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7964, "upload_time": "2018-11-11T18:59:50", "url": "https://files.pythonhosted.org/packages/8e/bb/21fb3f108919d9357babd41effa5590216dffbeec18514cb1155043f32cc/megyr-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c9e4495d4677f098d9a81fffea607829", "sha256": "b5851c066b79434c2e80fcd018b13f3d0ad1d1cbecd791711105bbe9d7623e87" }, "downloads": -1, "filename": "megyr-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c9e4495d4677f098d9a81fffea607829", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10096, "upload_time": "2018-11-11T18:59:48", "url": "https://files.pythonhosted.org/packages/98/2d/7d11642f3ea129a2a1681a0476feb8024f87d1d81d864ee8e084ddba72ea/megyr-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bc8e20f9c17999cb4a648f0f0bfb018e", "sha256": "b5bee2fd3240d0dd994398e8d8111c72d31fd660810b6b9239afb8fe0dde9caa" }, "downloads": -1, "filename": "megyr-0.2.1.tar.gz", "has_sig": false, "md5_digest": "bc8e20f9c17999cb4a648f0f0bfb018e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7964, "upload_time": "2018-11-11T18:59:50", "url": "https://files.pythonhosted.org/packages/8e/bb/21fb3f108919d9357babd41effa5590216dffbeec18514cb1155043f32cc/megyr-0.2.1.tar.gz" } ] }