{ "info": { "author": "Steven Rieder and Inti Pelupessy", "author_email": "steven@rieder.nl", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "[![DOI](https://zenodo.org/badge/67827407.svg)](https://zenodo.org/badge/latestdoi/67827407)\n# Fresco\nFresco aims to simulate observations of particle-based simulations, such as\nthose of a star cluster. It creates an observation-like image from a list of\nstars and/or gas particles. Supported filetypes include AMUSE-type hdf5 files,\nStarlab files and plaintext files.\n\nFor stars, the temperature and radius are calculated using a stellar evolution\ncode, if these are not already present in the dataset.\n\nGas particles may also be read. In combination with stars, these will cause\nreflection from nearby stars and optionally extinction of light from\nbackground. Without stars, Fresco will make a density plot of the gas.\nOptionally, the gas may also be indicated with contour lines.\n\nA random field of background and foreground stars may be added to the image, as\na way to make the image more natural looking and/or to provide a background\nthat may be obscured by the gas/dust particles.\n\n![Example image](test.png)\n\n## Requirements\n\n- Python 2.7 (3.x experimental)\n- Numpy\n- Scipy\n- Matplotlib\n- AMUSE (https://github.com/amusecode/amuse)\n - FIMap (optional, for extinction)\n - SSE or SeBa (optional, for calculating stellar luminosities and radii)\n- Astropy\n- amuse-masc (recommended)\n\n## Usage\n import matplotlib.pyplot as plt\n from amuse.datamodel import Particles\n from amuse.units import units, nbody_system\n from amuse.community.sse.interface import SSE\n from amuse.ext.masc import make_a_star_cluster\n from amuse.ext.fresco import make_fresco_image\n ?make_fresco_image # See options\n stars = make_a_star_cluster.new_cluster()\n gas = Particles()\n se = SSE()\n se.particles.add_particles(stars)\n from_se = se.particles.new_channel_to(stars)\n from_se.copy()\n image, vmax = make_fresco_image(\n stars, gas,\n mode=[\"stars\"],\n return_vmax=True,\n )\n plt.imshow(image)\n plt.show()\n\n## Authors\n\nFresco is developed by Inti Pelupessy and Steven Rieder", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://amusecode.org", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "amuse-fresco", "package_url": "https://pypi.org/project/amuse-fresco/", "platform": "", "project_url": "https://pypi.org/project/amuse-fresco/", "project_urls": { "Homepage": "http://amusecode.org" }, "release_url": "https://pypi.org/project/amuse-fresco/0.5.7/", "requires_dist": null, "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4", "summary": "Make a realistic visualisation of a star cluster", "version": "0.5.7" }, "last_serial": 5821212, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "2ad3803d331d784704ef45a082e9c6fe", "sha256": "abcc0fb5e50434293d16f9fadac29ec0a3653a347d949ae6bfeb372e808dd7f6" }, "downloads": -1, "filename": "amuse_fresco-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2ad3803d331d784704ef45a082e9c6fe", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 15944, "upload_time": "2019-02-19T12:31:02", "url": "https://files.pythonhosted.org/packages/e2/4c/c505dbed7e1c15eba242b95e86ffed04f555eec983002b8aa04b816d11b1/amuse_fresco-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "897da9db1b5d87c7461ef176879dd4b7", "sha256": "57378d02d605c6d8d12601d327793935f533cfb8bc17cc4a0d99217ad20b0d0f" }, "downloads": -1, "filename": "amuse_fresco-0.2.0.tar.gz", "has_sig": false, "md5_digest": "897da9db1b5d87c7461ef176879dd4b7", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 13544, "upload_time": "2019-02-19T12:31:05", "url": "https://files.pythonhosted.org/packages/a0/ec/29a3a7a55ffd11ed464fd30da94ecb69d1509b38796ac2fd6563a8fd09e1/amuse_fresco-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "f0e86767b8a6ad4299053a254f09e5de", "sha256": "c8954e158115944e3f0de6c1df85aea562bc7f680c4e7e5f097efbb5fc33ce38" }, "downloads": -1, "filename": "amuse-fresco-0.3.0.tar.gz", "has_sig": false, "md5_digest": "f0e86767b8a6ad4299053a254f09e5de", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 1947267, "upload_time": "2019-07-24T15:44:29", "url": "https://files.pythonhosted.org/packages/f9/cb/63ba1227e8b09cbd6bc6fac9cca2a703d530ab48ac33a72750a02231bff5/amuse-fresco-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "07c5f0c24a45fd76f65ca9e07af6a665", "sha256": "42d060d6ce8d772e85f318fe35164201bfc87d72fd16e9660be2122d1ebd41e1" }, "downloads": -1, "filename": "amuse-fresco-0.3.1.tar.gz", "has_sig": false, "md5_digest": "07c5f0c24a45fd76f65ca9e07af6a665", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 1947141, "upload_time": "2019-07-24T15:59:34", "url": "https://files.pythonhosted.org/packages/13/8b/bd0cb0d148742a3d4bc8582da4d3f5fa908b927f985773cd99ab1eaa7bef/amuse-fresco-0.3.1.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "e3664bce6c3e5c3766565f77ef5db890", "sha256": "dae435fec6963b33de87354a7afc6f9450a9f3f01d0c23549c8ab6cb48729777" }, "downloads": -1, "filename": "amuse-fresco-0.5.0.tar.gz", "has_sig": false, "md5_digest": "e3664bce6c3e5c3766565f77ef5db890", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 1947111, "upload_time": "2019-07-25T08:52:17", "url": "https://files.pythonhosted.org/packages/ea/70/0c291b4265f3d25fb95f61cc90b65296d61c27a8d683335672d447327827/amuse-fresco-0.5.0.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "a5ec8e98531ae1c6d91d9787cd464b2f", "sha256": "327296193d97d0886fcdc2bfcb54862fdce569159bf746a027aa02f9f6666238" }, "downloads": -1, "filename": "amuse-fresco-0.5.1.tar.gz", "has_sig": false, "md5_digest": "a5ec8e98531ae1c6d91d9787cd464b2f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 1952430, "upload_time": "2019-07-26T10:56:32", "url": "https://files.pythonhosted.org/packages/70/7a/629e8c6c99ab8dc1bc5a417f6611f827f88198f7e4e76aa3d9c115be78d2/amuse-fresco-0.5.1.tar.gz" } ], "0.5.2": [ { "comment_text": "", "digests": { "md5": "f56778624dcf33990b4e719c8bb00b08", "sha256": "73563c59ece6bad1a5d4eb88462ce7d07f8d7b9e2dcdea1d684478f4ab9869c1" }, "downloads": -1, "filename": "amuse-fresco-0.5.2.tar.gz", "has_sig": false, "md5_digest": "f56778624dcf33990b4e719c8bb00b08", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 1950175, "upload_time": "2019-07-30T15:51:28", "url": "https://files.pythonhosted.org/packages/65/ad/2d6c1a1f6b4f77b12d3beb37e0ab6c7cfbb8a5206091418b443690b7a8d9/amuse-fresco-0.5.2.tar.gz" } ], "0.5.3": [ { "comment_text": "", "digests": { "md5": "6865431d4c8d0b5fd1b825a6e84b26c2", "sha256": "1f9d6153f27472f03fa522a0e8849fdc935fed76c2cd4305ee17d2c025b10ddd" }, "downloads": -1, "filename": "amuse-fresco-0.5.3.tar.gz", "has_sig": false, "md5_digest": "6865431d4c8d0b5fd1b825a6e84b26c2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 1950204, "upload_time": "2019-07-30T15:54:18", "url": "https://files.pythonhosted.org/packages/f7/af/cad8181071336d05b982b1ae036a116786c75d41f41c82c8eab1b8a0d6ed/amuse-fresco-0.5.3.tar.gz" } ], "0.5.4": [ { "comment_text": "", "digests": { "md5": "2857e30faa9583c52f44ff0dc33551e8", "sha256": "063ccc25a1904628ef8b851a7682630954acf9044eaa7941b9799539341431d3" }, "downloads": -1, "filename": "amuse-fresco-0.5.4.tar.gz", "has_sig": false, "md5_digest": "2857e30faa9583c52f44ff0dc33551e8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 1950375, "upload_time": "2019-08-05T13:49:34", "url": "https://files.pythonhosted.org/packages/f9/e2/9c8c4c75a0c1a65e983ebf817f035e498d3cc7f18aeeb647211fb09d455e/amuse-fresco-0.5.4.tar.gz" } ], "0.5.5": [ { "comment_text": "", "digests": { "md5": "515e6eb3006dd59c2d6a9f45c54d01b0", "sha256": "c787e92bb7419c4c87468caad940492dee7c9acbd837f81e5e87652670ad82c6" }, "downloads": -1, "filename": "amuse-fresco-0.5.5.tar.gz", "has_sig": false, "md5_digest": "515e6eb3006dd59c2d6a9f45c54d01b0", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 1950392, "upload_time": "2019-08-07T13:59:54", "url": "https://files.pythonhosted.org/packages/b7/ca/cc5d4858b4493cef2ad54b3a61ec207488f362976660be18b0cee84187fd/amuse-fresco-0.5.5.tar.gz" } ], "0.5.6": [ { "comment_text": "", "digests": { "md5": "7b5c9bf4905984f10edaf0e884ad1b13", "sha256": "fe04dc93eef32eda3226e0fe58089fd0bd484f9fb41b81b43935ae6b0e821711" }, "downloads": -1, "filename": "amuse-fresco-0.5.6.tar.gz", "has_sig": false, "md5_digest": "7b5c9bf4905984f10edaf0e884ad1b13", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 1950413, "upload_time": "2019-08-14T15:59:43", "url": "https://files.pythonhosted.org/packages/8e/a7/be37ec92a8c2ac9cb8a6cc9b8b806b89eb4f77483faabd2d6f8f06c8b802/amuse-fresco-0.5.6.tar.gz" } ], "0.5.7": [ { "comment_text": "", "digests": { "md5": "1c95d84a4b53d9f2dd1bf4777160060e", "sha256": "170ab5ec010003d82b45c1fbd366678038b513f8f322df601f34ce6f782ad2c3" }, "downloads": -1, "filename": "amuse-fresco-0.5.7.tar.gz", "has_sig": false, "md5_digest": "1c95d84a4b53d9f2dd1bf4777160060e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 1950883, "upload_time": "2019-09-12T15:44:57", "url": "https://files.pythonhosted.org/packages/1f/cf/a13e8cf2ce1d205edc55cc1c9bdd4a97de4e994baadb19f93b745bbac558/amuse-fresco-0.5.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1c95d84a4b53d9f2dd1bf4777160060e", "sha256": "170ab5ec010003d82b45c1fbd366678038b513f8f322df601f34ce6f782ad2c3" }, "downloads": -1, "filename": "amuse-fresco-0.5.7.tar.gz", "has_sig": false, "md5_digest": "1c95d84a4b53d9f2dd1bf4777160060e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 1950883, "upload_time": "2019-09-12T15:44:57", "url": "https://files.pythonhosted.org/packages/1f/cf/a13e8cf2ce1d205edc55cc1c9bdd4a97de4e994baadb19f93b745bbac558/amuse-fresco-0.5.7.tar.gz" } ] }