sha256 stringlengths 64 64 | language stringclasses 27
values | size int32 1 491k | lines int32 1 21.8k | content stringlengths 1 200k |
|---|---|---|---|---|
71eed1649f3eb3a896091c51e70844799df59ed147568cbfe9d9f0dd25338327 | MATLAB | 16,769 | 486 | %% Demo_008 Pooling Utility
% This demo illustrates the use of psignifits automatic pooling utility.
% For this illustration we use the following, not so handy dataset of a
% Quest run with 400 trials:
data =[...
1.3262 1.0000 1.0000;...
0.8534 1.0000 1.0000;...
0.4717 0 1.0000;...
... |
204ee91c73917dbf6d99a2405cc094e0cf0a961f857b826c15b709dffb6f6701 | MATLAB | 17,016 | 442 | %% Enrichr analysis
% @author: speressotti
% November 2024 v1
%%
clc;
close all;
clear all;
close_figs = 0;
Enrichr = 0;
Volcano_plot = 0;
plot_heatmap = 1;
%% colors
red = hexToRGB('#A80925');
grey = hexToRGB('#B8B2B6');
blue = hexToRGB('#156082');
white = hexToRGB('#FFFFFF');
%% Analysis folder
base_folder = '/Us... |
1c21a28c9bc1fb45d9f55adea57a52d9a1d03847879a64b8da3d2eb4c144824a | MATLAB | 17,017 | 365 | classdef fLocSession
properties
name % participant initials or id string
date % session date
trigger % option to trigger scanner (0 = no, 1 = yes)
num_runs % number of runs in experiment
sequence % session fLocSequence object
responses % behavioral ... |
06ed8a8148837ac2280f1c1654a35549fbc4edd4ff37eb7df50d588b096d72f2 | MATLAB | 17,028 | 362 | % -------------------------------------------------------------------------------------------------
% (c) 2025 Leon F. Heffer, David J. Sly, James B. Fallon, Rick Minter, Rebecca C. Felsheim,
% Mathias Dietz and Stephen J. O’Leary.
%
% This file is part of a repository that contains the data originally recorded by He... |
afc2f4d0f849dfed8371562c25e9190ca954ffc6f10805fb564f68abae2bfef6 | MATLAB | 17,067 | 354 | function plot_patterns_multilevel_examples(cfg, MuseStruct)
% set LFP config to read requested patterns
LFP = readLFP(cfg);
for ipart = 1 : size(LFP, 2)
for markername = string(fields(LFP{ipart}))'
try
LFPavg{ipart}.(markername) = ft_timelockanalysis([], LFP{ipart}.(markername));
catch
... |
47112881015fcedc448f46ad4106e330d9b1457be32b5704bd6f1d949cbc72f6 | MATLAB | 17,081 | 524 | function data = TDTfilter(data, epoc, varargin)
%TDTFILTER TDT tank data filter.
% data = TDTfilter(DATA, EPOC, 'parameter', value, ...), where DATA is
% the output of TDTbin2mat or TDT2mat, EPOC is the name of the epoc to
% filter on, and parameter value pairs define the filtering conditions.
%
% If no param... |
810dc9dca2674f84894435059621b2af3d8c19115d84228eae153874ec8062d8 | MATLAB | 17,152 | 388 | function [senseMaps, eigenVal] = nullspace_vectors_G_matrix_3D( ...
kCal, N1, N2, N3, G, patchSize, varargin)
% Function that calculates the nullspace vectors for each G(x) matrix. These
% vectors correspond to sensitivity maps at the x location.
%
% Input parameters:
% --kCal: N1_cal x N2_cal x N3_cal x... |
6fe16c71935c1632475e26e3a6e5850f052ed0cf268a1c658a3b401de659ebd6 | MATLAB | 17,242 | 425 | %% WholeBrainAnalysis.m
% Whole Brain Analysis
%
% It is recommended that users read through the documentation in full
% prior to using this analysis. This applies to each section in the code.
% Sections are to be ran sequentially.
%
% All outputs can be accessed through the struct... |
afc1161b64223fe38c1c3b2d5ed686f1e618cea386d1060f7e41b70ce3edb31a | MATLAB | 17,249 | 354 | function [senseMaps, eigenValues] = PISCO_sensitivity_map_estimation(kCal, dim_sens, varargin)
% Input parameters:
% --kCal: 2D case: N1_cal x N2_cal x Nc block of calibration data, where
% N1_cal and N2_cal are the dimensions of a... |
755e655fb78cd0484a87aa9076436f02bff188bbba16defa4707647773086473 | MATLAB | 17,352 | 402 |
%% SAP stimulation analysis
% @author: speressotti
%%
clc;
close all;
clear all;
%% Analysis folder
analysis_folder = '/Users/sofiaperessotti/Library/CloudStorage/OneDrive-ImperialCollegeLondon/PhD_project/Cell_Experiments/SAP_stim/IF/Analysis';
addpath(genpath(analysis_folder));
%% Root data folder
... |
2257aff0d162fb7ff5d88903bbd7b01fe31606c7bb1264bbe8dc8fe2283e900a | MATLAB | 17,357 | 344 | %% Analysis script for Spike x Sleep x SUA project
%
% (c) Stephen Whitmarsh, stephen.whitmarsh@gmail.com
%
set(0, 'DefaultFigurePosition', [2500 100 1000 1000]);
set(0, 'DefaultFigurePosition', [200 300 1000 500]);
figure()
%% Add path
restoredefaultpath
if isunix
addpath /network/lustre/iss01/charpier/analyse... |
f3462aee8630d265e44692bd8f525bbbeded154d9b4912f56b3872843bc0c80c | MATLAB | 17,451 | 424 | %% making refined figures only
% load('allThreeParamsMap_weightAlphaTheta__NONhomeostatModels.mat')
% load('allThreeParamsMap_weightAlphaTheta__homeostaticModels.mat')
global saveFigures
global savepath
global saveFormats
saveFigures = false;
saveFormats = {'.fig','.png','.svg'};
savepath = './figures/';
% ADJUST HE... |
97308d2f6443be08fcf605c3550bbc3be114a226c2bf16d4feb41a355f682d3d | MATLAB | 17,529 | 464 | %% Enrichr analysis
% @author: speressotti
% November 2024 v1
%%
clc;
close all;
clear all;
close_figs = 0;
Enrichr = 1;
Volcano_plot = 0;
plot_heatmap = 0;
%% colors
red = hexToRGB('#A80925');
grey = hexToRGB('#B8B2B6');
blue = hexToRGB('#156082');
white = hexToRGB('#FFFFFF');
%% Analysis folder
base_folder = '/Us... |
1d3c332f5914debeb0fa25dbaffcc66e94e7c13ab4a75928f5725f52ce115cfc | MATLAB | 17,553 | 345 | function [LFP] = readLFP(cfg, MuseStruct, force)
% READLFP reads data epoched according to markers from MuseStruct.
% Use as
% [LFP] = readLFP(cfg, MuseStruct, force)
%
% Will also mark overlap with hypnogram markers
% Optionally downsample to same samplerate if data contains multiple
% samplerates to allow combinat... |
7b3fe8fc4f8e2483c369d4f1f5741fa97d7c200085b807093151b071a22e7f54 | MATLAB | 17,578 | 442 | %% WholeBrainAnalysis.m
%
% Whole Brain Analysis
%
% It is recommended that users read through the documentation in full
% prior to using this analysis. This applies to each section in the code.
% Sections are to be ran sequentially.
%
% All outputs can be accessed through the stru... |
9153357144bd62848f44cda3718644a15c1e3c93dc0450f52e0d9df9245b2595 | MATLAB | 17,699 | 377 | clear;
% ------ enter .avi file name here -----------------
load('directoryPathForPredictionsTable.csv') % Load prediction Table
predictionsArray(:,1) = table2array(predictions(:,1));
myEyePath = ['folderOfInterest\'];
movieName = dir(myEyePath);
myEyeFile = movieName(4).name;
fullpath_rawEye = [myEyePath myEyeFil... |
da3c476ff4e4c00af0226bad6e97cc9074a485b7b90874bd39f2dc01d065aa5b | MATLAB | 17,830 | 342 | %% Analysis script for Valerio Frazzini's study on electrophysiology of pathoanatomy
%
% (c) Stephen Whitmarsh, stephen.whitmarsh@gmail.com
%
% requires bandpassFilter.m from Mario
% requires releaseDec2015 from Neuralynx website
addpath /network/lustre/iss01/charpier/stephen.whitmarsh/WhitmarshEpilepsy
addpath /netwo... |
aeb5a6cadb686aaad99d9bd0e37bcd96bd97e477df049c804cc91cd0bfe9fc59 | MATLAB | 17,911 | 505 | %
% BDP BrainSuite Diffusion Pipeline
%
% Copyright (C) 2019 The Regents of the University of California and
% the University of Southern California
%
% Created by Chitresh Bhushan, Divya Varadarajan, Justin P. Haldar, Anand A. Joshi,
% David W. Shattuck, and Richard M. Leahy
%
% This program is free sof... |
69b58dcb8bab38d404e6fb8998eb7a3eac58c0e2253f5d1a082b2378befb45c0 | MATLAB | 17,933 | 606 | %version 3.a March17,2024
function Main_process_PFs(nameofdataset,folder,savefolder,pix,excl_pf,VisQ,view_PFs,mode,term_curv)
Max_num_dots=100; %maximum allowed number of points per PF tracing
if isempty(savefolder)
mkdir(strcat(folder,'/Results'));
savefolder=strcat(folder,'/Results');
end
%% LOAD... |
c800b886ab5287418dc7754ef2874f25cf24e5aa128828c97fbe64aa48309db7 | MATLAB | 17,935 | 445 | filedir = '/Users/ryszard/Downloads/etad_files';
cd(filedir)
spmdir = '/Users/ryszard/Documents/spm12_mac/';
addpath(spmdir)
spm('Defaults','EEG')
addpath('/Users/ryszard/Downloads/hannah_elife_matlab_scripts/analysis')
%% some settings:
% some trials show strong linear trends (e.g. increasing amplitude over
% time... |
fa02f26700a4ddf87f0d45eb845a2db726f0bf0e64e0d05744c7b4fbefb150aa | MATLAB | 17,978 | 437 | function WM_EnumWM_CTRL_fMRI(subject, run_group, log_file)
%%% version containing only 1 saliency level
%%% mean trial length = 12secs
% Clear Matlab/Octave window:
clc;
% check for Opengl compatibility, abort otherwise:
AssertOpenGL;
% Check if all needed parameters given:
if nargin < 3
error('Must provide requ... |
1a07091dbcc46d4fcac118cdbb7fabff2fe31bfc49ebd0dac0f9ad9e987bbe41 | MATLAB | 18,001 | 424 | function [stat] = ft_spike_xcorr(cfg, spike)
% FT_SPIKE_XCORR computes the cross-correlation histogram and shift predictor.
%
% Use as
% [stat] = ft_spike_xcorr(cfg, data)
%
% The input SPIKE should be organised as the spike or the raw datatype, obtained from
% FT_SPIKE_MAKETRIALS or FT_PREPROCESSING (in that case, ... |
f2064553b44210191936504d811608eb72933783bc2aa47ec7f803db8b7c8e43 | MATLAB | 18,002 | 437 | function WM_EnumWM_CTRL_fMRI(subject, run_group, log_file)
%%% version containing only 1 saliency level
%%% mean trial length = 12secs
% Clear Matlab/Octave window:
clc;
% check for Opengl compatibility, abort otherwise:
AssertOpenGL;
% Check if all needed parameters given:
if nargin < 3
error('Must provide requ... |
a96c921f8be783f2e2ceb4a5c379fc8dcdfda8860445127b6c6d234aa08b7141 | MATLAB | 18,009 | 599 | function out = zoom(varargin)
%ZOOM Zoom in and out on a 2-D plot.
% ZOOM with no arguments toggles the zoom state.
% ZOOM(FACTOR) zooms the current axis by FACTOR.
% Note that this does not affect the zoom state.
% ZOOM ON turns zoom on for the current figure.
% ZOOM OFF turns zoom off in the c... |
bc90449c48b246b298fe53a1a68b378b4f06cdf357fc7ceec7b3fdad72d75c76 | MATLAB | 18,076 | 307 | function [dict_out, varargout] = GraFT(data_obj, dict_init, corr_kern, params)
% [dict_out, {Sout, extras, n_iter, corr_kern}] = learn_spatially_filtered_dictionary(data_obj, dict_init, corr_kern, params)
%
% Function to learn a dictioanry for spatially ordered/ graph-based data using a
% re-weighted l1 spatial / grap... |
456716894ba017ac2143de17db2031c7fbbb7490efec9bc2ab092965399e6961 | MATLAB | 18,098 | 247 | function [config] = preictal_setparams
disp('setting parameters');
if ismac
error('Platform not supported')
elseif isunix
rootpath_analysis = '/network/lustre/iss01/charpier/analyses/vn_preictal';
rootpath_data = '/network/lustre/iss01/epimicro/patients/raw';
os = 'unix';
else... |
f46185fbe5a3b4f47de7c592bb24a17e603da63cc11b77741c646c67ef91b075 | MATLAB | 18,119 | 553 | function [] = mc_undist(ddir)
%% Read parameters from files
fid = fopen('./prod.par','rb');
% catch problems with old par files
seq=0;
fftscale=1.5e9;
TE = 19;
TR = 2000;
tslc=25;
marl= 0;
marr= 0;
mart= 0;
marb= 0;
marct= 0;
marcb= 0;
%
sLine=fgets(fid);
count=0;
while (sLine>-1)
sLine=fgets(fid);
eq=find... |
cee1b38f6b8f5d50656d239888b8fcd7db186cfe70994580856bec078a1d86f2 | MATLAB | 18,162 | 347 | function [config] = dtx_eegvideo_setparams(config)
% Setting parameters DTX project
%The conversion from Deltamed to '.vhdr' loose infioramtion in the header. Do
%not use the header created by ft_read_header, but the header saved with
%the data (data_header, for each file)
if ispc
addpath \\lexport\iss01.charpier... |
880008fff363ddfa7e512d311dc9803b01ee8ed58012807ab2cae3cafb05fb50 | MATLAB | 18,231 | 556 | function [] = mc_undist(ddir)
%% Read parameters from files
fid = fopen('./prod.par','rb');
% catch problems with old par files
seq=0;
fftscale=1.5e9;
TE = 19;
TR = 2000;
tslc=25;
marl= 0;
marr= 0;
mart= 0;
marb= 0;
marct= 0;
marcb= 0;
%
sLine=fgets(fid);
count=0;
while (sLine>-1)
sLine=fgets(fid);
eq=find... |
ffa7f61f42b46f652961a81e1433b3f5a1952f9c131558e1f49efbd99f9d5f64 | MATLAB | 18,289 | 560 | %
% BDP BrainSuite Diffusion Pipeline
%
% Copyright (C) 2019 The Regents of the University of California and
% the University of Southern California
%
% Created by Chitresh Bhushan, Divya Varadarajan, Justin P. Haldar, Anand A. Joshi,
% David W. Shattuck, and Richard M. Leahy
%
% This program is free sof... |
ec17d4dc0a598289ca0dadbd76241384876e7d6c9c9db15a6350adaa2c56d3b4 | MATLAB | 18,317 | 560 | function [] = mc_undist(ddir)
%% Read parameters from files
fid = fopen('./prod.par','rb');
% catch problems with old par files
seq=0;
fftscale=1.5e9;
TE = 19;
TR = 2000;
tslc=25;
marl= 0;
marr= 0;
mart= 0;
marb= 0;
marct= 0;
marcb= 0;
%
sLine=fgets(fid);
count=0;
while (sLine>-1)
sLine=fgets(fid);
eq=find... |
ba17bac8203e4c75f6bc32e07012e5d780a80ffd427c4d756742daf77e0c236e | MATLAB | 18,441 | 706 | function varargout = spm_prf_review(varargin)
% Review a PRF model. If only one timeseries is included, parameter plots
% are shown. Otherwise, an 3D parameter map is displayed. If the parameter
% map doesn't yet exist, it will be generated.
%
% -------------------------------------------------------------------------
... |
09360060ca5c9fc8e5b82286cb488e89fcf8d600426844c618f8a5eb82eb9ea3 | MATLAB | 18,496 | 454 | function ep_localizer_ts(subjID, run)
%% Version: November 25, 2015
%__________________________________________________________________________
%
% This script will localize theory-of-mind network areas and pain matrix
% areas by contrasting activation during stories in which characters are
% suffering from emotional p... |
ccf3dc6b1c7c27f8b21f82ae61925a7ea0bb15ae2db026f5b421a730ec0791a7 | MATLAB | 18,507 | 455 | function ep_localizer(subjID, run)
%% Version: November 25, 2015
%__________________________________________________________________________
%
% This script will localize theory-of-mind network areas and pain matrix
% areas by contrasting activation during stories in which characters are
% suffering from emotional pain... |
f388e8dca1134df3a4bc6c5d70e005418a59ffed030112cc44bd7eac1ccf11d0 | MATLAB | 18,524 | 621 | function [] = mc_undist_wouter_dante3(edir,fileName)
dd=dir([edir '*_msk*.nii']);
path_mask=[edir dd(1).name];
V_mask=spm_vol(path_mask);
mask=spm_read_vols(V_mask);
mask=smooth3(mask,'gauss',7);
mask=(mask>0.1*max(mask(:)));
% % pos=strfind(path_mask,'_');
dd2=dir([edir fileName]);
path_epi=[edir dd2(1).nam... |
601967228d4cb65d02fabcb72b8d919a92634a240aee868fa247a2a3477f7aa2 | MATLAB | 18,552 | 283 | function [micromed_markers] = synchronize_micromed_neuralynx(cfg)
fname_output = fullfile(cfg.datasavedir,'markers_sync_stim.mat');
if exist(fname_output,'file') && cfg.force == false
load(fname_output,'micromed_markers');
else
feature('DefaultCharacterSet', 'UTF8') %# for all Character support, or 'CP1252'
... |
63e73f92bad1bc1d1bb6d429ef85beff867cae0698475c8818b6beeed6a73e57 | MATLAB | 18,641 | 431 | function [lfps, fs, trial_type, trial_index_extracted, class] = load_lfps(data_directory, command_line, trial_file, time_interval, alpha_plex, electrode, pass_band, remove_mean)
% LOAD LFPS: Load lfp data for each trial.
% class output added by JK 2020-12-25
%
% Input:
% data_directory = the data directory wher... |
3d89d0933fddb6c7921f063bf7a9911d510598e4887d5bf7abb8f9dd1a9f7191 | MATLAB | 18,659 | 396 | function plot_patterns_multilevel_examples2(cfg)
cfg.plot.reref = ft_getopt(cfg.plot, 'reref', 'no');
cfg.plot.refmethod = ft_getopt(cfg.plot, 'refmethod', 'bipolar');
cfg.plot.postfix = ft_getopt(cfg.plot, 'postfix', []);
cfg.spike.name = cfg.plot.name;
cfg.LFP.name = cfg.plot.name;
cfg.TFR.name ... |
991c629d2426ce6e56f6915239e723cd85d93e8fc3b175d0992d6978460e21cf | MATLAB | 18,664 | 371 | %% Import data from text file
pupilRecorded = 0; % Enter 1 to plot and 0 to skip plotting
txtfileFullName = ['.txt']; % Enter text file location
fileFullName = ['.mat']; % Enter Matlab file location
encoderLocation = ['_encData']; % Enter location of folder containing trial files
OutputSaveLocation = ['\dataStruct.ma... |
d3cee75b95bdd1fb20495d0f57785e6562c2d268c2691e6d1198b73a4e3d7bd1 | MATLAB | 18,700 | 479 | function [] = fig_SAP(results_folder, results_to_plot, biom_1, biom_2, biom_set_folder, cat_disp,label, plotname,p,h,p_3d, h_3d,lme, coloc)
no_ctrl_bar = 0;
AB = 1;
if ~isempty(results_to_plot)
if ~all(isnan(results_to_plot(:,1:2)), 'all')
close_figs = 0;
ns = 1;
rem_outliers = 0;
... |
231e7e859edc21d6fa22e0b5ef2e27a993f4336261ceb00debedfd72535c9c9c | MATLAB | 18,718 | 565 | function [status,p]=nt_index(name,p,forceUpdate)
%[status,p]=nt_index(name,p,forceUpdate) - index data files & directories
%
% status: 1: needed indexing, 0: didn't, -1: failed
% p: parameter structure
%
% name: name(s) of file(s) or directory to index
% p: parameters
% forceUpdate: if true force indexing [default... |
66c9bfbafcb803b0a2d9ac4cb43ed48c721065c9d9160322566f5f845920d506 | MATLAB | 18,837 | 359 | function [SpikeTrials] = readSpikeTrials_MuseMarkers(cfg, MuseStruct, SpikeRaw, force)
% [SpikeTrials] = readSpikeTrials_MuseMarkers(cfg, MuseStruct, SpikeRaw, force)
% Make a Fieldtrip spike trials structure based on a Fieldtrip raw spike
% structure and on timings defined by Muse Markers.
% Trials separated between ... |
d6d559c3f12fb7b5f3287c391b27daff68b5234d40742dd659c3f84aee5f4f28 | MATLAB | 18,841 | 469 | function [MuseStruct, Tindx_unique, LFP_avg] = detectTemplate(cfg, MuseStruct, template, force)
% DETECTEMPLATE detect templates using normalized crosscorrelation.
% Compares templates, and writes markers of most fitting template to Muse
% event file.
%
% use as
% [MuseStruct, C_norm, Tindx_unique, LFP_avg] = detec... |
c488bbebb867c869c2fd26c1043437c17fac552d68b42726a1957dd5e7eb90b7 | MATLAB | 18,895 | 630 | function [] = mc_undist_wouter_dante3(edir,fileName)
dd=dir([edir '*_msk*.nii']);
path_mask=[edir dd(1).name];
V_mask=spm_vol(path_mask);
mask=spm_read_vols(V_mask);
mask=smooth3(mask,'gauss',7);
mask=(mask>0.1*max(mask(:)));
% add black lign with 1 to fit the correct matrix size
if size(mask,1)>size(mask,2)
... |
eda53c11b8ec03ff84df4bca4356daf9a2b0ce60f754bcba650bcf0712cdd5c0 | MATLAB | 18,954 | 365 | function [SpikeTrials] = readSpikeTrials_MuseMarkers(cfg, MuseStruct, SpikeRaw, force)
% [SpikeTrials] = readSpikeTrials_MuseMarkers(cfg, MuseStruct, SpikeRaw, force)
% Make a Fieldtrip spike trials structure based on a Fieldtrip raw spike
% structure and on timings defined by Muse Markers.
% Trials separated between ... |
6939d724f5aae1672febe2efbfd91ad47169ffe641d09070185ef25c61acbacc | MATLAB | 18,959 | 505 | %% DTI-based structural connectivity: LME + cognition + plots
% This script:
% 1) Loads subject-wise DTI network matrices (14x14) for patients & controls at T0/T1
% 2) Extracts upper-triangle edges (91 edges)
% 3) Runs linear mixed-effects models:
% Var1 ~ Age + Sex + Group*Time + (1|ID)
% 4) Optional... |
5bf858b14dee72021a463a297a050967d643c2e714add2be454b3a1421fc0ef5 | MATLAB | 18,962 | 520 | % Code to analyze single-molecule diffusion of PIEZO proteins from Abberior Instruments 3D MINFLUX localizations
% Data is acquired using a 3D tracking targeting sequence
% Written by Eric Mulhall
% Instructions:
% First, export valid final localizations from the MINFLUX Imspector interface as .mat files
% Impor... |
0c43a99742e43b7156d7ab62e7b4a03cd0b6fad28541eda3ac8c8ba511815c93 | MATLAB | 18,966 | 489 | %Scripts for re-creating Figs 1-5 of manuscript
% Simulations for sustained stimulus; transient stimulus are in another script
%Each script recreates figures in manuscript; data saved
%common functions near bottom of page.
%**NOTE: highlight segment you wish to run and push "Run Selection" in Editor tab; if you push... |
1da93ef6763edb2a36de0efb7e1231a25dce1066ba84eb4aabde76346a2b7fc6 | MATLAB | 18,974 | 526 | function W = constructW(fea,options)
% Usage:
% W = constructW(fea,options)
%
% fea: Rows of vectors of data points. Each row is x_i
% options: Struct value in Matlab. The fields in options that can be set:
%
% NeighborMode - Indicates how to construct the graph. Choices
% ... |
ca90bbe81d709c831e32f0bc206de72ac288c3ddf80f4ccb7e24be37590a6343 | MATLAB | 18,995 | 580 | function [savedFileName] = save_nii_wrapper( niiData, fileName, datatype )
%SAVE_NII_WRAPPER Same as save_nii, but with following added features:
% - Returns the saved file name with full path
% - adds a parameter 'datatype' for changing the NIFTI datatype
% - Fixed the min, max field in nifti header
% __________... |
454adb84d3d7066b70fc611e6cc7ddb8bb72bbce7cc6dcea3c52a19c40ca0e8c | MATLAB | 19,008 | 300 | function [dat_micro, dat_macro] = readLFP(cfg,MuseStruct_micro,MuseStruct_macro,force,savedat)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% function [dat_micro, dat_macro] = readLFP(cfg,MuseStruct_micro,MuseStruct_macro,force,savedat)
%
% Reads data from macro and micro electrodes, ep... |
5856dc4184f768190f834dd7c39fa893ff6c457e81ad25ed0fead526ef858912 | MATLAB | 19,091 | 537 | function [ savedFileName] = save_untouch_nii_wrapper( niiData, fileName, datatype )
% SAVE_UNTOUCH_NII_WRAPPER Same as save_untouch_nii, but with following
% added features:
% - Returns the saved file name with full path
% - adds a parameter 'datatype' for changing the NIFTI datatype
%
% ___________________________... |
80561d533ade09f603086b753a583c75d4fd088dff5feb58e1e35b6b439d2518 | MATLAB | 19,101 | 536 | function akZoom(handles, mButtons_ZoomPanReset)
% allows direct zooming and panning with the mouse in 2D plots.
%
% Default mouse button functions (can be customized, see below):
% Scroll wheel: zoom in/out
% Left Mouse Button: select an ROI rectangle to zoom in
% Middle Mouse Button: pan view
% Right... |
8613e33cd296dfa1c5d737a6f501b0e23b6ed302b4ba18f590a0eea2f8e98dcd | MATLAB | 19,152 | 660 | %% main script to analyze rate remapping
% discrimination sessions
workdir_d = ["F:\Included miniscope Mice\M119\TrainingD11\" "F:\Included miniscope Mice\M120\TrainingD11\" "F:\Included miniscope Mice\M292\TrainingD6\" "F:\Included miniscope Mice\M319\TrainingD7\" "D:\Grouping First\M231\TrainingD9\" "D:\Groupi... |
0054ceec9e5ac610a7e795c862a1642cfa3107aa3b16846688b5fad4cbed3b0d | MATLAB | 19,206 | 371 | function [SpikeTrials] = readSpikeTrials_MuseMarkers(cfg, MuseStruct, SpikeRaw, force)
% [SpikeTrials] = readSpikeTrials_MuseMarkers(cfg, MuseStruct, SpikeRaw, force)
% Make a Fieldtrip spike trials structure based on a Fieldtrip raw spike
% structure and on timings defined by Muse Markers.
% Trials separated between ... |
a544e2e4016f31e02225ccda4fcd13b2479a11a380af54d9ca6c498e2ba9da35 | MATLAB | 19,234 | 580 | function [savedFileName] = save_nii_wrapper( niiData, fileName, datatype )
%SAVE_NII_WRAPPER Same as save_nii, but with following added features:
% - Returns the saved file name with full path
% - adds a parameter 'datatype' for changing the NIFTI datatype
% - Fixed the min, max field in nifti header
% __________... |
1bc3a39db13869b84120f4d90d14e0d6e9140a18ba1bdfe4033ba9db5436ac02 | MATLAB | 19,279 | 572 | function [] = fig_VMstim(results_folder, results_to_plot, biom_1, biom_2, cat_disp,label, plotname,p,padj,h,coloc, allData, lme)
%% setup
close_figs = 0;
AB=0;
norm_to_zero = 1;
no_carrier = 0;
rem_outliers = 0;
box_plot = 0;
mixed_barplot = 1;
no_ctrl_bar = 0; % only for mixed model
estim_means = 1;
norm_perc = 1;
i... |
8472c15c9d87f422e67eb85f974ad31a783706070c9d0a27f0095dfb4e68c88e | MATLAB | 19,287 | 448 | function findPattern(cfg, dat_micro, dat_macro, force)
fname = fullfile(cfg.datasavedir,[cfg.prefix,'patterns_found.mat']);
if exist(fname,'file') && force == false
fprintf('*******************************\n');
fprintf('** Loading results alignment **\n');
fprintf('*******************************\n\n');
... |
03d1acbe969b3168ca4dbcc668d1da9bffb26408c4e4a65a2d7108f7df7aa6c8 | MATLAB | 19,294 | 459 |
function BFP_outfile = func_preproc(BFPPATH,t1,fmri,func_dir,TR,config)
% SCRIPT TO PREPROCESS THE FUNCTIONAL SCAN
% authors: ajoshi and choisoyo at USC
% for more information go to http://brainsuite.org/bfp/
% this script has been modified from www.nitrc.org/projects/fcon_1000
%% set up parameters and directorie... |
f24531270aecdec8f1404363c49eb672d4a2b7265ed2c5465289565a88227a23 | MATLAB | 19,365 | 492 | function [] = plot_stats_SAP(results_folder, biom_1, biom_2, biom_set_folder, cat_disp, particles_no_tot, exp_abs_tot, coloc_tot, ratio_tot, pear_tot, MCC_tot, coloc)
%% remove nans from raw data
% particles_no_tot = remove_nans(particles_no_tot);
% exp_abs_tot = remove_nans(exp_abs_tot);
% coloc_tot = remove_nans(col... |
c959c26611c2b137d17029d9602edd568fcd499e95d592903fb084c4af7bc286 | MATLAB | 19,465 | 655 | function hIm = imdisp(I, varargin)
%IMDISP Display one or more images nicely
%
% Examples:
% imdisp
% imdisp(I)
% imdisp(I, map)
% imdisp(I, lims)
% imdisp(I, map, lims)
% imdisp(..., param1, value1, param2, value2, ...)
% h = imdisp(...)
%
% This function displays one or more images nicely. ... |
8efe2329078dff602547322747921fde92f71ac5dceef8587e9f92033070b08e | MATLAB | 19,523 | 454 | function [] = realdata_niv()
% Script to perform analysis of Niv et al. 2012.
% ---------------------------------------------------------------------
% Copyright (C) 2024 Simon R. Steinkamp
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General... |
f2ba9f146c3080bbf6ca0437e5e879aab6b57ddb9492a71c2a339f60261172d3 | MATLAB | 19,593 | 464 | function findPattern(cfg, dat_in, force)
fname = fullfile(cfg.datasavedir,[cfg.prefix,'patterns_found.mat']);
if exist(fname,'file') && force == false
fprintf('*******************************\n');
fprintf('** Loading results alignment **\n');
fprintf('*******************************\n\n');
load(fullfil... |
21f0451e09c9a52e1d9e088b64c08c64b0057a4c121fff0ee10d058fd19f7044 | MATLAB | 19,707 | 499 | function Enum_EnumWM_CTRL_fMRI(subject, run_group, log_file)
%%% version containing only 1 saliency level
%%% mean trial length = 12secs
% Disable Matlab short-circuit evaluation in Octave
do_braindead_shortcircuit_evaluation (0)
% Clear Matlab/Octave window:
clc;
% check for Opengl compatibility, abort otherwise:
A... |
bb829bb8a4686c1372bd21bfad3773179cd69566b7b5e7de7f0422b40a93ea50 | MATLAB | 19,709 | 499 | function Enum_EnumWM_CTRL_fMRI(subject, run_group, log_file)
%%% version containing only 1 saliency level
%%% mean trial length = 12secs
% Disable Matlab short-circuit evaluation in Octave
do_braindead_shortcircuit_evaluation (0)
% Clear Matlab/Octave window:
clc;
% check for Opengl compatibility, abort otherwise:
A... |
f8347c3d46c72388e716a70f5bb61353c9aefd3840cf0482419c6cdea335db61 | MATLAB | 19,713 | 501 | %% ==================== Figure 2 (Locust) ====================
clear all; close all; clc;
% Load data
load('data2_locust_PN66.mat');
%% Fig2a: Heat Map
smooth = 10;
nTrace = 5;
colorMapON = ColorScheme(1)';
colorMapOFF = ColorScheme(1)';
for oo = 8%1:length(odors)
tempData = eval(odors{oo});
... |
23216ea4ddd0116fc527e7c6eb6fabdd4d5cf42012b01b4f7885cfb17bc8197a | MATLAB | 19,743 | 705 | % USING MIMT TO REPLICATE FX FOUNDRY SCRIPTS & OTHER GIMP STUFF
% This is more or less just a demonstration of equivalent methods in MIMT.
% That, and i think that it's more helpful to have these processes demonstrated
% in the open than it is to have a bunch of inflexible niche-use plugins.
% original FXF scripts c... |
a54e769a40cdb3c83bc80ee6fb1d3bff344610f7d3654a405d928fa2d2ce0e6f | MATLAB | 19,744 | 542 | function plotdata_stim(cfg,dat_stim, micromed_markers)
% select channels for plotting
i50 = 1;
i1 = 1;
clear dat_50* dat_1*
markers_50hz = micromed_markers(micromed_markers.Frequency == 50,:);
markers_1hz = micromed_markers(micromed_markers.Frequency == 1,:);
dat_50hz = ft_appenddata([],dat_stim{find(micr... |
7a9c5fa64452dd1a7f15ab23cce585707e58285c14ef964db7a96a51daff388e | MATLAB | 19,776 | 663 | function getTrajectory( filename, varargin )
% function getTrajectory( filename, varargin )
% This function reads in a filename of a trajectory file and outputs the
% polynomial fit movements for those trials
% Flags may be passed to override default values, flags are defined below
% and are separated from their v... |
a09217458f9d27433613becf73bda4ca4340bf4b906a5dd37443f91ca3e73213 | MATLAB | 19,886 | 446 | function [dictionary_end, coef_vals] = learn_dictionary(varargin)
% function [dictionary_end] = learn_dictionary(varargin)
%
% This function learns a dictionary optimal for sparse coding according to
% the unsupervised, statistical method from Olshausen & Field 1996:
%
% for num_iterations
% x = argmin ||y-Ax||^2... |
883aedb24a77307c5458e2cf2ccef832a42731d8076143672a66b274870312b3 | MATLAB | 19,937 | 411 | %% FP_ForcedAlt.m
%
% Fiber Photometry Analysis - Forced Alternation
%
% It is recommended that users read through the documentation in full
% prior to using this analysis. This applies to each section in the code
%
% All outputs are accessed through the structure element "FP" in... |
56401396624a4f1ce5b13e1ff351a4ce56686c6f86bdeb5aa7994c12f50c47bb | MATLAB | 20,070 | 431 | function extract_beta_modulation()
% EXTRACT_BETA_MODULATION
%
% Computes movement-related beta ERD/ERS and modulation depth from single-trial
% Laplacian-filtered EEG using a Morlet wavelet time–frequency analysis.
% Outputs single-trial and trial-averaged measures for left, right and frontal
% ROIs as .csv tables.
%
... |
68c215757b839cbd222fdd4f48c4f8d0e14a1ff3f01c64b987aba6fc79e053db | MATLAB | 20,108 | 370 | function T = Table2(cfg, force)
set(groot,'defaultAxesTickLabelInterpreter','none');
hyplabels = ["REM", "AWAKE", "PHASE_1", "PHASE_2", "PHASE_3"];
fname_out = fullfile(cfg{1}.datasavedir, 'stats_unit_behaviour.mat');
%% load data
if force == false && exist(fname_out, 'file')
load(fname_out, 'dat_avg');
... |
0162d3ac1561aafc135f6dc15e81fc25e276dc9cadee5834abf5d2eae2e47b01 | MATLAB | 20,187 | 406 | % Plot_arm_errors_jrr_tyr_delay.m
clc; clear;
%which_monk = 'tyr'; monk_initial = ' T';
%which_monk = 'jrr'; monk_initial = ' J';
which_monk = 'jrr_tyr'; monk_initial = 's J & T';
%acc_file = sprintf('%s_delay_errors_sac_uni_BT_BA.mat',which_monk);
suc_fail_sum_file = sprintf('%s_delay_suc_fails_sac_uni_BT_BA.mat',whi... |
87f96c3e9c2625a6187d1fe724e797cd72ac37626eac2689bcb77eceed4f6c42 | MATLAB | 20,189 | 284 | function [config] = preictal_setparams
disp('setting parameters');
if ismac
error('Platform not supported')
elseif isunix
rootpath_analysis = '/network/lustre/iss01/charpier/analyses/vn_preictal';
rootpath_data = '/network/lustre/iss01/epimicro/patients/raw';
os = 'unix';
else... |
62138edeb1001311b6a19436feee8222f8db9511c899548653d1a55003c5b1a1 | MATLAB | 20,192 | 605 | function [] = mc_undist(ddir)
%% Read parameters from files
fid = fopen('./prod.par','rb');
% catch problems with old par files
seq=0;
fftscale=1.5e9;
TE = 19;
TR = 2000;
tslc=25;
marl= 0;
marr= 0;
mart= 0;
marb= 0;
marct= 0;
marcb= 0;
%
sLine=fgets(fid);
count=0;
while (sLine>-1)
sLine=fgets(fid);
eq=find... |
a3ff872af4ccf5df525ce6aa9fc00ea25670aa9534fa9c72aaf834d6b98779a7 | MATLAB | 20,240 | 573 | function [ savedFileName ] = save_untouch_nii_gz(niiData, fileName, datatype, workdir)
% Saves compressed GNU zip NIfTI-1 files.
% WARNING: This function 'silently' overwrites the destination filename.
%
% niiData: nii structure
% fileName: Destination filename, with/without '.nii' or '.nii.gz'.
% Use [... |
3d3260c765fa77cfbaf36bcba2275348dc1667a3753f988e63702315eeee6c9e | MATLAB | 20,343 | 503 | function [fileNameTSVGZ,fileNameJSON] = natview_eye_edf2bids(fileNameSET,fileNameEDF,outputDir)
%% PURPOSE: This script converts EyeLink EDF files into the BIDS format
%
% Eye tracking data collected with EyeLink 1000 Plus is saved in
% the EDF format. Before conversion to BIDS format, this function... |
3562617224cf86273158bc7c7e85ceeeb556b4f220e1efa7bf7d072c080459d9 | MATLAB | 20,377 | 344 | function [stats] = spikeTrialStats(cfg, SpikeTrials, force)
% SPIKERATESTATSEVENTS calculates and plots spike statistics
%
% use as
% [stats] = spikeTrialStats(cfg, SpikeTrials, force, postfix)
%
% This file is part of EpiCode, see
% http://www.github.com/stephenwhitmarsh/EpiCode for documentation and details.
%
% ... |
7479d247b19b61a9d6f37cd59bf50a76126513ae076e37ed6bd75255f4a9d7f9 | MATLAB | 20,448 | 629 | function [final_feature_output, subdiv_index, merged_sz_duration] = spont_evok_plot_func_fig3C(merged_output_array,merged_sz_parameters,seizure_duration_list,directory,subFolders)
% On-Demand Seizures Facilitate Rapid Screening of Therapeutics for Epilepsy
% Authors: Yuzhang Chen, Brian Litt, Flavia Vitale, Hajime Tak... |
59efce8f317e51d417ed3f4d78cf5a8269b01667011a812ff23fe7b13e6d1682 | MATLAB | 20,454 | 421 |
%% Setting parameters DTX project Paul Baudin
function [config] = dtx_patients_lgi1_setparams(config)
disp('setting parameters for LGI1 patients');
if ismac
error('Platform not supported')
elseif isunix
rootpath_analysis = '/network/lustre/iss01/charpier/analyses/lgi1/DTX-Patients_LGI1';
rootpath_data... |
8c21936f3f649647404b2f3c569ddaff13a567ed442b32c1c5c0a58ca384e915 | MATLAB | 20,974 | 358 | function [MuseStruct_micro_aligned,MuseStruct_macro_aligned] = alignMuseMarkers(cfg, MuseStruct_micro, MuseStruct_macro, force)
fname = fullfile(cfg.datasavedir,[cfg.prefix,'MuseStruct_micro_aligned.mat']);
if exist(fname,'file') && force == false
fprintf('*******************************\n');
fprintf('** Loadi... |
0b4782a5fe7d18a73b8f55c42343cf363efc450b6a88124582accec29945b929 | MATLAB | 21,012 | 532 | function [M_world, ref_loc, x_param] = register_files_affine(moving_filename, static_filename, output_filename, opts)
% Affine registration inteface for nifti files. This function uses nifti headers information.
%
% Outputs:
% M_world - Estimated 4x4 affine transformation matrix for the registration
% ref_loc - C... |
a7d16e8eeff31d29a5467ff3556ac68d0097152fa855ace0e21123eed39b551f | MATLAB | 21,165 | 520 | function [dictionary_end] = learn_dictionary(varargin)
% function [dictionary_end] = learn_dictionary(varargin)
%
% This function learns a dictionary optimal for sparse coding according to
% the unsupervised, statistical method from Olshausen & Field 1996:
%
% for num_iterations
% x = argmin ||y-Ax||^2 + lambda*|... |
2344835d8f45ac90c1e611609d4f8f041754fb3ab59468da2148ca621f022350 | MATLAB | 21,183 | 425 | function [SpikeRaw, SpikeTrials] = readSpykingCircus_allmarkers3(cfg,MuseStruct)
addpath /network/lustre/iss01/charpier/stephen.whitmarsh/WhitmarshEpilepsy
addpath /network/lustre/iss01/charpier/stephen.whitmarsh/fieldtrip/
addpath /network/lustre/iss01/charpier/stephen.whitmarsh/WhitmarshEpilepsy/mlib6/
ft_defaults
... |
4710b338d43b79435db3e267bbb45cab60a236fd26521df5aa4f4af4cacad1d1 | MATLAB | 21,211 | 517 | function plotMuseMarkers(MuseStruct)
%% append markers over files (converted to clocktime)
addpath /Users/stephen.whitmarsh/WhitmarshEpilepsy/
addpath /Users/stephen.whitmarsh/fieldtrip/
ft_defaults
patient_directory = '/Users/stephen.whitmarsh';
patient_directory = '/Volumes/epimicro/Donnees-analyses/S... |
8026a4dbd7db9fbbc5a1a0c869602a52ebfb36af4447db31e73671a9da21b10e | MATLAB | 21,224 | 369 | function [MuseStruct_micro_aligned,MuseStruct_macro_aligned] = alignMuseMarkers_macro(cfg, MuseStruct_micro, MuseStruct_macro, force)
fname = fullfile(cfg.datasavedir,[cfg.prefix,'MuseStruct_micro_aligned.mat']);
if exist(fname,'file') && force == false
fprintf('*******************************\n');
fprintf('**... |
f01445b4f60863a89d7f5f84d043b363fd3415d578fd252e424d6b88e3c8d954 | MATLAB | 21,237 | 645 | function [final_feature_output, subdiv_index, merged_sz_duration] = naiv_ep_plot_func_fig4D(merged_output_array,merged_sz_parameters,seizure_duration_list,directory,subFolders,day_st,day_end)
% On-Demand Seizures Facilitate Rapid Screening of Therapeutics for Epilepsy
% Authors: Yuzhang Chen, Brian Litt, Flavia Vitale... |
cb7882ab391e5bf0790530302ef25c9c1a84d698a6059e0400d7a93f6e5200e8 | MATLAB | 21,442 | 408 | function exportHypnogram(cfg)
% EXPORT_HYPNOGRAM searches through patient directly, finds hypnogram files and
% NeuraLynx directories that overlap with hypnogram files, aligns MicroMed
% with NeuraLynx data, and writes new Events.mrk files for Muse in all
% NeuraLynx directories that contain hypnogram data.
%
% Use as... |
adf1cb7d71558854080947b0ba2ec1d091ebacc256102634be7f021ac9241585 | MATLAB | 21,445 | 368 | function [MuseStruct_micro_aligned,MuseStruct_macro_aligned] = alignMuseMarkers_macro(cfg, MuseStruct_micro, MuseStruct_macro, force)
fname = fullfile(cfg.datasavedir,[cfg.prefix,'MuseStruct_micro_aligned.mat']);
if exist(fname,'file') && force == false
fprintf('*******************************\n');
fprintf('**... |
1c2842d839ddd7565f4f0d5460658395340ccfc339c3dc3b319642eb052dbb48 | MATLAB | 21,638 | 756 | function varargout = cpm_prf_review(varargin)
% Review a PRF model. If only one timeseries is included, parameter plots
% are shown. Otherwise, an 3D parameter map is displayed. If the parameter
% map doesn't yet exist, it will be generated.
%
% ------------------------------------------------------... |
e8a6f38eb50c13eced47c2d796234ce1febd48b84ff51dec8083d095454888e1 | MATLAB | 21,680 | 639 | function [] = mc_undist(ddir)
%% Read parameters from files
disp('-- using local copy --')
fid = fopen('./prod.par','rb');
% catch problems with old par files
seq=0;
fftscale=1.5e9;
TE = 19;
TR = 2000;
tslc=25;
marl= 0;
marr= 0;
mart= 0;
marb= 0;
marct= 0;
marcb= 0;
%
sLine=fgets(fid);
count=0;
while (sLine>-1)
... |
4a039ea040c1a433396fc65ee773f145db4329d8424f21b7137c7de862f3474c | MATLAB | 21,733 | 672 | function [M, x, Ireg] = register_volumes_affine(Imoving, Istatic, mask_moving, mask_static, im_res, opts)
% im_res is isotropic voxel resolution in mm. All images are assumed to be (re)sampled on
% isotropic grid. See defaultoptions below for all options.
% Process inputs & sanity checks
defaultoptions = struct(...
... |
31c8976e992301cd32c4c4102db1f8984e2fd2a4814640e69b652fb66590503b | MATLAB | 21,740 | 500 |
function [stats] = spikeratestatsSleepStage(cfg, SpikeRaw, SpikeTrials, Hypnogram, force)
% SPIKERATESTATSEVENTS calculates and plots spike statistics
%
% use as
% spikeratestatsEvents(cfg,SpikeRaw,SpikeTrials,force,varargin)
% This file is part of EpiCode, see
% http://www.github.com/stephenwhitmarsh/EpiCode for ... |
0934c97adcc2e20388a76feb7286770af5016609e29809c31f106e981daf7d3b | MATLAB | 21,746 | 524 | function [config] = Figure_templates
restoredefaultpath
if isunix
addpath /network/lustre/iss01/charpier/analyses/stephen.whitmarsh/git/fieldtrip
addpath /network/lustre/iss01/charpier/analyses/stephen.whitmarsh/EpiCode/projects/hspike/
addpath /network/lustre/iss01/charpier/analyses/stephen.whitmarsh/EpiC... |
4fdb4db7560a87a392fe95cebfad8c76f272b3cc724f8606eacbe6b02ef8ebd6 | MATLAB | 21,759 | 402 | function [SpikeTrials] = readSpikeTrials(cfg, MuseStruct, SpikeRaw, force)
% [SpikeTrials] = readSpikeTrials_MuseMarkers(cfg, MuseStruct, SpikeRaw, force)
% Make a Fieldtrip spike trials structure based on a Fieldtrip raw spike
% structure and on timings defined by Muse Markers.
% Trials separated between 2 files (ie ... |
3181c4af23b0f67f1e12de0202ee913913a7db27c62dffb12346fe667ae06ef2 | MATLAB | 21,781 | 436 | function [SpikeRaw, SpikeTrials] = readSpykingCircus_allmarkers(cfg,MuseStruct)
addpath /network/lustre/iss01/charpier/stephen.whitmarsh/WhitmarshEpilepsy
addpath /network/lustre/iss01/charpier/stephen.whitmarsh/fieldtrip/
addpath /network/lustre/iss01/charpier/stephen.whitmarsh/WhitmarshEpilepsy/mlib6/
ft_defaults
f... |
3a1525e9805e09ebe4b4d2c11114da1b3e64193ad149f82232fc498233111dea | MATLAB | 21,781 | 423 | function export_hypnogram(cfg)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% function export_hypnogram(cfg)
%
% Searches through patient directly, finds hypnogram files, finds those
% NeuraLynx directories that overlap with hypnogram files, aligns MicroMed
% with NeuraLynx data, and wri... |
60b908cc283323f7a7fb63fe438f46d06416df6792fd58825a34ee1e63f9ec67 | MATLAB | 21,804 | 444 | function [LFP] = readLFP(cfg, MuseStruct, force)
% READLFP reads data epoched according to markers from MuseStruct.
% Use as
% [LFP] = readLFP(cfg, MuseStruct, force)
%
% Will also mark overlap with hypnogram markers
% Optionally downsample to same samplerate if data contains multiple
% samplerates to allow combinat... |
f660f2c1efe31396b78db001958ed6762008e53eae7864f354b9b8f2617bd892 | MATLAB | 21,833 | 431 | function [SpikeRaw, SpikeTrials] = readSpykingCircus_allmarkers(cfg,MuseStruct)
addpath /network/lustre/iss01/charpier/stephen.whitmarsh/WhitmarshEpilepsy
addpath /network/lustre/iss01/charpier/stephen.whitmarsh/fieldtrip/
addpath /network/lustre/iss01/charpier/stephen.whitmarsh/WhitmarshEpilepsy/mlib6/
ft_defaults
f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.