Skip to content

Clarification of clean_asr user feedback #916

@sammy-w

Description

@sammy-w

I am using the clean_asr function to reduce artifacts in offline continuous EEG (i.e., blinks and muscle activity).
Could someone please explain what this section of the clean_asr output means?
“Keeping 32.8% (86 seconds) of the data.”

It seems like it’s only keeping 30% of the original data, but visual inspection of the “cleaned” signal suggests that it’s keeping most of the original data while mostly removing blinks.
I have experimented with higher cutoff values (e.g., 20 or 25), but this percentage remains the same. Please find example output below.

EEG_clean = clean_asr(EEG, 10); %aggresive is 5, and conservative cutoff of 20
Determining time window rejection thresholds...done.
Keeping 32.8% (86 seconds) of the data.
eeg_insertbound(): 45 boundary (break) events added.
eeg_checkset note: upper time limit (xmax) adjusted so (xmax-xmin)*srate+1 = number of frames
Scaling components to RMS microvolt
Scaling components to RMS microvolt
Scaling components to RMS microvolt
Scaling components to RMS microvolt
Estimating calibration statistics; this may take a while...
Determining per-component thresholds...done.
Now cleaning data in 6 blocks......

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions