Skip to content

Commit

Permalink
Merge branch 'features_augmented' of https://github.com/qbarthelemy/m…
Browse files Browse the repository at this point in the history
…oabb into features_augmented
  • Loading branch information
qbarthelemy committed Feb 1, 2024
2 parents df7705e + ef04dd5 commit 2628fb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions moabb/pipelines/features.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import mne
import numpy as np
import scipy.signal as signal
from numpy import concatenate, ndarray
from numpy import ndarray
from sklearn.base import BaseEstimator, TransformerMixin
from sklearn.preprocessing import StandardScaler

Expand Down Expand Up @@ -103,7 +103,7 @@ def transform(self, X: ndarray):
else:
X_new = np.concatenate(
[
X[:, :, p * self.lag: -(self.order - p) * self.lag]
X[:, :, p * self.lag : -(self.order - p) * self.lag]
for p in range(0, self.order)
],
axis=1,
Expand Down

0 comments on commit 2628fb0

Please sign in to comment.