GetSpikes - Get spike timestamps. NOTE This function is provided for convenience. It simply calls <a href="matlab:help GetSpikeTimes">GetSpikeTimes</a> using the same parameters. See this function for details.
0001 function spikes = GetSpikes(units,varargin) 0002 0003 %GetSpikes - Get spike timestamps. 0004 % 0005 % NOTE 0006 % 0007 % This function is provided for convenience. It simply calls <a href="matlab:help GetSpikeTimes">GetSpikeTimes</a> 0008 % using the same parameters. See this function for details. 0009 0010 0011 % Copyright (C) 2004-2017 by Michaƫl Zugaro 0012 % 0013 % This program is free software; you can redistribute it and/or modify 0014 % it under the terms of the GNU General Public License as published by 0015 % the Free Software Foundation; either version 3 of the License, or 0016 % (at your option) any later version. 0017 0018 if nargin == 0, units = 'all'; end 0019 spikes = GetSpikeTimes(units,varargin{:});