почему метод MNE Python plot () продолжает делать ошибку? - PullRequest
0 голосов
/ 24 марта 2020
import mne
import numpy as np

sample_data_folder = mne.datasets.sample.data_path()
sample_data_raw_file = os.path.join(sample_data_folder, 'MEG', 'sample',
                                    'sample_audvis_filt-0-40_raw.fif')
raw = mne.io.read_raw_fif(sample_data_raw_file)
raw.plot(duration=5, n_channels=30)

ошибка

Opening raw data file /Users/seokjunhong/mne_data/MNE-sample-data/MEG/sample/sample_audvis_filt-0-40_raw.fif...
    Read a total of 4 projection items:
        PCA-v1 (1 x 102)  idle
        PCA-v2 (1 x 102)  idle
        PCA-v3 (1 x 102)  idle
        Average EEG reference (1 x 60)  idle
    Range : 6450 ... 48149 =     42.956 ...   320.665 secs
Ready.
Current compensation grade : 0

Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)

Я не знаю, почему я получаю эту ошибку.

Метод plot_psd () работает нормально, но проблема только в методе plot (). Я использовал пример в https://mne.tools/dev/auto_tutorials/intro/plot_10_overview.html, пожалуйста, помогите мне решить эту проблему.

...