{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Topic :: Scientific/Engineering", "Topic :: Software Development" ], "description": ".. image:: https://circleci.com/gh/bids-standard/pybv.svg?style=svg\n :target: https://circleci.com/gh/bids-standard/pybv\n :alt: CircleCI\n\n.. image:: https://codecov.io/gh/bids-standard/pybv/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/bids-standard/pybv\n :alt: codecov\n\n.. image:: https://badge.fury.io/py/pybv.svg\n :target: https://badge.fury.io/py/pybv\n :alt: pypi\n\n.. image:: https://pepy.tech/badge/pybv\n :target: https://pepy.tech/project/pybv\n :alt: Downloads\n\n.. image:: https://readthedocs.org/projects/pybv/badge/?version=stable\n :target: https://pybv.readthedocs.io/en/stable/?badge=stable\n :alt: Documentation Status\n\n====\npybv\n====\n\n``pybv`` is a lightweight exporter to the BrainVision data format. It is meant\nfor use with electrophysiology datasets stored in the\n`Brain Imaging Data Structure `_.\n\n\nThe documentation can be found under the following links:\n\n- for the `stable release `_\n- for the `latest (development) version `_\n\nAbout the BrainVision data format\n=================================\n\nBrainVision is the name of a file format commonly used for storing\nelectrophysiology data. Originally, it was put forward by the\ncompany `Brain Products `_, however the\nsimplicity of the format has allowed for a diversity of tools reading from and\nwriting to the format.\n\nThe format consists of three separate files:\n\n1. A text header file (``.vhdr``) containing meta data\n2. A text marker file (``.vmrk``) containing information about events in the\n data\n3. A binary data file (``.eeg``) containing the voltage values of the EEG\n\nBoth text files are based on the\n`Microsoft Windows INI format `_\nconsisting of:\n\n- sections marked as ``[square brackets]``\n- comments marked as ``; comment``\n- key-value pairs marked as ``key=value``\n\nA documentation for core BrainVision file format is provided by Brain Products.\nYou can `view the specification `_\nas hosted by Brain Products.\n\n\nInstallation\n============\n``pybv``'s only dependency is ``numpy``. However, we currently recommend that\nyou install MNE-Python for reading BrainVision data. See their instructions\n`here `_.\n\nAfter you have a working installation of MNE-Python (or only ``numpy`` if you\ndon't want to read data and only write it), you can install ``pybv`` through\nthe following: ``pip install -U pybv``\n\nContributing\n============\nThe development of ``pybv`` is taking place on\n`Github `_.\n\nFor more information, please see\n`CONTRIBUTING.md `_\n\nUsage\n=====\n\nWriting BrainVision files\n-------------------------\n\nThe primary functionality provided by ``pybv`` is the ``write_brainvision``\nfunction. This writes a numpy array of data and provided metadata into a\ncollection of BrainVision files on disk.\n\n.. code-block:: python\n\n from pybv import write_brainvision\n\n # for further parameters see our API documentation in the docs\n write_brainvision(data, sfreq, ch_names, fname, tmpdir, events,\n resolution=1e-6, fmt='binary_float32')\n\nReading BrainVision files\n-------------------------\n\nCurrently, pybv recommends using\n`MNE-Python `_\nfor reading BrainVision files written with ``pybv``. This results in a\nnearly-round-trip conversion of the data (up to the numerical precision you\nspecify in the ``resolution`` parameter).\n\nHere is an example of the MNE code required to read in BrainVision data:\n\n.. code-block:: python\n\n import mne\n\n # Import the BrainVision data into an MNE Raw object\n raw = mne.io.read_raw_brainvision('tmp/test.vhdr', preload=True)\n\n # Read in the event information as MNE annotations\n annot = mne.read_annotations('tmp/test.vmrk')\n\n # Add the annotations to our raw object so we can use them with the data\n raw.set_annotations(annot)\n\n # Reconstruct the original events from our Raw object\n events, event_ids = mne.events_from_annotations(raw)\n\nAcknowledgements\n================\n\nThis package was originally adapted from the\n`Philistine package `_ by\n`palday `_. It copies much of the BrainVision\nexporting code, removes the dependence on MNE, and focuses the code around\nBrainVision I/O.\n\n\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "https://github.com/bids-standard/pybv", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://pybv.readthedocs.io", "keywords": "Brain Products BrainVision vhdr vmrk eeg", "license": "BSD (3-clause)", "maintainer": "Stefan Appelhoff", "maintainer_email": "stefan.appelhoff@mailbox.org", "name": "pybv", "package_url": "https://pypi.org/project/pybv/", "platform": "any", "project_url": "https://pypi.org/project/pybv/", "project_urls": { "Bug Reports": "https://github.com/bids-standard/pybv/issues", "Documentation": "https://pybv.readthedocs.io", "Download": "https://github.com/bids-standard/pybv", "Homepage": "https://pybv.readthedocs.io", "Source": "https://github.com/bids-standard/pybv" }, "release_url": "https://pypi.org/project/pybv/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "A lightweight I/O utility for the BrainVision data format.", "version": "0.2.0" }, "last_serial": 5730966, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "d1d4cee8544cebd18be395a8be0509d0", "sha256": "3d9914401164666caec0a2d1bb51e8b8eca14c9b1d1753c03cd040be263670ae" }, "downloads": -1, "filename": "pybv-0.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d1d4cee8544cebd18be395a8be0509d0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5977, "upload_time": "2018-12-10T07:18:07", "url": "https://files.pythonhosted.org/packages/d3/ca/badae4cb5be4fd5074e93fe028bcb749db87cf05ffeaadaaf742722494aa/pybv-0.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a853b836c14be16d36f4188572d5fe9e", "sha256": "06695d55ff4239f2ff1fc1d55d9e53e964094a8957dc7b531fb9b36f4dd71ead" }, "downloads": -1, "filename": "pybv-0.0.0.tar.gz", "has_sig": false, "md5_digest": "a853b836c14be16d36f4188572d5fe9e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4817, "upload_time": "2018-12-10T07:18:12", "url": "https://files.pythonhosted.org/packages/51/db/28f2efe3992bc470e6d0769900dc219968a8f9de3e7014447a17897991f1/pybv-0.0.0.tar.gz" } ], "0.0.1": [ { "comment_text": "", "digests": { "md5": "4e30be93603b4bc46e403925b74d3bbe", "sha256": "97807ad29c931a676563c1ce9549fe0dc3d8eec986828b11d7ed4d37f4c7ad35" }, "downloads": -1, "filename": "pybv-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "4e30be93603b4bc46e403925b74d3bbe", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6109, "upload_time": "2018-12-10T07:18:10", "url": "https://files.pythonhosted.org/packages/f2/a8/7be02e31788c5d34aa396bf556cf6c744b8dc5e6dcb3208bf37dae5d3322/pybv-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cfa0beacff00085dc039483bd8e292e1", "sha256": "fbd090a09779e0373f63af3476fff73a4dc11289ba48ed645449d5a99f662eb5" }, "downloads": -1, "filename": "pybv-0.0.1.tar.gz", "has_sig": false, "md5_digest": "cfa0beacff00085dc039483bd8e292e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4832, "upload_time": "2018-12-10T07:18:13", "url": "https://files.pythonhosted.org/packages/a6/86/266cc0ff1c32acf36099b174e3c7abb36ee38bd56c294857bcd6c3cc8d78/pybv-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "bf7272e93d7e068788785cc6ca2bfd8c", "sha256": "b46ce9d6dc736e855d88387a670b0399a7943f1eaa2a70c8930585288025d370" }, "downloads": -1, "filename": "pybv-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "bf7272e93d7e068788785cc6ca2bfd8c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7200, "upload_time": "2019-04-28T11:20:07", "url": "https://files.pythonhosted.org/packages/e5/8c/26de13d15f9efc13e77e2fe980df11f008f3c54434b81a7de4462c418970/pybv-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4b88f90bec1a71c2d240bb8efd7b9ac3", "sha256": "ac587743a1c38414f9dc77cf70e2f45699596ad4e29763c4e938f64a7f69e3f6" }, "downloads": -1, "filename": "pybv-0.0.2.tar.gz", "has_sig": false, "md5_digest": "4b88f90bec1a71c2d240bb8efd7b9ac3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5940, "upload_time": "2019-04-28T11:20:10", "url": "https://files.pythonhosted.org/packages/f7/5c/814295f1871c8f9f67bcbe3f6e04355fa43a7506aa3b02ca74a74a3e0653/pybv-0.0.2.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "0ca17458d3f61d37e41cd4512b9da6e0", "sha256": "40cfdfb2a8cab3915bac5bafa79f42100392a5a72d15a60abc913dd763ab1141" }, "downloads": -1, "filename": "pybv-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "0ca17458d3f61d37e41cd4512b9da6e0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8764, "upload_time": "2019-07-23T12:04:56", "url": "https://files.pythonhosted.org/packages/cd/88/756cabc8931c0dae1d91ccf35d8f31585daaa7e2e8f2f275701865c7ca26/pybv-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "58cdf99a3c6b37bdca66b534038bf886", "sha256": "3fd579adde8efc08d436b7b69b02db0e54fd926dc52f3cca118f7c1a12756ff0" }, "downloads": -1, "filename": "pybv-0.1.0.tar.gz", "has_sig": false, "md5_digest": "58cdf99a3c6b37bdca66b534038bf886", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7722, "upload_time": "2019-07-23T12:04:58", "url": "https://files.pythonhosted.org/packages/04/9c/ca440429ccafe2d19abe157b80d0d050d82b91760dad9c16a0ef6086a5e9/pybv-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "737699437b9f3a98f70e0b1d2429868f", "sha256": "b129b8b126adb1f3c722eecfc45bdc40f6c5ee5c8a557ec6923b4df26adc3e2f" }, "downloads": -1, "filename": "pybv-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "737699437b9f3a98f70e0b1d2429868f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8992, "upload_time": "2019-08-26T13:44:50", "url": "https://files.pythonhosted.org/packages/56/d5/e79fa4abb3db69a29c6280bf6697caf66df7f0545104cba9f3c15ee80bc1/pybv-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3ab91268f146923161724ed2096ddcc4", "sha256": "c932b2e69b2990f1fe4ce2dedd1f086dd277527ebd54504a5c63270a17ec1d7a" }, "downloads": -1, "filename": "pybv-0.2.0.tar.gz", "has_sig": false, "md5_digest": "3ab91268f146923161724ed2096ddcc4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7964, "upload_time": "2019-08-26T13:44:52", "url": "https://files.pythonhosted.org/packages/a8/55/c02fbeab09fa34f6d14dc7be21868891b935274cb93d77b58deb265af53c/pybv-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "737699437b9f3a98f70e0b1d2429868f", "sha256": "b129b8b126adb1f3c722eecfc45bdc40f6c5ee5c8a557ec6923b4df26adc3e2f" }, "downloads": -1, "filename": "pybv-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "737699437b9f3a98f70e0b1d2429868f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8992, "upload_time": "2019-08-26T13:44:50", "url": "https://files.pythonhosted.org/packages/56/d5/e79fa4abb3db69a29c6280bf6697caf66df7f0545104cba9f3c15ee80bc1/pybv-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3ab91268f146923161724ed2096ddcc4", "sha256": "c932b2e69b2990f1fe4ce2dedd1f086dd277527ebd54504a5c63270a17ec1d7a" }, "downloads": -1, "filename": "pybv-0.2.0.tar.gz", "has_sig": false, "md5_digest": "3ab91268f146923161724ed2096ddcc4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7964, "upload_time": "2019-08-26T13:44:52", "url": "https://files.pythonhosted.org/packages/a8/55/c02fbeab09fa34f6d14dc7be21868891b935274cb93d77b58deb265af53c/pybv-0.2.0.tar.gz" } ] }