-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error using matlab.internal.math.interp1 and Error using gpuArray/subsref #390
Comments
What are your channel map positions, ycoord and xcoord? |
Nchannels = 32;
chanMap = 1:Nchannels;
xcoords = ones(Nchannels,1);
ycoords = (1:Nchannels)';
…On Sat, May 1, 2021 at 7:30 AM Marius Pachitariu ***@***.***> wrote:
What are your channel map positions, ycoord and xcoord?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#390 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALK2BXFHSWCMW4CS2H5HLTLTLPX7BANCNFSM432OWVFQ>
.
|
I am having an identical issue!, and same mapping settings |
Same issue. It would be nice to get some assistance on this problem. @marius10p |
I'm having the same issue. What appears to be happening is that there is initially data in temp_wh.dat after |
I have data sets from tetrodes/hextrodes in different structures and therefore variable numbers of channels per kilosort run. Data sets with 16, 18 and 24 channels worked fine, but the issue came up in a data set with 12 channels. |
Additionally, if I run datashift2 with do_correction set to |
Same error. ysamp has one repeating value and is therefor not unique. |
Same error with a unique tetrode in a square array.
because the function align_block2 returns NaN |
Same issue data from a 16 channel linear probe NeuroNexus. Converted data to .bin file contains 16 channels xcoords = zeros(16, 1) Value of ysamp during error generation: With this ysamp interp1 is called which causes the error. Any help from the team would be greatly appreciated |
I'm using Kilosort for NeuroNexus 32 channel linear probes, and I'm getting this error during pre-processing:
Error using matlab.internal.math.interp1
Sample points must be unique and sorted in ascending order.
Error in interp1 (line 188)
VqLite = matlab.internal.math.interp1(X,V,method,method,Xqcol);
Error in shift_batch_on_disk2 (line 14)
shifts = interp1(ysamp, shifts, rez.yc, 'makima', 'extrap');
Error in datashift2 (line 149)
dprev = shift_batch_on_disk2(rez, ibatch, dshift(ibatch, :), yblk, sig, dprev);
Error in ksGUI/runPreproc (line 732)
obj.rez = datashift2(obj.rez, 1);
Error in ksGUI>@(
,)obj.runPreproc() (line 333)'Callback', @(
,)obj.runPreproc());Error while evaluating UIControl Callback.
When I work around this error, I get another error during spike sorting:
Error using gpuArray/subsref
Subscript indices must either be real positive integers or logicals.
Error in extractTemplatesfromSnippets (line 56)
wTEMP = dd(:, round(linspace(1, size(dd,2), nPCs)));
Error in extract_spikes (line 42)
[wTEMP, wPCA] = extractTemplatesfromSnippets(rez, NrankPC);
Error in ksGUI/runSpikesort (line 795)
[obj.rez, st3, tF] = extract_spikes(obj.rez);
Error in ksGUI>@(
,)obj.runSpikesort() (line 339)'Callback', @(
,)obj.runSpikesort());Error while evaluating UIControl Callback.
The text was updated successfully, but these errors were encountered: