utils.intan.intanutil package
utils.intan.intanutil.data_to_result module
utils.intan.intanutil.get_bytes_per_data_block module
utils.intan.intanutil.notch_filter module
- notch_filter(input, fSample, fNotch, Bandwidth)[source]
Implements a notch filter (e.g., for 50 or 60 Hz) on vector ‘input’.
fSample = sample rate of data (input Hz or Samples/sec) fNotch = filter notch frequency (input Hz) Bandwidth = notch 3-dB bandwidth (input Hz). A bandwidth of 10 Hz is recommended for 50 or 60 Hz notch filters; narrower bandwidths lead to poor time-domain properties with an extended ringing response to transient disturbances.
Example: If neural data was sampled at 30 kSamples/sec and you wish to implement a 60 Hz notch filter:
out = notch_filter(input, 30000, 60, 10);