⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 em_load.m

📁 EM分群,matlab程式碼,用來分群用的
💻 M
字号:
function [isi_R, isi_T, T_cens] = EM_load(full_filename)

% -------------------------------------------------
% Load the dataset

dataset = load(full_filename);


% -------------------------------------------------
% Split spike data in regular/truncated isi if necessary

if isnumeric(dataset) % then assume the dataset is a collection of (uncensored) isi
    
    isi_R = dataset;
    
    isi_T = [];
    
    T_cens = Inf;

        
else % if datafile is *.mat, assume it contains spike times cell array TS and trial_length
    

    T_cens = dataset.trial_length;
    
    [isi_R, isi_T] = EM_extract(dataset.TS, T_cens);
            
        
end

N_R = length(isi_R);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -