{ "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| |Zenodo DOI| |License| |Python Versions|\n\n|Build Status| |Coverage Status|\n\nThe ``gwopensci`` package provides an interface to querying the\nopen data releases hosted on https://losc.ligo.org from the LIGO and\nVirgo gravitational-wave observatories.\n\nTo install:\n\n::\n\n pip install gwopensci\n\n\nSearching for datasets\n----------------------\n\nTo search for available datasets (correct as of March 14 2018):\n\n.. code:: python\n\n >>> from gwopensci 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\nTo query for the GPS time of an event dataset (or vice-versa):\n\n.. code:: python\n\n >>> datasets.event_gps('GW170817')\n 1187008882.43\n >>> datasets.event_at_gps(1187008882)\n 'GW170817'\n\nSimilar queries are available for observing run datasets:\n\n.. code:: python\n\n >>> datasets.run_segment('O1')\n (1126051217, 1137254417)\n >>> datasets.run_at_gps(1135136350) # event_gps('GW151226')\n 'O1'\n\n\nLocating data URLs by event name\n---------------------------------\n\nYou can search for remote data URLS based on the event name:\n\n.. code:: python\n\n >>> from gwopensci.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\nYou can down-select the URLs using keyword arguments:\n\n.. code:: python\n\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\nLocating data URLs by GPS interval\n----------------------------------\n\nYou can search for remote data URLs based on the GPS time interval as\nfollows:\n\n.. code:: python\n\n >>> from gwopensci.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\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\n LIGO 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.. code:: python\n\n >>> help(get_urls)\n\n\nQuery for Timeline segments\n---------------------------\n\nYou can also search for Timeline segments, based on a flag name, and a\nGPS time interval as follows:\n\n.. code:: python\n\n >>> from gwopensci.timeline import get_segments\n >>> get_segments('H1_DATA', 1126051217, 1126151217)\n [(1126073529, 1126114861), (1126121462, 1126123267), (1126123553, 1126126832), (1126139205, 1126139266), (1126149058, 1126151217)]\n\nThe output is a ``list`` of ``(start, end)`` 2-tuples which each\nrepresent a semi-open time interval.\n\nFor documentation on what flags are available, for example for the O1\nscience run, see `the O1 data release\npage `__ (*Data Quality*).\n\n.. |PyPI Release| image:: https://badge.fury.io/py/gwopensci.svg\n :target: http://badge.fury.io/py/gwopensci\n.. |Zenodo DOI| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.1196306.svg\n :target: https://doi.org/10.5281/zenodo.1196306\n.. |License| image:: https://img.shields.io/pypi/l/gwopensci.svg\n :target: https://choosealicense.com/licenses/mit/\n.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/gwopensci.svg\n.. |Build Status| image:: https://travis-ci.org/duncanmmacleod/gwopensci.svg?branch=develop\n :target: https://travis-ci.org/duncanmmacleod/gwopensci\n.. |Coverage Status| image:: https://coveralls.io/repos/github/duncanmmacleod/gwopensci/badge.svg?branch=develop\n :target: https://coveralls.io/github/duncanmmacleod/gwopensci?branch=develop\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/duncanmmacleod/gwopensci", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "gwopensci", "package_url": "https://pypi.org/project/gwopensci/", "platform": "", "project_url": "https://pypi.org/project/gwopensci/", "project_urls": { "Homepage": "https://github.com/duncanmmacleod/gwopensci" }, "release_url": "https://pypi.org/project/gwopensci/0.2.1/", "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.2.1" }, "last_serial": 3669089, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "5d9e27ba4c96f7f2850acd1a0feae384", "sha256": "3feff7ee515dcef58ecf992852bfe3b397c6b71ff98aec8879e631a4a06ad6fb" }, "downloads": -1, "filename": "gwopensci-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "5d9e27ba4c96f7f2850acd1a0feae384", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 16174, "upload_time": "2018-03-12T12:31:03", "url": "https://files.pythonhosted.org/packages/48/61/6cdf15683e78ff2a5b2be7450f6b44c22d30997169aba090017324472cec/gwopensci-0.1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "70a93d3fd33ef9e257d246fcc401e932", "sha256": "f125078d3eeee7dd26c9fabbc536388b5884b756c8088bc284d698c0fff53a8d" }, "downloads": -1, "filename": "gwopensci-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "70a93d3fd33ef9e257d246fcc401e932", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16173, "upload_time": "2018-03-12T12:31:27", "url": "https://files.pythonhosted.org/packages/8d/f6/1cab5e56b0a1efa0ebfe2a463a1a4c95c51c9ca3b074ce0a0c748b29c72a/gwopensci-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3edbbbc3e6708d6ef988a3ac39f2be1e", "sha256": "070c18d62689f0fc06826b04aaaa04cab4b248b3d1d7326e1bda8ce3b32fe6b4" }, "downloads": -1, "filename": "gwopensci-0.1.0.tar.gz", "has_sig": false, "md5_digest": "3edbbbc3e6708d6ef988a3ac39f2be1e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26171, "upload_time": "2018-03-12T12:31:04", "url": "https://files.pythonhosted.org/packages/fb/b5/9155a4ecb0e53582d0799a300004f67f12813c00a9a02731cbcadaf25885/gwopensci-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "646e3cb0230c6eb17a8330084ef5c9a1", "sha256": "75f8070127bd77c5ade556d05c9d6b44e4219db88aed1e9933408239ddae1bcc" }, "downloads": -1, "filename": "gwopensci-0.1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "646e3cb0230c6eb17a8330084ef5c9a1", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 16471, "upload_time": "2018-03-12T15:00:16", "url": "https://files.pythonhosted.org/packages/e9/89/daadd8b9f5dbd7b27b8185ccd757e76cf013fa34311fcf0469bd5e9d032d/gwopensci-0.1.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "57f573f47cf9c9276ec30bb75627d508", "sha256": "6bc3ffc355ee2147a1f3f1b7c8da702e6b4c07afe7f44381ac9b40fef0fcf66f" }, "downloads": -1, "filename": "gwopensci-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "57f573f47cf9c9276ec30bb75627d508", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16471, "upload_time": "2018-03-12T15:01:33", "url": "https://files.pythonhosted.org/packages/54/5e/a426f9a98875a5721fdd6778cec1736c41c316058db87e5002fd13e2cc0f/gwopensci-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "866b13f4b7404573ce36ee9001c6b35f", "sha256": "a2f8cf6fa31b4e0877d5da584f04129351f522c163c0cd37807bbc9b3b732dd6" }, "downloads": -1, "filename": "gwopensci-0.1.1.tar.gz", "has_sig": false, "md5_digest": "866b13f4b7404573ce36ee9001c6b35f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26524, "upload_time": "2018-03-12T15:00:17", "url": "https://files.pythonhosted.org/packages/72/af/6e13366b3862ce32fe8778f05744c2e6a9778406716de723a5f4c3842f5e/gwopensci-0.1.1.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "62ddc819575563dedbd728b73531a880", "sha256": "ca670a3ebe8de68553df5f7a5a0d4b2c80feaf6bdfa056a10d59cf2d78dd3520" }, "downloads": -1, "filename": "gwopensci-0.2.1-py2-none-any.whl", "has_sig": false, "md5_digest": "62ddc819575563dedbd728b73531a880", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 19615, "upload_time": "2018-03-14T14:31:02", "url": "https://files.pythonhosted.org/packages/94/fa/344d7f14fe8c97ee9902730cf196e86a0b1e00eb923baa5d45527574d516/gwopensci-0.2.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "489fc08463454f3d852d783df80afb35", "sha256": "81a6a3a74d395e888083ddd102d08bf9355071434f7b63c8a9fedd54d9300bd7" }, "downloads": -1, "filename": "gwopensci-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "489fc08463454f3d852d783df80afb35", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 19615, "upload_time": "2018-03-14T14:30:47", "url": "https://files.pythonhosted.org/packages/cd/d0/8959021dba2792be2a1e4605657780f1a596baaa75724b6379ca2281c415/gwopensci-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "614762f08eec57784953670a14ab19c0", "sha256": "d98638d2567c1c4b1c7086d0fce6bb7edd28db374ce68ea72f38d514972c426b" }, "downloads": -1, "filename": "gwopensci-0.2.1.tar.gz", "has_sig": false, "md5_digest": "614762f08eec57784953670a14ab19c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28610, "upload_time": "2018-03-14T14:31:05", "url": "https://files.pythonhosted.org/packages/42/91/2fb820fc49066a75067fb58a79fb3d911c958a2c4ad58ad5386c86552ec0/gwopensci-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "62ddc819575563dedbd728b73531a880", "sha256": "ca670a3ebe8de68553df5f7a5a0d4b2c80feaf6bdfa056a10d59cf2d78dd3520" }, "downloads": -1, "filename": "gwopensci-0.2.1-py2-none-any.whl", "has_sig": false, "md5_digest": "62ddc819575563dedbd728b73531a880", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 19615, "upload_time": "2018-03-14T14:31:02", "url": "https://files.pythonhosted.org/packages/94/fa/344d7f14fe8c97ee9902730cf196e86a0b1e00eb923baa5d45527574d516/gwopensci-0.2.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "489fc08463454f3d852d783df80afb35", "sha256": "81a6a3a74d395e888083ddd102d08bf9355071434f7b63c8a9fedd54d9300bd7" }, "downloads": -1, "filename": "gwopensci-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "489fc08463454f3d852d783df80afb35", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 19615, "upload_time": "2018-03-14T14:30:47", "url": "https://files.pythonhosted.org/packages/cd/d0/8959021dba2792be2a1e4605657780f1a596baaa75724b6379ca2281c415/gwopensci-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "614762f08eec57784953670a14ab19c0", "sha256": "d98638d2567c1c4b1c7086d0fce6bb7edd28db374ce68ea72f38d514972c426b" }, "downloads": -1, "filename": "gwopensci-0.2.1.tar.gz", "has_sig": false, "md5_digest": "614762f08eec57784953670a14ab19c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28610, "upload_time": "2018-03-14T14:31:05", "url": "https://files.pythonhosted.org/packages/42/91/2fb820fc49066a75067fb58a79fb3d911c958a2c4ad58ad5386c86552ec0/gwopensci-0.2.1.tar.gz" } ] }