flatironinstitute / ironclust

Spike sorting software being developed at Flatiron Institute, based on JRCLUST (Janelia Rocket Cluster)
Apache License 2.0
28 stars 7 forks source link

index out of range in mr2tr_ #52

Open mnpompili opened 4 years ago

mnpompili commented 4 years ago

Hi,

I would like to start using IronClust to cluster cut from .dat raw files (neuroscope file format). I created a prb file with the irc makeprm function which seems to be corretcly loaded.

However, early on, I get the following error:

mr2tr_: failed:
GPU device reset
    get_prinvec_: took 0.1s
Index in position 2 exceeds array bounds (must not exceed 252).
Index in position 2 exceeds array bounds (must not exceed 252).

Error in irc2>mr2tr_ (line 1633)
    tr = mr(miRange, viSite);

Error in irc2>mr2tr_wav_spk2_ (line 4750)
    trWav_spk1(:,:,viiSpk1) = permute(mr2tr_(mrWav_filt, spkLim_wav, viTime_spk1, viSite1), [1,3,2]);
    %raw

Error in irc2>get_spikes_ (line 4719)
        trWav2_spk = mr2tr_wav_spk2_(mrWav_filt, viSite2_spk, viTime2_spk, P);

Error in irc2>detect_paged_ (line 4664)
S_detect = get_spikes_(mrWav_filt, vrWav_mean_filt, P, S_cache);

Error in irc2>detect_ (line 4358)
cS_detect{1} = detect_paged_(mrWav_T1, P, makeStruct_(nlim_wav1)); mrWav_T1 = [];

Error in irc2>detect_cache_ (line 340)
        S0 = detect_(P);

I'm failing to understand what the issue is so any help would be greatly appreciated.

Thanks, Marco.