diff --git "a/portiloop/notebooks/tests.ipynb" "b/portiloop/notebooks/tests.ipynb" --- "a/portiloop/notebooks/tests.ipynb" +++ "b/portiloop/notebooks/tests.ipynb" @@ -9,16 +9,9887 @@ }, "outputs": [ { - "ename": "ModuleNotFoundError", - "evalue": "No module named 'pyedflib'", - "output_type": "error", - "traceback": [ - "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", - "\u001b[0;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)", - "\u001b[0;32m/tmp/ipykernel_3997/3113449869.py\u001b[0m in \u001b[0;36m\u001b[0;34m\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0;32mfrom\u001b[0m \u001b[0mportiloop\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcapture\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mCapture\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 2\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 3\u001b[0m \u001b[0mcap\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mCapture\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/capture_stream/portiloop-prog/portiloop/capture.py\u001b[0m in \u001b[0;36m\u001b[0;34m\u001b[0m\n\u001b[1;32m 11\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mwarnings\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 12\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mshutil\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 13\u001b[0;31m \u001b[0;32mfrom\u001b[0m \u001b[0mpyedflib\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mhighlevel\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 14\u001b[0m \u001b[0;32mfrom\u001b[0m \u001b[0mdatetime\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mdatetime\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 15\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;31mModuleNotFoundError\u001b[0m: No module named 'pyedflib'" - ] + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "5439eaa6f075479c94287a9dff125dcc", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "VBox(children=(IntText(value=250, description='Freq (Hz):', disabled=True), IntText(value=1000, description='T…" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/html": [ + "" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "application/javascript": [ + "window.appendLearningCurve([{\"x\": 4988.0, \"y\": {\"voltage\": {\"line-1\": 2.4938517205538417}, \"ch2\": {\"line-1\": -0.0009360910577882598}, \"ch3\": {\"line-1\": 0.004895568477579174}, \"ch4\": {\"line-1\": 0.0041429405382800745}, \"ch5\": {\"line-1\": -0.08166898270475659}, \"ch6\": {\"line-1\": 0.012037219051983244}, \"ch7\": {\"line-1\": 0.01214826251843721}, \"temperature\": {\"line-1\": 0.15754814833976608}}}, {\"x\": 4989.0, \"y\": {\"voltage\": {\"line-1\": 2.4938549392050433}, \"ch2\": {\"line-1\": -0.0009666682442031198}, \"ch3\": {\"line-1\": 0.005075276502999842}, \"ch4\": {\"line-1\": 0.004969061013348223}, \"ch5\": {\"line-1\": -0.08083910713661994}, \"ch6\": {\"line-1\": 0.012864948852652174}, \"ch7\": {\"line-1\": 0.012977601644706922}, \"temperature\": {\"line-1\": 0.15754922122349993}}}, {\"x\": 4990.0, \"y\": {\"voltage\": {\"line-1\": 2.493857084972511}, \"ch2\": {\"line-1\": -0.0008862019641640143}, \"ch3\": {\"line-1\": 0.0017648937421910456}, \"ch4\": {\"line-1\": 0.00047689681969843146}, \"ch5\": {\"line-1\": -0.08531571451612883}, \"ch6\": {\"line-1\": 0.008348108333123723}, \"ch7\": {\"line-1\": 0.008448959404106069}, \"temperature\": {\"line-1\": 0.15755136699096764}}}, {\"x\": 4991.0, \"y\": {\"voltage\": {\"line-1\": 2.4938517205538417}, \"ch2\": {\"line-1\": -0.0009060503132403271}, \"ch3\": {\"line-1\": 0.0014805795527195397}, \"ch4\": {\"line-1\": -0.0007354617995574235}, \"ch5\": {\"line-1\": -0.08650876122817532}, \"ch6\": {\"line-1\": 0.007160426039746527}, \"ch7\": {\"line-1\": 0.007248938947789544}, \"temperature\": {\"line-1\": 0.15754975766536686}}}, {\"x\": 4992.0, \"y\": {\"voltage\": {\"line-1\": 2.493850111228241}, \"ch2\": {\"line-1\": -0.0009178520343127291}, \"ch3\": {\"line-1\": 0.004465878542170351}, \"ch4\": {\"line-1\": 0.0034085516224565057}, \"ch5\": {\"line-1\": -0.08240927248111635}, \"ch6\": {\"line-1\": 0.011287809763885708}, \"ch7\": {\"line-1\": 0.011399926114073528}, \"temperature\": {\"line-1\": 0.15754439324669758}}}, {\"x\": 4993.0, \"y\": {\"voltage\": {\"line-1\": 2.493856012088777}, \"ch2\": {\"line-1\": -0.0009720326628723934}, \"ch3\": {\"line-1\": 0.004942775361868782}, \"ch4\": {\"line-1\": 0.005061865456326658}, \"ch5\": {\"line-1\": -0.08075220355417771}, \"ch6\": {\"line-1\": 0.01294756090015899}, \"ch7\": {\"line-1\": 0.013060750134080664}, \"temperature\": {\"line-1\": 0.1575465390141653}}}, {\"x\": 4994.0, \"y\": {\"voltage\": {\"line-1\": 2.4938608400655795}, \"ch2\": {\"line-1\": -0.0008867384060309417}, \"ch3\": {\"line-1\": 0.0022863152368444487}, \"ch4\": {\"line-1\": 0.0012922884574280331}, \"ch5\": {\"line-1\": -0.08451212459947165}, \"ch6\": {\"line-1\": 0.009162963528986398}, \"ch7\": {\"line-1\": 0.009264887483702598}, \"temperature\": {\"line-1\": 0.15754707545603222}}}]);" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" } ], "source": [ @@ -30,7 +9901,7 @@ { "cell_type": "code", "execution_count": null, - "id": "475b8dde", + "id": "4209ba44", "metadata": {}, "outputs": [], "source": []