{ "info": { "author": "Richard Teague & Daniel Foreman-Mackey", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "# bettermoments\n\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.1419754.svg)](https://doi.org/10.5281/zenodo.1419754)\n\nMeasuring precise line-of-sight velocities is essential when looking for small scale deviations indicative of, for example, embedded planets. `bettermoments` helps you measure such velocities.\n\n## Approach\n\nRather than fitting the full line profile with an analytical expression, we fit a quadratic to the the peak pixel and its two adjacent pixels. For a single component, this has been shown om [Vakili & Hogg (2016)](https://arxiv.org/abs/1610.05873) to provide comparable precision to fitting the full spectrum with the true underlying profile. Thus, in the extremely likely scenario where the underlying profile is not known, this method will out perform more common methods, such as the intensity weighted average.\n\n## Usage\n\nTo start, install the `bettermoments` package by executing\n\n```bash\npip install bettermoments\n```\n\nThen you can execute this module using\n\n```python\nimport bettermoments as bm\n\nx_max, x_max_sigma, y_max, y_max_sigma = pm.quadratic(data, uncertainties)\n```\n\nSee the docstring for the `bettermoments.quadratic` function for more\ninformation on the available options.", "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/richteague/bettermoments", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "bettermoments", "package_url": "https://pypi.org/project/bettermoments/", "platform": "", "project_url": "https://pypi.org/project/bettermoments/", "project_urls": { "Homepage": "https://github.com/richteague/bettermoments" }, "release_url": "https://pypi.org/project/bettermoments/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "A robust method for inferring line-of-sight velocities from Doppler shifted spectra", "version": "1.0.0" }, "last_serial": 4277021, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "d162222ed773a3e6610b300404cf6a65", "sha256": "0bc349e8665cc2a33bacbea995d25abfa81aae97d3466127da24b054ad51b9f8" }, "downloads": -1, "filename": "bettermoments-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d162222ed773a3e6610b300404cf6a65", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3671, "upload_time": "2018-09-13T15:36:03", "url": "https://files.pythonhosted.org/packages/f6/8b/ff7f2bfde19559da27c8409a30093371966c3bbbb363349fb2b0d8c77ddc/bettermoments-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9df42c92a358e5ae99cfbe37ae78be30", "sha256": "bde4dd528ec4a8c2045d33c0f1b56e3a6d3e6dc6db85ef3b5758bf42be2d3de2" }, "downloads": -1, "filename": "bettermoments-0.0.2.tar.gz", "has_sig": false, "md5_digest": "9df42c92a358e5ae99cfbe37ae78be30", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3346, "upload_time": "2018-09-13T15:32:46", "url": "https://files.pythonhosted.org/packages/69/8c/632426e14d7ebf1ad78ac44f1d9be1a732594d9f05e6afb4c72c840ac391/bettermoments-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "14c6b3499759d59a9bd9ddd456b972bf", "sha256": "059aeb3de85593100dd116c166614711c1bd044e7ffe527175720d2cd6b768e0" }, "downloads": -1, "filename": "bettermoments-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "14c6b3499759d59a9bd9ddd456b972bf", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3670, "upload_time": "2018-09-13T15:36:22", "url": "https://files.pythonhosted.org/packages/f2/55/ea3b5a800dd6a96a83e651c3acf298bdd3dfecd7ef6c7a9b931394bcfd1f/bettermoments-0.0.3-py2.py3-none-any.whl" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "5bf8c65f16bbec0c73b51e586793e0b1", "sha256": "da26cd684860c3b882eccbb9b28820dde2a1ef2e60ee1d5f65ae80ecf8d84c25" }, "downloads": -1, "filename": "bettermoments-1.0.0.macosx-10.7-x86_64.tar.gz", "has_sig": false, "md5_digest": "5bf8c65f16bbec0c73b51e586793e0b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4792, "upload_time": "2018-09-16T17:00:59", "url": "https://files.pythonhosted.org/packages/f4/87/0eff6d414c402822b19dc760ccb4d0f359fa4e94be1b590d834d4db85711/bettermoments-1.0.0.macosx-10.7-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "cb431d5c91e6b5f6cb0a64f064469639", "sha256": "26acf3219eeb38357b4eb61ce4cd34b7cb867a84d25ee7b6df405e64140ae4e6" }, "downloads": -1, "filename": "bettermoments-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "cb431d5c91e6b5f6cb0a64f064469639", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4012, "upload_time": "2018-09-16T17:01:37", "url": "https://files.pythonhosted.org/packages/5b/f6/cc6e9ad6e2fbaeffe6c36a10ca68af94787653b8628af7023e2f17759324/bettermoments-1.0.0-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5bf8c65f16bbec0c73b51e586793e0b1", "sha256": "da26cd684860c3b882eccbb9b28820dde2a1ef2e60ee1d5f65ae80ecf8d84c25" }, "downloads": -1, "filename": "bettermoments-1.0.0.macosx-10.7-x86_64.tar.gz", "has_sig": false, "md5_digest": "5bf8c65f16bbec0c73b51e586793e0b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4792, "upload_time": "2018-09-16T17:00:59", "url": "https://files.pythonhosted.org/packages/f4/87/0eff6d414c402822b19dc760ccb4d0f359fa4e94be1b590d834d4db85711/bettermoments-1.0.0.macosx-10.7-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "cb431d5c91e6b5f6cb0a64f064469639", "sha256": "26acf3219eeb38357b4eb61ce4cd34b7cb867a84d25ee7b6df405e64140ae4e6" }, "downloads": -1, "filename": "bettermoments-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "cb431d5c91e6b5f6cb0a64f064469639", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4012, "upload_time": "2018-09-16T17:01:37", "url": "https://files.pythonhosted.org/packages/5b/f6/cc6e9ad6e2fbaeffe6c36a10ca68af94787653b8628af7023e2f17759324/bettermoments-1.0.0-py2.py3-none-any.whl" } ] }