SpikeInterface / SpikeInterface/spikeinterface

Waveform processing by unit very slow in version 0.101.0

Open
#2,589 10 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

performance question widgets
Dominant language
Python
Stars
847
Forks
280
Avg merge
3d 9h
Merged PRs (30d)
29

Description

Hi,
Once the waveform figure is plotted its taking a lot of time (~2 mins) to process from waveform of one unit to another. This also happened with 0.100.0 but templates_percentile_shading=None got rid of the issue. With version 0.101.0 templates_percentile_shading=None don't seem to improve. Below is the code I used to compute amplitudes and get the plot

sparsity = si.compute_sparsity(sorting_analyzer, method = "radius", radius_um = 30) w = sw.plot_unit_templates(sorting_analyzer,templates_percentile_shading=None,backend = "ipywidgets")

Is there another alternative with version 0.101.0? or is the issue soething other than the version?

Thanks
Jimmy

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the slowdown using the provided compute_sparsity and sw.plot_unit_templates calls with SpikeInterface 0.101.0, comparing templates_percentile_shading=None against the reported behavior. Trace the unit-to-unit waveform processing and plotting path to identify the regression; done means processing is substantially faster or the cause and affected option are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.