Hi Peter
First of all, Many thanks for such an amazing tool.
I am trying to use Cellexplorer with some example data, but i am not able to identify this error i usually get with some files.
i am all the time doing the same. converting from Spike2 smrx format to .bin. then sorting with kilosort2 and manual curation in phy2, however while with some files Cellexplorer works perfectly fine, with some others i get the following error:
Error using plot
Vectors must be the same length.
Error in getWaveformsFromDat (line 240)
plot(time,wfF2), hold on, plot(time,wfF2(:,maxWaveformCh1),'k','linewidth',2),
xlabel('Time (ms)'),title('All channels'),ylabel('Average filtered waveforms across
channels (\muV)','Interpreter','tex'),hold off
Error in loadSpikes (line 871)
spikes = getWaveformsFromDat(spikes,session,'showWaveforms',parameters.showWaveforms);
Error in ProcessCellMetrics (line 271)
spikes{1} =
loadSpikes('session',session,'labelsToRead',preferences.loadSpikes.labelsToRead,'getWaveformsFromDat',parameters.getWaveformsFromDat,'showWaveforms',parameters.showWaveforms);
Thank you very much in advance
Best
Jesús