ripple-neuro / mksort Goto Github PK
View Code? Open in Web Editor NEWSpike sorter for electrophysiology data
Spike sorter for electrophysiology data
Hi Matt,
I've gotten the error pasted below when I try to delete hoops. Have you encountered this issue before?
Thanks,
Russell
Undefined function 'isnan' for input arguments of type 'matlab.graphics.chart.primitive.Line'.
Error in oneChannelSorter>btnDeleteHoop_Callback (line 1367)
if isnan(thisHoop), return; end;
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in oneChannelSorter (line 58)
gui_mainfcn(gui_State, varargin{:});
Error in @(hObject,eventdata)oneChannelSorter('btnDeleteHoop_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback
Currently, when mksort is opened for the first time, the screen resolution is used to position the mksort and oneChannelSorter figures. This could be done with the userPrefsMKsort.m file.
Hi
I noticed that for each channel I need to define all 4 sorted units in order to get a correct update in waveforms.units field. If I only define one channel (e.x : a good channel as 4) and leave the rest unsorted, the 'units' does not contain #4 and only contains 1s. I tested this on the demo data.
I was wondering if there is away to fix or improve this.
Thanks,
Eghbal
Hi,
The set of sample data used in the walkthrough is no longer available at the url linked in the walkthrough pdf (http://rippleneuro.com/downloads/trellis/mksortDemoData.zip). Would it be possible to make it available on the github page?
Thank you,
Simon
First, Matlab generates this warning on mksort startup:
Warning: The DrawMode property will be removed in a future release. Use the SortMethod property instead.
> In setupAxesForFastDraw at 20
In mksort>mksort_OpeningFcn at 471
In gui_mainfcn at 220
In mksort at 74
After successfully loading a previously sorted dataset, when I try to click on a channel I get the following error:
Undefined function 'isnan' for input arguments of type 'matlab.graphics.primitive.Rectangle'.
Error in mksort>selectChannel (line 1512)
if isnan(handles.selectionRectH)
Error in mksort>multiClick (line 1440)
handles = selectChannel(handles, channel);
Error while evaluating Figure WindowButtonDownFcn
Undefined function 'isnan' for input arguments of type 'matlab.graphics.primitive.Rectangle'.
Error in mksort>selectChannel (line 1512)
if isnan(handles.selectionRectH)
Error in mksort>multiClick (line 1440)
handles = selectChannel(handles, channel);
Error while evaluating Figure WindowButtonDownFcn
I changed the offending line to if ~isa(handles.selectionRectH, 'matlab.graphics.primitive.Rectangle')
but I have no idea if this is backwards compatible.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.