You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building the table of clusters, after clustering, takes a long time, often longer than the actual clustering. This seems unnecessary and needs checking. It's the last bit in the CombinedClustering method.
The text was updated successfully, but these errors were encountered:
Have you tried using spikes.groupby('cl')? Then you can loop over the tuples (cluster_number, spikes within that cluster) and use all the pandas machinery to efficiently calculate the grouped means and amplitudes. In my experience that was much faster than iterating over the cluster labels.
Building the table of clusters, after clustering, takes a long time, often longer than the actual clustering. This seems unnecessary and needs checking. It's the last bit in the
CombinedClustering
method.The text was updated successfully, but these errors were encountered: