@@ -247,33 +247,7 @@ EEG = eeg_checkset(EEG);
247247 - Removes time windows where >25% of channels are bad
248248 - Useful for movement artifacts affecting multiple channels
249249
250- ### Visual inspection after cleaning
251-
252- Always visualize the data after cleaning:
253-
254- ``` matlab
255- % Plot scrolling data to inspect cleaning results
256- pop_eegplot(EEG, 1, 1, 1);
257-
258- % Check which channels were removed
259- if isfield(EEG.etc, 'clean_channel_mask')
260- removed_chans = find(~EEG.etc.clean_channel_mask);
261- fprintf('Removed %d channels: ', length(removed_chans));
262- for i = 1:length(removed_chans)
263- fprintf('%s ', EEG.chanlocs(removed_chans(i)).labels);
264- end
265- fprintf('\n');
266- end
267-
268- % Check how much data was removed
269- if isfield(EEG.etc, 'clean_sample_mask')
270- samples_removed = sum(~EEG.etc.clean_sample_mask);
271- pct_removed = 100 * samples_removed / length(EEG.etc.clean_sample_mask);
272- fprintf('Removed %.1f%% of data samples\n', pct_removed);
273- end
274- ```
275-
276- ### Alternative: Manual bad channel removal
250+ ### Alternative to ASR: Manual bad channel removal
277251
278252If you prefer manual control:
279253
0 commit comments