Closed DanEgert closed 3 months ago
@DanEgert The current artifact_threshold
implementation is sort of ham-handed and will be made smarter in the future. Currently it just sets any batch with at least one value exceeding that threshold to all zeroes. So, most likely what's happening is too many of your batches are being set to 0, and you would need to do your own preprocessing instead to get rid of the artifacts before running Kilosort.
You should be able to see if that's the case in the GUI. After you set artifact_threshold
, reload the data, then scan through DataView in time. Anywhere that an artifact (and its batch) got removed, you'll see a big white block.
Describe the issue:
I have an artifact in my recordings that keep getting clustered in. One way to prevent that is probably to use artifact_threshold. But when I set it, I am getting the above error.
Reproduce the bug:
Error message:
Version information:
v 4.0.13