{ "info": { "author": "Duncan Macleod", "author_email": "duncan.macleod@ligo.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Astronomy", "Topic :: Scientific/Engineering :: Physics" ], "description": "[![PyPI Release](https://badge.fury.io/py/gwosc.svg)](http://badge.fury.io/py/gwosc)\n[![Zenodo DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.1196306.svg)](https://doi.org/10.5281/zenodo.1196306)\n[![License](https://img.shields.io/pypi/l/gwosc.svg)](https://choosealicense.com/licenses/mit/)\n![Python Versions](https://img.shields.io/pypi/pyversions/gwosc.svg)\n\n[![TravisCI Build](https://travis-ci.com/gwpy/gwosc.svg?branch=develop)](https://travis-ci.com/gwpy/gwosc)\n[![Appveyor Build](https://ci.appveyor.com/api/projects/status/t1xsjb4kieunjp66?svg=true)](https://ci.appveyor.com/project/gwpy/gwosc)\n[![CircleCI Build](https://circleci.com/gh/gwpy/gwosc/tree/develop.svg?style=svg)](https://circleci.com/gh/gwpy/gwosc/tree/develop)\n[![Coverage Status](https://coveralls.io/repos/github/gwpy/gwosc/badge.svg?branch=develop)](https://coveralls.io/github/gwpy/gwosc?branch=develop)\n[![Maintainability](https://api.codeclimate.com/v1/badges/234aad1c71f0642d3e60/maintainability)](https://codeclimate.com/github/gwpy/gwosc/maintainability)\n\nThe `gwosc` package provides an interface to querying the open data\nreleases hosted on from the LIGO and Virgo\ngravitational-wave observatories.\n\nTo install:\n\n pip install gwosc\n\n## Searching for datasets\n\nTo search for available datasets (correct as of March 14 2018):\n\n```python\n>>> from gwosc import datasets\n>>> datasets.find_datasets()\n['GW150914', 'GW151226', 'GW170104', 'GW170608', 'GW170814', 'GW170817', 'LVT151012', 'O1', 'S5', 'S6']\n>>> datasets.find_datasets(detector='V1')\n['GW170814', 'GW170817']\n>>> datasets.find_datasets(type='run')\n['O1', 'S5', 'S6']\n```\n\nTo query for the GPS time of an event dataset (or vice-versa):\n\n```python\n>>> datasets.event_gps('GW170817')\n1187008882.43\n>>> datasets.event_at_gps(1187008882)\n'GW170817'\n```\n\nSimilar queries are available for observing run datasets:\n\n```python\n>>> datasets.run_segment('O1')\n(1126051217, 1137254417)\n>>> datasets.run_at_gps(1135136350) # event_gps('GW151226')\n'O1'\n```\n\n## Locating data URLs by event name\n\nYou can search for remote data URLS based on the event name:\n\n```python\n>>> from gwosc.locate import get_event_urls\n>>> get_event_urls('GW150914')\n['https://losc.ligo.org//s/events/GW150914/H-H1_LOSC_4_V2-1126259446-32.hdf5', 'https://losc.ligo.org//s/events/GW150914/L-L1_LOSC_4_V2-1126259446-32.hdf5', 'https://losc.ligo.org//s/events/GW150914/H-H1_LOSC_4_V2-1126257414-4096.hdf5', 'https://losc.ligo.org//s/events/GW150914/L-L1_LOSC_4_V2-1126257414-4096.hdf5']\n```\n\nYou can down-select the URLs using keyword arguments:\n\n```python\n>>> get_event_urls('GW150914', detector='L1', duration=32)\n['https://losc.ligo.org//s/events/GW150914/L-L1_LOSC_4_V2-1126259446-32.hdf5']\n```\n\n## Locating data URLs by GPS interval\n\nYou can search for remote data URLs based on the GPS time interval as\nfollows:\n\n```python\n>>> from gwosc.locate import get_urls\n>>> get_urls('L1', 968650000, 968660000)\n['https://losc.ligo.org/archive/data/S6/967835648/L-L1_LOSC_4_V1-968646656-4096.hdf5', 'https://losc.ligo.org/archive/data/S6/967835648/L-L1_LOSC_4_V1-968650752-4096.hdf5', 'https://losc.ligo.org/archive/data/S6/967835648/L-L1_LOSC_4_V1-968654848-4096.hdf5', 'https://losc.ligo.org/archive/data/S6/967835648/L-L1_LOSC_4_V1-968658944-4096.hdf5']\n```\n\nThis arguments for this function are as follows\n\n- `detector` : the prefix of the relevant gravitational-wave\n interferometer, either `'H1'` for LIGO-Hanford, or `'L1'` for LIGO\n Livingston,\n- `start`: the GPS start time of the interval of interest\n- `end`: the GPS end time of the interval of interest\n\nBy default, this method will return the paths to HDF5 files for the 4\nkHz sample-rate data, these can be specified as keyword arguments. For\nfull information, run\n\n```python\n>>> help(get_urls)\n```\n\n## Query for Timeline segments\n\nYou can also search for Timeline segments, based on a flag name, and a\nGPS time interval as follows:\n\n```python\n>>> from gwosc.timeline import get_segments\n>>> get_segments('H1_DATA', 1126051217, 1126151217)\n[(1126073529, 1126114861), (1126121462, 1126123267), (1126123553, 1126126832), (1126139205, 1126139266), (1126149058, 1126151217)]\n```\n\nThe output is a `list` of `(start, end)` 2-tuples which each represent a\nsemi-open time interval.\n\nFor documentation on what flags are available, for example for the O1\nscience run, see [the O1 data release page](https://losc.ligo.org/O1/)\n(*Data Quality*).\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/gwpy/gwosc", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "gwosc", "package_url": "https://pypi.org/project/gwosc/", "platform": "", "project_url": "https://pypi.org/project/gwosc/", "project_urls": { "Homepage": "https://github.com/gwpy/gwosc" }, "release_url": "https://pypi.org/project/gwosc/0.4.3/", "requires_dist": [ "six (>=1.9.0)", "sphinx ; extra == 'docs'", "sphinx-rtd-theme ; extra == 'docs'", "numpydoc ; extra == 'docs'" ], "requires_python": "", "summary": "A python interface to the GW Open Science data archive", "version": "0.4.3" }, "last_serial": 4929026, "releases": { "0.3.1": [ { "comment_text": "", "digests": { "md5": "0ef3e43c6587e571fb82f5ec3f2eb266", "sha256": "8166c95d701fc97f5f2327d0f49f4a2a3a827eb7964326c2036006f25b7cc8f0" }, "downloads": -1, "filename": "gwosc-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0ef3e43c6587e571fb82f5ec3f2eb266", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 14167, "upload_time": "2018-07-06T13:53:18", "url": "https://files.pythonhosted.org/packages/38/77/e80ff2b372f806812496261871a49b4103ea9a63f347575ef25300c220f2/gwosc-0.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9b7ff3c9b10c3bb26573ce50af494743", "sha256": "c6c970d0c6bae88623c3f4c688371dd74df06bd63394d54ac3f5fbc442fd185f" }, "downloads": -1, "filename": "gwosc-0.3.1.tar.gz", "has_sig": false, "md5_digest": "9b7ff3c9b10c3bb26573ce50af494743", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26883, "upload_time": "2018-07-06T13:53:19", "url": "https://files.pythonhosted.org/packages/eb/88/8e8ee838452b4c2bf50c96ac6fe4220f2081b12f112b77b2fab89593535a/gwosc-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "9807768b42b9c626489f52a006b95498", "sha256": "9043ebe6e0d5b21c755ca06441019ea668e54f58a34a054c831daa762f5761ce" }, "downloads": -1, "filename": "gwosc-0.3.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9807768b42b9c626489f52a006b95498", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 22268, "upload_time": "2018-07-09T14:28:12", "url": "https://files.pythonhosted.org/packages/6e/a2/3d4c84c8e878920856b27ac333c276b1702a4f694bd534f208bb31b0bda3/gwosc-0.3.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a137562d72062a459cb573cfef063220", "sha256": "2bc3c25d1e684d365b39c860369b91c61f252a3c02d303583019efd67ca353b2" }, "downloads": -1, "filename": "gwosc-0.3.2.tar.gz", "has_sig": false, "md5_digest": "a137562d72062a459cb573cfef063220", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31113, "upload_time": "2018-07-09T14:28:13", "url": "https://files.pythonhosted.org/packages/e0/4a/3417c7f2c70e88ab1c208b34999a009bfb7059b435782a06f11217214594/gwosc-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "66fe220e3d6df8afbe336fc842cfaec0", "sha256": "e662ff653e6a80d17cde8a3aa2f45406f54f852072dbf2c01959941fa54ceabb" }, "downloads": -1, "filename": "gwosc-0.3.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "66fe220e3d6df8afbe336fc842cfaec0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 22268, "upload_time": "2018-07-09T15:50:12", "url": "https://files.pythonhosted.org/packages/74/f6/1c7ad8effc4f770000b4779e8462d0a1932678d9c2b78c5c81b61b8eda66/gwosc-0.3.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ed804ded34f6eda890bb6c710e37c6fd", "sha256": "863a67296763ec9be79fa057b6ee0b3cb4f91c768b97b769840fa91f2f3b4e2c" }, "downloads": -1, "filename": "gwosc-0.3.3.tar.gz", "has_sig": false, "md5_digest": "ed804ded34f6eda890bb6c710e37c6fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31201, "upload_time": "2018-07-09T15:50:13", "url": "https://files.pythonhosted.org/packages/b6/e1/5799150abcbc2aae2c545ec313ca82f9c146a9493a8bd1d9c2cba70bc1b4/gwosc-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "8ec921b5c37d1fa4102bd5a23657c94b", "sha256": "f1ba1c0f076ddcc323427e22ff4516ff0ca7bead72a0131c6314ec8afeb750e4" }, "downloads": -1, "filename": "gwosc-0.3.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8ec921b5c37d1fa4102bd5a23657c94b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 24151, "upload_time": "2018-10-04T09:36:09", "url": "https://files.pythonhosted.org/packages/66/b0/848cc4d3207d5900a182c7aa254c775203c67f37b88ef9ec9324fd0d7fe4/gwosc-0.3.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d19ce345627131faef671342b8144e21", "sha256": "18ed53e2b0260bc2f41bfebcc196465081d97b92860b7083e321f9c39fb98ee2" }, "downloads": -1, "filename": "gwosc-0.3.4.tar.gz", "has_sig": false, "md5_digest": "d19ce345627131faef671342b8144e21", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32729, "upload_time": "2018-10-04T09:36:10", "url": "https://files.pythonhosted.org/packages/2d/ae/2e68cb53932953dcc207328ea52e8315ef5ca53ef799a6ebee611245906d/gwosc-0.3.4.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "665c46cfb2f33edbf95e23ea3f3c7e06", "sha256": "1cf95b555f3593555854db8cfbdb3ac8a9bb1bebf7982c05532f534ca7d10511" }, "downloads": -1, "filename": "gwosc-0.4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "665c46cfb2f33edbf95e23ea3f3c7e06", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 28495, "upload_time": "2019-02-28T16:09:13", "url": "https://files.pythonhosted.org/packages/64/c2/aa11b99958c580fdc6925e3053aedf1f082b27eff93aadac46a6b0309db2/gwosc-0.4.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "46ac594f276d67e8578e99dcd37abeed", "sha256": "c4940bed28aedc8760c3485840b423f3a78bc315af402fb91f15c3267a2c340c" }, "downloads": -1, "filename": "gwosc-0.4.0.tar.gz", "has_sig": false, "md5_digest": "46ac594f276d67e8578e99dcd37abeed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35608, "upload_time": "2019-02-28T16:09:14", "url": "https://files.pythonhosted.org/packages/8b/27/c3eb705e5b4def861da58efb984f96c9634bd557418a82047aeebbec3ec5/gwosc-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "5fabb2019fe237ae8673cf4bf862df22", "sha256": "8932c7328c9ad24bc5223e569b1df94e1e016c64c0d909444d40692cea77ac8b" }, "downloads": -1, "filename": "gwosc-0.4.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5fabb2019fe237ae8673cf4bf862df22", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 28496, "upload_time": "2019-02-28T22:15:17", "url": "https://files.pythonhosted.org/packages/a8/84/fa200bc1b5a63ef5e3a3508b64d4e9b7d86b1fa62e644001112dce38296f/gwosc-0.4.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ef0f38b6c9b18f080ae7b57be5f05244", "sha256": "010a306bb50d10513f013d3a0052ff5d65613602ab09d3ccdc0fb74a69b9457d" }, "downloads": -1, "filename": "gwosc-0.4.1.tar.gz", "has_sig": false, "md5_digest": "ef0f38b6c9b18f080ae7b57be5f05244", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35680, "upload_time": "2019-02-28T22:15:18", "url": "https://files.pythonhosted.org/packages/47/c1/a38949eafe5af93ce5b06abbfbd97e0a10e14ea472b846d5ed1c3252e245/gwosc-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "af8c390fef4f924cff9cd492b3380f67", "sha256": "e4dc1d7f77d7fd602c6fbac348727a8141fdfc181390a91bccc51454f398f813" }, "downloads": -1, "filename": "gwosc-0.4.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "af8c390fef4f924cff9cd492b3380f67", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 28810, "upload_time": "2019-03-11T16:53:40", "url": "https://files.pythonhosted.org/packages/8d/26/09c486dd878e314ec1e3f708df632963870a9cc14967692b91a4002853c9/gwosc-0.4.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f0b371b23fd208ac983e923c556373c3", "sha256": "1e10eeda9a2715d9334256ed392b27903994d34c0011bc0221950d15cf6e06c3" }, "downloads": -1, "filename": "gwosc-0.4.2.tar.gz", "has_sig": false, "md5_digest": "f0b371b23fd208ac983e923c556373c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36109, "upload_time": "2019-03-11T16:53:41", "url": "https://files.pythonhosted.org/packages/8e/f0/cf7d3b879ec4ebdb74ab1f5e465aa9b8d8e9250606c3e6e5b1fb03727b98/gwosc-0.4.2.tar.gz" } ], "0.4.3": [ { "comment_text": "", "digests": { "md5": "3f19665c3cfa84d16e2dce2f13874006", "sha256": "f707bdc3b3f9fd6b8b2dceabe770b2fec6a488a1f57b8edc91089d8dac9bf5e3" }, "downloads": -1, "filename": "gwosc-0.4.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3f19665c3cfa84d16e2dce2f13874006", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 29004, "upload_time": "2019-03-12T08:36:20", "url": "https://files.pythonhosted.org/packages/6d/ff/67426ce11f9f3432e020f5d5ef796e1d8e1c2a76b555c8705177f4347f99/gwosc-0.4.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "905208470c84574b5ae86d5a72265ba1", "sha256": "7fb8a7bc76c69329c9d8252c523a212bf6ecdfbe6bcdd940652efa60c6e85a8a" }, "downloads": -1, "filename": "gwosc-0.4.3.tar.gz", "has_sig": false, "md5_digest": "905208470c84574b5ae86d5a72265ba1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36320, "upload_time": "2019-03-12T08:36:21", "url": "https://files.pythonhosted.org/packages/ad/bd/ef37f95cb72897ccb541a3344c899348873a3f9ea91b3e9d3f645426cdb8/gwosc-0.4.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3f19665c3cfa84d16e2dce2f13874006", "sha256": "f707bdc3b3f9fd6b8b2dceabe770b2fec6a488a1f57b8edc91089d8dac9bf5e3" }, "downloads": -1, "filename": "gwosc-0.4.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3f19665c3cfa84d16e2dce2f13874006", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 29004, "upload_time": "2019-03-12T08:36:20", "url": "https://files.pythonhosted.org/packages/6d/ff/67426ce11f9f3432e020f5d5ef796e1d8e1c2a76b555c8705177f4347f99/gwosc-0.4.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "905208470c84574b5ae86d5a72265ba1", "sha256": "7fb8a7bc76c69329c9d8252c523a212bf6ecdfbe6bcdd940652efa60c6e85a8a" }, "downloads": -1, "filename": "gwosc-0.4.3.tar.gz", "has_sig": false, "md5_digest": "905208470c84574b5ae86d5a72265ba1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36320, "upload_time": "2019-03-12T08:36:21", "url": "https://files.pythonhosted.org/packages/ad/bd/ef37f95cb72897ccb541a3344c899348873a3f9ea91b3e9d3f645426cdb8/gwosc-0.4.3.tar.gz" } ] }