Back to the main page.

Bug 2644 - ft_freqbaseline cannot handle subj_chan_freq_time

Reported 2014-07-10 12:02:00 +0200
Modified 2015-07-15 13:30:49 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P5 normal
Assigned to: Jim Herring
Depends on:
See also:

Jim Herring - 2014-07-10 12:02:11 +0200

ft_freqbaseline cannot handle subj_chan_freq_time, while, for example, ft_timelockbaseline can handle baseline correction over individual subjects. It is easy to implement as the data would be handled in the same way as in rpt_chan_freq_time, therefore it would suffice to add '|| strcmp(freq.dimord, 'subj_chan_freq_time')' to line 129: elseif strcmp(freq.dimord, 'rpt_chan_freq_time') || strcmp(freq.dimord, 'chan_chan_freq_time')

Jim Herring - 2014-07-10 12:27:43 +0200

If there are no objections I will implement the change.

Jim Herring - 2014-07-10 12:33:46 +0200

Sending ft_freqbaseline.m Transmitting file data . Committed revision 9720.