[FieldTrip] Importing arbitrary dataset using ft_definetrial

Schoffelen, J.M. (Jan Mathijs) jan.schoffelen at donders.ru.nl
Fri Sep 2 09:05:16 CEST 2016

Hi Amir,

It should be possible to bypass ft_definetrial when calling ft_artifact_jump. One needs to supply a second input argument, i.e. ft_artifact_jump(cfg, data); As long as the cfg does not point to a dataset (i.e. does not have cfg.datafile/dataset etc.) it should work, as far as I know.


On 02 Sep 2016, at 01:10, Borna, Amir <aborna at sandia.gov<mailto:aborna at sandia.gov>> wrote:

Dear Fieldtrip community,
I have a basic question regarding importing an arbitrary dataset into the fieldtrip. I have acquired MEG data using atomic magnetometers, and have imported my MEG data into fieldtrip and have had limited success running ICA, etc. To use most ft functions, e.g. ft_artifact_jump, it is essential to import the data using ft_definetrial. I was wondering if there is a way to use ft_definetrial to import an arbitrary dataset into fieldtrip. Thank you in advance for your help.
Amir Borna.
Sandia National Lab.
fieldtrip mailing list
fieldtrip at donders.ru.nl<mailto:fieldtrip at donders.ru.nl>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20160902/8fad6d3c/attachment-0002.html>

More information about the fieldtrip mailing list