Skip to content

Commit

Permalink
save patterns and filters - missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
SophieHerbst committed May 15, 2024
1 parent d15b9a8 commit 4362979
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mne_bids_pipeline/steps/sensor/_05_decoding_csp.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def _fmt_contrast(cond1, cond2, fmin, fmax, freq_range_name, tmin=None, tmax=Non

# COEFS
clf.fit(X, y)
weights_csp = get_coef(clf, 'patterns_', inverse_transform=True)
weights_csp = mne.decoding.get_coef(clf, 'patterns_', inverse_transform=True)

# save scores
# XXX right now this saves in working directory
Expand Down Expand Up @@ -351,7 +351,7 @@ def _fmt_contrast(cond1, cond2, fmin, fmax, freq_range_name, tmin=None, tmax=Non

# COEFS
clf.fit(X, y)
weights_csp = get_coef(clf, 'patterns_', inverse_transform=True)
weights_csp = mne.decoding.get_coef(clf, 'patterns_', inverse_transform=True)

# save scores
# XXX right now this saves in working directory
Expand Down

0 comments on commit 4362979

Please sign in to comment.