change in defaults for resampledata

Robert Oostenveld r.oostenveld at FCDONDERS.RU.NL
Mon Apr 7 18:02:00 CEST 2008


Dear fieldtrip users,

I have made a change in the default configuration of resampledata
that you should be aware of. Previously this function used to detrend
the data by default. The motivation for this is that the data is
filtered prior to resampling to avoid aliassing and detrending
prevents occasional edge artifacts of the filters. Detrending is fine
for removing slow drifts in data prior to frequency analysis, but
detrending is not good if you subsequenlty want to look at the evoked
fields. Therefore the old default value of 'yes' has been removed.
You now explicitely have to specify whether you want to detrend
(probably so if you want to keep your analysis compatible with
previous analyses that you did), or if you do not want to detrent
(recommended in most cases). If you observe edge artifacts after
detrending, it is recommended to apply a baseline correction to the
data.

best regards,
Robert

----------------------------------
The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/fcdonders/fieldtrip.



More information about the fieldtrip mailing list