[FieldTrip] Comparing artifact rejection using both ft_databrowser and ft_rejectvisual

H L lamothehugues at gmail.com
Thu Mar 18 10:32:47 CET 2021


Dear all,

I'm a beginner in the fieldtrip use.
I have a dataset of 6 different subjects. Before analyzing this dataset, of
course I wanted to reject any artifact. I did it through two way:
1) first I used the ft_databrowser() function to do it manually as follows:

>> for i = 1 :numel(dataEEG)

>> cfg = []

>> cfg.channel = ‘all’

>> cfg.viewmode = ‘butterfly’

>> artifact = ft_databrowser(cfg, dataEEG(i))

>> end

So I selected the crunches of the data letting me think that it could be
artifacts

2) second, I wanted to do it using the ft_rejectvisual() function with the
'summary' method option

>> for i = 1 :numel(dataEEG)

>> cfg = []

>> cfg.method = ‘summary’

>> artifactSummary = ft_databrowser(cfg, dataEEG(i))

>> end

Now I would like to compare the both dataset without artifact to see if
what I rejected with ft_databrowser() and ft_rejectvisual() functions are
comparable. *However, I really do not know how to print the plots of the
new datasets without artifacts generated by both method to compare it
visually. Would you know how to do it?*


Thank you so much for your kind help!


Best regards!


Hugues
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20210318/f9dfc973/attachment.htm>


More information about the fieldtrip mailing list