Skip to content

Commit 49c7bb1

Browse files
authored
Update rereferencing.md
1 parent 7c56a89 commit 49c7bb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/05_Preprocess/rereferencing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ undoing an average reference transform -- as long as you chose to
4545
include the initial reference channel in the data when you transformed
4646
to average reference).
4747

48-
The Huber mean is a robust estimator of central tendency that reduces the impact of outliers by iteratively optimizing Huber’s loss function. This function acts quadratically for small errors, much like the arithmetic mean, but switches to a linear treatment for larger deviations, effectively down-weighting extreme values. The threshold, measured in microvolts, specifies the deviation from the mean at which channel values are treated linearly rather than quadratically. This approach is similar to the reference technique used in the PREP pipeline, although PREP additionally removes channels with excessive deviations—a step that isn’t necessary in EEGLAB if bad channels have already been eliminated using clean_rawdata. It is important to note that the Huber mean should not be used before ICA because it violates the linearity assumption; it is best applied after ICA.
48+
The Huber mean is a robust estimator of central tendency that reduces the impact of outliers by iteratively optimizing Huber’s loss function. This function acts quadratically for small errors, much like the arithmetic mean, but switches to a linear treatment for larger deviations, effectively down-weighting extreme values. The threshold, measured in microvolts, specifies the deviation from the mean at which channel values are treated linearly rather than quadratically. This approach uses the same type of reference as the PREP pipeline. However, the PREP pipeline iteratively removes channels with excessive deviations and recomputes the reference—a step that isn’t necessary in EEGLAB if bad channels have already been eliminated using clean_rawdata. It is important to note that the Huber mean should not be used before ICA because it violates the linearity assumption; it is best applied after ICA.
4949

5050
Note that the re-referencing function also re-references the stored
5151
ICA weights and scalp maps, if they exist.

0 commit comments

Comments
 (0)