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! ; )
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! ; )