Skip to content

Commit

Permalink
Experiment Class Refactor (update to #183), converting specific exper…
Browse files Browse the repository at this point in the history
…iments to subclasses (#184)

* First commit

* Second commit

* Modifications

* Lol

* Lol

* Incorporated N170 and p300, looking good for a PR

* ssvep update

* Implementing subclasses instead of loose functions

* fix: fixed import (brainflow updated API)

* Playing around still

* Fixing import errors

* Adding abstractmethod decorators

* Still working on the import error

* Guess what's finally working

* Comments and naming ticks

* More comments

* Live coding demonstration

* ssvep adapted

* Adapting Auditory Oddball

* changing save_fn to self.save_fun

* This maybe the last big change

* utils file changed, changes work through cli

Co-authored-by: Erik Bjäreholt <erik@bjareho.lt>
  • Loading branch information
2 people authored and oreHGA committed Aug 2, 2024
1 parent 2680b93 commit c0d4e97
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions eegnb/experiments/auditory_oddball/aob.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
from typing import Optional


class AuditoryOddball(Experiment.BaseExperiment):

def __init__(self, duration=120, eeg: EEG=None, save_fn=None, n_trials = 2010, iti = 0.3, soa = 0.2, jitter = 0.2, secs=0.2, volume=0.8, random_state=42, s1_freq="C", s2_freq="D", s1_octave=5, s2_octave=6):
"""
class AuditoryOddball(Experiment.BaseExperiment):
Expand Down

0 comments on commit c0d4e97

Please sign in to comment.