mne-python icon indicating copy to clipboard operation
mne-python copied to clipboard

plot function get error?

Open songhat opened this issue 1 year ago • 2 comments

Describe the bug

Hi! I just load my data from edf file to plot it! It does not look like normal? Have my data something wrong or the plot function is wrong ?

        
raw = mne.io.read_raw_edf(file_name)
        raw.resample(128)
        print(raw.info)
        raw.load_data()
        raw.filter(l_freq=1, h_freq=30) 
        raw.notch_filter(freqs=50)  


        raw.plot()

issue

songhat avatar Aug 11 '22 02:08 songhat

Hello! 👋 Thanks for opening your first issue here! ❤️ We will try to get back to you soon. 🚴🏽‍♂️

welcome[bot] avatar Aug 11 '22 02:08 welcome[bot]

Can you open and view your file with EDFbrowser to verify that it's not the data?

cbrnr avatar Aug 11 '22 06:08 cbrnr

Can you open and view your file with EDFbrowser to verify that it's not the data?

emm.. It does not look good with EDFbrowser. Does it mean that my data have got something wrong ?

songhat avatar Aug 16 '22 09:08 songhat

If it looks the same in EDFbrowser, then yes, something's wrong with your data and not with our import or plotting functions.

cbrnr avatar Aug 16 '22 10:08 cbrnr