How are waveforms in CellExplorer being extracted? #123
-
I have a binary dat file that I sorted with kilosort and then manually curated with phy. just as a test, I labeled all the waveform units as good and it saved in cluster_group.tsv as good. But CellExplorer kept saying all the channels were recorded as bad. %newBadChannels = find(wfF_std2 > params.noiseStdThreshold); |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi The waveforms are indeed extracted from the binary data. This is to make them consistent among users and various pipelines. By default, the pipeline will try to detect noisy/bad channels. This feature can be turned off, but it matters for the estimation of the peak spike waveform across your channels: https://github.com/petersenpeter/CellExplorer/blob/main/calc_CellMetrics/getWaveformsFromDat.m#L61 Here is the function detecting the bad channels: https://github.com/petersenpeter/CellExplorer/blob/main/calc_CellMetrics/getBadChannelsFromDat.m Are you saying that all your channels are labeled as bad? If so, you could have a scaling issue. |
Beta Was this translation helpful? Give feedback.
Hi
The waveforms are indeed extracted from the binary data. This is to make them consistent among users and various pipelines. By default, the pipeline will try to detect noisy/bad channels. This feature can be turned off, but it matters for the estimation of the peak spike waveform across your channels: https://github.com/petersenpeter/CellExplorer/blob/main/calc_CellMetrics/getWaveformsFromDat.m#L61
Here is the function detecting the bad channels: https://github.com/petersenpeter/CellExplorer/blob/main/calc_CellMetrics/getBadChannelsFromDat.m
Are you saying that all your channels are labeled as bad? If so, you could have a scaling issue.