{ "info": { "author": "Eduardo Nunes", "author_email": "diofanto.nunes@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Periodicity\n\nUseful tools for analysis of periodicities in time series data.\n\nIncludes:\n* Auto-Correlation Function\n* Fourier methods:\n * Lomb-Scargle periodogram\n * Wavelet Transform (in progress)\n* Phase-folding methods:\n * String Length\n * Analysis of Variance (in progress)\n* Gaussian Processes:\n * `george` implementation\n * `celerite` implementation\n * `pymc3` implementation (in progress)\n\n## Quick start\n### Installing current release from pypi (v0.1.0-alpha)\n $ pip install periodicity\n### Installing current development version\n $ git clone https://github.com/dioph/periodicity.git\n $ cd periodicity\n $ python setup.py install\n## Example using GP with astronomical data\n```python\nfrom periodicity.gp import *\nfrom lightkurve import search_lightcurvefile\n\nlcs = search_lightcurvefile(target=9895037, quarter=[4,5]).download_all()\nlc = lcs[0].PDCSAP_FLUX.normalize().append(lcs[1].PDCSAP_FLUX.normalize())\nlc = lc.remove_nans().remove_outliers().bin(binsize=4)\n\nt, x = lc.time, lc.flux\nx = x - x.mean()\n\nmodel = FastGPModeler(t, x)\nmodel.prior = make_gaussian_prior(t, x, pmin=2)\nmodel.minimize()\nsamples = model.mcmc(nwalkers=32, nsteps=5000, burn=500)\n\nprint('Median period: {:.2f}'.format(np.exp(np.median(samples[:, 4]))))\n```\n\n### Visualization of this example:\n\n![gp_example](https://github.com/dioph/periodicity/blob/master/figures/example2.png?raw=True)\n\n![gp_example](https://github.com/dioph/periodicity/blob/master/figures/example1.png?raw=True)\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/dioph/periodicity", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "periodicity", "package_url": "https://pypi.org/project/periodicity/", "platform": "", "project_url": "https://pypi.org/project/periodicity/", "project_urls": { "Homepage": "https://github.com/dioph/periodicity" }, "release_url": "https://pypi.org/project/periodicity/0.1.0b2/", "requires_dist": [ "numpy (>=1.11)", "astropy (>=1.3)", "scipy (>=0.19.0)", "emcee", "tqdm", "autograd" ], "requires_python": "", "summary": "Useful tools for analysis of periodicities in time series data", "version": "0.1.0b2" }, "last_serial": 4678394, "releases": { "0.1.0b0": [ { "comment_text": "", "digests": { "md5": "fd86cb94ea12936387491d60159d1865", "sha256": "4949a1d9a1544720be3a9175e06b78531b1c25f605a5f42debdd98734737eb79" }, "downloads": -1, "filename": "periodicity-0.1.0b0-py3-none-any.whl", "has_sig": false, "md5_digest": "fd86cb94ea12936387491d60159d1865", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11289, "upload_time": "2018-12-07T11:49:41", "url": "https://files.pythonhosted.org/packages/09/90/2af009e67be9520aafee955188fb89bb4791be8529f0285208e44d662e4f/periodicity-0.1.0b0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f3e58eac05b9bba8c0dd87ead6607b89", "sha256": "3866c4a0226661e144d4968968deb7ff6e4cc4f4ab3887a696192cd2e5a3b11b" }, "downloads": -1, "filename": "periodicity-0.1.0b0.tar.gz", "has_sig": false, "md5_digest": "f3e58eac05b9bba8c0dd87ead6607b89", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8655, "upload_time": "2018-12-07T11:49:42", "url": "https://files.pythonhosted.org/packages/59/bc/a260ee847026bd5c4fe835acfca67effab1f79255063193ab56cafcc91a4/periodicity-0.1.0b0.tar.gz" } ], "0.1.0b1": [ { "comment_text": "", "digests": { "md5": "e024ed8f5aba116a674b75e83ab9f5f8", "sha256": "faedad9d671130938dc7fcae4ec741d5eab33a46947037a478a7202a10b1ea02" }, "downloads": -1, "filename": "periodicity-0.1.0b1-py3-none-any.whl", "has_sig": false, "md5_digest": "e024ed8f5aba116a674b75e83ab9f5f8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11289, "upload_time": "2018-12-08T13:23:10", "url": "https://files.pythonhosted.org/packages/62/4f/59e5e135b7da46e86a021ef567932d43edfcd57ae7702f9edc567ba055be/periodicity-0.1.0b1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f589c8d3d4811630f3a4b88f1d4f7785", "sha256": "04e45234f2ab2f23ee911f02e4cc3c0921b123399fd048377b56f16e74faf8d6" }, "downloads": -1, "filename": "periodicity-0.1.0b1.tar.gz", "has_sig": false, "md5_digest": "f589c8d3d4811630f3a4b88f1d4f7785", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8659, "upload_time": "2018-12-08T13:23:12", "url": "https://files.pythonhosted.org/packages/6a/d0/595d047163db22919113fb11870489d07b40f801771915f8f5fa197d78c7/periodicity-0.1.0b1.tar.gz" } ], "0.1.0b2": [ { "comment_text": "", "digests": { "md5": "7a8633f4221763284a0a28a71415a6ef", "sha256": "3cb7010ab42ee8b7e30ed35346d4edd5eaf3f67127d4542aff03081f8c135e83" }, "downloads": -1, "filename": "periodicity-0.1.0b2-py3-none-any.whl", "has_sig": false, "md5_digest": "7a8633f4221763284a0a28a71415a6ef", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11305, "upload_time": "2019-01-09T20:49:50", "url": "https://files.pythonhosted.org/packages/88/2f/c54d67ef0c3e7b1c733ff80d25ba891653213e4fb1088ea687c87fe55d15/periodicity-0.1.0b2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b0493250dce8b136e3b18c1179fc827f", "sha256": "2275a5d1212eb88d6fdf8b3f99c83347874ae139fd6069cfa0ff53844bc9a783" }, "downloads": -1, "filename": "periodicity-0.1.0b2.tar.gz", "has_sig": false, "md5_digest": "b0493250dce8b136e3b18c1179fc827f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8661, "upload_time": "2019-01-09T20:49:52", "url": "https://files.pythonhosted.org/packages/aa/f3/556bac82b450f09b7769450200d5d809c64b1211f0b2e4e03ce46f10b9c9/periodicity-0.1.0b2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7a8633f4221763284a0a28a71415a6ef", "sha256": "3cb7010ab42ee8b7e30ed35346d4edd5eaf3f67127d4542aff03081f8c135e83" }, "downloads": -1, "filename": "periodicity-0.1.0b2-py3-none-any.whl", "has_sig": false, "md5_digest": "7a8633f4221763284a0a28a71415a6ef", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11305, "upload_time": "2019-01-09T20:49:50", "url": "https://files.pythonhosted.org/packages/88/2f/c54d67ef0c3e7b1c733ff80d25ba891653213e4fb1088ea687c87fe55d15/periodicity-0.1.0b2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b0493250dce8b136e3b18c1179fc827f", "sha256": "2275a5d1212eb88d6fdf8b3f99c83347874ae139fd6069cfa0ff53844bc9a783" }, "downloads": -1, "filename": "periodicity-0.1.0b2.tar.gz", "has_sig": false, "md5_digest": "b0493250dce8b136e3b18c1179fc827f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8661, "upload_time": "2019-01-09T20:49:52", "url": "https://files.pythonhosted.org/packages/aa/f3/556bac82b450f09b7769450200d5d809c64b1211f0b2e4e03ce46f10b9c9/periodicity-0.1.0b2.tar.gz" } ] }