MNE raw filter with same results for different band range

  • MNE version: 1.3.0
  • operating system: windows 10 pro

I used the raw.filter separately for 8HZ, 10HZ and 8-12HZ and received the same results for the three of them.

(All of them show the 8-12 HZ) (code below just for 10-11HZ range)

Does it make sense?

Thanks,

Extracting 10HZ
min1=10
max1=11
raw_selection10hz = raw_selection.filter(l_freq=min1, h_freq=max1,
n_jobs=None, # use more jobs to speed up.
l_trans_bandwidth=0.15, # make sure filter params are the same
h_trans_bandwidth=0.15
,
picks=raw_selection.ch_names)
#Specgram
spectrum, freqs, t7, im = plt.specgram(raw_selection10hz.get_data()[7, 32682:42682], Fs=500, cmap=‘turbo_r’)

Hi,

It’s unclear to me what are the results you refer to and what you mean by “all of the show the 8-12Hz”. What do they show?
Could you provide the code for all your attempts (ideally in codeblocks) ?
Also, why not try using an MNE function for plotting a spectrogram? Something like this for example.

2 Likes