Skip to content

Commit

Permalink
Remove useMontagePosition argument (#16)
Browse files Browse the repository at this point in the history
* Update example_classification.py

* Update dataset.py
  • Loading branch information
gcattan authored Jan 2, 2023
1 parent b70e715 commit d2eb650
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions alphawaves/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,10 @@ class AlphaWaves():
'''

def __init__(self, useMontagePosition = True):
def __init__(self):

subject_list = list(range(1, 6+1)) + list(range(8, 20+1))
self.subject_list = subject_list
self.useMontagePosition = useMontagePosition

def _get_single_subject_data(self, subject):
"""return data for a single subject"""
Expand Down
2 changes: 1 addition & 1 deletion example_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@


# define the dataset instance
dataset = AlphaWaves(useMontagePosition = False) # use useMontagePosition = False with recent mne versions
dataset = AlphaWaves()

# get the data from subject of interest
subject = dataset.subject_list[0]
Expand Down

0 comments on commit d2eb650

Please sign in to comment.