phy icon indicating copy to clipboard operation
phy copied to clipboard

Problem with WaveformView

Open FraCost opened this issue 4 years ago • 3 comments

WaveformView is showing flattened spike waveforms, how can I fix it? WaveformView_bug

FraCost avatar Feb 26 '21 11:02 FraCost

I have the same issue, but only when I change n spikes in waveformView to anything other than 200 spikes.

UPDATE: For some files I did see just a flat line no matter what I set nspikes to. Now the problem seems to be resolved if I just re-run kilosort on the same recordings and opening the new files.

claudiagjou avatar Mar 04 '21 04:03 claudiagjou

I have the same issue too... Try to 'increase' with ctrl + Up, you may then see your waveforms, but careful cause the other views will change too! It might be a problem with the filter scale reajustment that Kilososrt does when it takes our data to preprocess it. Maybe our data is in a different scale than the one used by Kilosort to represent the filtered waveform, so then when Phy tries to painted it seems like no wave is been captured, even though Kilosort does identify the spike.

Does anyone knows the range of values Kilosort wants to be given the raw data in the .bin file so the filter could finally be well visuelized in Phy?

epmgs97 avatar May 20 '21 09:05 epmgs97

So I have found a overkill solution to this, at least for Windows. Whenever you run phy it saves a hidden folder with all the memcache and various GUI settings within the data folder. This folder is named ".phy", delete that and it seems to reset the waveform amplitude disparity.

Michael

GrimmSnark avatar Apr 14 '22 11:04 GrimmSnark