# Realtime Time-Frequency Visualization
Realtime Time Frequency Plotting of EEG data from Muse headset
https://github.com/dxganta/real-time-tf/assets/47485188/a0484f7d-1aea-43df-84ad-d772f191bb85
## Requirements
Compatible with Python 3.x
Compatible with all muse headsets supported by muselsl library
## Getting Started
First install [muselsl](https://github.com/alexandrebarachant/muse-lsl), connect to your muse headset and start a muse stream using <br>
```
muselsl stream
```
Then install the realtime_tf package using
```
pip install real-time-tf
```
Keep the muselsl stream running and in a separate terminal run
```
realtime_tf
```
to visualize the realtime time frequency plot of the streamed eeg data from your muse headset.
The time-frequency plot is shown of 1 second EEG data and the plot is updated every 0.2 seconds by default. But you can update these parameters if required using
```
realtime_tf --show_time_window NEW_VALUE --update_time_window NEW_VALUE
```
The muse headset generally has 4 EEG electrodes/channels ('TP9', 'AF7', 'AF8', 'TP10'). By default the time-frequency plot average across all 4 channels is shown. But you can output only the time-frequency plot for a specific channel using
```
realtime_tf --channel 0
```
This will output the tf plot for channel 0 which is 'TP9'.
## References
https://www.udemy.com/course/solved-challenges-ants/
Raw data
{
"_id": null,
"home_page": "https://github.com/dxganta/real-time-tf",
"name": "real-time-tf",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "muse time-frequency eeg fft neuroscience",
"author": "Diganta Kalita",
"author_email": "digantakalita.ai@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/a6/ab/e4bdc210e54010bba0e25d95dc3d162279c1cf2e83d9f260dab09021d577/real-time-tf-0.1.2.tar.gz",
"platform": null,
"description": "# Realtime Time-Frequency Visualization\n\nRealtime Time Frequency Plotting of EEG data from Muse headset\n\nhttps://github.com/dxganta/real-time-tf/assets/47485188/a0484f7d-1aea-43df-84ad-d772f191bb85\n\n## Requirements\n\nCompatible with Python 3.x\n\nCompatible with all muse headsets supported by muselsl library\n\n## Getting Started\n\nFirst install [muselsl](https://github.com/alexandrebarachant/muse-lsl), connect to your muse headset and start a muse stream using <br>\n\n```\nmuselsl stream\n```\n\nThen install the realtime_tf package using\n\n```\npip install real-time-tf\n```\n\nKeep the muselsl stream running and in a separate terminal run\n\n```\nrealtime_tf\n```\n\nto visualize the realtime time frequency plot of the streamed eeg data from your muse headset.\n\nThe time-frequency plot is shown of 1 second EEG data and the plot is updated every 0.2 seconds by default. But you can update these parameters if required using\n\n```\nrealtime_tf --show_time_window NEW_VALUE --update_time_window NEW_VALUE\n```\n\nThe muse headset generally has 4 EEG electrodes/channels ('TP9', 'AF7', 'AF8', 'TP10'). By default the time-frequency plot average across all 4 channels is shown. But you can output only the time-frequency plot for a specific channel using\n\n```\nrealtime_tf --channel 0\n```\n\nThis will output the tf plot for channel 0 which is 'TP9'.\n\n## References\n\nhttps://www.udemy.com/course/solved-challenges-ants/\n",
"bugtrack_url": null,
"license": "BSD (3-clause)",
"summary": "Real time time frequency plotting of EEG data from the Muse headset.",
"version": "0.1.2",
"project_urls": {
"Homepage": "https://github.com/dxganta/real-time-tf"
},
"split_keywords": [
"muse",
"time-frequency",
"eeg",
"fft",
"neuroscience"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a6abe4bdc210e54010bba0e25d95dc3d162279c1cf2e83d9f260dab09021d577",
"md5": "89ae45bece74caa341fb1e91f5807d39",
"sha256": "e8b10a884533e3978def3625658e6309d98995756d1e4c0cf44b008e9fa57b8e"
},
"downloads": -1,
"filename": "real-time-tf-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "89ae45bece74caa341fb1e91f5807d39",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6020,
"upload_time": "2023-07-11T17:44:15",
"upload_time_iso_8601": "2023-07-11T17:44:15.978661Z",
"url": "https://files.pythonhosted.org/packages/a6/ab/e4bdc210e54010bba0e25d95dc3d162279c1cf2e83d9f260dab09021d577/real-time-tf-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-11 17:44:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "dxganta",
"github_project": "real-time-tf",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "real-time-tf"
}