Detect bad: amplitude and gradient threshold function for EEG trials

For EEG, you can use the process: Artifacts > Detect bad channels: peak-to-peak

Also, you can use the process: Events > Detect events above threshold, then set those events as bad, in that sense you would be detecting bad segments