{ "info": { "author": "Dr Rene Breton", "author_email": "superluminique@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Scientific/Engineering :: Astronomy", "Topic :: Scientific/Engineering :: Physics" ], "description": "# Icarus\n\n[![Latest release](https://img.shields.io/pypi/v/Icarus.svg)](https://pypi.python.org/pypi/Icarus)\n\n**Icarus** is a stellar binary light curve synthesis tool initially developed by [Rene Breton](http://www.renebreton.org) while being a postdoctoral fellow at the University of Toronto in the research group of [Marten van Kerkwijk](http://www.astro.utoronto.ca/~mhvk/).\n\n**Icarus** provides a set of basic tools that:\n\n1. Generates a star given some basic binary parameters\n\n 1.1. Solves the gravitational potential equation\n\n 1.2. Creates a discretized stellar grid\n\n 1.3. Populates the stellar grid with physical parameters (temperature, surface gravity, etc.)\n\n2. Evaluates the outcoming flux from the star given an observer's point of view (i.e. orbtial phase and orbital orientation)\n\nThe code is compartimented in different layers:\n\n1. The stellar surface solver\n\n 1.1. The primitives generator of the discretized stellar grid: the code currently uses a triangular tessellation based the subdivision of an icosahedron. The primitives (vertices, face association, etc.) can be read from pre-calculated values stored in a file or dynamically generated using the external program [pygts](http://pygts.sourceforge.net), which is distributed separately and not essential to **Icarus**.\n\n 1.2. The actual surface solver.\n\n2. The flux calculator\n\n 2.1. The actual flux calculator tools: integrated surface flux. Supported for different modes is already provided (spectroscopy, photometry, Doppler shifting, Doppler boosting).\n\n 2.2. The flux calculator makes use of an atmosphere backend, which returns the specific intensities given a set of input parameters (temperature, surface gravity, velocity, etc.). The atmosphere backend can be anything (analytical blackbody, lookup table to an atmosphere model, etc.). The current backend reads data from NextGen atmosphere models (distributed separately).\n\n3. The binary system super-class\n\n 3.1. A super-class making use of the two above layers to treat with a \"proper\" binary, which sums the flux of each component and includes the calculation of eclipses, transits, partial occultations, etc.\n\nThe original aim of **Icarus** was to model the light curves (photometry and spectroscopy) of irradiated neutron star companions, hence the name **Icarus** (the Greek mythology hero who flew to close to the Sun and melting the wax off his wings). The flux calculator therefore supports the contribution of an external source of energy (from the other binary component) which contributes to increasing the dayside temperature of the modeled star.\n\nHere are a short, non-exhaustive list of publications related to the binary light curve synthesis.\n\n* [Breton et al., 2012, ApJL, 748, 115](http://adsabs.harvard.edu/abs/2012ApJ...748..115B)\n* [Orosz, J. A., & Hauschildt, P. H. 2000, A&A, 364, 265](http://adsabs.harvard.edu/abs/2000A%26A...364..265O)\n* [Hendry, P. D., & Mochnacki, S. W. 1992, ApJ, 388, 603](http://adsabs.harvard.edu/abs/1992ApJ...388..603H)\n\n\n## Installation\n\n### Method 1: PyPI\n\n1. **Icarus** is now distributed through PyPI. It sources the latest stable release. Simply do the following:\n\n ```\n pip install Icarus\n ```\n\n This will install **Icarus** into your current Python distribution tree. Note that you may need to use _'sudo'_ before the command in order to write into the destination directory. On the other hand, you may install **Icarus** locally into your _$HOME/.local_ by doing the following:\n\n ```\n pip install --user Icarus\n ```\n\n### Method 2: GitHub\n\n1. In order to fetch the bleading edge version of Icarus, please download it from the GitHub repository ().\n\n 1.1. You may download the package as a zip/tarball file.\n\n 1.2. Or you can clone the repository using git (preferred option) which will allow you to stay in sync with the latest package version. To do so, go to the disk location where you want to install the package and type:\n\n ```\n git clone git://github.com/bretonr/Icarus.git\n cd Icarus\n ```\n\n To update you version to the latest GitHub version afterwards, go to the **Icarus** folder and type:\n\n ```\n git pull\n ```\n\n2. From the **Icarus** folder, install **Icarus** by doing:\n\n ```\n python setup.py install\n ```\n\n This will install **Icarus** into your standard Python library directory. You may need to use _'sudo'_ in order to do so. On the other hand, you may install **Icarus** locally into your _$HOME/.local_ by doing the following:\n\n ```\n python setup.py install --user\n ```\n\n Another option would be to simply add the _build_ **Icarus** sub-folder to your _$PYTHONPATH_ or copy it in a suitable location.\n\n\n## Atmosphere grids\n\nYou will need to source some atmosphere models or write your own atmosphere backend (e.g., to generate a blackbody SED). I cannot be of much help here unfortunately. I might try to write a basic blackbody backend eventually but I do not have time for now.\n\n\n## Requirements\n\nI usually keep my packages up-to-date using Macport (on Mac) and Synoptic (on Ubuntu). Versions are provided for indicative purposes.\n\n* [Python](http://www.python.org) (version > 2.7)\n* [Scipy](http://scipy.org)\n* [Numpy](http://numpy.scipy.org)\n* [astropy](http://www.astropy.org)\n\n\n## Optional requirements\n\n* [Matplotlib](http://matplotlib.org) (version > 1.1.0)\n* [PyGTS](http://pygts.sourceforge.net) to generate surface geodesic primitives instead of reading the pre-generated ones. Also useful for calculating occulations and transits in eclipsing binaries.\n\n\n## If you use it\n\nIf you intend to use the code, please cite the paper in which it was first introduced: [R. P. Breton, S. A. Rappaport, M. H. van Kerkwijk, J. A. Carter, \"KOI 1224, a Fourth Bloated Hot White Dwarf Companion Found With Kepler\", 2012, ApJL, 748, 115](http://adsabs.harvard.edu/abs/2012ApJ...748..115B).\n\nAlso, please provide a link to the [Icarus](https://github.com/bretonr/Icarus) webpage.\n\nThe author, [Rene Breton](http://www.renebreton.org) (), would be happy to receive feedback, constructive comments, bug fixes, etc., from people using **Icarus**. Unfortunately, only very limited support can be provided due to the author's busy research schedule.\n\n\n## Acknowledgements\n\nNote that the author would like to acknowledge the immense help of [Marten van Kerkwijk](http://www.astro.utoronto.ca/~mhvk), who contributed via frequent discussions and who also provided a Fortran program to synthesize photometric light curves of irradiated binaries, which **Icarus** initially aimed to reproduce.\n\n\n## License\n\nPlease note that this project is protected against a 3-clause BSD license. Please see the content of the folder ``licenses/LICENSE.md`` for more information.", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/bretonr/Icarus/tarball/v2.3.0", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bretonr/Icarus", "keywords": "astrophysics,cosmology,photometry,binary,modeling,space,models,spectroscopy,astronomy,science,research,stars,physics", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "Icarus", "package_url": "https://pypi.org/project/Icarus/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Icarus/", "project_urls": { "Download": "https://github.com/bretonr/Icarus/tarball/v2.3.0", "Homepage": "https://github.com/bretonr/Icarus" }, "release_url": "https://pypi.org/project/Icarus/2.3.1/", "requires_dist": null, "requires_python": null, "summary": "Icarus is a stellar binary light curve synthesis tool initially developed by Rene Breton", "version": "2.3.1" }, "last_serial": 2065582, "releases": { "2.3.0": [], "2.3.1": [ { "comment_text": "", "digests": { "md5": "f011c529d3d5825ec5fd5c5db18ce148", "sha256": "3e2c7b59030c284450b99ad17d5f1f8f462a8d53980f95b47efd6dca2c0e6ee8" }, "downloads": -1, "filename": "Icarus-2.3.1.tar.gz", "has_sig": false, "md5_digest": "f011c529d3d5825ec5fd5c5db18ce148", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8804956, "upload_time": "2016-04-15T14:43:30", "url": "https://files.pythonhosted.org/packages/0a/ca/653f9dc8a5901d9e447c659176c2b8ad1d8e13a8a2f97fa741ee8ee6f781/Icarus-2.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f011c529d3d5825ec5fd5c5db18ce148", "sha256": "3e2c7b59030c284450b99ad17d5f1f8f462a8d53980f95b47efd6dca2c0e6ee8" }, "downloads": -1, "filename": "Icarus-2.3.1.tar.gz", "has_sig": false, "md5_digest": "f011c529d3d5825ec5fd5c5db18ce148", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8804956, "upload_time": "2016-04-15T14:43:30", "url": "https://files.pythonhosted.org/packages/0a/ca/653f9dc8a5901d9e447c659176c2b8ad1d8e13a8a2f97fa741ee8ee6f781/Icarus-2.3.1.tar.gz" } ] }