cortex-lab / phy

phy: interactive visualization and manual spike sorting of large-scale ephys data
BSD 3-Clause "New" or "Revised" License
318 stars 157 forks source link

only one waveform being displayed per cluster in WaveformView #1091

Open atranvan opened 3 years ago

atranvan commented 3 years ago

Hi,

I am using phy (v2.0a1) to visualize data analyzed with klusta. OS is Ubuntu 20.04. No matter the value I set n_spikes_waveforms to, only 1 waveform per cluster gets displayed in WaveformView. I have re-opened old files which now do show the same issue (and did not use to). Any clue what I may have set wrong or how to reset WaveformView parameters?

thanks in advance

Tywang-720 commented 3 years ago

It's showing mean waveform I guess.

Normally we could switch between mean waveform view and all waveform view by pressing 'M', or click "toggle mean waveform view" in the menu of waveform view window.

But sometimes it just won't work.

jluo2340 commented 3 years ago

I have this issue as well. Pressing 'M' and "Toggle Mean Waveform" doesn't work anymore for my files. I've tried running phy with --clear-state and --clear-cache as well, and I'm still unable to see more than 1 waveform.

atranvan commented 3 years ago

Hi,

toggling M didn't work for me either. It wouldn't explain why some channels showed an empty line, since the mean would still be a noisy trace In the end what I did is:

not sure it works for anyone else, but @jluo2340 it may be worth a shot?

atranvan commented 3 years ago

sorry I realized I had not mentionned the empty line issue earlier. Not only the visualization contained one trace per channel only, I also had several completely flat lines - hence not just a "Toggle Mean Waveform" issue

eabhorrocks commented 3 years ago

Have the same issue, including when opening a new Waveform View window. Data is output of kilosort3

rclein94 commented 2 years ago

Hi, I'm having the same issue, wondering if this was ever resolved. If it was, can you please share tips? Thanks!

eintzandt commented 1 year ago

I run into this bug often, was wondering if there was any update? I have tried deleting the .phy config folder and that doesn't work.

GoktugAlkan commented 1 year ago

Same trouble. I am using the latest version of phy and trying to visualize waveforms obtained with Kilosort 2.5. It just displays the mean waveform. When I use the same phy with the outputs obtained with Kilosort 1.0 it works without any problems. Is there an update?