Hi,
I had a couple of closely related queries.
I’m currently using PyPrep’s NoisyChannels class to autoremove bad channels, and I’ve read a couple of slightly different things about the included filtering/detrending. Originally I was applying a 1-45Hz bp filter, a 50Hz notch filter, and then using NoisyChannels and the related functions, assuming these wouldn’t include any additional filtering or detrending. In one iterative workflow I actually run NoisyChannels() twice.
However I have been getting a message about a 1Hz highpass filter being applied and I was a little confused by the docs/the code on GitHub. Obviously I don’t want to be filtering repeatedly if I don’t need to, and if any other steps are included in detrending (it’s a little hard to tell from the GitHub code), I’d want to at least know what these are.
If I run the following, will it simply find the noisy channels without any other filtering/DSP steps?
chans = NoisyChannels(eeg_fF, do_detrend=False)
chans.find_bad_by_correlation()
chans.find_bad_by_deviation()
chans.find_bad_by_ransac()
Similarly, I was also curious about what exactly linear detrending in the MNE epochs function entails(?) I currently have it set to “linear_detrend=1”.
Any help would be really appreciated.
This is for PyPrep 0.4.3/MNE-Python 1.6.1 (Win10).