cortex-lab / KiloSort

GPU code for spike sorting
GNU General Public License v2.0
179 stars 100 forks source link

retrieving threshold from rez.mat file #204

Open dragospekic opened 5 years ago

dragospekic commented 5 years ago

Could you please explain how to obtain the spike detection threshold form the rez.mat file. It seems this is specified in op.SpTh as a multiple of standard deviations. I am guessing the SD deviation is calculated as std() from the preprocessed analog data vector. How can I access the preprocessed data to calculate the exact threshold value and extract individual spike waveforms. Thank you! ; )