phy icon indicating copy to clipboard operation
phy copied to clipboard

Waveform View won't update

Open macayladonegan opened this issue 3 years ago • 10 comments

Hi,

I recently switched from sorting with Kilosort to Kilosort2, and now when I visualize my data in phy2 my waveform view won't update/let me toggle between the different waveform views. It seems to be stuck on the average waveform for the first cluster I select. Any advice?

Best, Macayla

macayladonegan avatar Sep 14 '20 20:09 macayladonegan

What is your operating system? Could you send me your dataset so that I check whether it works on my computer?

rossant avatar Sep 18 '20 10:09 rossant

Windows 10, here's a drive link

On Fri, Sep 18, 2020 at 6:11 AM Cyrille Rossant [email protected] wrote:

What is your operating system? Could you send me your dataset so that I check whether it works on my computer?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cortex-lab/phy/issues/1032#issuecomment-694781423, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADATRX5WSA25LDF3SDKVFGTSGMW3RANCNFSM4RMBPRWA .

-- Macayla Donegan, PhD Laboratories of Dr. Robert Froemke and Dr. Richard Tsien New York University www.wethescientists.net

macayladonegan avatar Sep 21 '20 15:09 macayladonegan

oops, here it is: https://drive.google.com/drive/folders/1joQ64chhRVuWpPgcrFmgE_SCQqlAsaZQ?usp=sharing

On Mon, Sep 21, 2020 at 11:48 AM macayla donegan [email protected] wrote:

Windows 10, here's a drive link

On Fri, Sep 18, 2020 at 6:11 AM Cyrille Rossant [email protected] wrote:

What is your operating system? Could you send me your dataset so that I check whether it works on my computer?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cortex-lab/phy/issues/1032#issuecomment-694781423, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADATRX5WSA25LDF3SDKVFGTSGMW3RANCNFSM4RMBPRWA .

-- Macayla Donegan, PhD Laboratories of Dr. Robert Froemke and Dr. Richard Tsien New York University www.wethescientists.net

-- Macayla Donegan, PhD Laboratories of Dr. Robert Froemke and Dr. Richard Tsien New York University www.wethescientists.net

macayladonegan avatar Sep 21 '20 15:09 macayladonegan

Was this ever resolved? I'm having a similar issue in ubuntu 16.04. I have plenty of RAM but after assigning a few clusters the waveform view ceases to update. I can provide my dataset upon request.

MHRosenberg avatar Nov 05 '20 05:11 MHRosenberg

I am also having a similar issue on Windows 10 with 64 GB of RAM. Waveforms cease to update and none of the toggle hotkeys for waveform view are working for me.

blaje42 avatar Nov 12 '20 23:11 blaje42

This only affects the waveform view? The other views are still updated when cluster selection changes? Hotkeys of other views continue to work?

rossant avatar Nov 13 '20 20:11 rossant

No, I am also having this issue with the correlogram view more so than the other views. I have not tried all the views, but I have had no trouble with hotkeys for TraceView or when rating clusters.

Edit: Reading through some other suggestions in other open issues I did make sure Phy was being run on the NVIDIA card.

blaje42 avatar Nov 13 '20 20:11 blaje42

I also had this issue using output from Kilosort 2.5, Windows 10, latest version of phy2. It appears to be caused by closing the ProbeView.

More observations:

  • Once ProbeView is closed, the following plots continue to auto-update: ClusterScatterView, SimilarityView, TraceView (when forced w/ e.g. Alt+PgDown). No other plots auto-update, though scaling, changing ISI bin sizes, etc. still works.
  • Inspecting state.json in the Template-GUI directory of your user folder shows that auto-update is still set to true for plots that do not auto-update.
  • Closing and re-opening the WaveformView will cause the new WaveformView to auto-update, but keyboard shortcuts for that view no longer work. For example, trying "W" to switch waveform type gives the error: QAction::eventFilter: Ambiguous shortcut overload: W. Furthermore, other frozen views like ISIView will not auto-update until they are also closed and re-opened.

So for now, my solution is just to minimize the ProbeView as much as possible, or undock and hide it, but never close it.

grahamfindlay avatar Jan 15 '21 20:01 grahamfindlay

Hi, Having the same issue here also using the output from Kilosort 2.5 in the latest version of phy2, on a Windows 10 PC. Other views also freeze, not only WaveformView. Keeping ProbeView open only worked for a few minutes.

UPDATE: I believe changing the graphics processor settings is the key. Now it rarely ever freezes unless I really try (having TraceImage + Raster +the other 7 most common views open all at the same time). Try : Windows settings > System > Display > Graphics Settings and then try to find Phy on your computer (it took me a while) and in options select the High performance ( NVIDIA GPU). Successful so far!

ClaudiaJou avatar Jan 25 '21 16:01 ClaudiaJou

Keeping ProbeView open also did not help for me, unfortunately.

Edit: As an update, I reset the GUI ( phy template-gui params.py --clear-state ) and then kept ProbeView open and now the waveform toggles are working (which they were not before) and so far it has not frozen. I will update if anything changes.

blaje42 avatar Jan 29 '21 13:01 blaje42