{ "info": { "author": "Juanjo Baz\u00e1n", "author_email": "hello@juanjobazan.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Education", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Scientific/Engineering :: Astronomy", "Topic :: Scientific/Engineering :: Physics" ], "description": ".. intergalactic\n\n.. |travis-badge| image:: https://travis-ci.org/xuanxu/intergalactic.svg?branch=master\n :target: https://travis-ci.org/xuanxu/intergalactic\n :alt: Build status\n.. |codecov-badge| image:: https://codecov.io/gh/xuanxu/intergalactic/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/xuanxu/intergalactic\n :alt: Coverage status\n.. |license| image:: https://img.shields.io/badge/license-MIT-blue.svg\n :target: https://github.com/xuanxu/intergalactic/blob/master/LICENSE\n :alt: MIT License\n.. |version| image:: https://img.shields.io/pypi/v/intergalactic.svg?color=brightgreen\n :target: https://pypi.org/project/intergalactic/\n :alt: Intergalactic in PyPi\n\n\n=============\nIntergalactic\n=============\n\n|travis-badge| |codecov-badge| |license| |version|\n\nIntergalactic is a Q-Matrix generator.\n\nBased on explicit values for *solar abundances*, *z* and *IMF*, Intergalactic calculates matrices ``Q(i,j)`` of masses of elements ``i`` ejected to the galactic medium as element ``j``, for a complete range of stellar masses, accounting for supernovas of types *Ia* and *Ib*.\n\nIntergalactic computes the contribution matrix of 15 elements:\n\n= = === === = === = = ==== == == == = == ==\nH D He3 He4 C C13 N O n.r. Ne Mg Si S Ca Fe\n= = === === = === = = ==== == == == = == ==\n\nInstallation\n============\n\nThe easiest way to install the package is using pip::\n\n $ pip install intergalactic\n\nThis will also install some dependencies if they are not found in the system: *numpy*, *scipy* and *yaml*\n\nUsage\n=====\n\nUse intergalactic running::\n\n $ intergalactic --config FILENAME\n\nwhere *FILENAME* is the path to the config yaml file.\n\nRunning intergalactic will produce a directory with three output files:\n\n* **mass_intervals**: all the mass intervals used to integrate for all the mass range\n* **imf_supernova_rates**: the initial mass functions for the supernova rates for each mass interval\n* **qm-matrices**: the Q(m) matrices for every mass interval defined in the *mass_intervals* file\n\nInput params\n============\n\nIntergalactic reads a config file where several options can be set in yaml format::\n\n z: 0.0200 # metallicity\n sol_ab: ag89 # solar abundances\n imf: kroupa # initial mass function (IMF)\n imf_m_low: 0.15 # lower mass limit for the IMF\n imf_m_up: 100 # upper mass limit for the IMF\n total_time_steps: 300 # number of time steps (will result in a Q Matrix per step)\n m_min: 0.98 # min value for stellar mass\n m_max: 40 # max value for stellar mass\n binary_fraction: 0.05 # rate of binary stars\n dtd_sn: rlp # delay time distribution for supernovas\n\nIntergalactic will use its internal default values for all params for which no values are provided.\n\nIf you want to use an existent configuration file as template for your own, you can run::\n\n $ intergalactic --generate-config\n\nThat command will create a ``config-example.yml`` file in the current dir.\n\n\nInitial mass function\n---------------------\n\nThe ``imf`` param in the config file can be set to use any of the predefined IMFs from different papers/authors:\n\n:salpeter: Salpeter 1955\n:starburst: Starburst 1999 (a Salpeter with mass limits in [1, 120])\n:miller_scalo: Miller & Scalo 1979\n:ferrini: Ferrini, Palla & Penco 1998\n:kroupa: Kroupa 2002\n:chabrier: Chabrier 2003\n:maschberger: Maschberger 2012\n\nThe default value is ``kroupa``. If you want to use your own IMF you can do so subclassing the `IMF class`_.\n\n.. _`IMF class`: https://github.com/xuanxu/intergalactic/blob/master/src/intergalactic/imfs.py#L20-L40\n\nThe IMF will be normalized integrating in the ``[imf_m_low, imf_m_up]`` mass interval (default: ``[0.15, 100]``, except ``Starburst``: ``[1, 120]``).\n\nSolar abundances\n----------------\n\nThe ``sol_ab`` param in the config file can be set to use any of the available abundances datasets from different papers/authors:\n\n:ag89: Anders & Grevesse 1989\n:gs98: Grevesse & Sauval 1998\n:as05: Asplund et al. 2005\n:as09: Asplund et al. 2009\n:he10: Heger 2010\n\nThe default value is ``as09``. If you want to use your own abundances data you can do so subclassing the `Abundances class`_.\n\n.. _`Abundances class`: https://github.com/xuanxu/intergalactic/blob/master/src/intergalactic/abundances.py#L18-L47\n\nDelay Time Distributions\n------------------------\n\nThe ``dtd_sn`` param in the config file can be set to use any of the available Delay Time Distributions for supernova rates from different papers/authors:\n\n:rlp: Supernova rates from Pilar Ruiz-Lapuente\n:mdvp: DTD from Mannucci, Della Valle, Panagia 2006\n\nLicense\n=======\n\n*Copyright* \u00a9 2019 Juanjo Baz\u00e1n, released under the `MIT license`_.\n\n.. _`MIT license`: https://github.com/xuanxu/intergalactic/blob/master/LICENSE\n\nCredits\n=======\n\nIntergalactic is built upon a long list of previous works from different authors/papers:\n\n* *Ferrini et al.*,1992, ApJ, 387, 138\n* *Ferrini & Poggiantti*, 1993, ApJ, 410, 44F\n* *Portinari, Chiosi & Bressan.*,1998,AA,334,505P\n* *Galli et al.*, 1995, ApJ, 443, 536G\n* *Moll\u00e1 et al*, 2015, MNRAS, 451, 3693-3708\n* *Iwamoto et al*, 1999, ApJS, 125, 439\n* *Matteucci & Greggio*, 1986, A&A, 154, 279M\n* *Moll\u00e1 et al*, 2017, MNRAS, 468, 305-318\n* *Gavilan, Moll\u00e1 & Buell*, 2006, A&A, 450, 509\n* *Raiteri C.M., Villata M. & Navarro J.F.*, 1996, A&A 315, 105-115\n* *Mannucci, Della Valle, Panagia* (2006)\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/xuanxu/intergalactic", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/xuanxu/intergalactic", "keywords": "galaxies,models,astrophysics", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "intergalactic", "package_url": "https://pypi.org/project/intergalactic/", "platform": "", "project_url": "https://pypi.org/project/intergalactic/", "project_urls": { "Download": "https://github.com/xuanxu/intergalactic", "Homepage": "https://github.com/xuanxu/intergalactic" }, "release_url": "https://pypi.org/project/intergalactic/1.1.0/", "requires_dist": [ "pyyaml (>=5.1)", "numpy (>=1.16)", "scipy (>=1.2)", "pytest ; extra == 'dev'", "pytest-mock ; extra == 'dev'", "pytest-cov ; extra == 'dev'" ], "requires_python": ">=3.6", "summary": "Galactic elements Q-Matrix generator", "version": "1.1.0" }, "last_serial": 5172267, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "10d3ebf07d1db97784063de26f9733d3", "sha256": "5ca4bbff7d391e34a3e4561b0c14589abf66c57daa49c64820b1240725f76c1b" }, "downloads": -1, "filename": "intergalactic-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "10d3ebf07d1db97784063de26f9733d3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 20156, "upload_time": "2019-03-12T13:40:37", "url": "https://files.pythonhosted.org/packages/7d/71/0fc950f4d1935149d8ef85aeefb6ed2209016ccfa4b62ac4e8f74d10c7f7/intergalactic-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "589f31d41a35f22bdc27d4898740b377", "sha256": "46877bfb3bbf555db9daa533918cbbdec056942df5e8161fef5d4d734a30a29f" }, "downloads": -1, "filename": "intergalactic-0.0.2.tar.gz", "has_sig": false, "md5_digest": "589f31d41a35f22bdc27d4898740b377", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 14858, "upload_time": "2019-03-12T13:40:38", "url": "https://files.pythonhosted.org/packages/7f/20/d2aeffb3044213c2263ece7e12af2c1dffe84b0bd999f5448190c217d24e/intergalactic-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "fbce2925230319c69b629c9fc2e00925", "sha256": "0c6decb374fcc24eb9aa361b982ed276fd0ee8829431ce1eefb69ce88bfae0bf" }, "downloads": -1, "filename": "intergalactic-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "fbce2925230319c69b629c9fc2e00925", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 20929, "upload_time": "2019-03-17T11:01:43", "url": "https://files.pythonhosted.org/packages/0a/79/6ba9d1c3d388ef0f707ccf4ab9a68398124ae0b10bb96b5c1e7cce3c74b0/intergalactic-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7240b47718167b0bdfc1221f6246ee7b", "sha256": "f61cd3d36d03a7545a8926ad20d060c8d2c28687f951bc1922af7641bcd1077c" }, "downloads": -1, "filename": "intergalactic-0.0.3.tar.gz", "has_sig": false, "md5_digest": "7240b47718167b0bdfc1221f6246ee7b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 15144, "upload_time": "2019-03-17T11:01:45", "url": "https://files.pythonhosted.org/packages/40/83/581356850d3bba12ed7318339ce6edbd584295621c64314d10317fca61d4/intergalactic-0.0.3.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "b25cebfa907c568ce57987acafe8b943", "sha256": "b2dcc576c45e90cfb6c39c4f706e7d43325267e6d8caf9c008c632cf5cdb1a6c" }, "downloads": -1, "filename": "intergalactic-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "b25cebfa907c568ce57987acafe8b943", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 21010, "upload_time": "2019-03-21T15:17:41", "url": "https://files.pythonhosted.org/packages/cf/1d/aa2529d02f103a5eea816221282ba560bd4c65d25c79592d54ad5a81dd3a/intergalactic-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e32fb3c80423d243214d8f19e7404db4", "sha256": "411cdcd3b4d3b6c6af31da55d2883e9ee3a007560e8e81ff6de0da10e895910c" }, "downloads": -1, "filename": "intergalactic-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e32fb3c80423d243214d8f19e7404db4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 15226, "upload_time": "2019-03-21T15:17:42", "url": "https://files.pythonhosted.org/packages/c2/38/b9fb94cd12af9bcd1d4f3cc9807c463d0e89ed1a861d3276edafb53c7380/intergalactic-0.1.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "6c0250e663fe2421757a51710c436fdc", "sha256": "952eb341a573140024a2316aef682eb6284450b0e272833113302d8fe3047a04" }, "downloads": -1, "filename": "intergalactic-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "6c0250e663fe2421757a51710c436fdc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 20874, "upload_time": "2019-04-05T10:22:02", "url": "https://files.pythonhosted.org/packages/e8/35/9aec8e8332f196906cceb6dc06d45e6f27bbcabdc52323fb17f0a7112154/intergalactic-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "017a7fc18de7e19bd3007ef78e91ae30", "sha256": "4b37b70150cf3d5d6a35a9951a8b7dd587061df96fc891bb30cbab0b27fe55e3" }, "downloads": -1, "filename": "intergalactic-1.0.0.tar.gz", "has_sig": false, "md5_digest": "017a7fc18de7e19bd3007ef78e91ae30", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 15129, "upload_time": "2019-04-05T10:22:04", "url": "https://files.pythonhosted.org/packages/b2/84/ce0974527dfafa19d8aeaf0160f45d74550faf3091d82c84e9aea1580ab6/intergalactic-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "0c9807ec4d3ae716768c3d0a377f33cf", "sha256": "cd3b479e697c6a0bd31d758035e3ab3bf6eea1238d95add91f0fc37287b5ff0b" }, "downloads": -1, "filename": "intergalactic-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "0c9807ec4d3ae716768c3d0a377f33cf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 22005, "upload_time": "2019-04-22T09:22:01", "url": "https://files.pythonhosted.org/packages/f3/d6/b5125db7412b1db0d1bc08216a2907f4aeac83480e6a479e85b935bf293a/intergalactic-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c4645ff0d9a32177f0c7698fee4f3962", "sha256": "bb5295a157849ef1a7b51d2d4b37e2991634fe1be63b5985a68ecbfbbb372f6d" }, "downloads": -1, "filename": "intergalactic-1.1.0.tar.gz", "has_sig": false, "md5_digest": "c4645ff0d9a32177f0c7698fee4f3962", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 15980, "upload_time": "2019-04-22T09:22:04", "url": "https://files.pythonhosted.org/packages/fe/25/932f950d2c64e2d63fcc0f731201e8965bcddf60cf6ec31f18b8b5e24da8/intergalactic-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0c9807ec4d3ae716768c3d0a377f33cf", "sha256": "cd3b479e697c6a0bd31d758035e3ab3bf6eea1238d95add91f0fc37287b5ff0b" }, "downloads": -1, "filename": "intergalactic-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "0c9807ec4d3ae716768c3d0a377f33cf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 22005, "upload_time": "2019-04-22T09:22:01", "url": "https://files.pythonhosted.org/packages/f3/d6/b5125db7412b1db0d1bc08216a2907f4aeac83480e6a479e85b935bf293a/intergalactic-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c4645ff0d9a32177f0c7698fee4f3962", "sha256": "bb5295a157849ef1a7b51d2d4b37e2991634fe1be63b5985a68ecbfbbb372f6d" }, "downloads": -1, "filename": "intergalactic-1.1.0.tar.gz", "has_sig": false, "md5_digest": "c4645ff0d9a32177f0c7698fee4f3962", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 15980, "upload_time": "2019-04-22T09:22:04", "url": "https://files.pythonhosted.org/packages/fe/25/932f950d2c64e2d63fcc0f731201e8965bcddf60cf6ec31f18b8b5e24da8/intergalactic-1.1.0.tar.gz" } ] }