Skip to content

Commit

Permalink
Removed unused import and updated the path. (mne-tools#10894)
Browse files Browse the repository at this point in the history
* Updated path handling in examples/preprocessing/otp.py

* Removed unused import 'op'

* Remove Paranthesis

Co-authored-by: archit singhal <[email protected]>
  • Loading branch information
architsinghal-mriirs and archit singhal authored Jul 3, 2022
1 parent 3c23f13 commit 8a7658b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/preprocessing/otp.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

# %%

import os.path as op
import mne
import numpy as np

Expand All @@ -34,8 +33,7 @@

dipole_number = 1
data_path = bst_phantom_elekta.data_path()
raw = read_raw_fif(
op.join(data_path, 'kojak_all_200nAm_pp_no_chpi_no_ms_raw.fif'))
raw = read_raw_fif(data_path / 'kojak_all_200nAm_pp_no_chpi_no_ms_raw.fif')
raw.crop(40., 50.).load_data()
order = list(range(160, 170))
raw.copy().filter(0., 40.).plot(order=order, n_channels=10)
Expand Down

0 comments on commit 8a7658b

Please sign in to comment.