-
Notifications
You must be signed in to change notification settings - Fork 22
fft_clean()
jamesjun edited this page Oct 31, 2017
·
7 revisions
Adaptive notch filter which cleans narrow-band noise peaks that exceeds the threshold (P.fft_thresh).
The operation is skipped if P.fft_thresh==0.
- mr1 = fft_clean(mr, thresh, nbins)
** mr1: Traces to clean up (nSamples x nSites: single)
** thresh: P.fft_thresh expressed in MAD unit
** nbins: Number of frequency bins to perform normalization
- Time-domain signal is converted to the frequency domain (FFT)
- Average power across channels are computed.
- Power is detrended using 1/f relationship in freq vs. power.
- power-frequency product is normalized by the MAD for each frequency bin.
- Frequency-power product exceeding the threshold (P.fft_thresh) are set to 0.
- Cleaned signal is transformed back to the time-domain signal (IFFT).
Home
JRCLUST pipeline
Performance benchmark
Step-by-step tutorial
Video tutorials
Command line interface
Requirements and Installation
Tetrodes sorting
Command listing
Code listing
Function listing
Main GUI
Preview GUI
Probe GUI
Traces GUI
Manual GUI
PSTH view
Input and output files
Probe file
Batch file
Supported recording format
User configuration file
Combining multiple files
Generating trial files
Master struct (S0)
Parameters struct (P)
Cluster struct (S_clu)
Global variables
Variable naming convention