Error converting LFP from raw

Hi,

Thank you for sharing your data. This error is related to the following issue that was reported by another Kilosort user: https://github.com/cortex-lab/KiloSort/issues/44

In the above thread, the KiloSort developer says that this is most likely due to KiloSort not detecting any spikes, and suggests to try lowering the values in ops.Th. I tried this with your data with values ops.Th = [1 2 2]; and the process completed successfully. I suggest you contact the KiloSort developers directly if you have further questions about the parameters.

Best,
Martin