RemoveCorrSpikes(d,​Fs,sptm,varargin)

removes false-positive neural spikes from a multi channel data matrix via inter-chan correlations
ダウンロード: 62
更新 2016/2/17

ライセンスの表示

% --------[sptm,spam] = RemoveCorrSpikes(d,Fs,sptm,varargin)-------------
% Removes spikes from multichannel data that are highy correlated with
% other channels...usually on order of .85 or so. This technique helps eliminate
% false postivie spikes due to movement artifacts common in all channels.
%
% This code is an interpretation of:
% Paralikar et. al. 2010
%
% >>> INPUTS >>>
% Required:
% d = data matrix. note, if vector, function will end without doing
% anything. Needs to be in COLUMN format
% Fs = sampling rate
% sptm = matrix of spike times in samples. also in column format
% Optional:
% corr_thresh = correlation coefficient threshold for removing spikes.
% Default = 0.8
% spamp = matrix of spike amplitudes...doesn't contribute to the
% function, but if included indexes removed from sptm will also be
% removed from spamp.
% spsnip = matrix of spike snips...doesn't contribute to the function but if
% included indexes removed from sptm will also be removed from spsnip
%
% <<< OUTPUTS <<<
% sptm = spiketimes after eliminating bad spikes...bad spikes will have
% value of 0.
% spamp = spike amps after eliminating bad spikes (OPTIONAL)
% spsnip = matrix of spikesnips after eliminating bad spikes (optional)
%
% By JMS, 11/12/2015
%---------------------------------------------------------------

引用

Jordan Sorokin (2024). RemoveCorrSpikes(d,Fs,sptm,varargin) (https://www.mathworks.com/matlabcentral/fileexchange/55439-removecorrspikes-d-fs-sptm-varargin), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2013a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0