sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
6c388407eeae258a4aff4f3db095b49bb6a80eb912870234003c817788380bf1 | MATLAB | 40,043 | 886 | % pipeline_corr_fluor.m
% Sarah West
% 10/24/23
% Runs correlations between results of PLSR on fluorescece and PLSR on correlaions
% per node. Is to validate if average node correlation is dependent on node
% fluorescence.
% Updated 10/24/23 for the "specials" and "other pairs" comparisons
%% Initial Setup
% Put al... |
209b57fe1e5a6da98a615466bcb31ec06f697d0512d88c70eb9c4aa63bc609a7 | MATLAB | 40,288 | 914 | %This is the script for analyzing the variable-CS inhibtion data
%{
Design:
32 trials per session, 32 reinforcers per session.
ITI = mean of 20s with exponential distribution.
CS duration either 30 or 60.
Reinforcer delivery = exponential distributed w mean = 20s.
Pellets delivered only in the ITI for expe... |
db8239511b49775aac820ffd319d77e3ee9650b87a536b822af7895f150bf0a9 | MATLAB | 40,849 | 1,253 |
%% ACCELERATION VS DFOF
%% load FOVs
load('allFolders');
folders = folders_audio_NEW_learned;
%% spatial bins
clearvars -except folders;
distanceFrame = 20; % 20cm before and after reward
binWidthPreferred = 2;
meanFiringRate_spatial = cell( 1, 4 ); % dfof - speed - acceleration - reward
f... |
756f8473c727318db6e978cfb2eb8b857c0df58fd0d535088742405690b3f7c4 | MATLAB | 40,906 | 957 | %This is the script for analyzing the 6th and final experiment in the
%sequence of experiments on the acquisition of an inhibitory CS.
%% Creating an Experiment structure
ExpName='/Users/galliste/Dropbox/InhibitoryExperiments_All/ExperimentStructures/InhibExper6_background';
TSinitexperiment(ExpName,1007,101:132,'R... |
406fd79c4de1ba708df7707ea88aeb99b365ee6e11fef94a1764dbf329b8024f | MATLAB | 40,943 | 972 |
function RokJ_spikingModel()
% Function saves filtered ipsi and kontra signals and determines times at
% which a signal crosses a threshold. It also saves ISI intervals (time
% intervals between crossings bigger than some refractory period).
% Author: Aleš Škorjanc
% The female song is transduced to the pl... |
1ff5ced749bb83f0518ecc1f3f8a2c7a8e4a77f374e89b4b644ef29ceea2e3d0 | MATLAB | 40,993 | 1,304 | % AUTHORSHIP
% Primary Developer: Stephen Meehan <swmeehan@stanford.edu>
% Math Lead & Secondary Developer: Connor Meehan <connor.gw.meehan@gmail.com>
% Bioinformatics Lead: Wayne Moore <wmoore@stanford.edu>
% Provided by the Herzenberg Lab at Stanford University
% License: BSD 3 clause
%
classdef Str... |
0d26b0ad0d1ae5279e2a25540866bd4106aa7f8ec471c2005fa2d14b0ba58e3d | MATLAB | 41,293 | 840 | function [] = plot_ground_truth_compare_multitrack(folders,option,method)
total_number{1}(1:3) = 0;
total_number{2}(1:3) = 0;
for nfolder = 1:length(folders) % Get total number of replay events
for nshuffle = 1:2 % 1 is original and 2 is global remapped
session_total_number{nshuffle}(nfolder,1:3) = 0;
... |
56ca1fb18d8b7e5cf5d583acf4bce942dedad78f8cbd545e56c994b6b1247835 | MATLAB | 41,297 | 1,060 | % TANoise manuscript figs
% scatterplots
% Behav and slope
%% Setup
% Read data
dataFile = '/Users/kantian/Dropbox/Data/TANoise/TANoise-stats/data/forMatlabFigs.xlsx';
T = readtable(dataFile); % subject level data
% Figure settings
xJitter = 0.2;
saveFigs = 0;
subjectColor = [0.86 0.86 0.86];
dateStr = datet... |
bae66f23593eb886b7a9d52476bde662be37656677f1db4f5495863a9529d042 | MATLAB | 41,386 | 978 | function varargout = nirfast(varargin)
% NIRFAST M-file for nirfast.fig
% NIRFAST, by itself, creates a new NIRFAST or raises the existing
% singleton*.
%
% H = NIRFAST returns the handle to a new NIRFAST or the handle to
% the existing singleton*.
%
% NIRFAST('CALLBACK',hObject,eventData,handl... |
801b884b81d7a620e96ac0822d0be63115466647608686787cac136429ee6361 | MATLAB | 41,646 | 1,081 | function out = spm_run_factorial_design(job)
% SPM job execution function - factorial design specification
% Input:
% job - harvested job data structure (see matlabbatch help)
% Output:
% out - struct variable containing the path of the saved SPM.mat
%______________________________________________________________... |
9474faad8b665e05f968e05eb92bd0752dac83e9f3ba76a16c27baedad300aff | MATLAB | 41,661 | 1,408 | clear
clc
NineMuscleMorphParaInitial = load('NineMuscleMorphParaInitial.mat');
NineMuscleMorphParaInitial = NineMuscleMorphParaInitial.NineMuscleMorphParaInitial;
G = 5; % Muscle Group Number (G = 1 to 9)
x0(1) = NineMuscleMorphParaInitial{G, 1}.MorphologicalParameters.OW.a1OW;
x0(2) = NineMuscleMorphParaInitial{G,... |
5921ff0254a3a42c91222450836c7244f893e173158a9d1e75354756c5f619a7 | MATLAB | 41,881 | 1,052 | function source = ft_read_cifti(filename, varargin)
% FT_READ_CIFTI read functional data or functional connectivity from a cifti-1 or
% cifti-2 file. The functional data can consist of a dense or a parcellated
% representation. The geometrical description of the brainordinates can consist of
% triangulated surfaces or... |
c4d8a7797a908176b3c5c297e10a4f0164fb72a53468c34d5a7638328d7867b0 | MATLAB | 41,933 | 736 | % Click based spectrogram/psd/bandpower analysis
% Edited by Jerry. 10/12/2022
function [BClk_SPGM,BClk_PSD,BClk_BP,IClk_SPGM,IClk_PSD,IClk_BP,...
PClk_SPGM,PClk_PSD,PClk_BP,RClk_SPGM,RClk_PSD,RClk_BP]=...
AnalyzeClickFrequencyV1_221012(params,Behavior,szCell,szDir,szTiming,SaveDir)
%% Get relevant paramete... |
c843a1aa9cc1ead1bbeb40bad45ba6a6bfc0fb4456a02bdf4072cbfb70af68dd | MATLAB | 41,957 | 785 |
function RF_Selector(StackSaveName,DefaultRFSize)
global FINISHED_SELECTING_RFS
FINISHED_SELECTING_RFS=0;
disp(['Loading maps for: ',StackSaveName]);
disp(['Default RF size: ',num2str(DefaultRFSize)])
fprintf('Loading Data.');
pause(0.01);
if exist([StackSaveName '_Probs.mat']);
... |
603920a4d8323179a0d46759ba6d6eb99ebdf1af3e08a016f965e21d0bf31b87 | MATLAB | 41,959 | 849 | function [] = plot_ground_truth_compare_ripple_threshold_single_shuffle(folders,option,method)
total_number{1}(1:3) = 0;
total_number{2}(1:3) = 0;
for nfolder = 1:length(folders) % Get total number of replay events
for nshuffle = 1:2 % 1 is original and 2 is global remapped
session_total_number{nshuffle}... |
16b64e0f864245102fd88a3a944c09d1b431df408a6a6c5e24c206fa32a62377 | MATLAB | 41,980 | 1,026 | This is the script for analyzing the Experiment 5 in the sequence of 6
%experiments on the acquisition of inhibition
%{
Design:
?? to be filled in
%}
%% Creating an Experiment structure
ExpName='/Users/galliste/Dropbox/InhibitoryExperiments_All/ExperimentStructures/InhibExper5_number';
TSinitexperiment(ExpName,... |
03f79a20b88f1b40f660c7517f0341f0f93a2c1e7cec2dfdfb3d87fdb16b1cad | MATLAB | 42,188 | 888 | classdef CARL_GUI < handle
% This class and the accompanying functions show the extracted words
% and play the associated audio. Segments can be refined by selecting
% areas in the plot. Previously selected areas will be shown in light
% grey.
% In addition to the functionality of CARL... |
7702fa398ce48e63c670a0eb038f4d4e01292ce63ab419266808b3f2c3a0e317 | MATLAB | 42,205 | 1,042 | %% Simulated Real Time Pupil Phase - Mouse Data Set
% This script simulates running a rtPupilPhase on a previously acquired
% mouse pupillometry data set. The rtPupilPhase method parameters are
% identical to those parameters used in humans.
% Written by: Sharif I. Kronemer
% Last Modified: 1/4/2024
clear all
tic
... |
11321004da79a7894ce46cb0f660041dde87e89b793ed4cca961ddd53239718b | MATLAB | 42,213 | 826 | % pipeline_means_across_mice.m
% Sarah West
% 11/13/23
%% Initial Setup
% Put all needed paramters in a structure called "parameters", which you
clear all;
% Create the experiment name.
parameters.experiment_name='Random Motorized Treadmill';
% Output directory name bases
parameters.dir_base='Y:\Sarah\Analysis... |
46450c82caf342934fe637cebf46677c2b7dd5dc5e3741acba1ecd9e270bc8d6 | MATLAB | 42,235 | 613 | function [AlignmentParams]=ChannelAlignment(FileName)
%Written by Zach Newman newmanza@gmail.com
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%... |
6270c350ffe61fdc05175b2dddd510b03b8bd5fda0c3cd9c0288edd2bb53058b | MATLAB | 42,284 | 579 | function Cfg = y_Organize_fmriprep(Cfg,WorkingDir,SubjectListFile,IsSlurmOrganizeSurf)
% function Cfg = y_Organize_fmriprep(Cfg,WorkingDir,SubjectListFile,IsSlurmOrganizeSurf)
% Organize results by fmriprep.
% Input:
% Cfg - the parameters for auto data processing.
% WorkingDir - Define the working director... |
741606b0ca4fa23d47807493bb3573cb3dd4bb6ae6da854fb5a3365ec777477f | MATLAB | 42,306 | 1,157 | function varargout=VBA_spm_figure(varargin)
% Setup and callback functions for Graphics window
% FORMAT varargout=spm_figure(varargin)
%
% spm_figure provides utility routines for using the SPM Graphics
% interface. Most used syntaxes are listed here, see the embedded callback
% reference in the main body of this func... |
3690ab50046a7b622ec8fac1162f2976c1762c3bc75de9d73d4bfe48672a4687 | MATLAB | 42,504 | 1,035 | %SUPERBAR Plots bar graph with errors and p-values indicated
% SUPERBAR(X,Y) draws the columns of the M-by-N matrix Y as M groups of
% N vertical bars with location given by X and length given by Y. The
% vector X should not have duplicate values.
%
% SUPERBAR(Y) uses the default value of X=1:M. For vecto... |
1a87d15bc1f9800f66e16d717d1ea8667058018b2cc4f75a2f49168bd517408f | MATLAB | 42,579 | 422 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Script to perform batch tissue correction on LCM .csv files
% Script is designed to analyze LCM .csv files saved in participant folders in a
% larger study directory (example on line below) with the ID of the csv
% folder matching that of ... |
3917f54a99315924e20fcf2fa47ac9e2d2e0521ca61e385ec216d57c9e4b0fd5 | MATLAB | 42,657 | 871 | function [frames,expInfo, ExperimentProtocol,ResultMat,DisplayInfo,Timing] = ...
StateSwitch_trialPresentation_dynamic(screenInfo,expInfo,targets,indRun,indBlock,indTrial,ExperimentProtocol,ResultMat,DisplayInfo,Timing,setup,dio)
% DOTSX display dots or targets on screen
%%
% For information on minimum fields of s... |
1a1521d25758a5bdb3f2f70f5176ee9967e77fb1acaa19089e4aa693a1adbabb | MATLAB | 42,721 | 137 | function map = colmap256(col,inv)
% create colormap
%
% make colormaps based on pycortex:
% https://gallantlab.github.io/colormaps.html
%
% colorset
% {'Paired','viridis','terrain','rainbow','Spectral','Spectral_r','Pastel1_r','RdBu_r','RdBu','hot','coolwarm','RdGy_r','RdGy'};
%
% inv: if 1 inverse color map;
%... |
301fa39e2bbca74daef6f0434ed5c44cbae88f0d747c01eefd7618afdaaf22a0 | MATLAB | 42,856 | 1,121 | function [x,f,exitflag,output] = minFunc(funObj,x0,options,varargin)
% minFunc(funObj,x0,options,varargin)
%
% Unconstrained optimizer using a line search strategy
%
% Uses an interface very similar to fminunc
% (it doesn't support all of the optimization toolbox options,
% but supports many other options).
%
%... |
f103d6bba4cfcddb9af6ddc12c68812f8109af117ed190d31cef117336c9d163 | MATLAB | 43,032 | 787 | function [h, ext] = labelpoints (xpos, ypos, labels, varargin)
% [h, ext] = labelpoints (xpos, ypos, labels, position, buffer, adjust_axes, varargin)
%
% Given x and y coordinate vectors (xpos, ypos) and given
% a vector of labels this function will label all data points
% and output the label handles i... |
a35849703f944b9683c8dfaddd071c41060c321b2c333a1ccc80fa75bedabff3 | MATLAB | 43,279 | 974 | clear
clc
%bayes_reg tests
%J Ruffle j.ruffle@ucl.ac.uk
%%
%configure paths
addpath('/home/jruffle/Documents/MATLAB/bayesreg');
addpath('/home/jruffle/Documents/MATLAB/bayesreg/examples');
nsamples = 1e5;
burnin = 1e5;
prior = 'ridge';
%{'g','ridge','lasso','horseshoe','horseshoe+','logt'}
dist = 'gaussian';
%{'ga... |
79ede83067eee8a8e5c66bfbd5b94c1a342bed089d4f7812affc20092fb988eb | MATLAB | 43,292 | 1,157 | % SASICA() - perform automatic detection of artifactual components
%
% Usage:
% >> [EEG com] = SASICA();
% Raises a GUI
% Pressing OK uses the selected methods to detect artifactual
% components.
% Available methods are:
% Autocorrelation: detects noisy components with weak
% ... |
f3407d291a023db61c6743255307ae146c9d97b30cfb73b9af83c5972a4ed269 | MATLAB | 43,317 | 1,259 | function varargout = membseg2(varargin)
%MEMBSEG2 M-file for membseg2.fig
% MEMBSEG2, by itself, creates a new MEMBSEG2 or raises the existing
% singleton*.
%
% H = MEMBSEG2 returns the handle to a new MEMBSEG2 or the handle to
% the existing singleton*.
%
% MEMBSEG2('Property','Value',...) cre... |
3ee8d46f8b89c01de3ff8b3d1db2befde93663c7beec38540a56d688e8dfc500 | MATLAB | 43,439 | 675 | %% This is for examining the visual features flies experience during aggression
% What visual stimuli do the female flies experience during an aggressive interaction?
%Add paths to Male Courtship Feature Analysis
addpath '/GitHub/SocialState2024_private/Code/VisualFeaturesDuringCourtship'
addpath '/GitHub/SocialState2... |
595f098e7884ee6b9a577af8561f73d1ec0b5d42c7e46fef2f8a78f0d71802d1 | MATLAB | 43,522 | 1,266 | function varargout = membseg2(varargin)
%MEMBSEG2 M-file for membseg2.fig
% MEMBSEG2, by itself, creates a new MEMBSEG2 or raises the existing
% singleton*.
%
% H = MEMBSEG2 returns the handle to a new MEMBSEG2 or the handle to
% the existing singleton*.
%
% MEMBSEG2('Property','Value',...) cre... |
5caa54fca3f4fd274b2bd8137e44cde6c6c4eff0bd7e771b7c4ea858223b18ec | MATLAB | 43,584 | 729 | if ~exist(CurrentScratchDir)
mkdir(CurrentScratchDir)
end
CurrentAnalysisLabel='Event Detection Eval';
CurrentAnalysisLabelShort='Event Detect Eval';
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
disp('============================================================')
FileSuffix='_DeltaFDat... |
001c5e2f6aee3c8581f511759662279b36ceec5ec8a1d4b7b92784a0b3255337 | MATLAB | 43,603 | 1,259 | % Matlab script for producing figures in paper
%
% To use:
% Download/clone to "bas_dir" below:
% 1. "AgeingHRF" from https://github.com/RikHenson/AgeingHRF/
%
% Link to local SPM12 directory, or install from
% https://www.fil.ion.ucl.ac.uk/spm/software/spm12/
%
% rik.henson@mrc-cbu.cam.ac.uk, Jan 202... |
a835ec9361783a9dd5bc2583fba7d9c9fa77124748e2ed9d4f87e6d55b66b59f | MATLAB | 43,762 | 759 | %% RELAX-Jr EEG CLEANING PIPELINE, Copyright (C) (2024) Aron Hill & Neil Bailey
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% any la... |
1d783f494be980ba21f09e8f93739083b83be8bb4e9caa9f47ebe34c04b6cb8c | MATLAB | 43,792 | 1,342 | function timefreq_plot(GLAN,cfg)
% timefreq_plot.m
% v.0.2
%
% GUI para visualizar cartas tiempo frecuencia y estadistica.
%
% FALTA!!!
% - Dejar funcionando las matrices de contrastes!!!
% - Optimizar mas la memoria!!!
%
%
%
% Pablo Billeke
% 01.06.2016 f... |
99c849ca69476e951635293a8ac39ab3eaf351fcfe7f0c9bb518350f93dffd8b | MATLAB | 43,841 | 1,536 | clear
clc
NineMuscleMorphParaInitial = load('NineMuscleMorphParaInitial.mat');
NineMuscleMorphParaInitial = NineMuscleMorphParaInitial.NineMuscleMorphParaInitial;
G = 3; % Muscle Group Number (G = 1 to 9)
x0(1) = NineMuscleMorphParaInitial{G, 1}.MorphologicalParameters.a1;
x0(2) = NineMuscleMorphParaInitial{G, 1}.M... |
83d263580494cd0b4430a2f6a30c9b068a0fc70a467178c370d31e6f0213f633 | MATLAB | 43,857 | 1,532 | clear
clc
NineMuscleMorphParaInitial = load('NineMuscleMorphParaInitial.mat');
NineMuscleMorphParaInitial = NineMuscleMorphParaInitial.NineMuscleMorphParaInitial;
G = 9; % Muscle Group Number (G = 1 to 9)
x0(1) = NineMuscleMorphParaInitial{G, 1}.MorphologicalParameters.a1;
x0(2) = NineMuscleMorphParaInitial{G, 1}.M... |
a6580dc8ca359684f3b0dba409593abf7b01bbaf7a8d14f1e1716547d1bce03b | MATLAB | 44,052 | 849 | % Periods based spectrogram/psd/bandpower analysis
% Edited by Jerry. 09/21/2022
function [szDur,PeriodLO_SPGM,PeriodLO_PSD,PeriodLO_BP,...
PeriodHC_SPGM,PeriodHC_PSD,PeriodHC_BP]=...
AnalyzePeriodFrequencyV3_220922(params,szCell,szDir,szTiming,SaveDir)
% parse in the relevant parameters
sps = params.... |
90742b1a4cb89b1be6a679120ba7ab25cff187828beaa1fb3cea927d2c2451ea | MATLAB | 44,109 | 1,022 | %This is the script for analyzing the fixed-CS inhibtion data
%{
Design:
CS10 and CS40 replicate two groups of Experiment 1 and show that the longer
the cue the faster and deeper the inhibition. CS10 shows little evidence
of inhibition. These two groups differ with respect to
1) time from onset of CS- to... |
374f8d01fee80d5883fd90f07d686912448fdc7bd142e7f0819678dd0f817273 | MATLAB | 44,188 | 1,005 | classdef UFMFFile < handle
properties (SetAccess=private)
version = 4
end
properties
path % The path to the UFMF file.
frameRate = [] % The frame rate for fixed rate movies, empty for variable rate.
frameCount = 0 % The ... |
4e599fd4b7f0ef98713340c25babd4a038437aeef8977f248d2d92b81375d954 | MATLAB | 44,217 | 845 | function Zach_Stack_Coord_Selector(ImageArray,SelectionData)
disp('=============================================================================================');
disp('=============================================================================================');
ImageArrayDimensions=size(Ima... |
417171bf77010bd538f0655ee10f931d93fc6d4c7aed4efa94e80105192e46db | MATLAB | 44,242 | 719 | %% File Lists and Locations
home='/Volumes/catherine_team/mvperdue/preschool/mrs/data_lag';
QC_csv_name = 'SE_PRESS_QC_Metrics_lag.csv';
tissue_csv_name = 'Tissue_CSV_Name_lag.csv';
MRS={
'PS10006_PS14_120_3301/PS10006_PS14_120_3301_P27136.7'
'PS10006_PS15_061_3976/PS10006_PS15_061_3976_P14336.7'
'PS10006_PS15_138_47... |
327e2dac846bc2e9fb8a936dd10fe6b96da02da6a57b5bfad2cf38075b073a28 | MATLAB | 44,369 | 632 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%... |
a1e9d18c3737cdb46f05480c4e27c4d40feebd8b24fd25de3e7610fb391956f1 | MATLAB | 44,828 | 1,713 | %load data: contact lead author
%%
folders=folders_combo;
allFieldsA = cell(1, numel(folders_combo));
allDfofsA = cell(1, numel(folders_combo));
allAverageDfofsA= cell(1, numel(folders_combo));
rbrConsistenciesA = cell(1, numel(folders_combo));
cueConsistenciesA = cell(3, numel(folders_combo)); % VS/AO/AO-... |
89ce859df3647efb616fccccc3c571ac059357e8e5acb40ddaa0cd81c523eca8 | MATLAB | 45,151 | 1,186 | function label_joints(boxPath, skeletonPath)
%LABEL_JOINTS GUI to click on images to yield a graph.
% Usage:
% label_joints(boxPath)
% label_joints(boxPath, skeletonPath)
%
% See also: make_template_skeleton
%% Startup
% addpath(genpath('deps'))
% Ask for path to data file
if nargin < 1 || isempty(boxPath); box... |
8c9d4920599fa8970ad8c2d451ef8b4874125b321af3e4128731676a4370fde9 | MATLAB | 45,493 | 1,136 | function varargout = image2mesh_gui(varargin)
% IMAGE2MESH_GUI MATLAB code for image2mesh_gui.fig
% IMAGE2MESH_GUI, by itself, creates a new IMAGE2MESH_GUI or raises the existing
% singleton*.
%
% H = IMAGE2MESH_GUI returns the handle to a new IMAGE2MESH_GUI or the handle to
% the existing singleton... |
f52a1fe53b3f61c6a48cdbe772bc1bb780e73155f2e97ffebb5a087415418ab2 | MATLAB | 45,537 | 1,167 | %% LC_VTA_analysis
%% 1. 440 day2
clear all
close all
%set length of track and number of frames in novel early period
track_length = 300;
early_length = 500;
%run Fluorescence and behavioral data through glm prep function
[behplane,data] = axon_prep_CH('440\day2\440day2plane3_int_10Hz.mat', ...
'C:\Users\She... |
f70f7274b1a8926c9aa7d776a3c3112f3d9ffc669603749ef514cb6264281c15 | MATLAB | 45,728 | 1,276 | function drawGraph(adj, varargin)
% drawGraph Automatic graph layout: interface to Neato (see http://www.graphviz.org/)
%
% drawGraph(adjMat, ...) draws a graph in a matlab figure
%
% Optional arguments (string/value pair) [default in brackets]
%
% labels - labels{i} is a *string* for node i [1:n]
% removeSelfLoops - ... |
eedaa744490fa588095f297320751c56c8a3247bac9ab14cec5bbec7960079f1 | MATLAB | 45,801 | 1,429 | function moviefunction(cfg, varargin)
% we need cfg.plotfun to plot the data
% data needs to be 3D, N x time x freq (last can be singleton)
% N needs to correspond to number of vertices (channels, gridpoints, etc)
% new UI artwork
%
% [main window] -------------------------------------\
% | [uipanel: plot] ... |
b0401555b37cb37cbbf445d390b057887572e95ac41876da86e93fc2834ec66e | MATLAB | 45,818 | 1,283 | function [shape] = ft_read_headshape(filename, varargin)
% FT_READ_HEADSHAPE reads the fiducials and/or the measured headshape from a variety
% of files (like CTF and Polhemus). The headshape and fiducials can for example be
% used for coregistration.
%
% Use as
% [shape] = ft_read_headshape(filename, ...)
% or
% ... |
a2cfb36d56fc0c690df8961f8c148b5ea48b89936a08453ba05dec5b6b00fdbd | MATLAB | 45,854 | 1,095 | classdef UMAP < handle
%UMAP Uniform Manifold Approximation and Projection. Finds a low
% dimensional embedding of the data that approximates an underlying
% manifold.
%
% Parameters
% ----------
% n_neighbors: double (optional, default 15)
% The size of local neighborhood (in terms of number of neighboring
% ... |
b2325cf56bb50cc8c2a7b545a0df38baec68bf05b4f373ba87112a9d066ab6f6 | MATLAB | 45,975 | 1,551 | % Using codex data format (Albert Lin)
directory = 'DIRECTORY';
cd(directory)
%% load data from csvs
% neurons in neurons.csv and neuropil synapse table are in the same order,
% thresholded
data_directory = 'DATA DIRECTORY';
opts = detectImportOptions(fullfile(data_directory,'neurons.csv'));
disp([opts.Va... |
29081a96d074e7a6a69a020e0eec297bb282912f4015c9056ee76822c95f3c43 | MATLAB | 46,086 | 1,126 | function [stat] = ft_connectivityanalysis(cfg, data)
% FT_CONNECTIVITYANALYSIS computes various measures of connectivity between
% MEG/EEG channels or between source-level signals.
%
% Use as
% stat = ft_connectivityanalysis(cfg, data)
% stat = ft_connectivityanalysis(cfg, timelock)
% stat = ft_connectivityanaly... |
402cac21003e7e9b00e9dd209beb6145cfa13f4bcfd88330886c470f25a6c781 | MATLAB | 46,201 | 587 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%[myPool]=ParPoolManager([],myPool);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%... |
0fec5ef900729f32d23538f21f93811a3dc1c5c8d8505a9e11e9edee878e3b4a | MATLAB | 46,548 | 1,280 | classdef Dataview < matlab.mixin.Copyable
% A Dataview instance specifies what part of a data source is
% visualized and how.
%
% When changed, a dataview elicits property change events via its change
% listener (-->setChangeListener(obj, changeListenerFcn)).
%
% A Dataspace-GUI in... |
1881f1475a4e82dcf29b49e13ed48823d00f91894fb19f12c1ac52d6e1158be8 | MATLAB | 46,657 | 814 | if ~exist(CurrentScratchDir)
mkdir(CurrentScratchDir)
end
CurrentAnalysisLabel='QuaSOR Evaluation';
CurrentAnalysisLabelShort='QuaSOR Eval';
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
disp('============================================================')
FileSuffix='_DeltaFData.mat';
... |
7aac4dfcbc091343a787e3f4ae2474fe2a5ca5c023a85e3d15e86917b2fd3c59 | MATLAB | 46,874 | 1,140 | function [stat] = ft_connectivityanalysis(cfg, data)
% FT_CONNECTIVITYANALYSIS computes various measures of connectivity between
% MEG/EEG channels or between source-level signals.
%
% Use as
% stat = ft_connectivityanalysis(cfg, data)
% stat = ft_connectivityanalysis(cfg, timelock)
% stat = ft_connectivityanaly... |
e33f896daea860758eb710a28a5f1156c52c8cc1389b114f7f812e1054346cdb | MATLAB | 46,921 | 1,493 | function GLAN = timefreq_stata(GLAN,cfg)
% <*LAN)<]
%
% v.1
% REALIZA ESTADISTICA NOPARAMETRICA A TRIEMP-FRECUENCIA
% cfg.
% subject = [{'ID11' ,'ID12' , ...} , {'ID21' , 'ID22' , ...} , ... ]
% % subjects' ID per group
% groupname = {'controls' , 'case' , ...}
% % groups' ID
%... |
c80b206cfb6fba24d3ba1515a34155ae050f0d8169af8494f792e04485870a95 | MATLAB | 47,079 | 1,245 | function varargout = TSrastergui(varargin)
% TSrastergui(trial, tsdata)
% This function generates raster plots based on user input collected from
% a gui window. Supports tabbed browsing of raster plots.
%
% Mandatory Argument
% tsdata - session tsdata
%
% TSRASTERGUI M-file for TSrastergui.fig
... |
7ed2f4ca4d74c140840f37240bbc62b61ce47b3ab156763a78bf96869ac4f41d | MATLAB | 47,183 | 1,803 | function GLAN = erp_stata(GLAN,cfg)
% <*LAN)<]
% v.0.2.6
%
%ERP_STATA REALIZA ESTADISTICA NOPARAMETRICA A ERP
%
% cfg.
% subject = {[{}{}{}]},{....}
% comp = [n1 n2]; % INDEX OF THE CONDITION TO COMPARED
% matdif = [-1 1 -2 2] % MATRIZ DE DIFERENCIAS, DEL MISMO TAMAGNO QUE cfg.comp.
... |
b6396cc9c10d0ba659ab67f94cda92ece229a6da9ca5a25d5526d4700a93c44a | MATLAB | 47,411 | 1,130 | %% Simulated Real Time Pupillometry - Monkey Data Set
% This script simulates running a rtPupilPhase on a previously acquired
% monkey pupillometry data set. The rtPupilPhase method parameters have
% been adjusted to accomodate the monkey pupil size data eccentricities,
% however, the majority are identical to those p... |
52ece6afd36c86deac7f66d0baec73481da3c20cfa4921be68e4800967e8e4b8 | MATLAB | 47,435 | 1,273 | % AUTHORSHIP
% Primary Developer: Stephen Meehan <swmeehan@stanford.edu>
% Math Lead & Secondary Developer: Connor Meehan <connor.gw.meehan@gmail.com>
% Bioinformatics Lead: Wayne Moore <wmoore@stanford.edu>
% Provided by the Herzenberg Lab at Stanford University
% License: BSD 3 clause
%
classdef Table... |
60cd971da0374934aa22d4e348d1c312e4f8d33c8cce980e8b9438c979ee8e18 | MATLAB | 47,438 | 699 | %% RELAX-Jr EEG CLEANING PIPELINE, Copyright (C) (2024) Aron Hill & Neil Bailey
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% any la... |
31d1f9e6ee7ad6f1412603dbe1409745314930b5c79543f35a1ee28cda7fb217 | MATLAB | 47,546 | 1,321 | function [P,units] = StructDlg(struct_def,title,dflt,fig_pos,visible,present_val)
% StructDlg - A structure based definition of an input GUI. Allows for a quick and
% convenient text based definition of a GUI
%
% StructDlg(struct_def, title, default_values, position)
%
% StructDlg creates a modal dialog ... |
ff71f8de27b187722cf2ca8dc0755ae81108ff52e8f984ece61038b855bedd24 | MATLAB | 47,624 | 1,134 | function [cfg, artifact] = ft_artifact_zvalue(cfg, data)
% FT_ARTIFACT_ZVALUE reads the interesting segments of data from file and identifies
% artifacts by means of thresholding the z-transformed value of the preprocessed raw data.
% Depending on the preprocessing options, this method will be sensitive to EOG, muscle... |
cb438228117a18dc988a8a01ce861d5da8169366037f61619a6eb3a17fb0ebeb | MATLAB | 47,687 | 1,136 | function [cfg, artifact] = ft_artifact_zvalue(cfg, data)
% FT_ARTIFACT_ZVALUE reads the interesting segments of data from file and identifies
% artifacts by means of thresholding the z-transformed value of the preprocessed raw data.
% Depending on the preprocessing options, this method will be sensitive to EOG, muscle... |
fc681c15e6e6e788b946ad1baa6586f8705bab1d77265290556982ed038524d9 | MATLAB | 48,083 | 1,117 | %This is the script for analyzing the InhibExper4_ratio data
%{
Design:
Sessions 1:44 were inhibitory conditioning, with no USs during CSs;
Sessions 45:end were "resistance to extinction" sessions, with USs during
the CSs
%}
%% Creating an Experiment structure
ExpName='/Users/galliste/Dropbox/InhibitoryExpe... |
086785f24b2817fda95409d3b520e3cf5ddefe36d770db252eb29e798da26bc2 | MATLAB | 48,144 | 1,436 | % LIP choice decoder including/excluding Tin, Tout, Min populations
% Use this one
% load('E:\Matalb analyses\popMatZ_sessSL1-10', 'sl_sessMatZ', 'sessZ')
% winSize = 0.001 ;
% winStart = .0005:.005:.6-winSize;
% winEnd = winStart+winSize ;
% winCenter = mean([winStart ; winEnd]);
% rng default
% X = r... |
6c66e517082b0cc6a63d13dd466d4b043aaa35cb2669632f1cf7def428dbc5c7 | MATLAB | 48,328 | 1,557 | function out = uipickfiles(varargin)
%uipickfiles: GUI program to select files and/or folders.
%
% Syntax:
% files = uipickfiles('PropertyName',PropertyValue,...)
%
% The current folder can be changed by operating in the file navigator:
% double-clicking on a folder in the list or pressing Enter to move furthe... |
9e9f7dc02dedb8278343ab78f13bbd8ff1b9031784a6ceae0e4a45fa414de1af | MATLAB | 48,543 | 1,224 | %% Simulated Real Time Pupil Phase - Human Data Set
% This script simulates running rtPupilPhase on human pupillometry data
% during a live recording session. The parameters are set to copy those
% used in rtPupilPhase.
%
% Note: Some parameters associated with this script are
% unique to the experimental task and ... |
2751e6f6b430008ee4c10c8491e204657ec1a2c2374cc7e3e346d583b6c7aedc | MATLAB | 48,657 | 976 | function [] = plot_ground_truth_compare_ripple_replay_quality(folders,option,method)
total_number{1}(1:3) = 0;
total_number{2}(1:3) = 0;
for nfolder = 1:length(folders) % Get total number of replay events
for nshuffle = 1:2 % 1 is original and 2 is global remapped
session_total_number{nshuffle}(nfolder,1:... |
ffc7613012e0f4cd52acbb45bc01008d0b162c35c9d763d8bde9873a62118061 | MATLAB | 48,743 | 1,341 | classdef SpecifyMovieToTrackController < handle
properties
defaultdir = '';
lObj = [];
parent_ = []; % the controller that owns this dialog; receives specifyMovieToTrackControllerDone()
movdata = [];
nview = 1;
hastrx = false;
iscrop = false;
isma = false;
docalibrate = false;... |
3c6b11456b4e892b0e7f78d097f31acad0f3bdba5d6625db0f78ac430d112101 | MATLAB | 48,933 | 1,313 | function [varargout] = ft_selectdata(cfg, varargin)
% FT_SELECTDATA makes a selection in the input data along specific data
% dimensions, such as channels, time, frequency, trials, etc. It can also
% be used to average the data along each of the specific dimensions.
%
% Use as
% [data] = ft_selectdata(cfg, data, ...)... |
349f571501e4822246f4cfbfbb008bb36806a79c2c2fcf84c54258b06c745347 | MATLAB | 49,063 | 1,405 | function m2html(varargin)
%M2HTML - Documentation Generator for Matlab M-files and Toolboxes in HTML
% M2HTML by itself generates an HTML documentation of the Matlab M-files found
% in the direct subdirectories of the current directory. HTML files are
% written in a 'doc' directory (created if necessary). All the o... |
bb69bb470db76240be7c894cd8ded24ce95fe59a0476b73ec474f3d81937e2d1 | MATLAB | 49,146 | 784 | function colocalization_module_New()
% Use data and listbox as global variables (access from anywhere).
global data listbox
% Make a new figure, and set its properties.
figure();
set(gcf,'name','Colocalization Module','NumberTitle','off','color','k','units','normalized','position',[0.25 0.2 0.5 0.6],'menubar',... |
f4544f642cf63522f2b1789683310356b6d4a435b8be4e80ff28b31054a67c17 | MATLAB | 49,305 | 1,046 | function xyFWHM(fname, vesselCh, prefs, optionsFlag)
%function created by Kira, Dec 2017, updated Dec 2018
%
%exp folder needs to be labelled VR, stim or spont
%loads in vessel.tif from inputted folder (will error if tif doesn't exist)
%finds diameter changes using FWHM along vessel (for every frame/branch)
%... |
f6d5d01717a41212fff1f4996d4a08ef8647057d52e692ebc0f3363798654612 | MATLAB | 49,416 | 907 | function AZ_Image_Profile_Figure(FigName,FigSaveDir,dc,ModBins,ColorScalar,...
ProfileError,Profile_XData,ProfileXTicks,ProfileXLabel,ProfileYLabel,ColorLabel,CalculationLabel,...
NumMods,NumGroups,PixelSize_nm,AZScaleBarLength_nm,ImageSize,RemovalIndex,MatchedModMax,ImageMarkers,PlotMarkers)
%%%%%... |
5bacec9970be939a9f1c9ce6707f06f2e9740acacf8d664d44ec0778b2ca6afc | MATLAB | 49,540 | 2,012 | function atlas = ft_read_atlas(filename, varargin)
% FT_READ_ATLAS reads an template/individual segmentation or parcellation from disk.
% The volumetric segmentation or the surface-based parcellation can either represent
% a template atlas (eg. AAL or the Talairach Daemon), it can represent an
% individualized atlas (... |
f4ee657e1ecc192c11469ef0b75b45a9e774cb9b68ef0e95ab2d1f15f27ce7c6 | MATLAB | 49,913 | 1,333 | function [varargout] = ft_selectdata(cfg, varargin)
% FT_SELECTDATA makes a selection in the input data along specific data
% dimensions, such as channels, time, frequency, trials, etc. It can also
% be used to average the data along each of the specific dimensions.
%
% Use as
% [data] = ft_selectdata(cfg, data, ...)... |
1beb8bea2bca69d12d734f54e2dda2ca065ace99b538943dfd374fdc71e81d5a | MATLAB | 50,022 | 1,290 | % Class for Hi-D matching with merging of data subsets using
% QF match or F-measure or both
% This produces a visual table and histogram of dissimilarities and
% overlaps between subset matches.
%
% The function getAverages answers the question of overall goodness
% by returning the median/mean diss... |
56cedbd071fa45aceeaa4ed62177cf9118979b89602a1bf928f6d99d4b84bc91 | MATLAB | 50,228 | 1,319 | classdef APTParameters
% Static utility class defining and manipulating APT's deep-learning
% parameter set (training, tracking, pre/post-processing, and per-network-
% architecture parameters). Never instantiated -- used as a namespace.
%
% The parameter *schema* (names, defaults, display names, help text, ... |
3483c29010aa8f95bb19c70a1debe199c733f3601844633ecc9c9281bd139010 | MATLAB | 50,525 | 1,614 | function out = uipickfiles(varargin)
%uipickfiles: GUI program to select files and/or folders.
%
% Syntax:
% files = uipickfiles('PropertyName',PropertyValue,...)
%
% The current folder can be changed by operating in the file navigator:
% double-clicking on a folder in the list or pressing Enter to move furthe... |
fc93a3b3f68ead0fbef90cecf3a4ad40cea6a161b87643bcb54907465fc8bb3c | MATLAB | 50,834 | 1,717 | classdef ToTrackInfo < matlab.mixin.Copyable
properties (Constant)
props_numeric = {'stage','view','movieidx','frm0','frm1'};
props_cell = {'errfile','trkfiles','moviefiles','trxfiles','trxids','croprois','calibrationfiles','calibrationdata'};
props_array = {'trxids','croprois','frmlist'};
end
prop... |
d7be5d0cf4b6c9e6c0f66254d22d176fc1dfe138dea485a6755784bb54759ac3 | MATLAB | 50,845 | 1,768 | //========================================================================
// GLFW 3.4 macOS - www.glfw.org
//------------------------------------------------------------------------
// Copyright (c) 2009-2019 Camilla Löwy <elmindreda@glfw.org>
//
// This software is provided 'as-is', without any express or implied
// ... |
86f3ea29ca10d38ed0594650d92024a73bc6c9c108a2adc0088afa1b6b04359d | MATLAB | 50,971 | 1,124 | function [source] = ft_sourcedescriptives(cfg, source)
% FT_SOURCEDESCRIPTIVES computes descriptive parameters of the source
% analysis results.
%
% Use as
% [source] = ft_sourcedescriptives(cfg, source)
%
% where cfg is a structure with the configuration details and source is the
% result from a beamformer source e... |
203066ee438bfa6596b9ae21f6e74340b6faaa67dbe0094e1cdc76284a908d8a | MATLAB | 50,976 | 1,124 | function [source] = ft_sourcedescriptives(cfg, source)
% FT_SOURCEDESCRIPTIVES computes descriptive parameters of the source
% analysis results.
%
% Use as
% [source] = ft_sourcedescriptives(cfg, source)
%
% where cfg is a structure with the configuration details and source is the
% result from a beamformer source e... |
4a9b2387ca0349a481aa54a382d5d02190b5a2a790ef762f323d69f972531252 | MATLAB | 51,011 | 1,305 | classdef Experiment < handle_light
% master class of each dataset acting as interface to detector, fitter
% and SOI
% a project should have its own directory
%---------------------------------------------------------------------
% license
%---------------------------------------------------... |
47a50fdd5e1211527ea0690f24d917f382eff49816784832748eb3b1101658d8 | MATLAB | 51,153 | 982 | function [] = plot_ground_truth_compare_ripple_replay_low_speed(folders,option,method)
total_number{1}(1:3) = 0;
total_number{2}(1:3) = 0;
mean_theta{1} = [];
mean_theta{2} = [];
mean_speed{1} = [];
mean_speed{2} = [];
peak_ripple{1} =[];
peak_ripple{2} =[];
for nfolder = 1:length(folders) % Get total number of repla... |
20c42d8e9a090f4da275343e250884c0b25567450fbbf60c7e100c8ffc7c1fbb | MATLAB | 51,259 | 1,247 | function varargout = DPABI_TDA(varargin)
% DPABI_TDA MATLAB code for DPABI_TDA.fig
% DPABI_TDA, by itself, creates a new DPABI_TDA or raises the existing
% singleton*.
%
% H = DPABI_TDA returns the handle to a new DPABI_TDA or the handle to
% the existing singleton*.
%
% DPABI_TDA('CALLBACK',hO... |
4e1e622f57d7ef0f7af340fbe7b0bb2e6bce59e7976d3fa93a844cbd487e013b | MATLAB | 51,590 | 1,372 | function varargout = spider_plot_R2019b(P, options)
%spider_plot_R2019b Create a spider or radar plot with individual axes.
%
% Syntax:
% spider_plot_R2019b(P)
% spider_plot_R2019b(P, Name, Value, ...)
% h = spider_plot_R2019b(_)
%
% Input Arguments:
% (Required)
% P - The data points used to p... |
9c9dda9783c36848e67b83fe9d666a4265a3f7f37084692f34d61e39e77dbd5c | MATLAB | 51,647 | 1,248 | function [ACC sensitivity specificity avg_SNR] = harmonic_osc_simulation_for_different_method_v7(sim_param)
warning('off');
ACC = [];
sensitivity = [];
specificity = [];
%% simulation details for this video
srate = sim_param.srate; % sampling rate in Hz
time = -1:1/srate:4;
pnts = length(time);
osc_amp = sim_pa... |
0781fc9604232700c8ba0675b22da05d74d977f94d4116fabab1f5e1789c3faa | MATLAB | 51,648 | 1,248 | function [ACC sensitivity specificity avg_SNR] = harmonic_osc_simulation_for_different_method_v7(sim_param)
warning('off');
ACC = [];
sensitivity = [];
specificity = [];
%% simulation details for this video
srate = sim_param.srate; % sampling rate in Hz
time = -1:1/srate:4;
pnts = length(time);
osc_amp = sim_pa... |
7fa5808615285b6f83e3e9919e5464bf9cde8ff27da1a7c7af2c7a8523bcd609 | MATLAB | 52,037 | 964 | % pipeline_PLSR_fluorescence.m
% Sarah West
% 9/18/22
% Pipeline of PLSR on fluorescence traces. Updated to use new behavior
% parameters 6/26/23
% Fluorescence timeseries are already segmented, grouped by behavior,
% rolled
% ** WIll need a normalized version of fluorescence--> just do change in
% z-score, which PLS... |
21116e2a873bf65942778f1c3183dc845e617c3be6a7288d99fb9d4210d12bb0 | MATLAB | 52,302 | 1,371 | %% Load Unit Data
datRoot = '/Volumes/LaCie/Farries recordings/';
load([datRoot 'unitDat_final_culled.mat'])
uName = arrayfun(@(u) strsplit(u.name), unit, 'UniformOutput', false);
uRat = cellfun(@(u) u{1}, uName, 'UniformOutput', false);
uSes = cellfun(@(u) u{2}, uName, 'UniformOutput', false);
uTrode = cellfun(@(u) ... |
7973190d2bd519264841ff3f1e722c80e550b8f4b6f4a3e3701bcb4e8fad9348 | MATLAB | 52,372 | 764 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%... |
2719828510a8d3c75f9c4153c95cb1026992742de46e42557697da09a1883167 | MATLAB | 52,658 | 1,648 | classdef PreProcData < handle
properties
Name % Name of this PreProcData
MD % [NxR] Table of Metadata
I % [NxnView] cell vec, images
pGT % [NxD] GT shapes for I
bboxes % [Nx2d] bboxes for I
Ipp % [NxnView] cell vec of preprocessed 'channel' images. .iPP{i,i... |
266b1b0f984e53572e7c2e7a0d73d3e7f6b184b4d6af2db28432fd913da68f89 | MATLAB | 52,993 | 2,129 | function atlas = ft_read_atlas(filename, varargin)
% FT_READ_ATLAS reads an template/individual segmentation or parcellation from disk.
% The volumetric segmentation or the surface-based parcellation can either represent
% a template atlas (eg. AAL or the Talairach Daemon), it can represent an
% individualized atlas (... |
f3ca24d169bc06a8c3b1f4effbecd8140ad6f95c235dd62a6e424f8d74112fe0 | MATLAB | 52,996 | 1,243 | function op = calculateEventSpiking(analysisParam, simParam, modelParam, resultsStruct, PFresultsStruct, spikeTimeCell, ithParam1, ithParam2)
% op = grid.calculateEventSpiking(analysisParam, simParam, modelParam, resultsStruct, PFresultsStruct, spikeTimeCell, ithParam1, ithParam2)
%
% Runs the analysis across networks ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.