{ "info": { "author": "Przemys\u0142aw Bru\u015b", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Scientific/Engineering :: Astronomy", "Topic :: Utilities" ], "description": "# Binary-doppler-beaming\n[![Build Status](https://travis-ci.org/pbrus/binary-doppler-beaming.svg?branch=master)](https://travis-ci.org/pbrus/binary-doppler-beaming)\n[![Code](https://img.shields.io/badge/code-Python-blue.svg \"Python\")](https://www.python.org/)\n[![PyPI version](https://badge.fury.io/py/bidobe.svg)](https://badge.fury.io/py/bidobe)\n[![License](https://img.shields.io/badge/license-MIT-yellow.svg \"MIT license\")](https://github.com/pbrus/binary-doppler-beaming/blob/master/LICENSE)\n\nThis software generates a light curve of a binary system which is caused by the photometric beaming. For more details see [arXiv:0708.2100](https://arxiv.org/pdf/0708.2100.pdf). You can set up any configuration of a binary system seen from Earth.\n\n![Beaming visualization](http://www.astro.uni.wroc.pl/ludzie/brus/img/github/doppler.gif)\n\n## Installation\n\nTo install the package please type from the command line:\n```bash\n$ sudo pip3 install bidobe\n```\nor alternatively:\n```bash\n$ git clone https://github.com/pbrus/binary-doppler-beaming\n$ cd binary-doppler-beaming\n$ sudo python3 setup.py install\n```\n\n## Usage\n\nAll you need are the `doppler_beaming.py` script and the `binary.conf` file. Edit the last one and configure your own binary system (see comments inside this file to find out which units are used):\n```python\n[OBJECTS]\nmass1 = 1\nmass2 = 2\ntemperature1 = 6000\ntemperature2 = 8000\nradius1 = 1.0\nradius2 = 1.5\ndistance = 1000\n\n[ORBITS]\nsum_major_axis = 8e10\neccentricity = 0.4\nlongitude_node = 70.0\ninclination = 60.0\nperiastron_argument = 110.0\n...\n```\nNow you can run the `doppler_beaming.py`:\n```bash\n$ python3 doppler_beaming.py\n```\nThe main module *bidobe* (**bi**nary **do**ppler **be**aming) provides the interface to display, save to files and animate orbits, radial velocities and light curves. Moreover, it allows to convert [SI](https://en.wikipedia.org/wiki/International_System_of_Units) units from and to astronomical units. For example:\n```python\norbit1_position = orbit1.convert_m_to_au(orbit1_position)\n```\nconverts position in meters to position in [AU](https://en.wikipedia.org/wiki/Astronomical_unit)s. The following commands:\n```python\nplot_projected_orbits(orbit1_position, orbit2_position, \"AU\", \"AU\")\nplot_projected_orbits(orbit1_position, orbit2_position, \"AU\", \"AU\", \"orbits.eps\")\nanimate_projected_orbits(orbit1_position, orbit2_position, \"AU\", \"AU\")\n```\ncan be used to display orbits projected on the sky, save them to *orbits.eps* file and animate them on the screen, respectively.\n\nI encourage to visit my website to see more detailed description of this project. The current link can be found on my [GitHub profile](https://github.com/pbrus).\n\n## License\n\n**Binary-doppler-beaming** is licensed under the [MIT license](http://opensource.org/licenses/MIT).\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/pbrus/binary-doppler-beaming", "keywords": "binary,doppler,beaming", "license": "", "maintainer": "", "maintainer_email": "", "name": "bidobe", "package_url": "https://pypi.org/project/bidobe/", "platform": "", "project_url": "https://pypi.org/project/bidobe/", "project_urls": { "Homepage": "https://github.com/pbrus/binary-doppler-beaming" }, "release_url": "https://pypi.org/project/bidobe/0.1.1/", "requires_dist": [ "numpy", "scipy", "matplotlib" ], "requires_python": "", "summary": "Doppler beaming simulation in binary systems.", "version": "0.1.1" }, "last_serial": 5312771, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "fcf91799966b83bdb649a76d2f07a61b", "sha256": "1eb6da31024b5e691934a908bea4e9445d0c095ff078d15e0137e23fb5df34c8" }, "downloads": -1, "filename": "bidobe-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "fcf91799966b83bdb649a76d2f07a61b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9428, "upload_time": "2018-06-21T15:42:15", "url": "https://files.pythonhosted.org/packages/02/f6/8ac6f5d91985d11dc59595ac6a417c07dc5b0ff25fd64f04e608ab7f38db/bidobe-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "76b4b1cc9c1e5d17289792a1d6ad8402", "sha256": "dae4b4b831720ea92e2874bd8880b6ff69638fbf40a55cfc728a881bdbdd93ca" }, "downloads": -1, "filename": "bidobe-0.1.0.tar.gz", "has_sig": false, "md5_digest": "76b4b1cc9c1e5d17289792a1d6ad8402", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8291, "upload_time": "2018-06-21T15:42:16", "url": "https://files.pythonhosted.org/packages/00/78/72afe0fdcaa135ea245fad232c7375c52170536d7dd022e7f0ef6d7555ee/bidobe-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "0fd928fe9377c6871b0a06691a0d5b41", "sha256": "b9069b2c473e5bff21cbe40add72c7d288cd38e13ca6c05b3c69d951f39a2b82" }, "downloads": -1, "filename": "bidobe-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "0fd928fe9377c6871b0a06691a0d5b41", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9370, "upload_time": "2019-05-24T13:22:18", "url": "https://files.pythonhosted.org/packages/6b/e7/be90c0982b9a3c565f53710f8d18268fa3deccc388b2488af85d73aa35fa/bidobe-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8d456205c31b2280c662d1bbd8a5af6c", "sha256": "ebdc29d1ccd7a9e8693e21bb696a364c09d204b9ba7daf95618a35a557450a8b" }, "downloads": -1, "filename": "bidobe-0.1.1.tar.gz", "has_sig": false, "md5_digest": "8d456205c31b2280c662d1bbd8a5af6c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9605, "upload_time": "2019-05-24T13:22:20", "url": "https://files.pythonhosted.org/packages/62/69/35ac390b52dc30fca47a21c9cdd2f00f328a85b25f1ab16c791eaf3906c5/bidobe-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0fd928fe9377c6871b0a06691a0d5b41", "sha256": "b9069b2c473e5bff21cbe40add72c7d288cd38e13ca6c05b3c69d951f39a2b82" }, "downloads": -1, "filename": "bidobe-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "0fd928fe9377c6871b0a06691a0d5b41", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9370, "upload_time": "2019-05-24T13:22:18", "url": "https://files.pythonhosted.org/packages/6b/e7/be90c0982b9a3c565f53710f8d18268fa3deccc388b2488af85d73aa35fa/bidobe-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8d456205c31b2280c662d1bbd8a5af6c", "sha256": "ebdc29d1ccd7a9e8693e21bb696a364c09d204b9ba7daf95618a35a557450a8b" }, "downloads": -1, "filename": "bidobe-0.1.1.tar.gz", "has_sig": false, "md5_digest": "8d456205c31b2280c662d1bbd8a5af6c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9605, "upload_time": "2019-05-24T13:22:20", "url": "https://files.pythonhosted.org/packages/62/69/35ac390b52dc30fca47a21c9cdd2f00f328a85b25f1ab16c791eaf3906c5/bidobe-0.1.1.tar.gz" } ] }