ironclust
ironclust copied to clipboard
auto merge doesn't work
is Ironclust still being maintained? i've been using ironclust since it came out. and very happy overall. some things are still broken though.
-Phy IO is not funcitonal. maybe because of changes to kilosort over the years. but been this way at least since kilosort2 -irc2, never worked for me. it runs, but in the gui cannot merge or split.
most crucial for me: **-with irc manual *.prm (non irc2), auto merging crashes. ERROR:
Index exceeds the number of array elements (631). Error in irc>@(iClu)mode(viSite_spk(S_clu.cviSpk_clu{iClu})) (line 6753) S_clu.viSite_clu = double(arrayfun(@(iClu)mode(viSite_spk(S_clu.cviSpk_clu{iClu})), 1:S_clu.nClu)); Error in irc>S_clu_map_index_ (line 6753) S_clu.viSite_clu =double(arrayfun(@(iClu)mode(viSite_spk(S_clu.cviSpk_clu{iClu})),1:S_clu.nClu)); Error in irc>post_merge_wav4_ (line 3875) S_clu = S_clu_map_index_(S_clu, viMap_clu); Error in irc>post_merge_wav_ (line 3729) S_clu = post_merge_wav4_(S_clu, merge_thresh, P); Error in irc>merge_auto_ (line 17798) [S_clu, nClu_merge] = post_merge_wav_(S_clu, 1, setfield(P, 'maxWavCor', maxWavCor)); Error in irc>@(h,e)merge_auto_() (line 5851) uimenu_(mh_edit,'Label', 'Merge auto', 'Callback', @(h,e)merge_auto_()); Error while evaluating Menu Callback.**
I think this is due to one of the variables not being updated when clusters are split/merged/deleted: S_clu.nClu S_clu.cviSpk_clu