{ "info": { "author": "lanius", "author_email": "lanius@nirvake.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "What is this?\n=============\nConsider is a parser for the ThinkGear protocol used by NeuroSky devices (MindSet, BrainBand and others).\n\nConsider connects to ThinkGear Connector (\"ThinkGear Connector.exe\" for Windows) to get packets, so it can be used on Windows or Mac OS X easily.\n\nSee also thinkgear (https://github.com/groner/pythinkgear) that parses it more directly (not use ThinkGear Connector).\n\n\nGetting started\n===============\nConsider can be installed with pip or easy_install::\n\n pip install consider\n\nFirstly, start ThinkGear Connector. In the case of Windows, execute \"ThinkGear Connector.exe\" that is included in SDK, specify a COM port and push \"Start\" button.\n\nCreate Consider object, and you can get a ThinkGear packet::\n\n >>> from consider import Consider\n >>> con = Consider()\n >>> packet = con.get_packet()\n >>> print(packet.attention)\n 16\n >>> print(packet.high_beta)\n 1.90662092336e-06\n >>> print(packet)\n {'high_beta': 1.9066209233642439e-06, 'low_beta': 7.4952608883904759e-06, 'attention': 16, 'low_gamma': 4.8011397666414268e-06, 'delta': 7.1328349804389291e-06, 'meditation': 87, 'poor_signal': 0, 'high_alpha': 4.27748489073565e-07, 'high_gamma': 0.00022232596529647708, 'length': 32, 'theta': 2.0189656879665563e-06, 'low_alpha': 9.1102498345208005e-07}\n\nYou can get a packet generator for streaming::\n\n >>> from itertools import islice\n >>> for p in islice(con.packet_generator(), 10):\n ... # get 10 packets\n ... print(p.meditation, p.high_alpha, p.low_alpha)\n \n\t(96, 7.493017619708553e-05, 5.1031893235631287e-05)\n\t(99, 0.00021125955390743911, 2.6392026484245434e-06)\n\t(98, 5.571280894400843e-07, 5.3168583690421656e-05)\n\t(91, 2.5947028348127787e-07, 1.6530602806597017e-06)\n\t(79, 3.5061493690591305e-05, 1.1179225793966907e-06)\n\t(64, 1.420417902409099e-06, 2.2484807686851127e-06)\n\t(48, 0.00025273021310567856, 2.7587668682826916e-07)\n\t(32, 3.7225916003080783e-06, 3.6896562960464507e-07)\n\t(17, 0.00020242333994247019, 1.2374764992273413e-05)\n\t(7, 0.00019503712246660143, 2.0322062482591718e-05)\n\n\nLicense\n=======\nConsider is licensed under the MIT Licence. See LICENSE for more details.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/lanius/consider/", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "consider", "package_url": "https://pypi.org/project/consider/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/consider/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/lanius/consider/" }, "release_url": "https://pypi.org/project/consider/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Consider is a parser for the ThinkGear protocol used by NeuroSky devices.", "version": "0.1.1" }, "last_serial": 788382, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "e2a815f3a6981783ef69f1aec8fc9e9b", "sha256": "0f32c815b4b3b63c6b189e40dc977ceda1fa094e6eda73bcc891e5dd579b190b" }, "downloads": -1, "filename": "consider-0.1.zip", "has_sig": false, "md5_digest": "e2a815f3a6981783ef69f1aec8fc9e9b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5937, "upload_time": "2012-02-11T16:46:43", "url": "https://files.pythonhosted.org/packages/d3/6f/23bd1085aa8064ed7dc6fa26457c6f827acdfc45bfc82918cd0159ab8591/consider-0.1.zip" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "dcf265115020ee669a871dc1fa81891c", "sha256": "67ac25f74b64699b096b1351d4b86a2108031e217ff77b0216dd9c603e2c7c3e" }, "downloads": -1, "filename": "consider-0.1.1.zip", "has_sig": false, "md5_digest": "dcf265115020ee669a871dc1fa81891c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8158, "upload_time": "2012-03-04T09:47:45", "url": "https://files.pythonhosted.org/packages/da/a2/3df71313eba882fa213eacf257cf83e38d8d32c41ebf3a4236f71020dfe9/consider-0.1.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dcf265115020ee669a871dc1fa81891c", "sha256": "67ac25f74b64699b096b1351d4b86a2108031e217ff77b0216dd9c603e2c7c3e" }, "downloads": -1, "filename": "consider-0.1.1.zip", "has_sig": false, "md5_digest": "dcf265115020ee669a871dc1fa81891c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8158, "upload_time": "2012-03-04T09:47:45", "url": "https://files.pythonhosted.org/packages/da/a2/3df71313eba882fa213eacf257cf83e38d8d32c41ebf3a4236f71020dfe9/consider-0.1.1.zip" } ] }