{ "info": { "author": "Marc van der Sluys", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: Education", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering :: Astronomy" ], "description": "# ELP_MPP02: accurate Moon positions using the lunar solution ELP/MPP02 #\n\nCompute accurate Moon positions using the semi-analytical lunar solution ELP2000/MPP02 by Chapront & Francou\n(2003).\n\n\n## Installation ##\n\nThis package can be installed using `pip install elp-mpp02`. You will need to manually download the six data\nfiles `ELP_MAIN/PERT.S1/2/3` from ftp://cyrano-se.obspm.fr/pub/2_lunar_solutions/2_elpmpp02 and save them in a\ndirectory of your choice.\n\n\n## Using the package ##\n\nYou can import the package as follows:\n```python\nfrom elp_mpp02 import mpp02 as mpp\n```\n\nThen, make sure you define the directory where the data files are located (if not in the current dir). \nFor the subdir `data/` of the current directory, do:\n```python\nmpp.dataDir = 'data' # Set the dir where the ELP_*.S* data files can be found\n```\n\nChoose whether to run the code in LLR (`mode=0`; default) or DE405 (`mode=1`; 'historical') mode, select a\nJulian day and compute the Moon position for that instance:\n```python\nmode = 1 # Historical mode\njd = 2451545\nlon,lat,dist = mpp.compute_lbr(jd, mode) \nprint('jd =',jd, ': lon =',lon,'rad, lat =',lat, 'rad, dist =',dist,'km.')\n```\nThe result should be\n```\njd = 2451545 : lon = -2.385534575256455 rad, lat = 0.09024868423130429 rad, dist = 402448.6385830673 km\n```\n\nThe ecliptical longitude and latitude are expressed in radians, the distance is in kilometres. The\ncoordinates are valid for the mean equinox of J2000. Note that on the first call, the constants must be\ninitialised and the data files need to be read, which can take ~10s. If `mode` is changed between calls, the\ndata must be reinitialised.\n\n\n## Author and licence ##\n\n* Author: Marc van der Sluys\n* Contact: http://astro.ru.nl/~sluys/\n* Website: [Github](https://github.com/MarcvdSluys/ELP-MPP02), [Pypi](https://pypi.org/project/elp_mpp02/)\n* Licence: [GPLv3+](https://www.gnu.org/licenses/gpl.html)\n\n\n## References ##\n\n* [Chapront & Francou (2003)](https://ui.adsabs.harvard.edu/abs/2003A%26A...404..735C/abstract)\n* [FTP data files](ftp://cyrano-se.obspm.fr/pub/2_lunar_solutions/2_elpmpp02)\n* This Python code is adapted from the Fortran implementation in [libTheSky](http://libthesky.sourceforge.net/)\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/MarcvdSluys/ELP-MPP02", "keywords": "Moon,Astronomy,Ephemeris", "license": "GPLv3+", "maintainer": "", "maintainer_email": "", "name": "elp-mpp02", "package_url": "https://pypi.org/project/elp-mpp02/", "platform": "", "project_url": "https://pypi.org/project/elp-mpp02/", "project_urls": { "Homepage": "https://github.com/MarcvdSluys/ELP-MPP02" }, "release_url": "https://pypi.org/project/elp-mpp02/0.0.1/", "requires_dist": [ "numpy", "fortranformat" ], "requires_python": "", "summary": "Accurate Moon positions using the Lunar solution ELP/MPP02", "version": "0.0.1" }, "last_serial": 5222239, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "264e5b54305213871162a221a261eb99", "sha256": "21381138d513dfc9e1d57b0033b79fefecd245a60ebe922cc1d0768a05c35428" }, "downloads": -1, "filename": "elp_mpp02-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "264e5b54305213871162a221a261eb99", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 22456, "upload_time": "2019-05-03T14:50:03", "url": "https://files.pythonhosted.org/packages/7b/34/f661d808dbc66128177ed1358d3db41ae73cbc30bdc3f98c8de8993caa64/elp_mpp02-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dadea656f5c0f635b48d05313ddc8c0f", "sha256": "e9c7de036931c5624bfcfabbf33714ccc8624a704f6ecf73ccdd8808316ab66e" }, "downloads": -1, "filename": "elp-mpp02-0.0.1.tar.gz", "has_sig": false, "md5_digest": "dadea656f5c0f635b48d05313ddc8c0f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10379, "upload_time": "2019-05-03T14:50:05", "url": "https://files.pythonhosted.org/packages/db/ca/c01f4ccb6d821da162ffec714e5e7f680f869e1d1160a338687d4603443d/elp-mpp02-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "264e5b54305213871162a221a261eb99", "sha256": "21381138d513dfc9e1d57b0033b79fefecd245a60ebe922cc1d0768a05c35428" }, "downloads": -1, "filename": "elp_mpp02-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "264e5b54305213871162a221a261eb99", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 22456, "upload_time": "2019-05-03T14:50:03", "url": "https://files.pythonhosted.org/packages/7b/34/f661d808dbc66128177ed1358d3db41ae73cbc30bdc3f98c8de8993caa64/elp_mpp02-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dadea656f5c0f635b48d05313ddc8c0f", "sha256": "e9c7de036931c5624bfcfabbf33714ccc8624a704f6ecf73ccdd8808316ab66e" }, "downloads": -1, "filename": "elp-mpp02-0.0.1.tar.gz", "has_sig": false, "md5_digest": "dadea656f5c0f635b48d05313ddc8c0f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10379, "upload_time": "2019-05-03T14:50:05", "url": "https://files.pythonhosted.org/packages/db/ca/c01f4ccb6d821da162ffec714e5e7f680f869e1d1160a338687d4603443d/elp-mpp02-0.0.1.tar.gz" } ] }