This repository was archived by the owner on May 4, 2023. It is now read-only.

Description
Hi Fernando,
Thanks a lo for the great software. I am trying to use wave_clus to detect spikes recorded from STN (a nucleus in the deep part of the brain ) during DBS surgery. The main problem that I have encountered currently is misalignment in detected clusters. I have attached the picture for a single channel as well as the parameters. Looking forward to hearing your valuable suggestions.
Thanks,
Zahra

I used default parameters except for the parameters below:
params = struct;
params.detection = 'neg';
%params.detection = 'pos';
params.stdmin =3;
params.stdmax =10;
params.min_clus =50;
params.max_clus=10;
params.randomseed=1;
params.mintemp=0.18;
params.maxtemp=0.30;
params.w_pre=30;
params.w_post=44;
params.template_sdnum=2.5;
params.alignment_window = 5;