Web app for viewing results of ephys spike sorting
Apache License 2.0
23
stars
7
forks
source link
For recordings with frame > (2 ** 31 - 1), data type of two variables in in prepare_spikesortingview_data need to change from np.int32 to np.int64. #229
For recordings with frame > 2**31 - 1 (about 29.8h recording with Fs=20000),
num_frames
should be innp.int64
and
spike_train
should have elements innp.int64
.I changed these variables to have data type of
np.int64
only whenrecording.get_num_frames() > (2 ** 31 - 1)
.I tested this version for two 2.64 days recordings one sorted with scheme3 with
block_size = a day
, and the other one with scheme2.