{ "cells": [ { "cell_type": "code", "execution_count": null, "id": "16651843", "metadata": { "scrolled": false }, "outputs": [], "source": [ "from portiloop.capture import Capture\n", "from portiloop.detection import SleepSpindleRealTimeDetector\n", "from portiloop.stimulation import SleepSpindleRealTimeStimulator\n", "\n", "my_detector_class = SleepSpindleRealTimeDetector # you may want to implement yours\n", "my_stimulator_class = SleepSpindleRealTimeStimulator # you may also want to implement yours\n", "\n", "cap = Capture(detector_cls=my_detector_class, stimulator_cls=my_stimulator_class)" ] }, { "cell_type": "code", "execution_count": null, "id": "cded6bbc", "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.7.3" } }, "nbformat": 4, "nbformat_minor": 5 }