Dear spike sorters,
I've been noticing that in some of my datasets the amplitudes within a cluster can be much larger than I expected, and that clusters do not separate well based on amplitude. For example, in the attached screenshot you can see the green cluster having a large variance in amplitude, while I would expect the large amplitude spikes to belong to a separate cluster (together with the "blue" spikes) and the tiny ones to fall into another cluster.
I am using version 1.0.7; Below are my relevant settings. I wonder if I should change cluster.dispersion, or fitting.amp_limits?
Thanks for any insights,
Stephen
[clustering]
extraction = median-raw # Can be either median-raw (default) or mean-raw
sub_dim = 10 # Number of dimensions to keep for local PCA per electrode
max_elts = 10000 # Max number of events per electrode (should be compatible with nb_elts)
nb_elts = 0.8 # Fraction of max_elts that should be obtained per electrode [0-1]
nb_repeats = 3 # Number of passes used for the clustering
smart_search = True # Activate the smart search mode
merging_method = nd-bhatta # Method to perform local merges (distance, dip, folding, nd-folding, bhatta, nd-bhatta)
merging_param = default # Merging parameter (see docs) (3 if distance, 0.5 if dip, 1e-9 if folding, 2 if bhatta)
sensitivity = 3 # Single parameter for clustering sensitivity. The lower the more sensitive
cc_merge = 0.95 # If CC between two templates is higher, they are merged
dispersion = (5, 5) # Min and Max dispersion allowed for amplitudes [in MAD]
fine_amplitude = True # Optimize the amplitudes and compute a purity index for each template
make_plots = # Generate sanity plots of the clustering [Nothing or None if no plots]
[fitting]
amp_limits = (0.3, 5) # Amplitudes for the templates during spike detection [if not auto]
amp_auto = True # True if amplitudes are adjusted automatically for every templates
collect_all = False # If True, one garbage template per electrode is created, to store unfitted spikes
ratio_thresh = 0.9 # Ratio of the spike_threshold used while fitting [0-1]. The lower the slower
