-
Notifications
You must be signed in to change notification settings - Fork 22
filt_car_()
jamesjun edited this page Dec 18, 2017
·
6 revisions
Performs filtering using P.vcFilter setting, and global common average referencing (CAR) using P.vcCommonRef setting. Note that local CAR is performed by spkwav_car_() after spiking event detection.
- [mnWav2, vnWav2_mean] = filt_car_(mnWav2, P)
- [mnWav2, vnWav2_mean] = filt_car_(mnWav2, P, mnWav1_pre, mnWav1_post, fTrim_pad)
- mnWav2: raw traces (nSamples_load x nSites: int16)
- P: Parameters struct
- mnWav1_pre: raw traces preceding the current traces (mnWav2) to be padded for edge-safe filtering (length: P.nPad_filt).
- mnWav1_post: raw traces following the current traces (mnWav2) to be padded for edge-safe filtering (Length: P.nPad_filt).
- fTrim_pad: flag to trim the padding or not (default: 1).
- mnWav2: filtered and CAR subtracted waveform
- vnWav2_mean: mean across all sites excluding bad sites (P.viSiteZero)
- Filter according to the filter setting (P.vcFilter)
- wav_car_(): Calculate and subtract the common average reference) if P.vcCommonRef == 'mean'. Skipped if vcCommonRef == 'none'.
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