MouseLand / Kilosort

Fast spike sorting with drift correction
https://kilosort.readthedocs.io/en/latest/
GNU General Public License v3.0
488 stars 247 forks source link

Error involving 'Digital filter critical frequencies must be 0 < Wn < fs/2 (fs=5.0 -> fs/2=2.5)' #777

Closed Auxcy1ene closed 2 months ago

Auxcy1ene commented 2 months ago

I have been trying to use the docker image of kilosort3 to produce a sorter output that I can analyse for my MSci project but I keep getting the same result. Whether or not I use kilosort gui or the docker image from spike interface for kilosort3, I always end up with the same error message:

""INFO: The correct number of channels has been estimated to be 32. INFO: Other possibilities could be [40 48 50 60] Traceback (most recent call last):

File "C:\Users\sean_\anaconda3\envs\kilosort_gui\lib\site-packages\kilosort\gui\settings_box.py", line 326, in import_settings

with open(settings_file_name, 'r') as f:

FileNotFoundError : [Errno 2] No such file or directory: ''

Digital filter critical frequencies must be 0 < Wn < fs/2 (fs=5.0 -> fs/2=2.5)""

I am unsure what to do since I have not only tried to input my own raw/binary data but I have downloaded other example data from the internet and have seen the same results. Upon searching for similar errors I have not been able to find anyone in a similar situation so I hope someone here can help me fix this. Many Thanks From Sean.H

jacobpennington commented 2 months ago

Can you please try using Kilosort4 instead? Or is there some reason you need to use Kilosort3 specifically?

Auxcy1ene commented 2 months ago

I am running everything through spikeinterface and the docker image for kilosort they have is for kilosort 3. That being said this is no longer an issue anymore and I have an entirely new problem so I'll make a new issue.