{ "info": { "author": "Markus Adamek", "author_email": "markus.adamek@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], "description": "# BCI2kReader [![Build Status](https://travis-ci.com/markusadamek/BCI2kReader.svg?branch=master)](https://travis-ci.com/markusadamek/BCI2kReader)\nPython 3 and Python 2 compatible BCI2000 .dat file reader.\n\nFile reader for BCI2000 dat files for python 3. The reader should also work for python 2, but it has not been tested yet.\n\nReader for BCI2000 (http://www.schalklab.org/research/bci2000) .dat files.\nThis project is a wrapper using the reader developed for the BcPy2000 project \n(http://bci2000.org/downloads/BCPy2000/BCPy2000.html)\n\nto install the package use (Python3):\n\npip install BCI2kReader\n\nThis package is untested and still under development, use with caution!\n\n### USAGE:\n\nfrom BCI2kReader import BCI2kReader as b2k\n\ntest = b2k.BCI2kReader('yourbci2000testfile.dat') #opens a stream to the dat file\ntest.samplingrate # sampling rate\n##### # you can use the reader for random access using read(), seek()\nmy_signals=test.signals #reads the whole file and stores it in a numpy matrix channels (channels,datapoints)\nmy_states=test.states #reads all states as a dictionary .. \nmy_states['Running'] # access to the Running state\n##### # By default calling test.signals or test.states caches all data in the object, this default behaviour can be changed by either calling the constructor with usecache=false or by calling .usecache(False). The cache can be cleared by calling .purge()\n#### # the reader object also supports direct slicing\nsignalslice, stateslice = test[0:100] #returns the first 100 items, this works with cached and non cached mode and does not alter the current position of the file pointer\n\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/markusadamek/BCI2kReader", "keywords": "", "license": "GNU 3", "maintainer": "", "maintainer_email": "", "name": "BCI2kReader", "package_url": "https://pypi.org/project/BCI2kReader/", "platform": "", "project_url": "https://pypi.org/project/BCI2kReader/", "project_urls": { "Homepage": "https://github.com/markusadamek/BCI2kReader" }, "release_url": "https://pypi.org/project/BCI2kReader/0.31.dev0/", "requires_dist": [ "numpy" ], "requires_python": "", "summary": "", "version": "0.31.dev0" }, "last_serial": 4695694, "releases": { "0.30.dev0": [ { "comment_text": "", "digests": { "md5": "14dfcc9349bbcdc41acb3ad26e6bd4b8", "sha256": "bd04a97eb707361a59df814624a0ea1bcdc1faa76c2328c7f162d8db6f1765ba" }, "downloads": -1, "filename": "BCI2kReader-0.30.dev0-py3-none-any.whl", "has_sig": false, "md5_digest": "14dfcc9349bbcdc41acb3ad26e6bd4b8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 24917, "upload_time": "2019-01-14T19:27:47", "url": "https://files.pythonhosted.org/packages/93/1f/cac7ffbb7ca9981af6400cdbd418fc563f4d07df06c007045aedc98e5880/BCI2kReader-0.30.dev0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cb5a20f0cd58650e3eb4f51c148a0dec", "sha256": "ba7e7e6a928ebdfea4b2ad5650c2943b1d8368ece2141dd3add8481995901184" }, "downloads": -1, "filename": "BCI2kReader-0.30.dev0.tar.gz", "has_sig": false, "md5_digest": "cb5a20f0cd58650e3eb4f51c148a0dec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10150, "upload_time": "2019-01-14T19:27:49", "url": "https://files.pythonhosted.org/packages/37/07/b19fe3b339d6583f2b6138195fda10b9797c855de8fe4f1bba77b0a19b93/BCI2kReader-0.30.dev0.tar.gz" } ], "0.31.dev0": [ { "comment_text": "", "digests": { "md5": "7e64d36ee5d80c2c6e8855d27a4e6589", "sha256": "eb332c269168a6bc59d46c56291bf865c4111d1300c551763727de54d0a4c72b" }, "downloads": -1, "filename": "BCI2kReader-0.31.dev0-py3-none-any.whl", "has_sig": false, "md5_digest": "7e64d36ee5d80c2c6e8855d27a4e6589", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 25859, "upload_time": "2019-01-14T20:16:42", "url": "https://files.pythonhosted.org/packages/f6/1f/c1f1e095070753a1a9bac5eb1225a4e13ce7f6315a94b9c5496ed3bfe0aa/BCI2kReader-0.31.dev0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cc5038e7edb33f4da353d27786dd295f", "sha256": "4e1d25b132ea231b397c3012a1d526a6cfd2dc3f054734db70698b9fc8a8c9ee" }, "downloads": -1, "filename": "BCI2kReader-0.31.dev0.tar.gz", "has_sig": false, "md5_digest": "cc5038e7edb33f4da353d27786dd295f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11119, "upload_time": "2019-01-14T20:16:44", "url": "https://files.pythonhosted.org/packages/f4/0a/be4fac9afb214155085f0962d609e6b725aa5372d3a40fa6e726c1bb5c88/BCI2kReader-0.31.dev0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7e64d36ee5d80c2c6e8855d27a4e6589", "sha256": "eb332c269168a6bc59d46c56291bf865c4111d1300c551763727de54d0a4c72b" }, "downloads": -1, "filename": "BCI2kReader-0.31.dev0-py3-none-any.whl", "has_sig": false, "md5_digest": "7e64d36ee5d80c2c6e8855d27a4e6589", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 25859, "upload_time": "2019-01-14T20:16:42", "url": "https://files.pythonhosted.org/packages/f6/1f/c1f1e095070753a1a9bac5eb1225a4e13ce7f6315a94b9c5496ed3bfe0aa/BCI2kReader-0.31.dev0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cc5038e7edb33f4da353d27786dd295f", "sha256": "4e1d25b132ea231b397c3012a1d526a6cfd2dc3f054734db70698b9fc8a8c9ee" }, "downloads": -1, "filename": "BCI2kReader-0.31.dev0.tar.gz", "has_sig": false, "md5_digest": "cc5038e7edb33f4da353d27786dd295f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11119, "upload_time": "2019-01-14T20:16:44", "url": "https://files.pythonhosted.org/packages/f4/0a/be4fac9afb214155085f0962d609e6b725aa5372d3a40fa6e726c1bb5c88/BCI2kReader-0.31.dev0.tar.gz" } ] }