EEGLAB function pop_clean_rawdata[ LineNoiseCriterion ]

9 views (last 30 days)
Hi, I would like to know how the LineNoiseCriterion works. I was told it works by averaging the channels and then using a pre-set value (such as 4 in my code), it uses this value as a threshold to reject channels that go below -4 or above 4. Is this correct?
  2 Comments
Dani
Dani on 31 Oct 2023
to add, is this function working on all 128 channels or is it working with 1 channel to do this
Walter Roberson
Walter Roberson on 31 Oct 2023
https://github.com/sccn/clean_rawdata/blob/master/pop_clean_rawdata.m has the source code

Sign in to comment.

Answers (1)

Garmit Pant
Garmit Pant on 9 Jan 2024
Hello Dani,
I understand that you want to understand how the input argument “LineNoiseaCriterion” of the EEGLAB function “pop_clean_rawdata” works and how many channels it is working on.
To address your queries:
  • LineNoiseCriterion” sets the threshold for the channels to be removed based on the noise relative to their signal value. The default value is 4. By default, any channel that has noise relative to its signal above 4 standard deviations, that channel will be removed.
  • The channel is removed based on the z-scored level of EM noise-to-signal ratio for each channel. The score is calculated using the standard deviation based on all channels’ signal.
  • The function works on all channels.
For further understanding onpop_clean_rawdata, you can refer to the following external links:
  1. Refer to ‘Reject bad channels’ section - https://github.com/sccn/clean_rawdata
I hope you find the above explanation and suggestions useful!

Categories

Find more on Signal Processing Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!