[FieldTrip] Optimal settings for ft_artifact_zvalue for detecting electrode pops

Schoffelen, J.M. (Jan Mathijs) janmathijs.schoffelen at donders.ru.nl
Mon Feb 5 09:19:26 CET 2024


Hi Jan,

I think that the morphology of an electrode pop looks a bit like a (low amplitude) eye blink (but then occurring at an isolated electrode, not necessarily a frontal one). In that context, I would imagine that a sequence of processing steps that highlight eyeblinks might also detect the larger pops.

Good luck,
Jan-Mathijs


On 30 Jan 2024, at 12:19, Jan Ostrowski via fieldtrip <fieldtrip at science.ru.nl<mailto:fieldtrip at science.ru.nl>> wrote:


Dear Fieldtrippers,

I was wondering whether you could provide some advice on the optimal configuration for ft_artifact_zvalue function so that it might more or less reliably detect electrode pop artifacts. When I talk about electrode pops, I mean those artifacts with a very sharp, high amplitude onset and a subsequent gradual decay. (We use EEG, not MEG)

I have been trying the configuration for detecting SQUID jumps as suggested on the corresponding tutorial page, but I realized SQUID jumps look quite different than electrode pops, especially after the initial sharp onset.

My approach is to use ft_artifact_zvalue to generate sample markers for the artifacts, and then use ft_rejectartifact with the preprocessed data loaded into the workspace to remove those trials.

This has been my configuration so far:

% +++ Jump artifact config +++
cfgJump = [];
cfgJump.continuous   = 'no';
% channel selection, cutoff and padding
cfgJump.artfctdef.zvalue.channel = target_chn;
cfgJump.artfctdef.zvalue.cutoff  = 60;
cfgJump.artfctdef.zvalue.trlpadding = 0;
cfgJump.artfctdef.zvalue.artpadding = 0;
cfgJump.artfctdef.zvalue.fltpadding = 0;
% algorithmic parameters
cfgJump.artfctdef.zvalue.cumulative = 'yes';
cfgJump.artfctdef.zvalue.medianfilter = 'yes';
cfgJump.artfctdef.zvalue.medianfiltord = 9;
cfgJump.artfctdef.zvalue.absdiff = 'yes';

I appreciate any help on this!

Cheers,
Jan Ostrowski


--
Jan Ostrowski, M.Sc.
Department of Systems Neuroscience
University Medical Center Hamburg-Eppendorf
Martinistr. 52
Building W34, Room 320b
D-20246 Hamburg, Germany

________________________________

Universitätsklinikum Hamburg-Eppendorf; Körperschaft des öffentlichen Rechts; Gerichtsstand: Hamburg | www.uke.de<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.uke.de%2F&data=05%7C02%7Cfieldtrip%40science.ru.nl%7C261d34922edd4f580d5308dc26232aa8%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638427179673834022%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=7ZdBBZc2qsMbL%2BQ61nu7y%2F%2F4fOAEShncdOrdC8lGBnY%3D&reserved=0>
Vorstandsmitglieder: Prof. Dr. Christian Gerloff (Vorsitzender), Joachim Prölß, Prof. Dr. Blanche Schwappach-Pignataro, Matthias Waldmann (komm.)

________________________________

SAVE PAPER - THINK BEFORE PRINTING

_______________________________________________
fieldtrip mailing list
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.science.ru.nl%2Fmailman%2Flistinfo%2Ffieldtrip&data=05%7C02%7Cfieldtrip%40science.ru.nl%7C261d34922edd4f580d5308dc26232aa8%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638427179673834022%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=Hn5PScBi8iRhMUUOXeO2wcPR5xlZCyt7uxDqihZ46Ro%3D&reserved=0>
https://doi.org/10.1371/journal.pcbi.1002202<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdoi.org%2F10.1371%2Fjournal.pcbi.1002202&data=05%7C02%7Cfieldtrip%40science.ru.nl%7C261d34922edd4f580d5308dc26232aa8%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638427179673834022%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=PUVNfl6aE6l4ej%2FnKp8ivMIyKbm4rWJA84PC12RH%2Fo0%3D&reserved=0>

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


More information about the fieldtrip mailing list