{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": { "inputHidden": true, "outputHidden": true }, "outputs": [], "source": [ "from muselsl import stream, list_muses, view\n", "from multiprocessing import set_start_method, Process\n", "from time import sleep\n", "%matplotlib" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "inputHidden": false, "outputHidden": false }, "outputs": [], "source": [ "muses = list_muses()" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "stream_process = Process(target=stream, args=(muses[0]['address'],))\n", "stream_process.start()" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "view()" ] } ], "metadata": { "kernel_info": { "name": "mne" }, "kernelspec": { "display_name": "Python 2", "language": "python", "name": "python2" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 2 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython2", "version": "2.7.15" }, "nteract": { "version": "0.8.4" } }, "nbformat": 4, "nbformat_minor": 4 }