swh:1:snp:a45f1825481650ddb3f287b8afeb71886738d762
Tip revision: db3a3353d9a374ea2f71674bbe443be21986c82c authored by Marius Pachitariu on 05 July 2021, 14:00:32 UTC
Update README.md
Update README.md
Tip revision: db3a335
kilosort.m
function k = kilosort
% Call this to open the kilosort gui.
% add kilosort to path
if ~exist('ksGUI', 'file')
mfPath = mfilename('fullpath');
addpath(genpath(fileparts(mfPath)));
end
f = figure(1029321); % ks uses some defined figure numbers for plotting - with this random number we don't clash
set(f, 'WindowStyle','normal'); % ensure default window style is not 'docked'
set(f,'Name', 'Kilosort',...
'MenuBar', 'none',...
'Toolbar', 'none',...
'NumberTitle', 'off',...
'Units', 'normalized',...
'OuterPosition', [0.1 0.1 0.8 0.8]);
h = ksGUI(f);
if nargout > 0
k = h;
end
end