Back to the main page.

Bug 899 - senstype does not recognize eeg datastructure

Status CLOSED FIXED
Reported 2011-08-26 13:31:00 +0200
Modified 2011-08-31 14:50:39 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Linux
Importance: P1 normal
Assigned to: Jan-Mathijs Schoffelen
URL:
Tags:
Depends on:
Blocks:
See also:

Stephen Whitmarsh - 2011-08-26 13:31:51 +0200

See processing pipline below. Because ft_senstype does not recognize the eeg datastructure as eeg, ft_channelrepair fails. workspace is attached. cheers, S subject = 'baby_022'; i=1; % read in continuous eeg file, including accompanying headerfile cfg = []; cfg.datafile = sprintf('%s.eeg',subject); cfg.headerfile = sprintf('%s.vhdr',subject); cfg.continuous = 'yes'; % filtereing cfg.lpfilter = 'yes'; cfg.hpfilter = 'yes'; cfg.lpfilter = 40; cfg.hpfilter = 0.5; % rereferencing cfg.reref = 'yes'; cfg.channel = 'all'; cfg.implicitref = 'M1'; % the implicit (non-recorded) reference channel is added to the data representation cfg.refchannel = {'17', '22'}; % the average of these channels is used as the new reference, note that channel corresponds to the right mastoid (M2) data_eeg = ft_preprocessing(cfg); cfg = []; cfg.viewmode = 'vertical'; cfg.continuous = 'yes'; cfg.artfctdef.reject = 'partial'; cfg_art = ft_databrowser(cfg,data_eeg); data_eeg_clean = ft_rejectartifact(cfg_art, data_eeg); cfg = []; cfg.badchannel = {'19','20','21'}; cfg.neighbours = neighbours; data_eeg_repaired = ft_channelrepair(cfg,data_eeg_clean);


Stephen Whitmarsh - 2011-08-26 13:38:53 +0200

Created attachment 125 workspace with data


Jan-Mathijs Schoffelen - 2011-08-29 15:27:32 +0200

Hoi Anne, Ik heb het denk ik gefixt. Over ~20 minuten zou het vanaf /home/common weer moeten werken. Laat je even weten of dit voor jou het geval is? Gr, JM