Hi @Zhuo,
For your question about bandpass filtering EEG data in the range of 0.05Hz to 80Hz, the choice between the two commands depends on the filtering approach you'd like to use:
- If you're processing offline data and want to preserve phase relationships, you should use:
EEG = pop_eegfiltnew(EEG, 'locutoff', 0.05, 'hicutoff', 80, 'revfilt', 1);
This applies a zero-phase filter (non-causal), which is ideal for offline processing when phase accuracy is important.
- If you're working with *real-time data* or prefer a *causal filter*, then you can use:
EEG = pop_eegfiltnew(EEG, 'locutoff', 0.05, 'hicutoff', 80);
This applies a causal bandpass filter, which only uses past and present data.
For most offline analyses, `revfilt = 1` is recommended for better phase preservation.
Hope this helps.
Reference:
