sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
fd661b7b8e6c46a368f67ecb273c0287e1b60b5e3ca13836a5a97a64fd3b0a3d | MATLAB | 6,661 | 192 | function cfg = getParams(data_name)
% This function returns parameters corresponding to the input 'data_name'
if nargin<1
data_name='gaussian';
end
cfg.out_dir_pre = '../urOMT';
switch data_name
case 'BC46_01' % for test
cfg.data_tag = data_name;
% input images
cfg.data_dir = './data/B... |
9cb6822f1c3f91019d903283c6cbfe6d65d2b8ed5375dfe3914a11c8fb25cd83 | MATLAB | 6,662 | 197 | % openbdf() - Opens an BDF File (European Data Format for Biosignals) in MATLAB (R)
%
% Usage:
% >> EDF=openedf(FILENAME)
%
% Note: About EDF -> www.biosemi.com/faq/file_format.htm
%
% Author: Alois Schloegl, 5.Nov.1998
%
% See also: readedf()
% Copyright (C) 1997-1998 by Alois Schloegl
% a.schloegl@ieee.org
% ... |
dec2e79171880bd62461e63c8d55fd78c607b93058946d1e66390b3f3646761f | MATLAB | 6,665 | 282 | % crabsort.consolidate
%
% Once you have sorted spikes, use this method to combine
% all data from all files into a single variable
%
% **Syntax**
%
% ```
% crabsort.consolidate(ExpName,'neurons',{'PD','LP'})
% crabsort.consolidate(ExpName,...'DataDir',/path/to/data)
% crabsort.consolidate(ExpName,...'DataFun',{@func... |
53fd1d6ce27de44459173e7fec1fea21815e5ae4ba02fb449a08e71c212cf9ce | MATLAB | 6,666 | 179 | % Covariance matrix on the unit cube, Matern 3/2 kernel.
%
% This is basically the same as COV_CUBE1 but using the Matern 3/2 kernel.
%
% Inputs (defaults are used if not provided or set empty):
%
% - N: number of points in each dimension (default: N = 32)
% - OCC: tree occupancy parameter (default: OCC = 512)
% ... |
e4976465f0dcc5944b492b6cb8138c80d373852f11c15622cf1ed8906fe29fba | MATLAB | 6,666 | 196 | function PlotErrorHists(errs,varargin)
[hpar,kpcolors,prcs,prc_vals,binedges,nbins,maxprctile,kpnames,islight,nperkp,fp,fn,isma,ntotal] = ...
myparse(varargin,'hparent',[],...
'kpcolors',[],...
'prcs',[],'prc_vals',[],...
'binedges',[],'nbins',50,'maxprctile',98,...
'kpnames',{},'islight',true,...
'nperkp'... |
eb5bffac9bcdfe0042731bb3f659337e597b5c16a60294c9db7498cc78ef86d1 | MATLAB | 6,666 | 180 | %% Compiles mex files for the lightspeed library.
% This file is from pmtk3.googlecode.com
% Written by Tom Minka
% (c) Microsoft Corporation. All rights reserved.
% thanks to Kevin Murphy for suggesting this routine.
% thanks to Ruben Martinez-Cantin for UNDERSCORE_LAPACK_CALL
%
% PMTKmodified Matt Dunham
% This h... |
ec921693f3f30c782748ef15230e03dc9f1898ddf47f1f1ca360757098debb63 | MATLAB | 6,669 | 151 | function [cfg, artifact] = ft_artifact_eog(cfg, data)
% FT_ARTIFACT_EOG reads the data segments of interest from file and
% identifies EOG artifacts.
%
% Use as
% [cfg, artifact] = ft_artifact_eog(cfg)
% with the configuration options
% cfg.dataset = string with the filename
% or
% cfg.headerfile = string w... |
619feef973d8e5be7a1f1df9a7f0a04599a980631e9643e9af9c9a8b8c61914f | MATLAB | 6,670 | 175 |
% Step 4-6: Calculating Warps using registration infromation
% This is the code that calculates the keypoints and descriptors at
% varying scale levels
%
% INPUTS:
% moving_run: which expeirment do you want to warp accordingly?
% OUTPUTS:
% no variables. All outputs saved to params.registeredImagesDir
%
% Author: Dani... |
b6cd7556b0d54f2a5383a6554cd2f2ff1db509803e99b9bc3ae5cde09b2421c5 | MATLAB | 6,670 | 140 | %
%
% B01_raster_psth_encoding_BAligned_BSep_NWB( nwbData, timestampsOfCell, channelid, cellNr, brainAreaOfCell, bin_width_raster, bin_width_fr, plot_flag)
%
%History
%12/2/21: This file is forked from original B01_raster_psth_encoding_BAligned_BSep.m by JZ.
%
function [] = B01_raster_psth_encoding_BAligned_BSep_NWB(... |
f478c7db4970e8784d45a7c6ad0d95db1c1adbb1e7d05989809c467ed44a58fb | MATLAB | 6,670 | 152 | function [cfg, artifact] = ft_artifact_eog(cfg, data)
% FT_ARTIFACT_EOG reads the data segments of interest from file and identifies EOG
% artifacts.
%
% Use as
% [cfg, artifact] = ft_artifact_eog(cfg)
% with the configuration options
% cfg.dataset = string with the filename
% or
% cfg.headerfile = string w... |
5b74edd722bae1cba52ec3bc173d3af3221f1dfdebbdd017bf5070ac03810e6c | MATLAB | 6,673 | 171 | %CMAP Create a custom colormap from RGB values
%
% FUNCTION: cmap_out = cmap(in_arg,in_size,in_cutd,in_cutl)
%
% Create custom colormaps from any number of colors
% Inputs: 1) in_arg = RGB triplets: [A B C] with values between 0-1
% 2) in_size (optional): Length of colorbar (i.e. 10 = 10 colors)
% ... |
10078918b57b2695424c3d5ac33120c4a66d0a1bc70756a26750654afa2a6298 | MATLAB | 6,675 | 215 | %% (Plot) diffSDO
% Coplots spike-triggered, background, and shuffled split symmetric SDOS;
% Drift components correspond to the directional shifts (mean) while diffusion
% corresponds to the nondirectional (variance)
%
%
% Co-plot the background and spike-triggered SDO matrices from the 'sdo'
% datastructure as heatma... |
a119bd1d2b721b2ff0466e776ff4a01cd37873e5f3d32b773d119bef095bd96c | MATLAB | 6,676 | 192 | % this takes one F trace that covers multiple wcp sweeps (number given in numswps)
% and overlays them onto one figure
% it is designed to work with F response to V/I step protocol
% path is the path to save the overlayed figure (to 'Overlay' folder)
function [] = overlay_ftrace_100Hz (ydata, numswps, path_save, rec_... |
24b40a7d14db000d09e5697c24641cfbf7a2aa6ce747d02df0905ef070fb3788 | MATLAB | 6,677 | 152 | clearvars
close all
save_output_figures = false;
outputDir = '../figs/paper/step_prob_typical_mouse/jackknife';
%% example of angles comparison
close all
deg = 180/pi;
theta_threshold = 5;
% 10 vectors that have a preferential direction uniformly within 5 degrees around 45 degrees
theta1 = ((2.*rand(10,1... |
2c976041b54e3c83fc3524eb157a35a3bfc9b87033ef0e378446df0f45766891 | MATLAB | 6,680 | 178 | function [dat] = read_brainvision_eeg(filename, hdr, begsample, endsample, chanindx)
% READ_BRAINVISION_EEG reads raw data from an EEG file
% and returns it as a Nchans x Nsamples matrix
%
% Use as
% dat = read_brainvision_eeg(filename, hdr, begsample, endsample)
% where the header should be first read using read_br... |
8406b2ff9e6df66495b3538be91f352563726e72d605afc5c79fd97535fd0156 | MATLAB | 6,681 | 216 | function [maErr,fp,fn] = computeMAErr(tblPred,tblLbl,hasMask)
nfrm = size(tblLbl,1);
mov_frm_pred = [tblPred.mov tblPred.frm];
mov_frm_lbl = [tblLbl.mov tblLbl.frm];
nlbl = size(mov_frm_lbl,1);
psz = size(tblLbl.p);
npts = psz(end)/2;
maxn = psz(2);
[~,match] = ismember(mov_frm_pred,mov_frm_lbl,'ro... |
09d903f956a081bacf3cb168edac2c7d62d81cffeeee19bda702549ec1231af6 | MATLAB | 6,682 | 172 | % This is a demo for a source-analysis toolbox;
% you need names your EEG-electrodes and some functional
% result like a potential at a time point, a CSP-pattern,
% a cross-spectrum, etc.
%
% you can
% 1. view field and cross-spectra;
% 2. make a forward calculation
% 3. make inverse calculations (dipole fits,MUSIC,... |
2f7f846d6d5c192167a5e8b4e16dc8523ab817477f61ffe1de54d33d665fb381 | MATLAB | 6,682 | 166 | function batch_analysis(option)
rexposure_exception=[]; %if you have four tracks but they are not rexposures...
rexposure=[]; %if not empty, assumes that there is rexposure to track
if strcmp(option,'EXTRACT_SPIKES_MARTA')
extract_spikes_phy; % for clusters extracted from PHY
elseif strcmp(option,'EXTRACT_SPIKE... |
c0dd5cb7f6b8416b074801a53493ea75abd23cea756806dd70b4cbd21b26da40 | MATLAB | 6,683 | 193 | classdef HBox < uix.Box
%uix.HBox Horizontal box
%
% b = uix.HBox(p1,v1,p2,v2,...) constructs a horizontal box and sets
% parameter p1 to value v1, etc.
%
% A horizontal box lays out contents from left to right.
%
% See also: uix.VBox, uix.Grid, uix.HButtonBox, uix.HBoxFlex
... |
eb69f5753a2c637676e5769cf1e8485746128dcb478c6f1b25ab8a4d18ebcf14 | MATLAB | 6,683 | 131 | function BSC_LSA_FIR(stat_path,sots_path,exp_folder,N,TR,model,q_level,ground_truth)
% ========================================================================
% Ruslan Masharipov, October, 2023
% email: ruslan.s.masharipov@gmail.com
% ========================================================================
tic
% Nu... |
31a16bbb30390acc629fed102a9c22c03bc249ef7f153c87756fd28550c5fad2 | MATLAB | 6,684 | 163 | function results = predict_static(datadir, kerneldir, resultsdir, varN, iterN, EN, Riem)
% results = predict_static(datadir, kerneldir, resultsdir, varN, iterN, EN, Riem)
%
% Prediction using (non-kernelised) static FC features with Ridge
% regression/Elastic Net. Output is fold-wise.
% Wrapper for nets_predict5_kfold... |
9cdae23211b01117a6576aaaa86774e9df3f54cb02157a7df21c14509d0335ef | MATLAB | 6,690 | 228 | function str = printstruct(name, val)
% PRINTSTRUCT converts a MATLAB structure into a multiple-line string that, when
% evaluated by MATLAB, results in the original structure. It also works for most
% other standard MATLAB classes, such as numbers, vectors, matrices, and cell-arrays.
%
% Use as
% str = printstruct(... |
823d803d517b32c2dccd3933c856d3613bbb81d52d6dcfb8ef96a774fcbb17a3 | MATLAB | 6,691 | 181 | % processMARA() - Processing for Automatic Artifact Classification with MARA.
% processMARA() calls MACA and saves the identified artifactual components
% in EEG.reject.gcompreject.
% The functions optionally filters the data, runs ICA, plots components or
% reject artifactual components immediately.
%... |
a66fff3fe1717fe95a08d5d3f96b525993ff5eeec0d29add2d300ec0fac9618f | MATLAB | 6,692 | 208 | function FB = FbMake( dim, flag, show )
% Various 1D/2D/3D filterbanks (hardcoded).
%
% USAGE
% FB = FbMake( dim, flag, [show] )
%
% INPUTS
% dim - dimension
% flag - controls type of filterbank to create
% - if d==1
% 1: gabor filter bank for spatiotemporal stuff
% - if d==2
% ... |
da51410b26ae8a9903d1bf3b49ee5392156e2a973f973f34175865ec2ff3e6db | MATLAB | 6,693 | 145 | %% Waveform extraction from DAT files & Half-width calculation
% Loads samples from each cluster extracted from kwik files and waveform
% informatiion stored in DAT files (which should be saved in 'raw' folder). Calculates mean waveform for each
% cluster,half-with amplitude and peak.
% Output: structure containing c... |
80f33cc39fcf7c4d81f99809cb978ca48392a295adbcd51f74288be4f7e72d3a | MATLAB | 6,694 | 161 | function [A, R] = generalized_procrustes(A_measure)
% Rotationally align clouds of points (generalized Procrustes problem)
%
% function X = generalized_procrustes(A_measure)
%
% The input is a 3D matrix A_measure of size nxmxN. Each of the N slices
% A_measure(:, :, i) is a cloud of m points in R^n. These clouds ... |
af459419d6ad0af25f4f6c820abec60ffa2bbddf55fb18e2cfcc7474d5fa3bdb | MATLAB | 6,695 | 190 | % This is a demo for a source-analysis toolbox;
% you need names your EEG-electrodes and some functional
% result like a potential at a time point, a CSP-pattern,
% a cross-spectrum, etc.
%
% you can
% 1. view field and cross-spectra;
% 2. make a forward calculation
% 3. make inverse calculations (dipole fits,MUSIC,... |
2110830260e5cbe29f134f9e1fbd831dfaddd9d04f87b3f1c6b12803249b22f6 | MATLAB | 6,699 | 149 | %% Generate number of puncta, positions and the transcripts
load(params.GROUND_TRUTH_DICT);
volume_microns = (simparams.IMAGE_FOVSIZE_XY*simparams.IMAGE_RESOLUTION_XY)^2 *...
(simparams.IMAGE_FOVSIZE_Z*simparams.IMAGE_RESOLUTION_Z);
if strcmp(simparams.puncta_placement_method,'random')
num_puncta = floor(vo... |
c251cd0e6f5c675bd5c7f311220d48ba60fd8af46ae94a4c39f60c264c798bfb | MATLAB | 6,700 | 205 | function M = realphasefactory(n, z0, zmax)
% Returns a manifold struct to optimize over phases of fft's of real signals
%
% function M = realphasefactory(n)
% function M = realphasefactory(n, z0)
% function M = realphasefactory(n, z0, zmax)
%
% If x is a real vector of length n, then y = fft(x) is a complex vect... |
8d1d68293b1acad3b3f7320a961c2e44332094fd9540f8045e5c06562633d51c | MATLAB | 6,703 | 161 | function [labels,output_pls,sig_nodes] = plot_matrix_connectivity_AAL(fc,thr,thrpar,figTitle,regions)
load('AAL116_region_names'); % 'region_labels'
nchan = length(sort(cell2mat(regions)));
regions=sort(cell2mat(regions));
% make matrix as output only (not visualization)---------------------------------------------... |
eccba8a258d8bfdd13dd68118921cd2cb5197080f869409455372dd4e7700121 | MATLAB | 6,706 | 242 | function sa=prepare_sourceanalysis(sa,clab,model,para);
% creates a structure needed for source analaysis
% usage: sa=prepare_sourceanalysys(clab,para);
%
% input:
% sa is the laoded forward model (eg, sa_nyhead).
% clab is a list of N channel names (clab{1} ... clab{N})
% all channels have to be EEG channels and... |
984c50ddd9d20afcbd4816b586e315df0687f972908ded03ce7952e40b973666 | MATLAB | 6,709 | 153 | % This script computes the induced surface charge density for an
% inhomogeneous multi-tissue object given the primary excitation, with
% accurate neighbor integration
%
% SNM 2022
%% load bem-fmm engine
addpath(fullfile('../engines/bem_fmm_engine'));
%% define options
numThreads = 1 % used for compatibility
... |
513c257322d0fcbaa4c4b13e4c1b10ccfab5dbb6185d7f5ce7819e6715faa9f9 | MATLAB | 6,710 | 211 | function reclassDat = ReclassifyTestTmp(spkDat, varargin)
% spkDat.waves = double(spkDat.waves);
[wL, nChan, ~] = size(spkDat.waves);
chanList = 1:nChan;
clustList = setdiff(unique(spkDat.id), 0);
shift = [-0.2 0.2];
pk = spkDat.peakLoc;
wP = spkDat.wavePad;
wL = wL - 2*wP;
win = 1000 * [1 - pk wL - pk] / (spkDat.Fs *... |
7c15dd9640ab7ba769ec051c121bd9c74b466a8b04833ad7bfc5c42b3cefc1d7 | MATLAB | 6,713 | 161 | function [] = moveplot(h,opt,tool)
% function moveplot(h,option)
%
% INPUTS: h = handle to a line object (e.g. created by a plot command)
% option = [ 'x' | 'y' | {'xy'} | 'axy' ]
%
% This function, once enabled, allows the user to manipulate the coordinates of any
% point in a line object specifie... |
2ef8329ba0cb9949c7cc67634bd5221896502b198684a568f51c1eadd2db0126 | MATLAB | 6,715 | 193 | classdef VBox < uix.Box
%uix.VBox Vertical box
%
% b = uix.VBox(p1,v1,p2,v2,...) constructs a vertical box and sets
% parameter p1 to value v1, etc.
%
% A vertical box lays out contents from top to bottom.
%
% See also: uix.HBox, uix.Grid, uix.VButtonBox, uix.VBoxFlex
... |
a09141ecb907b62471c086340b2d72325cf1bfbac6d5af91aaeeae2db97dff25 | MATLAB | 6,716 | 178 | function [dat] = read_brainvision_eeg(filename, hdr, begsample, endsample, chanindx)
% READ_BRAINVISION_EEG reads raw data from an EEG file
% and returns it as a Nchans x Nsamples matrix
%
% Use as
% dat = read_brainvision_eeg(filename, hdr, begsample, endsample)
% where the header should be first read using read_br... |
ce7b4bc48fdcc5603ea85c38ef9793cf2a118cea0406b3cb7d0201ccb3be2c54 | MATLAB | 6,722 | 189 | % Matlab script for extracting ROI data using SPM VOI functions:
%
% 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... |
06a1043c364953907600224ef1f90f4f84c3af90735ef29ebfdb70b4d2911258 | MATLAB | 6,728 | 202 | function [ep,out] = VBA_groupBMC_btwConds(L,options,factors)
% group-level between-condition Bayesian model comparison
% function Ltilde = VBA_groupBMC_btwConds(L,options,factors)
% IN:
% - L: nmXnsxnc array of log-model evidences (nm models; ns subjects; nc
% conditions).
% - options: a structure containing the ... |
96d8b0bd93d46706e4768f942e67f7b722b64d8895abf3df89db93e918e70789 | MATLAB | 6,730 | 175 |
% Calculate correlation between:
% LFP envelope correlation between Regions 1 and 2, and
% LFP mean envelope at Region 3
% for each of whole session, freezing and exploration (non-freezing) periods
clc; clear;
% --- Parameter list ---
csc1 = 'CA1'; % region to calcualte envelope correlation (CA1/ACC/BLA)
... |
2dc9a2b0fb7bceae038aa166708a34eafff8c84ddd316980283ec1c583e3e6e2 | MATLAB | 6,732 | 232 | % Save NIFTI or ANALYZE dataset that is loaded by "load_untouch_nii.m".
% The output image format and file extension will be the same as the
% input one (NIFTI.nii, NIFTI.img or ANALYZE.img). Therefore, any file
% extension that you specified will be ignored.
%
% Usage: save_untouch_nii(nii, filename)
%
%... |
b0d9db847835910a8f9b9fdd4ad5b6cd946525b8e8c27f0dffcf212fd4598990 | MATLAB | 6,732 | 171 | function handles = VBA_displayGroupBMC(posterior,out)
% displays group-level BMC analysis results
% function handles = VBA_displayGroupBMC(posterior,out)
% IN:
% - posterior/out: output structures of VBA_groupBMC.m
% OUT:
% - handles: structure containing the handles of the graphical objects
[K,n] = size(out.L);
... |
b527802ea37497c87e9854e30e368fe19becfc6f2e816d6909bc55b72d88d480 | MATLAB | 6,735 | 163 | classdef WaveformPanel < TimelinePanel
properties
audio
verticalScalingMethod = 1; % 1 = whole recording, 2 = displayed portion of recording, 3 = manual
verticalScalingValue = 1.0;
end
properties (Transient)
plotHandle
leftGrayRect
right... |
5854685c92b277f95f93390f6d28918b5beee93cdef2b5d17798ebde4e715ae7 | MATLAB | 6,738 | 245 |
dir('*mat');
fprintf(1,'Loading of the individual left and right camera calibration files\n');
calib_file_name_left = input('Name of the left camera calibration file ([]=Calib_Results_left.mat): ','s');
if isempty(calib_file_name_left),
calib_file_name_left = 'Calib_Results_left.mat';
end;
calib_file_name_rig... |
952f3bc322d2bef78c547971ff605dcb6b9c8a82be99a94f19a4865ce3597eaf | MATLAB | 6,738 | 215 | % This is a test for the ECoG Atlas Project
addpath C:\code\spm12
addpath D:\ECoG_Atlas\functions
addpath E:\OneDrive - Charité - Universitätsmedizin Berlin\Dokumente\PROJECT ECoG Atlas Connectomics\Liz\functions
spm('defaults','eeg')
%D=spm_eeg_load('filename_of_dataset.mat')
data_path = 'C:\Users\ICN_guest\Charité -... |
36c45b14e05c84752d98562b5b78180367998e47868338f8b8f1d8ec00d6caa2 | MATLAB | 6,740 | 238 | function [tfr,t,f]=tfrdfla(X,time,fmin,fmax,N,trace);
%TFRDFLA D-Flandrin time-frequency distribution.
% [TFR,T,F]=TFRDFLA(X,T,FMIN,FMAX,N,TRACE) generates the
% auto- or cross- D-Flandrin distribution.
%
% X : signal (in time) to be analyzed. If X=[X1 X2], TFRDFLA
% computes the cross-D-Flandrin distribution (Nx... |
5f2b55ae9913b81c6a25179aad6fdaacbf43fc0a7f3157f149a2be20d55322fc | MATLAB | 6,745 | 219 | % DELCODE-SAME, Figure "FADE SAME by age"
% _
% original paper: Soch*, Richter* et al., HBM, 2022
% Figure S5: Analysis of FADE scores as a continuous function of age
%
% DELCODE paper: Soch et al., medRxiv, 2023
% Figure S6: FADE and SAME scores as a continuous function of age (including original study)
% Figure S7: ... |
0c1cb31b31d3e09a1fc4ef1dc56ad08c52d7139286d628010f273053f8259377 | MATLAB | 6,747 | 260 | function c=plotColor(ind,n,type,inv)
% plotColor -- create color matrix of type colors
% function c=plotColor(n,type)
%
% [Outputs]
% c:color color
%
%
%
% Tomoyasu Horikawa horikawa-t@atr.jp 2011/12/4
%
if ~exist('n','var') || isempty(n)
n=10;
end
if ~exist('type','var') || isempty(type)
type='hot';
end
if ~... |
24d585921c23298ff675558dec2d1d3872ca7c99e1031ddec20c5f586e8a20a4 | MATLAB | 6,747 | 280 | function [S,KL,KH] = use_spm_filter(TR,dims,LChoice,HChoice,HParam,varargin)
% :Usage:
% ::
%
% function [S,KL,KH] = use_spm_filter(TR,dim of filter,LChoice,HChoice,HP filter in s,[LP Gauss len in s])
%
% :Inputs:
%
% **K{s}.LChoice:**
% Low-pass filtering {'hrf' 'Gaussian' 'none'}
% **K{s}.LParam:**
% ... |
c8d2560c8f61c615509db9fc01f6539d268d627afe243a9d2fd483a112edd211 | MATLAB | 6,747 | 209 | function EEG = trioEEGProcessLoad(ID, sectionsToRun)
% trioEEGProcessLoad(ID, sectionsToRun)
% Run this on each person's session individually.
% sectionsToRun determines which parts are run (e.g. can omit convert/load
% etc to save time if already have been done).
% Inputs:
% ID = string with ppID and session numbe... |
1e9a795c6f54ee165049acd64e1d242dbad1b4c78fcd9184a635cb4fb3c0ae32 | MATLAB | 6,749 | 179 | %% Bins fluorescent data into time and position bins, calculates Area under curve (AUC) for binned data, and finds the number of licks per lap
%Chad Heer; Sheffield lab
%INPUTS
%data = fluorescent data (either F or Fc) of single ROI to be binned
%behavior = single plane behavior data
%trackLength = length of track in... |
c65a5ae213e8d566bce5a711c999e6d9ade26e895be55bec1fd74fc1f9b1bdaf | MATLAB | 6,749 | 186 | function M=SOFAplotHRTF(Obj,type,ch)
% SOFAplotHRTF(OBJ, TYPE, CH) plots the CH channel of HRTFs given in OBJ.
% The following TYPEs are supported:
% 'EtcHorizontal' energy-time curve in the horizontal plane (+/- 5 deg)
% 'EtcMedian' energy-time curve in the median plane (+/- 2 deg)
% 'MagMedian' magnit... |
5f7fc832e20c5bd9244db8d564f3448006f724d295f1c294b1065e5e7a77c110 | MATLAB | 6,751 | 188 | %% WRAPPER CALLING SCRIPTS TO ANALYZE MULTI-EXR VALIDATION DATA
% Accompanies the manuscript by Kang*, Schroeder* et al., 2023
% Last modified by Margaret Schroeder on 12/14/2022
% Image processing up to this point:
% - background subtraction in Fiji and
% - registration using modified ExSeq pipeline
% - manu... |
dc0cb005754abcd3f5f4ad8e8914def8c669f161591d1df95c94223c998557b9 | MATLAB | 6,751 | 230 | function [adj,hashTable,scoreTrace,evalTrace,adjTrace] = DAGlearn2_DAGsearch(...
X,scoreType,SC,adj,A,maxEvals,hashTable, verbose, maxIter, maxFanIn)
% [adj,hashTable,scoreTrace,evalTrace,adjTrace] = DAGlearn2_DAGsearch(X,scoreType,SC,adj,A,maxEvals,hashTable, vberose)
if nargin < 8, verbose = false; end
ADDI... |
bb019b0007747438d612341e80bfba80a910a38f6346d67d77965793abe5615b | MATLAB | 6,752 | 163 | function [comp] = ft_datatype_comp(comp, varargin)
% FT_DATATYPE_COMP describes the FieldTrip MATLAB structure for comp data
%
% The comp data structure represents time-series channel-level data that has
% been decomposed or unmixed from the channel level into its components or
% "blind sources", for example using ICA... |
20fa3c15d9eb2ebf37d72f803b43a278c2c43d5062884b49699b5b4538eec188 | MATLAB | 6,754 | 198 | %% Modified from trimOutlier() %%
function [EEG, artifact_info] = trimOutlier_adjust_Eoin(EEG, maxThreshold_lf, amplitudeThreshold_hf, pointSpreadWidth)
if ~(nargin==4)
error('trimOutlier_adjust() requires 4 input arguments.')
end
% return if 3-D
if length(size(EEG.data))==3
disp('Epoched data detected: data... |
a8d81483ec584919afbbee890cec6e2c69b90d86faed04e84d57ee434f532497 | MATLAB | 6,755 | 209 | function mesh = checkerboard3d_mm(filename, type, edgesize, gradingflag,savefn)
% checkerbaord3d_mm(fnprefix, type)
% Reads input surfaces which are either in .inp format (Mimics exported in Abaqus
% file format) or .ele format (tetgen format) and then generates a 3D
% multiple material tetrahedral mesh.
%
% The rout... |
db3ea15fa814d10d72546facd2373c0423251aabd4a89ab3174459b838c9335f | MATLAB | 6,758 | 189 | % AverageByNode.m
% Sarah West
% 7/25/22
% Takes correlation-type data and finds an average of that data by node.
% Uses RunAnalysis.
% Inputs:
% parameters.data -- correlation values (correlation matrix or lower triangle of a
% correlation matrix only). Matrices must be put in with number_of_sources
% x number_of_so... |
4da5f5b35544fd1109d4f1363b51b8a5954da029824d065fdb20a0e3b384dee4 | MATLAB | 6,760 | 275 | %load data: contact lead author
%%
%plot cells
otherIdx={};
figure,
for ff=1:20;
AOcells = allROIInfos{ff}(:,:,aoIdx{ff})*3;
VScells = allROIInfos{ff}(:,:,vsIdx{ff})*2;
otherCellsIdx=setdiff([1:1:size(allROIInfos{ff},3)],[aoIdx{ff};vsIdx{ff}]);
otherCells = allROIInfos{ff}(:,:,otherCellsIdx);
otherI... |
9f0f6cd931ab727a3ff3080ab88573eb7cc42465513acb161565f5a56f018dbd | MATLAB | 6,761 | 357 | clear all
close all
clc
% Use this script to generate figures similar to those in Figure 3C of:
%Luna, R., Li, J., Bauer, R., & van Leeuwen, C. (2023). Retinal waves in adaptive
%rewiring networks orchestrate convergence and divergence in the visual system.
%Network Neuroscience
% This script generates ... |
651bfbabc81b32b7f9cddbde2f61cc9baf2b93675e180c45c241082f06424a93 | MATLAB | 6,762 | 216 | function [Mean_MMT_Wrist] = Muscle_Moment_G7(x)
% MATLAB code provided by Seyed Mohammad Ali Rahmati
% Affiliation: Biomechanics and Motor Control Lab, Department of Biological Sciences, Georgia Institute of Technology, Atlanta, GA.
% This script computes the maximum muscle moment averaged over the cycle as a function... |
123e002de03ccc5a7f28dbbd2db37c19744b6c1f253b3576e10e1808d01fe58a | MATLAB | 6,765 | 210 | % Demo: on-line design optimization for DCM of fMRI data.
% This demo simplifies the network identification of Friston et al. (2003).
% In brief, photic input enters V1, which is reciprocally connected to V5.
% The goal of the experiment is to assess whether attention modulates the
% feedforward connection from V1 to V... |
942c5892a51b7ed4dc3655a495e31f8c9cca9c4259f566e7c9a63725e711de82 | MATLAB | 6,765 | 210 | function [FV] = sphere_tri(shape,maxlevel,r,winding)
% sphere_tri - generate a triangle mesh approximating a sphere
%
% Usage: FV = sphere_tri(shape,Nrecurse,r,winding)
%
% shape is a string, either of the following:
% 'ico' starts with icosahedron (most even, default)
% 'oct' starts with octahedron
... |
641c3098eb435f85083191bb5be03ad48b2ebdce6cc6bdd80c63bac2f69c90d9 | MATLAB | 6,770 | 163 | function [comp] = ft_datatype_comp(comp, varargin)
% FT_DATATYPE_COMP describes the FieldTrip MATLAB structure for comp data
%
% The comp data structure represents time-series channel-level data that has
% been decomposed or unmixed from the channel level into its components or
% "blind sources", for example using ICA... |
86fb638d6ea355d56b134e106bf74ac7135563a1497ca3f3c3988e8f5cb82d15 | MATLAB | 6,773 | 239 | function CBIG_DrawSurfaceMapsInteract(lh_data, rh_data, mesh_name, surf_type, min_thresh, max_thresh, colors)
% CBIG_DrawSurfaceMapsInteract(lh_data, rh_data, mesh_name, surf_type, min_thresh, max_thresh, colors)
%
% This function is used to visualize a parcellatin but allow interactive
% cusor mode. By clicking a ver... |
90c7fd755088e0d478e6c2740b195d9827e515be1505c65761a1002171db4f5c | MATLAB | 6,776 | 205 | % HIFIE_DIAG Extract diagonal using hierarchical interpolative factorization
% for integral equations via matrix unfolding.
%
% This algorithm exploits the fact that only a small subset of all matrix
% entries need to be reconstructed from the top-level skeletons in order to
% compute the diagonal... |
8918980ca4bda9dddd33be7bfbfe50d4daca47938bdd49b2a257aa3c904029a9 | MATLAB | 6,777 | 185 | function [ROICenter,XYZCenter,VertexCenter] = y_ExtractCenterOfMass_Surf(ROIDef, OutputName, IsMultipleLabel, ROISelectedIndex, SurfFile)
% function [ROICenter,XYZCenter,VertexCenter] = y_ExtractCenterOfMass_Surf(ROIDef, OutputName, IsMultipleLabel, ROISelectedIndex, SurfFile)
% Extract the RO... |
e6dcac2fbfb79664852bbe1c8a4b10c6bef8cfcff79c154d24ec8f024a45e3cd | MATLAB | 6,781 | 194 | function [params,irange,domain,resnorm] = cubehelix_find(map,posn,prms)
% Return parameter values for the Cubehelix color scheme that matches the input colormap.
%
% (c) 2017 Stephen Cobeldick
%
% So you have a nice Cubehelix colormap but you can't remember the exact
% parameter values that were used to define it, or p... |
41ad58acaaf811902cd2e696221a21cbdf5fed474db7da1978991abad36017ac | MATLAB | 6,782 | 192 | function [muy,Vy,iVp] = VBA_getLaplace(u,f_fname,g_fname,dim,options,checkVar,reduceVy)
% returns the Laplace approximation to the prior predictive density
% function [muy,Vy,iVp] = VBA_getLaplace(u,f_fname,g_fname,dim,options)
% IN:
% - u: experimentally controlled input (design)
% - f_fname: the evolution functio... |
006e54a5435874f8d49a7899bc4b76b5ce10fe1926026192f664e1c87e31c2a8 | MATLAB | 6,786 | 224 | % TaskSwitch4 protocol
% Marino Pagan, October 2015
function [obj] = TaskSwitch4(varargin)
% Default object is of our own class (mfilename);
% we inherit only from Plugins
obj = class(struct, mfilename, saveload, water, ...
pokesplot2, soundmanager, soundui, ...
distribui, comments, sqlsummary);
%----------... |
947d46a7d78828452f599cad5c8ba9631d53dd0964529fac8ac8cf1ba17e3301 | MATLAB | 6,790 | 216 | function M = fixedrankfactory_2factors_subspace_projection(m, n, k)
% Manifold of m-by-n matrices of rank k with two factor quotient geometry.
%
% function M = fixedrankfactory_2factors_subspace_projection(m, n, k)
%
% A point X on the manifold is represented as a structure with two
% fields: L and R. The matrix ... |
38681ba84235b2accfc8208e3dcc26596c5e69a9b6626d3b7272b06f2620eee9 | MATLAB | 6,792 | 140 | function [] = ground_truth_replay_sequence_analysis(folders,BAYSESIAN_NORMALIZED_ACROSS_TRACKS)
for nfolder = 1:10
tic
cd(folders{nfolder})
load extracted_place_fields_BAYESIAN
% EXTRACT REPLAY EVENTS and BAYESIAN DECODING
% disp('processing replay events')
replay_decoding_ground_truth(BAYS... |
ed061e68296805a9d03cc6ec9701a2a5a5fdc4638e1d17d8ccf1d12c80c6c2cd | MATLAB | 6,793 | 202 | function [EEG, com] = FlagTriggersInWindow(EEG, varargin)
% Flag any triggers occuring within a time window of each epoch, for
% artefact rejection purposes.
%
% Inputs:
% EEG: EEGLAB data structure
% Triggers : trigger values to flag - cell of strings, or vector of numbers
% TWindow : vector of time window (ms)... |
0ce6c8d46ed26868c3e58334e94a19f02713cc3de26d3df1fd93a788d3aa7874 | MATLAB | 6,804 | 147 | function [ titlestr, settings, results ] = createNNGraphFromFeatures( dataview, settings )
% Creates a nearest neighbour graph based on the given features and distance function.
%
% Use low dimensional features (dimension<250 required) or make derived low-dimensional
% features by running the princ... |
0f6385c80efa5012cde78dc5bcb154523d262443765860845179f9a2c714748a | MATLAB | 6,806 | 194 | % FADE-SAME: Figure S3
% clear
% close all
%%% Step 1: load data %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% set results files
FADE_file = '../FADE_scores/FADE_SAME_scores_2021_01_11_FADE_only.xls';
covs_file = 'covariates/covariates_FADE.xls';
% define cohorts
cohs = {'young', 'middle-aged' ,'older', '... |
919a35c0b330e9e0aa88d00ad9287327f0533daf5dc970ac841781a924c2685b | MATLAB | 6,808 | 186 | function [rscr,random_Rscr,numFramesRemaining,numFramesScrubbed,totalNumFrames,random_rscrMatrix] = ...
new_FDDV_ScrubAndFilter(rts,fMPs,GS,WS,CS,FDvector,FDgevCutoff,DVvector,DVgevCutoff,useFDgev,useDVgev,fA,fB,useGSR,numROIpairs,TR, numOfSecToTrim, minSecDataNeeded, ...
minNumContiguousDataSeconds, ..... |
d0f63b6245022da9bd70f4929119b5669ce52564c7a0bb7939296926dd7bb766 | MATLAB | 6,810 | 150 | function [std_behav_boot,zscore_behav_boot,pvals_behav_boot,std_RSFC_boot,zscore_RSFC_boot,pvals_RSFC_boot] = ...
CBIG_VK2019_bootstrap_stats(LC_behav_loadings,LC_behav_loadings_boot,LC_RSFC_loadings,LC_RSFC_loadings_boot,...
nRois,signif_LC,scripts_dir,out_dir)
%
% This function computes the mean and std devia... |
fdd725df007d223d35425a43c8b3c8a45915bc3d4d9948d7a3be8f9c27cd4792 | MATLAB | 6,812 | 212 | function RT = lan_tfdetect_logothetis(LAN, cfg )
% for cell-array LAN structure
if iscell(LAN)
for lan = 1:length(LAN)
RT{lan} = lan_detect_freq_event(LAN{lan}, cfg );
end
return
end
time = getcfg(cfg,'time');
freq = getcfg(cfg,'freq');
chan = getcfg(cfg,'chan');
thr = getcfg(cfg,'thr');
ns = getcfg(... |
2a53a71c1dcd966c9220118d3ac2c4f370c13d417df6fddcacd21f933964b25e | MATLAB | 6,816 | 236 | %% Identities and relationships of tensors
% There are many mathematical relationships, identities, and
% connections among tensors. These identities are presented here and
% show the versatility of the Tensor Toolbox.
% The propositions indicated below are references to the following
% report:
%
% T.G. Kolda, "Multil... |
96c308c0743f79d54e6187e0abb4ddc95409a294cd3eb72025f23befc1666431 | MATLAB | 6,817 | 240 | function [tfr,t,f]=tfrbert(X,time,fmin,fmax,N,trace);
%TFRBERT Unitary Bertrand time-frequency distribution.
% [TFR,T,F]=TFRBERT(X,T,FMIN,FMAX,N,TRACE) generates the
% auto- or cross- unitary Bertrand distribution.
%
% X : signal (in time) to be analyzed. If X=[X1 X2], TFRBERT
% computes the cross-unitary Bertran... |
db0a15b71ed49a9d04ff883b7599087c90e780d1c581c0c651971821b6fcb29c | MATLAB | 6,820 | 216 | function M = obliquecomplexfactory(n, m, transposed)
% Returns a manifold struct defining complex matrices w/ unit-norm columns.
%
% function M = obliquecomplexfactory(n, m)
% function M = obliquecomplexfactory(n, m, transposed)
%
% Oblique manifold: deals with complex matrices of size n x m such that
% each col... |
50c39aea507e8b90df35d90cb640c15613fcf0b78c1914e4b526143df513cf6b | MATLAB | 6,821 | 253 | function [hfig,savename,sortederrs] = PlotFracInliersPerLandmark(varargin)
[gtdata,net,pttypes,colors,exptype,...
conddata,labeltypes,datatypes,statname,...
maxerr,minerr,...
hfig,figpos,savedir,savename,dosavefig,prcs,maxprc,...
annoterrdata,annotcolor,annoterrprc,plotannfracinliers,...
APthresh] = myparse(... |
65f9752f32cb245a247b4a846de2cb416536ff4799b5cfed5191669b054bbb17 | MATLAB | 6,821 | 271 | %epa_win_pc Computes probability correct in a given rPT window
%
% This script takes data from the endogenously driven pro/antisaccade
% task and, for each participant and each experiment, computes the
% total number of pro trials, the number of correct pro trials, the
% total number of anti trials, and the number... |
3f0ee6a5cc9fa7bfe6ec52979a5beb0e41253489bf501895189f3985ce62bc38 | MATLAB | 6,823 | 173 | function lan_master_gui_cohe(LAN_var, mainfig, parent_)
LAN = LAN_var;
newwin = false;
dosave = false;
if nargin < 2
mainfig = figure;
end
figure(mainfig);
cfg_control(1) = uicontrol('style', 'text', 'units', 'norm',...
'position', [.04 .94 .3 .05], 'string', 'TWF : ',...
'horizontalalignment', 'right');
... |
d8b93c27b651da1bacfa3a71ac36da60009e1f7fab187d3c647671f8a4446330 | MATLAB | 6,823 | 202 | function output = GTSuggest(lObj)
assert(isa(lObj,'Labeler'));
%obj.hFig = MovieManager(obj);
handles = struct;
handles.labeler = lObj;
hFig = uifigure('Units','pixels','Position',[951,1400,733,436],...
'Name','To-Label List');
handles.figure1 = hFig;
%hFig.CloseRequestFcn = @(hObject,eventdata) CloseRequestFcn(hOb... |
cec54e9081b315e209c0cdbfb3670b043687cfd17530ee266d64d780a43e5778 | MATLAB | 6,830 | 359 | clear
clc
close all
%script that plots behavior regression weights across all animals
%%% (generated by number_sessions_per_rat.m)
load data/numsessions_all_rats
rat_list=rats(find(numhits>=120000));
%%% load psychometrics data (generated by save_psychometrics.m)
load data/psychometrics_all_rats rats cdirs cfreq... |
42c101ee59b5d3a3b998747f156f72a0c15f6f5ad54d9f17c8a68c67759786e0 | MATLAB | 6,831 | 213 | function [pts_in_bigBin, bin_indices, polygons] = compute_Nd_binning(filter_X, resolution, gain, nsides, display)
% Function bdl_binning_v1
% Input: n-dimensional embedding of data, resolution and gain parameters
% Output: a cell array of bigBins along with indices of the data points
% in each bin. The bigBins constit... |
e8b8a0445519bbfade884236e31ae9bef16e121cd7c418c6839c175a8198f40c | MATLAB | 6,831 | 171 | %% Sparse Tensors
% MATLAB has no native ability to store sparse multidimensional arrays,
% only sparse matrices. Moreover, the compressed sparse column storage
% format for MATLAB sparse matrices is not readily adaptable to sparse
% tensors. Instead, the |sptensor| class stores the data in coordinate
% format.
%% Crea... |
f3f88f3a19d8606885ae4725a5fafd9e80f9470f4cce6f289bc2efda4af9b3d1 | MATLAB | 6,831 | 146 | %% Figure S6
% tempstr = data;
clearvars -except tempstr
%% Figure S6C
idmouse = tempstr.Mouse_Name;
[expts, start_index] = unique(idmouse); % list expt names and find the starting index of each expt in the data structure
start_index(end+1) = length(tempstr.Mouse_Name) + 1; % make an end of start indices equal ... |
5e644e1263fb7f9833b13b67705a1e5965cecdb27927e73a836317a607e95eb9 | MATLAB | 6,832 | 168 | function [s, cfg] = ft_statfun_indepsamplesZcoh(cfg, dat, design)
% FT_STATFUN_INDEPSAMPLESCOHZ calculates the independent samples coherence
% Z-statistic on the biological data in dat (the dependent variable), using the
% information on the independent variable (ivar) in design.
%
% Use this function by calling one o... |
50d21a0b896140b9629e8b1cf20d4624956f252316631778fbc19a781ce95cc5 | MATLAB | 6,835 | 223 |
% load data
% contact Lead Author for data
%% FOR avr3 - vvr1/vvr2
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% plot % overlap compared to others
count = 1;
figure; hold on
clear xx;
for vr = 1:3
switch vr
case 1
load('extra_31_4.mat');
clr = 'm';... |
b588278d8f64a033d7497e3c58a336b4910847ec41ddad3b94d73224ac852e04 | MATLAB | 6,838 | 168 | classdef MIPDetector < surfaceDetection.planarDetector
% planarDetector Extract a surface point cloud from a planar data stack
%
% As opposed to other detectors, the detected surface is
% represented not only by a PointCloud object but also by an image
% surfaceMatrix, containing z values for each x... |
d80692d24eec4b197a676585e753101c19c994e3ec9ca8244d96dae4f74499b8 | MATLAB | 6,840 | 186 | % Overdetermined least squares on the unit square, regularized Laplace kernel.
%
% This is like OLS_SQUARE1 except now we use regularized Laplace sources instead
% of thin-plate splines. This seems to better match the expected asymptotics for
% method-of-fundamental-solutions problems.
%
% Inputs (defaults are used if ... |
9daf814bd97d7699e7d9b28fc96a1fc6f88c559befbcc5298b5288e3bb37784e | MATLAB | 6,841 | 195 | % DELCODE-SAME, Table "FADE SAME"
% _
% original paper: Soch*, Richter* et al., HBM, 2022
% Figure 3: Differences of FADE-classic and FADE-SAME score between age groups
%
% DELCODE paper: Soch et al., medRxiv, 2023
% Figure 2: FADE and SAME scores as a function of fMRI contrast, score type and diagnostic group
%
% wr... |
c87b4bf5c1b51be760da6c746c2dc1b2cbeea6f408bac67656f333356aa13637 | MATLAB | 6,841 | 165 | function [Cfg, STLFiles] = y_PrepareBrainFor3DPrinting(Cfg, WorkingDir)
% y_PrepareBrainFor3DPrinting - Export individual bilateral pial surfaces.
% Usage:
% y_PrepareBrainFor3DPrinting(Cfg);
% y_PrepareBrainFor3DPrinting('/path/to/DPABISurf_Cfg.mat');
% [Cfg, STLFiles] = y_PrepareBrainFor3DPrinting(Cfg, WorkingD... |
d688d8a5aa3c5f3bacd208b407b4f3d594ec77a1e49147a47ec1d539cd4399b4 | MATLAB | 6,843 | 206 | classdef LabelCoreSeqAddController < LabelCoreSeqController
% Sequential adding of new landmarks - controller
%
% Extends LabelCoreSeqController for SeqAdd mode. Old points are
% frozen (HitTest off, no ButtonDownFcn). The tbAccept shows "Adding"
% during LABEL state and "Next" during ACCEPTED state.
properties
... |
b17f8b29dd9f7583b2c13b6e151555a594647cb2b49252badfb57df30686dd5d | MATLAB | 6,845 | 165 | function SOFAcompileConventions(conventions)
%SOFAcompileConventions
%
% Obj = SOFAcompileConventions(sofaconventions) compiles the specified
% SOFA conventions. For every convention a CSV file has to exist which
% will be compiled to a .mat file used later by SOFAgetConventions().
%
% The CSV file must be in ... |
f376b244fdc854a5aaeb87c5a8392610f97b60b1b2e69cb57169480e762f5501 | MATLAB | 6,847 | 190 | % Overdetermined least squares on the unit line, thin-plate splines.
%
% This example solves a Tikhonov-regularized overdetermined least squares
% problem arising from thin-plate spline kernel fitting of values at equispaced
% points on the unit line by sources on an another equispaced grid. The
% resulting matrix is r... |
25c5f270c572f8accf8aa69d10ab0d5e9f01cbf3a2f83ea7ca3cf0da517385c3 | MATLAB | 6,849 | 100 | %% 时频特征 | time-frequency domain
%% 经验模态分解 | empirical mode decomposition (EMD)
% 使用 EMD 将复杂的信号分解并简化为执行希尔伯特谱分析所需的有限个固有模态函数/内涵模态分量(intrinsic mode
% functions,IMFs)和一个残余分量residual,每一个IMF代表了原信号不同频率段的振荡变化,反映信号的局部特征,而最后的残余分量则反映信号中的缓慢变化量。
% IMFs函数的特性:
% ①在整个数据段内,极值点的个数和过零点的个数必须相等或相差最多不能超过一个
% 即图线要反复跨越x轴,而不能在某次穿过零点后出现多个极... |
4409ad1e60da53a1b92f9cfa90fc8ba55d839dc7d4354abc338be126d481d04e | MATLAB | 6,853 | 174 | function [Summary]=SummaryStats(InputData,varargin)
%Summary=SummaryStats(InputData,Dimension,Bin_Range,Bin_Size,SaveName,SaveDir)
if ~isempty(InputData)
nin = nargin;
if nin == 2
Dimension=varargin{1};
elseif nin == 3
Dimension=varargin{1};
Bi... |
c74d680cf64b00c260b771d4449effa5893a025c89f86fd9cbd083617b308ca6 | MATLAB | 6,854 | 147 | function [cfg, artifact] = ft_artifact_jump(cfg, data)
% FT_ARTIFACT_JUMP reads the data segments of interest from file and identifies
% SQUID jump artifacts.
%
% Use as
% [cfg, artifact] = ft_artifact_jump(cfg)
% with the configuration options
% cfg.dataset = string with the filename
% or
% cfg.headerfile ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.