Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter bank classes #467

Draft
wants to merge 32 commits into
base: develop
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
a8c1918
n classes not 2
Aug 1, 2023
b0a5530
Merge branch 'NeuroTechX:develop' into filter_bank_classes
Sara04 Aug 9, 2023
1a4b71b
Remove repeating
Aug 9, 2023
b489b90
Merge branch 'filter_bank_classes' of https://github.com/Sara04/moabb…
Aug 9, 2023
ec41d89
Update what's new
Aug 10, 2023
6fd8c6d
wrong whats new
Aug 10, 2023
9639253
Merge branch 'NeuroTechX:develop' into filter_bank_classes
Sara04 Aug 10, 2023
cecb1fc
Merge branch 'NeuroTechX:develop' into filter_bank_classes
Sara04 Aug 18, 2023
da955e8
Remove Band Pass class
Sara04 Aug 18, 2023
a60bbb3
Merge branch 'filter_bank_classes' of https://github.com/Sara04/moabb…
Sara04 Aug 18, 2023
022a891
Update is valid method
Sara04 Aug 21, 2023
cb07f43
Merge branch 'NeuroTechX:develop' into filter_bank_classes
Sara04 Aug 21, 2023
0d226c8
Add docstring inheritance
Sara04 Aug 21, 2023
aaaabec
Merge branch 'filter_bank_classes' of https://github.com/Sara04/moabb…
Sara04 Aug 21, 2023
698eb79
Merge branch 'NeuroTechX:develop' into filter_bank_classes
Sara04 Aug 21, 2023
302fcf6
Merge branch 'NeuroTechX:develop' into filter_bank_classes
Sara04 Aug 21, 2023
3391ea4
update filterbank MI
Sara04 Aug 21, 2023
314490a
Merge branch 'filter_bank_classes' of https://github.com/Sara04/moabb…
Sara04 Aug 21, 2023
5f2c768
First check, after super init
Sara04 Aug 21, 2023
c38fad4
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 21, 2023
54291e1
Add n classes argument
Sara04 Aug 22, 2023
52eace1
Merge branch 'filter_bank_classes' of https://github.com/Sara04/moabb…
Sara04 Aug 22, 2023
5f77f33
Merge branch 'develop' into filter_bank_classes
PierreGtch Oct 18, 2023
54487a7
Update moabb/utils.py
Sara04 Oct 19, 2023
ca6479b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 19, 2023
2c45a05
Update moabb/utils.py
Sara04 Oct 19, 2023
36178c5
Update numpy docstring class and change Attributes to Parameters
Sara04 Oct 19, 2023
665d3d2
Merge branch 'NeuroTechX:develop' into filter_bank_classes
Sara04 Oct 19, 2023
8ac9dd2
Merge branch 'develop' into filter_bank_classes
PierreGtch Apr 12, 2024
55c5db6
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 12, 2024
9aae7ac
Merge branch 'develop' into filter_bank_classes
PierreGtch May 30, 2024
4ee80f1
Merge branch 'develop' into filter_bank_classes
bruAristimunha Jul 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update numpy docstring class and change Attributes to Parameters
Sara04 committed Oct 19, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 36178c57b201ba68889fbea98d85c9e24df569d3
4 changes: 2 additions & 2 deletions moabb/paradigms/base.py
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ class BaseProcessing(metaclass=MoabbMetaClass):
Please use one of the child classes
Attributes
Parameters
----------
filters: list of list (defaults [[7, 35]])
@@ -474,7 +474,7 @@ def _get_events_pipeline(self, dataset):
class BaseParadigm(BaseProcessing):
"""Base class for paradigms.
Attributes
Parameters
----------
events: List of str | None (default None)
6 changes: 3 additions & 3 deletions moabb/paradigms/motor_imagery.py
Original file line number Diff line number Diff line change
@@ -73,7 +73,7 @@ def scoring(self):
class LeftRightImagery(BaseMotorImagery):
"""Motor Imagery for left hand/right hand classification.
Attributes
Parameters
-----------
fmin: float (default 8)
@@ -119,7 +119,7 @@ def __init__(
class MotorImagery(BaseMotorImagery):
"""N-class Motor Imagery.
Attributes
Parameters
-----------
fmin: float (default 8)
@@ -202,7 +202,7 @@ def scoring(self):
class FilterBankMotorImagery(MotorImagery):
"""Filter bank N-class motor imagery.
Attributes
Parameters
-----------
n_classes: int (default number of available classes)
1 change: 1 addition & 0 deletions moabb/utils.py
Original file line number Diff line number Diff line change
@@ -10,6 +10,7 @@
from typing import TYPE_CHECKING

import numpy as np
from docstring_inheritance import NumpyDocstringInheritanceInitMeta
from mne import get_config, set_config
from mne import set_log_level as sll