cortex-lab / phy

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

EIG did not converge (for Utah array data) #1232

Closed liz-ok closed 1 month ago

liz-ok commented 8 months ago

We are working with a 96ch Utah array data. It runs without errors when using a linear widely spaced channel map. However, when rearranging the channel map to represent a 2D utah array (attached), we run into this issue after main optimization:

Error running kilosort! EIG did not converge at index = 71926

followed by:

Error saving data for phy! Unrecognized filed name "Wphy".

Windows 11 Matlab R2022a Cuda 12.1 UEA_kilosort_chanmap.zip

Any ideas?

Thank you!!

zm711 commented 8 months ago

@liz-ok,

That is a Kilosort issue not a Phy issue. That being said there are two options: 1) https://github.com/MouseLand/Kilosort/pull/560 2) revert to a lower version of Matlab. The conversion error occurs starting in 2022. If you revert to 2021 matlab it should go away.

Hope that helps.