[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.

Best,
Jan-Mathijs

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.
Best,
Amir Borna.
Sandia National Lab.
_______________________________________________
fieldtrip mailing list
fieldtrip at donders.ru.nl<mailto:fieldtrip at donders.ru.nl>
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip

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


More information about the fieldtrip mailing list