Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 10, 2025
1 parent fd9c41b commit a578a7d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mne/preprocessing/pca_obs.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def apply_pca_obs(
n_components: int = 4,
n_jobs: int | None = None,
copy: bool = True,
verbose : bool | str | int | None = None
verbose: bool | str | int | None = None,
) -> Raw | None:
"""
Apply the PCA-OBS algorithm to picks of a Raw object.
Expand All @@ -45,7 +45,7 @@ def apply_pca_obs(
n_components : int
Number of PCA components to use to form the OBS (default 4).
copy : bool
If False, modify the Raw instance in-place.
If False, modify the Raw instance in-place.
If True, return a copied, modified Raw instance. Defaults to True.
%(n_jobs)s
%(verbose)s
Expand Down Expand Up @@ -80,6 +80,7 @@ def apply_pca_obs(
if copy:
return raw


def _pca_obs(
data: np.ndarray,
qrs: np.ndarray,
Expand Down

0 comments on commit a578a7d

Please sign in to comment.