<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Jan,
<div class=""><br class="">
</div>
<div class="">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.</div>
<div class=""><br class="">
</div>
<div class="">Good luck,</div>
<div class="">Jan-Mathijs</div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 30 Jan 2024, at 12:19, Jan Ostrowski via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" class="">fieldtrip@science.ru.nl</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<p class="">Dear Fieldtrippers,</p>
<p class="">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)<br class="">
</p>
<p class="">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.<span class="Apple-converted-space"> </span><br class="">
</p>
<p class="">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.</p>
<p class="">This has been my configuration so far:</p>
<p class="">% +++ Jump artifact config +++<br class="">
cfgJump = [];<br class="">
cfgJump.continuous = 'no';<br class="">
% channel selection, cutoff and padding<br class="">
cfgJump.artfctdef.zvalue.channel = target_chn;<br class="">
cfgJump.artfctdef.zvalue.cutoff = 60;<br class="">
cfgJump.artfctdef.zvalue.trlpadding = 0;<br class="">
cfgJump.artfctdef.zvalue.artpadding = 0;<br class="">
cfgJump.artfctdef.zvalue.fltpadding = 0;<br class="">
% algorithmic parameters<br class="">
cfgJump.artfctdef.zvalue.cumulative = 'yes';<br class="">
cfgJump.artfctdef.zvalue.medianfilter = 'yes';<br class="">
cfgJump.artfctdef.zvalue.medianfiltord = 9;<br class="">
cfgJump.artfctdef.zvalue.absdiff = 'yes';</p>
<p class="">I appreciate any help on this!</p>
<p class="">Cheers,<br class="">
Jan Ostrowski<br class="">
</p>
<div class=""><br class="webkit-block-placeholder">
</div>
<pre class="moz-signature" cols="72">--
Jan Ostrowski, M.Sc.
Department of Systems Neuroscience
University Medical Center Hamburg-Eppendorf
Martinistr. 52
Building W34, Room 320b
D-20246 Hamburg, Germany</pre>
<br class="">
<div class="">
<hr size="1" style="color: rgb(153, 153, 153);" class="">
<p style="color: rgb(153, 153, 153); font-size: x-small;" class="">Universitätsklinikum Hamburg-Eppendorf; Körperschaft des öffentlichen Rechts; Gerichtsstand: Hamburg | <a href="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" originalsrc="http://www.uke.de/" shash="aB+4fBNEXNtM5nFDUc9qXvxdlZhw58xRrskeONj6ojwJ+zXwx/ztKMypoZh9DqEUVptbV9jF6onj7JeKpw7WBwj1EVpXUEuvEJGr5L2fQ0nHfoVleCoUp+u699A+WRb3xd+DAyfQC/zgeRhIWPNJj94Tw2Lay/raWP09H9SdB1g=" originalsrc="http://www.uke.de/" shash="u6edwfAdQc1dY1y5nn2Jkn7egMDU16YjyLP6URA5IhAQf58pWFmaHT8WGxvgqN9pkKHDPL90i+vQdi0zHnBTF0pX6pXexTmwhrwvRjXuSP6SnaXc6RaZN5HpnjaBZ4omXPjD9wYIJfyEYku5xOTKJzKDWK0PvitgkvAwgR/SSTw=" class="">www.uke.de</a><br class="">
Vorstandsmitglieder: Prof. Dr. Christian Gerloff (Vorsitzender), Joachim Prölß, Prof. Dr. Blanche Schwappach-Pignataro, Matthias Waldmann (komm.)</p>
<hr size="1" style="color: rgb(153, 153, 153);" class="">
<p style="color: rgb(153, 153, 153); font-size: x-small;" class="">SAVE PAPER - THINK BEFORE PRINTING</p>
</div>
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="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" originalsrc="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" shash="BdRhImtjq/jLn61oWh6r6TYSe86WEMvdXRfe7UFOzasu2Y3wnmIMU70V77tNNdbodsmU4nmO3dzxne1FkteOz1fRgWrtMPILpABtpMaWEbU2fSSaC6sz7LDQ4Bwqn5BHP+viPwjFhAx96pjiE3aeZ67T7P5OTS6gvLY0cwiLOLc=" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">
<a href="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" originalsrc="https://doi.org/10.1371/journal.pcbi.1002202" shash="bSatY8W5ELcewTwfmCvEGnndZyFXO/fAF3z2A8VCXjuVNW0tvGdsNmJ86aD1S5+AJG8LHUEbFc8wofdc8YdH9MPMnMgJ1nSjoXUeX1rQfK9D8nu2mbsTIbkVKSlkU3MeUPD7fLXvNJr2POAOP0eDlQmm7JTA749of9ktQg4jSVQ=" class="">https://doi.org/10.1371/journal.pcbi.1002202</a></div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>