WaveformExtractor.run_extract_waveforms has to run on all units
See original GitHub issueHi,
I want to extract the waveforms of multiple units, my understanding is to use the WaveformExtractor
, set the parameters, and run run_extract_waveforms()
.
Except I’m not seeing a parameter to give which unit ids I want to extract, which means I need to extract the waveforms of all the units (which seems like a potential waste of time, and a lot of writing to disk when using max_spikes_per_unit=None
).
In my use case, it wrote 298.7 GB to the disk (taking a few minutes) when extracting all of the waveforms (96 units) when I actually was only interested in 3 of them …
Is it made like this on purpose? Or is it something that needs to be added?
Thanks, Drade
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Waveform Extractor — spikeinterface documentation
SpikeInterface provides an efficient mechanism to extract waveform snippets. The WaveformExtractor class: ... extracts all waveforms snippets for each unit.
Read more >spikeinterface/waveform_extractor.py at master
Class to extract waveform on paired Recording-Sorting objects. Waveforms are persistent on disk and cached in memory. Parameters.
Read more >Procedure for extracting waveforms from Plexon data
This procedure is a simple (if protracted) way of exporting waveform shape data from NeuroEXplorer into Matlab. I also suggest some (slightly inelegant)...
Read more >Extracting waveform data from WDP files
Running pulseview.exe creates an error message, so no luck. My question: what is the easiest way to extract the waveform vectors from the...
Read more >Trigger Handling and Waveform Feature Extraction Firmware
Next the feature extraction algorithm is run on the pedestal subtracted waveforms. As soon as waveform processing is initiated, the PacketBuilder module ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It’s easier if I only need a subset of units and that’s all. But often, I need to get the waveforms of a subset of units, and then depending on the result get the waveforms of a different subset of units.
Being able to run
run_extract_waveforms
multiple times of a different subset of units while always remembering the previous results could be a really nice feature I think.Alright I understand!
I just thought that keeping track of units already computed could improve performance in certain use cases, but maybe it’s too niche or maybe it’s just too complicated as you say.