Hi everybody,
I'm working with some biosemi EEG files
the following code:
raw = read_raw_edf('bdf_file.bdf', hpts = 'hpts_file.hpts')
fraw = filter.band_pass_filter(raw, 1024, 30, 1)
gives me the error:
Traceback (most recent call last):
File
"C:\Users\Mauricio\Documents\Dropbox\PhD\scripts\mne-python\preprocessing.py",
line 9, in <module>
fraw = filter.band_pass_filter(raw, 1024, 30, 1)
File "<string>", line 2, in band_pass_filter
File "C:\Python33\lib\site-packages\mne-0.8.git-py3.3.egg\mne\utils.py",
line 387, in verbose
ret = function(*args, **kwargs)
File "C:\Python33\lib\site-packages\mne-0.8.git-py3.3.egg\mne\filter.py",
line 624, in band_pass_filter
xf = _filter(x, Fs, freq, gain, filter_length, picks, n_jobs, copy)
File "C:\Python33\lib\site-packages\mne-0.8.git-py3.3.egg\mne\filter.py",
line 276, in _filter
x, orig_shape, picks = _prep_for_filtering(x, copy, picks)
File "C:\Python33\lib\site-packages\mne-0.8.git-py3.3.egg\mne\filter.py",
line 226, in _prep_for_filtering
orig_shape = x.shape
AttributeError: 'RawEDF' object has no attribute 'shape'
Could somebody tell me what I'm doing wrong?
What is the right pipeline importing and filtering .bdf files?
All the best,
Mauricio.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20140114/b4e9b684/attachment.html