sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
11247fccfc6e006161dd29ac3d2aa2bf96051e5deeac4d4d58ea312354c60200 | MATLAB | 3,858 | 92 |
%%%%%%% Parameters for fiber-photometry data file
FiberPhotometry1Data=[];
FiberPhotometry2Data=[];
FiberPhotometry1_SampleRate=[];
FiberPhotometry2_SampleRate=[];
FiberPhotometryAnalogChannel1=[];
FiberPhotometryAnalogChannel2=[];
%%%%%%% Parameters for timestamps file
FrameNumbersForbehavEventsSynchroniza... |
26cb0fc6d6e8675b73f2252c261bee77a318e307258de2f915471fd18c4200f5 | MATLAB | 3,859 | 123 | % M_TREE Conductance matrix of the electric circuitry in a tree.
% (trees package)
%
% M = M_tree (intree, options)
% ----------------------------
%
% Calculates the matrix containing all conductances in the equivalent
% circuit of the neuron in the trees format. To be used in "sse_tree" and
% other electrotonic anal... |
4f20c2db77374f5aef0da13c6e2b69ead632151daba7430f437c59aaac633a90 | MATLAB | 3,861 | 92 | % FigureS08.m
% Plots for Supplementary Figure S08.
% The same approach is used for Figure 3 and for Supplementary Figure S02.
%
% EEG/fMRI STUDY, DONDERS INSTITUTE, NIJMEGEN.
% J. Algermissen, 2018-2023.
% Should work in Matlab 2018b.
% we are here:
% cd /project/3017042.02/Analyses/FiguresOutcomeLocked
% clear all... |
0cb234c6eab18cb189dc14a11aeb2df9b247c91e7ec9b97d47293eaf37d4f7c2 | MATLAB | 3,862 | 124 | % XDEND_TREE Dendrogram X-coordinates of a tree.
% (trees package)
%
% [xdend, tree] = xdend_tree (intree, options)
% --------------------------------------------
%
% Returns a vector of x-values useful for constructing a dendrogram. Each
% element's x-value is set in the middle of the labeled terminal children
% (m... |
d2cc58e07ac40b6318ce99749d39a92838097ef3dbc2ded2c5ffa897a6a2aebe | MATLAB | 3,871 | 182 | close all force
%
clear
load('a0_0_bhv2trialStrct.mat')
%}
NImage{2} = [...
2
4
5
6
8
10
12
13
17
18
19
20
26
29
35
];
NImage{1} = [...
7
11
25
27
38
39
40
47
49
53
56
60
9
22
28
41
42
... |
09d225f6823de2a4091635c65db934c6f4587d131aa804c3f4acf0fc0f443454 | MATLAB | 3,875 | 148 | classdef camera < handle
% zapit.simulated.camera
%
% Purpose
% This class simulates a zapit.hardware.camera to allow development and testing without
% hardware present.
%
% Rob Campbell - 2022 SWC
properties
vid % Normally holds the camera object
src % Normally hol... |
57eeafd9a3374db044cddb9582c3dde0d9178f68fb1b65cc946640a44fdc26e1 | MATLAB | 3,882 | 115 | load(fullfile(dataFolder,'simulations','simulated_spectra_parameter_sensitivity'));
neuronTypes = {'L23E_oi24rpy1';'L23I_oi38lbc1';'L23I_oi38lbc1';'L4E_53rpy1';'L4E_j7_L4stellate';'L4E_j7_L4stellate';'L4I_oi26rbc1';'L4I_oi26rbc1';'L5E_oi15rpy4';'L5E_j4a';'L5I_oi15rbc1';'L5I_oi15rbc1';'L6E_51_2a_CNG';'L6E_oi15rpy4';'L6... |
ed74c01134d52cd99c1a7e1bd0150125e31829d73b9c40917297b0eb0633f01e | MATLAB | 3,884 | 140 | function [out_mat, freqvec_ph, freqvec_amp] = window_data(sig,Fs, ...
win_length,overlap, measure, sig2,ph_freq_vec, freqvec_amp, nfft, width, waitbar)
% function [out_mat, freqvec_ph, freqvec_amp] = window_data(sig,Fs, ...
% win_length,overlap, measure, sig2,ph_freq_vec, freqvec_amp, nfft, width, waitbar)
%
% T... |
0b6958d272363767330a7596741acf3306ac1bb3c2bbad0a69dff81fa772e583 | MATLAB | 3,885 | 80 | clc;clear;close all
%% BNPower
% Simulation Parameters
M_rep = 100; % Number of repetitions for the simulation
M_perm = 100; % Number of permutations for the permutation test
N = 100; % Total number of nodes
NE = N*(N-1)/2; % Number of edges (calculated from total nodes)
n1 = 200; ... |
9543fad5df76fa570f8110dca8a48f804439d003a69e71e260145828b8bdd641 | MATLAB | 3,891 | 144 | function psfData = psfCrossSection(pointsToScan)
% Testing code for acquiring then plotting nicely the beam pointing error
%
% Purpose
% Acquires a "PSF" by scanning the beam across a sharp edge (like razor blade) with
% photodiode underneath. The beam should go from being totally unoccluded to bein... |
87b5096ad0f41ddd871a5f62e991486445893013a999807471e9385b385ee599 | MATLAB | 3,893 | 139 |
clear;clc;
b={};
SEQ={};
tic;
for i = 1:100
filename='all_100RNA4447_145_4M_s30_rng';
a=readtable(strcat('.\M4_100\',filename,num2str(i),'.txt'));
b{i}=table2struct(a);
for k=1:size(b{1},1)
SEQ{i,k} = b{1,i}(k).sequence;
end
end
toc;
i=size(SEQ,2);
k=size(SEQ,1);
rel_vec2=cell(k,i);
rel_vec=cell(k... |
f28f5cfdbe68ece548302f2d53f42f121d54eef53a2a530635f21a2c35bdd4f1 | MATLAB | 3,895 | 224 |
clear
close all force
warning on
% find if faces were on the left or right
for iImage = 1:62
end
hWB = waitbar(0,'checking the trials ...');
hWB1 = waitbar(0,'checking the trials ...');
%load tirals info
load('a0_0_bhv2trialStrct.mat');
load('a0_13_insideFaceTiming.mat');
eIndividuals = false;
NIImage_Individu... |
7da20c67064cb6394a8aeb9ae745727c4bf954522df1a19f1f4f9b59f121142e | MATLAB | 3,898 | 131 | clear
clc
%% set path
addpath('...\fcn')
addpath(genpath('...\ext'))
%% set directories
data_dir = '...\mammals_connectome';
out_dir = '...\output';
%% load data and set parameters
thresholds = {'0' '0.05' '0.1' '0.15'};
curr_thresh = 1;
load(fullfile(data_dir,...
sprintf('cents_repani_sta... |
da430837f6b0e7d382888f6e23a032605e5601d025814acdc3f1c94cc3628717 | MATLAB | 3,898 | 135 | function [fixeddata,countdata] = playback_markov(imagedata, ...
offsets, edgebuffer, ch, fillBadData, inpaintIters, ...
verbose, doPar)
%% Initialize
% Bad frame, fill missing data or replace
switch lower(fillBadData)
case {'nan', 'inpaint'}
valReplace = nan(1, class(imagedata));
... |
d5a9003cbbec53ce0b9fb621533674a4ba26fd3ffe13c28b86e6906d636b08e7 | MATLAB | 3,899 | 83 | function A_cores= sum_cores(Image, Cores_Stats,blank_field,radii)
% %---------------------------------------------------------------------------------------
[xgrid, ygrid] = meshgrid(1:size(Image,2), 1:size(Image,1));
core_R = [];
core_B = [];
new_col = Cores_Stats(:,2);
new_row = Cores_Stats(:,3);
% radii = (... |
57ef7c628d2c55c983fcc2c88424f1148e8b892b3b93dd45a03ab35f2f759b5c | MATLAB | 3,908 | 121 | % acq = load_acq('0602xuchengan.acq',0);
% acqdata = acq.data;
% marks = acqdata(:,2:6); % depends on your settings
dirfolder = 'H:\copy\Work\NeuScan\Fear\data\SCR_mat\lucy\acqdata_generalize\SCL\';
subfiles = dir([dirfolder,'*.mat']);
subfiles = {subfiles.name}';
nsub = length(subfiles);
for k = 1:nsub
l... |
04c06de3e687630a91b6b938a39534a6dfccc848cdd29d8a14f7b72718c41a80 | MATLAB | 3,917 | 144 | folder = fullfile(dataFolder,'cortical_column_Hagen','matlab_morph_data');
load(fullfile(folder,'L23E_oi24rpy1_connections.mat'));
connections = connections+1;
X = csvread(fullfile(folder,'L23E_oi24rpy1_segments.csv'));
for i= 1:size(X,1)
segs{i} = X(i,X(i,:)~=0);
end
data(:,6) = max(data(:,6),0.5);
xSoma = dat... |
c8e96d6c3a58db462280728bdecde16f89e1dbd89234bc1c25063127db01ea46 | MATLAB | 3,928 | 116 | function [window, nWin, ctrLine] = get_window(imgLong, iWin, ...
nOverlap, windowLines)
%get_window - Get a single analysis window
%
% This function is not intended to be called directly.
% Copyright (C) 2017 Matthew J.P. Barrett, Kim David Ferrari et al.
%
% This program is free software: you can redistrib... |
547d7975cb3f5291fdb29c9169edd959cbe8bd13b88d1ed28520ae19e6a07734 | MATLAB | 3,933 | 120 | function drawBrainAreasOnSample(obj,areaCoords)
% Run the beam around the perimeter of defined brain areas
%
% zapit.pointer.drawBrainAreasOnSample(areaCoords)
%
% Purpose
% Accepts a list of brain area index values and runs the beam around them.
% Must run DAQ.stopAndDeleteAOTask manually t... |
ee19718c6612669c4eb1933e31388b94e928daa7b444da44f762b483d3919851 | MATLAB | 3,935 | 117 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function calcCorrespondencesForFixed(fixed_run)
loadParameters;
if params.DO_DOWNSAMPLE
filename_root = sprintf('%s-downsample_',params.FILE_BASENAME);
else
filename_root = sprintf('%s_',params.FILE_BASENAME);
end
fprintf('Calc... |
fd691b1f7d16c9dea8481e106358fc3d428afee19f689ab0045557b3cf058fac | MATLAB | 3,945 | 122 | % Classifier unit test
%
% Classifier: liblinear
% Note: the classifier itself is not being tested since it's external but
% rather the MVPA-Light interface.
rng(42) %% do not change - might affect the results
tol = 10e-10;
mf = mfilename;
%% first check whether LIBLINEAR is available
check = which('train','-all'... |
e7d98a07d5320cd2ccb49df64b71dfd9ea06d4461f5dfdb97dfa2238990f98b2 | MATLAB | 3,947 | 152 | function stopOptoStim(obj, rampDownInMS)
% Stop laser stimulation. Slowly ramping down the signal over time
%
% zapit.pointer.stopOptoStim(rampDownInMS)
%
% Purpose
% Stop stimulation over a period of time specified by rampDownInMS. The value of
% rampDownInMS is obtained from the stimConfig... |
f832f34ca8bd32320ca0066cc0338f15fdce09631561a324d5ff2e6d503934e2 | MATLAB | 3,949 | 130 | function [out] = EEGfMRIPav_cbm_mod02_modSim(parameters, subj)
% Standard Q-learning model with delta learning rule and Go bias.
% ----------------------------------------------------------------------- %
%% Retrieve parameters:
% 1) Feedback sensitivity:
nd_rho = parameters(1); % normally-distributed rho
rho ... |
1d8bd1ade56530564f50546c7390d7c7ca5eedbc9c1df97d3ed43556dce1e1bf | MATLAB | 3,951 | 188 |
clear
close all force
warning on
load('a0_0_bhv2trialStrct.mat');
imSize = [733, 977];
load a7_2_createAvergedNOTMorphedHeatMapsLoad
hmAll2 = hmAll;
load('a6_2_createAvergedMorphedHeatMapsLoad')
NIm = [22,43,7, 22+62, 43+62, 7+62];
%%
iIN = 1;
iMonkey = 1;
figure(2)
funGauss2dSD = 20;
for iN = 1:2
for iMu... |
0e4aa66c39c2f9740de9899ce41a99434590aab0337cd71204579174db0f1dd6 | MATLAB | 3,958 | 163 | clear;
addpath './Tools';
nCond = 8;
FramepTrial = 22;
imageCount = nCond*FramepTrial;
k = 1;
start_x = 60+40*(k-1);
start_y = 150+15*(k-1);
X = start_x:1:(start_x+40);
Y = start_y:1:(start_y+40);
%% Load reconstructed Bio-FlatScopeNHP data after FFT
RespCond_org = [];
DataTrial_org = [];
for con... |
23372bd754edd79aad6eb0a390242aceb83b7fbd882cfb8f153a2b078c91b77d | MATLAB | 3,960 | 112 | function simulateFullModel(baseModel, outFilename, fracN, fracA, TNM, TNG, TAM, TAG, mobUtilN, mobUtilA, TMT, addExtraATP)
% simulateFullModel
%
% Generates a combined model from the params supplied and runs a simulation.
% The fluxes of glycolysis, mitochondrial respiration, and both are then extracted
% for both... |
5204d8acaf53b56f5a146dfe20015f686c4014d816d83d410936f59785214614 | MATLAB | 3,962 | 119 | function [loglik] = EEGfMRIPav_cbm_mod07(parameters,subj)
% Standard Q-learning model with delta learning rule and with Go bias,
% Pavlovian response bias, instrumental learning bias, and single choice
% perseveration parameter.
% ----------------------------------------------------------------------- %
%% Retrieve p... |
645a24d08c3f46f00fa284a1a3234f872512e3e9820211a6bc3c28ac21f5b5a8 | MATLAB | 3,966 | 145 | % ZCORR_TREE corrects neurolucida z-artifacts.
% (trees package)
%
% [tree idZ] = zcorr_tree (intree, tZ, options)
% ---------------------------------------------
%
% While reconstructing cells with Neurolucida sudden shifts in the z-axis
% can occur. This function is to correct automatically for those effects.
% Any... |
a602547bf320d0f60cbdb1d5ba0698246d1c584457b2c483c619af1e307785bf | MATLAB | 3,969 | 101 | function softwareTimedVoltage
% Example showing software timed analog output using the Vidrio dabs.ni.daqmx wrapper
%
% function vidrio.AO.softwareTimedVoltage
%
%
% Purpose
% Demonstrates how to do software-timed analog output ("on demand" output) using
% Vidrio's dabs.ni.daqmx wrapper... |
adf6449e14e2edf8de55bf3643769542c54d630378af4dab0281b3584162b6b2 | MATLAB | 3,970 | 131 | function df = st_applyBeta(df,fold,params)
% recompute and clear unwanted-variables
% 1) remove grid info (no longer needed)
% 2) compute & override trainPred with train_pred * beta
% 3) calculate varexp
if isfield(df,'test_pred')
makeTestPred = 1;
else
makeTestPred = 0;
end
if isempty(df(fold).varexp) || nd... |
00addd1ac9cb2c12b1c178703c58eeb13a09b3be3660a99c09148a8f6384dc61 | MATLAB | 3,972 | 107 | %decc_plotFig2
% Related to Viswanathan, Stein, Nieder, PLOS Biol, 2024
% PV 2024
load('DECCdataFig2.mat')
% Figure parameters
lcolor = [ 0.2 0.2 0.2; 0.0 0.4 0.5; 0.6 0.3 0.0; 0.1 0 0.5];
dotcolor = zeros(3,3,3);
dotcolor(:,:,1) = [0.0 0.2 0.3; 0.0 0.4 0.5; 0.0 0.6 0.7];
dotcolor(:,:,2) = [0.4 0.1 0.0; 0.6 0.3 0.0; ... |
45160f2f083cc0d2b96c8a4b1c9e3e4d3d05a46aba50f62e95a1d73fb0dc07fb | MATLAB | 3,974 | 102 | function DO_retriggerable
% Example showing TTL output, repeatedly triggered by an external TTL signal using the Vidrio dabs.ni.daqmx wrapper
%
% function vidrio.mixed.DO_retriggerable
%
% Purpose
% Shows how to repeatedly trigger a TTL signal with adjustable delay and duration
% using an in... |
5359f41a8a0efaa6a69e074d81083f8842e84ee31898f921aca347232edd31a5 | MATLAB | 3,975 | 136 | %%
% Reproduces Iso vs. Ortho plot (Fig. 3C)
%
% Function inputs:
% cellTable: structure containing neuron data
% cellCondTuned: vector of 1's and 0's that denotes which cells should be
% included (e.g., only non-offTarget cells)
% mouseNames: cell array of mouse names for each ensemble
%
%%
function Fig3C(... |
6b209543246ae2314b8d7d356206b4d50ce443cc361d7d37b6033455875f9d71 | MATLAB | 3,977 | 114 | function [ vec, tvecout ] = t2n_get(out,par,arg,typ)
% This function can be used to obtain a recorded parameter during a specific
% time point/period of the simulation.
%
% INPUTS
% out the output structure of the t2n main function
% par string of the parameter to obtain (DEFAULT: 'v')
% arg can be either
%... |
d2a3293a9c39c2a1c438e905d5ba6498f94115c23c75488e07703befbf887b30 | MATLAB | 3,986 | 185 | clear
close all force
load('a0_0_bhv2trialStrct.mat');
load a0_3_3_findEyeAreaForSaccades
%%
imSize = [733, 977];
pix2deg = 34.910;
%%
%individual
NIImage_Individual = [7
9
11
22
25
27
28
38
39
40
41
42
43
44
47
49
52
53
55
56
57
59... |
e8e1de1afec5514cc077ffcf49d496934ea9e77a200b51bcde991c4711bc5af6 | MATLAB | 3,991 | 118 | function out = LK_RippleDetection_Preprocessing_20220319(mycfg, myeeg)
%
% LK_RippleDetection_Preprocessing_20220319 preprocesses the data for
% subsequent ripple detection.
%
% Preprocessing includes:
% - band-pass filtering;
% - envelope estimation;
% - envelope smoothing;
% - artifact removal from the envelope signa... |
f8099dcb6d9c92cc60115e901c3bbaa3f410aeea0f9d69142d1f0290b9517536 | MATLAB | 3,999 | 79 | function [NormalizedSniffingDataFilteredUpTo50HzAt5000Hz,InhalationPeaksInSec,ExhalationPeaksInSec,PausesStartTimeInSec,PausesEndTimeInSec]=Analyze_Sniff_data_05_8_2019...
(filenameSniffData,StartTriggerTimeInSec,GetInhalationExhalationPausesTimeInSec,GetPauseTimeInSec)
NormalizedSniffingDataFilteredUpTo50... |
4fc942ab3a47f6d5deb8ee02c54ff1c05a98c0139dc576846211dd376e5b26f0 | MATLAB | 4,004 | 87 | function loco = GetLocoData(infoStruct, varargin) % quadPath,
% Load wheel data and convert to filtered wheel velocity
IP = inputParser;
addRequired( IP, 'infoStruct', @isstruct )
addParameter( IP, 'wheel_diameter', 14, @isnumeric ) % wheel_diameter = 14; % in cm
addParameter( IP, 'wheel_tabs', 44, @isnumeric ) % ... |
a07d15e0e08fdf0858162547b419883075e14e756cf6f5a0d25c45027dae8b8b | MATLAB | 4,004 | 127 | %==========================================================================
% This script detects channels with large artifacts in order to flag them
% in the "subjectdata.mat" file.
%
% Lukas Kunz, 2021
%==========================================================================
% start
clear; close all; clc;
% paths... |
20a40af7f5196a64b1769a858067ad173aaa32ef8cbd2ffb048cd157fd7aa3da | MATLAB | 4,009 | 109 | function softwareBasic
% Example showing software-timed (on demand) digital output using the Vidrio dabs.ni.daqmx wrapper
%
% function vidrio.DO.softwareBasic
%
% Purpose
% Shows how to flip digital lines on demand using Vidrio's dabs.ni.daqmx wrapper.
% Note that on many DAQ cards the digi... |
063c273447409398e80448f6635e51b110069a1a4018176214d58adf2593a514 | MATLAB | 4,011 | 119 | function plot_main(self, hFig, varargin)
%PLOT_MAIN - Create the main plot for CellScan objects
% Copyright (C) 2017 Matthew J.P. Barrett, Kim David Ferrari et al.
%
% 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
% ... |
9278357ca4a54d84883f4787493459152bedc8f78643844f9949dc7a04de1172 | MATLAB | 4,014 | 148 | % CAP_TREE Adds a cap to the soma of a tree.
% (trees package)
%
% [tree, idpar] = cap_tree (intree, options)
% ------------------------------------------
%
% Adds small segments to close open somata and optionally add axon.
%
% Inputs
% ------
% - intree ::integer: index of tree in trees or structured tree
% - opt... |
60298ebe2a9d0fbb442562e92f9a51dd3be11cc8654f80bc1dfccbb370cb5e48 | MATLAB | 4,021 | 169 | clear
close all force
imSize = [733, 977];
pix2deg = 34.910;
load('a7_2_createAvergedNOTMorphedHeatMapsLoad.mat', 'hmAll')
load a0_0_bhv2trialStrct.mat
%%
%hmAll = zeros(733, 977,nMuscimol, nMonkey, numel(NIm), 'double') from a7_2;
% UMuscimol = [0, 12 (r),9(l) ,4,1];
%iMuscimol =
%1: base
%2: rig... |
f86e1d202c80552af7f6bf216b032936a8f06b04ea3588618faaba08eb52b91c | MATLAB | 4,021 | 96 | function [success_code, outputs] = batch_process(prefix, func, run_num_list, arg_list, ...
postfix_list, pool, num_jobs, max_running_jobs, wait_sec, log_dir)
success_code = true;
outputs = {};
disp('set up cluster')
tic;
cluster = parcluster('local_logical_cores');
toc;
tic;
disp... |
7cc0b727a5380c99fa9fa3e444e67af5a9c9715170f498250b1b054b0b01d79f | MATLAB | 4,025 | 153 | % function K = kernelmatrix(ker,X,X2,sigma)
%
% Inputs:
% ker: 'lin','poly','rbf','sam'
% X: data matrix with training samples in columns and features in rows
% X2: data matrix with test samples in columnsand features in rows
% sigma: width of the RBF kernel
% b: bias in the linear and polinomial kernel
% d: ... |
01a19f6b59e9367f04866f34a5b416bfade196fe4b8824f7357331e88d5ac675 | MATLAB | 4,033 | 105 | classdef (Abstract) DataDiameter < Data
%DataDiameter - Superclass for all DataDiameter classes
%
% The DataDiameter class is an abstract superclass that implements (or
% requires implementation in its subclasses via abstract methods or
% properties) all basic functionality related to storing data from
% diamet... |
091e00eb89d7e8180131b8cda93f67a85d55989a2bce36f034105db7ad63a330 | MATLAB | 4,038 | 104 | classdef Test_RawImg_params < matlab.unittest.TestCase
% TEST_RAWIMG_PARAMS Summary of this class goes here
% Detailed explanation goes here
% ================================================================== %
properties (TestParameter)
mcMethod = {'convfft', 'hmm'};
dsamp ... |
b94c7bff67be53de58fb9f66fde5032db899843db131bdbe4779c9894c5de3b8 | MATLAB | 4,039 | 125 | function varargout = hardwareFiniteVoltage(devID)
% Example showing hardware-timed analog output of a finite number of samples using DAQmx .NET
%
% function nidaqmx.AO.hardwareFiniteVoltage
%
% Purpose
% Shows how to do hardware-timed analog output using the DAQmx .NET interface.
% This func... |
bcaf06a8d56d2002dcd1c7b43656c6561ca4198d03971319bcced4b7c0bb6259 | MATLAB | 4,040 | 143 | %sim_readout.m
%Jamie Near, 2014.
%Speed-up modifications by Chathura Kumaragamage, Feb 2018.
%
% USAGE:
% [out,d_out] = sim_readout(d_in,H,n,sw,linewidth,rcvPhase,shape)
%
% DESCRIPTION:
% This function simulates an ADC readout of the transverse magnetization
% during the free evolution of the spin system under the e... |
7651583df22ff4a47090e36c742d0735634d734fe760926e0551d86ba2871e5e | MATLAB | 4,043 | 120 | %% Classifies flash pattern time series against population references using dynamic time warping
% Saves predictions to csv files that are then analyzed in the DTW.ipynb
% notebook
% Requires the dtw_c.m function available at: https://www.mathworks.com/matlabcentral/fileexchange/43156-dynamic-time-warping-dtw
% !!! Be... |
eb31b18f720b9837f1616d9b9e79b449ed3f78a569652447cef6f7bf80809119 | MATLAB | 4,045 | 114 | function val_half_permutations
% Is the half-permutation shortcut lossless?
%
% For a two-sample design with EQUAL group sizes and a t-contrast, the toolbox
% computes only half of the permutations and enters each one twice into the null
% distribution, once as max(t) and once as -min(t). This assumes that the
% mirror... |
9bf43c508c08456d025599ceaaa91537b96a0c2e29bc5e0f87fcde5ad76c9278 | MATLAB | 4,046 | 159 | % JITTER_TREE Jitters coordinates of a tree.
% (trees package)
%
% tree = jitter_tree (intree, stde, lambda, options, ipart)
% ---------------------------------------------------------
%
% adds spatial noise to the coordinates of the nodes of a tree.
%
% Input
% -----
% - intree ::integer: index of tree in trees or... |
568dc1931cebf8eedf747832d198a278deaf95fac6f883146fe181c2612ed1a9 | MATLAB | 4,049 | 138 | %%
clear; clc
% data1 = [];
% data2 = [];
data1 = {};
data2 = {};
%% Perform ANOVA
testName = 'two-way repeated measures ANOVA';
% nUnits = 'cells';
nUnits = 'cells from 11,4 mice';
% nUnits = 'FOV from 11,4 mice';
% nUnits = 'mice';
% nUnits = 'cells from 4,2 mice';
% nUnits = 'sessions from... |
b4b91aae4b4d7ab4e5aab00301666a887b25ba5f40fe9f11ea55506d3a28ad38 | MATLAB | 4,054 | 84 | function InterpTemporalCat(sbxInfo, varargin)
IP = inputParser;
addRequired( IP, 'sbxInfo', @isstruct )
addParameter( IP, 'pmt', -1, @isnumeric )
addParameter( IP, 'edges', [0,0,0,0], @isnumeric )
addParameter( IP, 'chunkSize',15);
parse( IP, sbxInfo, varargin{:} );
pmt = IP.Results.pmt;
edges = IP.Results.e... |
c2f4d9cab9338f401c51ebee744aa45b713d21b3a11d0835ffda085d0e6019e2 | MATLAB | 4,056 | 213 | clear
close all force
imSize = [733, 977];
pix2deg = 34.910;
load('a7_2_createAvergedNOTMorphedHeatMapsLoad.mat', 'hmAll')
load a0_0_bhv2trialStrct.mat
%%
%hmAll = zeros(733, 977,nMuscimol, nMonkey, numel(NIm), 'double') from a7_2;
% UMuscimol = [0, 12 (r),9(l) ,4,1];
%iMuscimol =
%1: base
%2: rig... |
05b2398646ea9fb995eb9a42c21ba311910a5debc399b4369db70190fa06403c | MATLAB | 4,057 | 1 | function pressKey2Begin(display, onlyWaitKb, speak, promptString, triggerKey)
% pressKey2Begin(display, [onlyWaitKb=1], [speak=0], ...
% [promptString = 'please press any key to begin.'],[triggerKey = 'any'])
%
% Displays 'please press any key to begin' on the SCREEN
% just below the center of the screen and waits ... |
94123f315eb7f0cf68117158dffef59ebd339fb595b356e2a114dfc9f1ffef2a | MATLAB | 4,061 | 126 | function [mixedsig, mixedfilters, CovEvals, covtrace, mov, movm, ...
movtm] = CellsortPCA(imgSeq, fLims, nPCs, dsamp, badFrames)
% CELLSORT
% Read Image rawdata and perform singular-value decomposition (SVD)
% dimensional reduction.
%
% Inputs:
% ImgSeq - Image stack, must be single-channel, squeezed to 3D.
% f... |
8227a336f3537cb35d13457811f234460bdf4f8da8a7ac2746efbe6633203c44 | MATLAB | 4,063 | 137 | % SOMA_TREE Adds a soma to a tree.
% (trees package)
%
% tree = soma_tree (intree, maxD, l, options)
% -------------------------------------------
%
% Changes the diameter in all locations closer than l/2 from the root to a
% sort of circular (cosine) soma shape.
% Note! This function was recently corrected to match ... |
587983fb54c67b37f841b2cbfc84e2a8c1f0f0adbf0cabeb563e086aed14f168 | MATLAB | 4,065 | 128 | %% S5 Fig
% Jiaxin Gao
% Zhejiang University
% email: jiaxin_gao@zju.edu.cn
%% Experiment 1
% -----------------------------------------------------------
% nodepression
% The code for S5 Fig A
clear
clc
load('.\FigS5_data.mat','FigS5_Data');
fs = 100;
tik = 0.01;
d = fs*1;
lag = 'all';
shift = 0.... |
296bcd96d2dc0517105f36f73ed8e6ab20336ca289fbbf022da39f4c86d2c93e | MATLAB | 4,069 | 109 | % op_CSICombineCoils.m
%
% Combines the coils of MRSI data. First, coil's phases are adjusted to
% match the phase of the first coil. Then, sensetivity weights for coils are
% calculated by the formula w(i) = S(i)/sqrt(sum(S^2)) where S is intensity of the
% first point of the fids in the center of k space and i is the... |
b31e9ca148150b2a4c190a1e733cd7edaf18c0cb3082a255ae47b1f8a4c4d92d | MATLAB | 4,071 | 102 |
%%%%%%% Parameters for fiber-photometry data file
FiberPhotometry1Data=[];
FiberPhotometry2Data=[];
FiberPhotometry1_SampleRate=[];
FiberPhotometry2_SampleRate=[];
FiberPhotometryAnalogChannel1=[];
FiberPhotometryAnalogChannel2=[];
%%%%%%% Parameters for timestamps file
FrameNumbersForbehavEventsSynchroniza... |
0ae53e6b99c603ec331471f68896e3a62cb2428dc1ec9512d81fb5278049969c | MATLAB | 4,074 | 134 | function [out] = EEGfMRIPav_cbm_mod03_modSim(parameters, subj)
% Standard Q-learning model with delta learning rule and Go bias and
% Pavlovian response bias.
% ----------------------------------------------------------------------- %
%% Retrieve parameters:
% 1) Feedback sensitivity:
nd_rho = parameters(1); % ... |
608b9c42abc76f6a5e5118b1327e223fcceeadf8785e9ac83452ce49e90cd67a | MATLAB | 4,075 | 119 | function self = calc_velocity(self, windowsBig, lineTime, ...
time, yPosition)
% Copyright (C) 2017 Matthew J.P. Barrett, Kim David Ferrari et al.
%
% 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 ... |
8e56dc52dc80c4f2b146c1461b74611ceca96e4391f19fc0a0242b7b98dda5f2 | MATLAB | 4,077 | 115 | % CSItoTwix.m
% converts a voxel from CSI to an MRS structure for FID-A. The CSI voxel
% selected is based on MRSIndex variable.
%
% USAGE:
% out = op_CSItoMRS(in, xCoordinate, yCoordinate)
%
% INPUT:
% in = FID-A CSI object
% xCoordinate = X coordinate wanted to be converted
% yCoordinate = Y coorindate wanted to be... |
c001dfd865e26f99e0a21c2845ec81d1e9e3db36e989cd26a95b0b8425f3e933 | MATLAB | 4,078 | 117 | %op_CSIoverlayMRI_LCModel.m
%Brenden Kadota, Jamie Near, Sunnybrook 2021.
%
% USAGE:
% RF=op_CSIoverlayMRI_LCModel(in,nifti,lcTable);
%
% DESCRIPTION:
% Takes csv output of lcmodel and maps the concentrations of each voxel
% onto an mri. Uses spm12 to display mri.
%
% INPUTS:
% in = input data in FID-A CSI struc... |
8d2f9e6fb1110f38db79f10d7679a445bc186aac91e746c82550de425dcfdaf2 | MATLAB | 4,079 | 189 | close all force
%
clear
load('a0_0_bhv2trialStrct.mat')
%}
NImage{2} = [...
2
4
5
6
8
10
12
13
17
18
19
20
26
29
35
];
NImage{1} = [...
7
11
25
27
38
39
40
47
49
53
56
60
9
22
28
41
42
... |
ad343a9c422d843580e0f828e75d0d39a7e74e5a1fa84bbd4f309ac9b9aa2fcd | MATLAB | 4,083 | 94 | classdef ConfigDetectSigsDummy < ConfigDetectSigs
%ConfigDetectSigsDummy - Parameters for dummy signal detection
%
% The ConfigDetectSigsDummy class is a configuration class that contains
% the parameters necessary for dummy signal detection.
%
% ConfigDetectSigsDummy is a subclass of matlab.mixin.Copyable, which... |
17ea9b49c4f10ba622258064cfcfee7c4b4bff2750f93cf97f0f2a695eee16aa | MATLAB | 4,087 | 97 | % the pattern separation toolbox: analyse spike train ensembles
% Copyright (C) 2022 Alexander D Bird
function [TE_obj] = TE_function(input,output,code,num_params,options)
%TE_FUNCTION Calculates the transfer entropy from the input to the output ensembles
if nargin<3 || isempty(code)
code={'spatial','spatia... |
5260ecbb2e1ccf21cea65b1cfacee0c229d4d255bf13325d5ea373d145854dc0 | MATLAB | 4,092 | 147 | folder = fullfile(dataFolder,'cortical_column_Hagen','matlab_morph_data');
% load(fullfile(folder,'L23E_oi24rpy1_connections.mat'));
load(fullfile(folder,'L4E_j7_L4stellate_connections.mat'));
connections = connections+1;
% X = csvread(fullfile(folder,'L23E_oi24rpy1_segments.csv'));
X = csvread(fullfile(folder,'L4E_j... |
7b7edd2b440d3d232af084a7a01b42bd324041a920b7e8d76f05cd695f530464 | MATLAB | 4,093 | 116 | function varargout = check_ch(self, channels, checkType, varargin)
%check_ch - Check that the appropriate channels are present
%
% check_ch(OBJ, CHS, 'any') checks that at least one of the channels are
% present in the Metadata obj. CHS must be a single row char array or a
% cell array containing single row char ... |
15312d7cca8f404bb9bc31a30bead24b1c7a8435a7a178088fd300b98b8ffc43 | MATLAB | 4,105 | 137 | % op_alignMPSubspecs_fd.m
% Jamie Near, McGill University 2014.
%
% USAGE:
% [out,fs,phs]=op_alignMPSubspecs_fd(in,minppm,maxppm,mode,initPars);
%
% DESCRIPTION:
% Apply spectral registration to align MEGA-PRESS subspectra prior to
% subtraction. This function is designed to minimize subtraction artefacts
% from c... |
e62d208b2750ab0ade66cc1776019bda461f492e08b806d4dd45693ced02bfa0 | MATLAB | 4,108 | 105 | classdef (Abstract) DataVelocity < Data
%DataVelocity - Superclass for DataVelocity classes
%
% The DataVelocity class is an abstract superclass that implements (or
% requires implementation in its subclasses via abstract methods or
% properties) all basic functionality related to storing data from
% velocity c... |
0b1759725078fcb2a9470f44131946867410b5116e05bfba2c1551ae6a68656b | MATLAB | 4,112 | 144 | function [pacmat,freqvec_ph_final2,freqvec_amp_final] = cfc_measure(sig1,...
sig2, avg, freqvec_ph, freqvec_amp, Fs, nfft, width, waitbar)
%
% This function calculates the CFC measure when passed two unfiltered
% signals.
%
% INPUTS:
% sig1 - signal containing (or believed to contain) PAC
% sig2 - signal containi... |
6fb5db831f81f28b6ff45701a673fdadca9deace2d179b44f00ad34e12ff6a54 | MATLAB | 4,115 | 156 | function hgfMap = DisplayMap(A,Title,Name)
%% Display map
% A must be either an 3D array (MxNxK) or
% an cell vector (length K) with each cell of a 2D array
% Title is a string cell vector, matching A with same length K
% Name is a string for the name of figure
%
%
% YC at ES lab
% Created on May 28, 2008
% Last m... |
0a4138d0b660a6bcdc03297802e9257a8916e873dd94906287df5b548175b166 | MATLAB | 4,120 | 85 | load('Fig1andSuppleFigs_Behaviour')
bhv = group_level_stat_input.bhv ;
bhv(bhv(:,7)==0,7) = nan;
%bhv(:,[7 13 14]) = (bhv(:,[7 13 14])/8);
includedtrial = find(bhv(:,12)==1 & bhv(:,6)~=0 & bhv(:,4)~=0 & bhv(:,5)==1 & (bhv(:,3)+1==bhv(:,4))); %
bhv = bhv(includedtrial,:);
lme = fitlme(tbl,'logit(re... |
0f0949a2f86262b05b09981a7583137c5697495f922edd3cb0c057d8d6bbe8e0 | MATLAB | 4,128 | 102 | classdef Test_RawImgDummy < matlab.unittest.TestCase
% TEST_RAWIMGDUMMY Summary of this class goes here
% Detailed explanation goes here
% ================================================================== %
properties (Constant)
fnDummy = 'ArtificialData_SNR_0.1_FOV_250.tif';
en... |
d137b5203567ff9fade099f21dd28df38efc37307431bf46dc3ee049b51482ac | MATLAB | 4,129 | 144 | for i = 1:10
[eeg0(:,i),eeg1(:,i),eeg2(:,i),eeg3(:,i),eeg4(:,i)] = oscillation_types;
end
[psd0,f] = pmtm(detrend(eeg0,'constant'),2,[],200);
[psd1,f] = pmtm(detrend(eeg1,'constant'),2,[],200);
[psd3,f] = pmtm(detrend(eeg3,'constant'),2,[],200);
[psd4,f] = pmtm(detrend(eeg4,'constant'),2,[],1000);
t = (0:(length(... |
c06688591291c34639a9426f30ab55ffdd98b4cd840bd4d09ed17e00c6456b30 | MATLAB | 4,130 | 108 | function varargout = plot(self, varargin)
%plot - Plot a figure
%
% plot(OBJ) plots the default figure for each element of OBJ.
%
% plot(OBJ, FIG_NAME) plots the figure specified by FIG_NAME for each
% element of OBJ. FIG_NAME must be one of the following:
%
% 'default' -> The default figure.
% 'mo... |
7141c3d746036fde391b7440aaaa0ccb6cbf53b375079fb6d9606018a22e9d06 | MATLAB | 4,145 | 134 | %io_loadspec_sdat.m
%Jamie Near, McGill University 2014.
%Georg Oeltzschner, Johns Hopkins University 2018.
%
% USAGE:
% out=io_loadspec_sdat(filename,subspecs);
%
% DESCRIPTION:
% Reads in Philips MRS data (.spar and .sdat files) using code adapted from
% PhilipsRead.m, provided as part of the Gannet software packag... |
9b6429525e8236357bf55011e5ec816b5c43a8b315cdfcdec05ba312704830e8 | MATLAB | 4,151 | 131 | function [out] = EEGfMRIPav_cbm_mod07_osap(parameters, subj)
% Standard Q-learning model with delta learning rule and Go bias and
% Pavlovian response bias and Pavlovian learning bias and single
% perseveration parameter.
% ----------------------------------------------------------------------- %
%% Retrieve paramete... |
d7542c60e48d6d01080e4908a0418897d1aa94c331320321104055eaca5b4c5e | MATLAB | 4,151 | 143 | % RESTRAIN_TREE Prunes tree to not exceed max path length
% (trees package)
%
% tree = restrain_tree (intree, maxpl, options)
% ---------------------------------------------
%
% Deletes nodes
%
% Input
% -----
% - intree ::integer: index of tree in trees or structured tree
% - maxpl ::number: maximum path l... |
c0dbf5648efed2ed3068cccf343683d9b6b945c0c0e8203c05346168dbc5c2bf | MATLAB | 4,159 | 112 | % op_CSIB0Correction_v2.m
% Emile Kadalie, Sunnybrook 2025.
%
% USAGE:
% [out, out_w, freqMap, R2Map]=op_CSIB0Correction_v2(in, in_w);
%
% DESCRIPTION:
% Corrects for slight B0 shifts by subtracting water unsuppressed phase data
% from water suppressed phase data. Also outputs B0 shift map with the slope values
% of ... |
e097c90e9d188d658b1cb48f8e1d2821ae64383f013b7f4683691029252136c7 | MATLAB | 4,159 | 127 | classdef TCPserver < handle
% zapit.interfaces.TCPserver
%
% This class handles TCP/IP comms. If the tcpServer.enable setting is
% set to "true" then a server is set up and attached to Zapit using the
% port and IP address defined in the settings file.
%
%
properties (Hidden)
par... |
3f65285631cc229a951784c4a9c69b360d8ea2434e2649bae54f29caa49770ca | MATLAB | 4,160 | 121 | function varargout = hghandle(hh, validTypes, varargin)
%hghandle - Check that the input is handles to existing graphics objects
%
% hghandle(h) checks that all elements of h are handles to existing
% graphics objects. If they are, nothing else happens; if it is not, the
% function throws an exception from the c... |
20b7b05c636429a6db1c2edb1d2c6647dfbf5c771ddc4ad1c6530a0113801be0 | MATLAB | 4,161 | 129 | function [ica_segments, ica_filtersbw, segmentlabel] = ...
CellsortSegmentation(ica_filters, sigma, thresholdSeg, arealims, ...
discardBorderROIs)
% [ica_segments, ica_filtersbw, segmentlabel, segcentroid] =
% CellsortSegmentation(ica_filters, sigma, thresholdSeg, arealims, plotting)
%
%CellsortSegmentation
% ... |
4f21c6aaceab38f28690f6d0cc4227e3db4db87d2316dd87698a65c260c6e59e | MATLAB | 4,167 | 145 | % REDIRECT_TREE Set root to new point and redirect tree graph.
% (trees package)
%
% [tree, order] = redirect_tree (intree, istart, options)
% -------------------------------------------------------
%
% Changes the direction of the adjacency matrix so that arrows show away
% from element istart (which becomes the fir... |
f7578a15b0aaa28e8f69e349bbc9ea1892eea4d570cf33516f41d916262bc993 | MATLAB | 4,167 | 116 | %io_writeRFbruk.m
%Jamie Near, Ved Hatolkar, Sunnybrook Research Institute 2022.
%
% USAGE:
% RF=io_writeRFbruk(rf,outfile);
%
% DESCRIPTION:
% Write a matlab RF pulse structure (containing N x 3 waveform array field
% with rf.waveform(:,1)= phase, rf.waveform(:,2)=amplitude, and rf.waveform(:,3)=timestep),
% to a B... |
958b31858931ec2a20dc396d6bb30dfdcc58be782e97fd99ab3d4822a4703bb8 | MATLAB | 4,168 | 97 | function t2n_bAP(neuron,tree,amp,targetfolder_data,simplicity)
% This function performs an experiment on backpropagating action potentials
% (bAPs) by "zapping" the cell(s) with a short high current and recording the
% membrane potential at all locations of the cell(s). The results are saved
% in a mat file named Exp_... |
7c3de69b61a18ee9042c9cb8a7c7f660e76082037b1f3740f952b3716a73e3ec | MATLAB | 4,179 | 110 | classdef Test_CalcDetectSigs_params < matlab.unittest.TestCase
%Test_DetectSigs Summary of this class goes here
% Detailed explanation goes here
% ================================================================== %
properties (TestParameter)
classCDS = utils.find_subclasses('CalcDet... |
6e5aedb2edcfc0f6797b77e09e594da4c7e50f88aa601a1c37994b0a2e77585a | MATLAB | 4,180 | 164 | function getRespComp(interpAbs,interpAbs)
%% Define Ranges in the slice to look at Fluctuation and calculate roi means
selectedSlice = 31;
width = 8;
height = 10;
xmin = 45;
ymin = 63;
range2 = xmin:(xmin+height);
range1 = ymin:(ymin+width);
d0 = getROImean(interpAbs,range2,range1,selectedSlice,TR/interpolationFact... |
83677457f5840098cd7d8bafc3ec84cd0feaa38a6636a8e21ac31799e5db9804 | MATLAB | 4,184 | 105 | function out = LK_RippleDetection_DetectSurrogates_20220319(mycfg, myeeg)
%
% LK_RippleDetection_DetectSurrogates_20220319 finds surrogate ripples.
%
% Use as: out = LK_RippleDetection_DetectSurrogates_20220319(mycfg, myeeg);
%
% Input #1 is a structure with parameter settings, including:
% bArtifact --> timepoints... |
6c04f9e5827d344eebb953257cc57e4d2deb96dbac9a587e4e15b121231fb4bb | MATLAB | 4,185 | 130 | %% SCIM_Tif
% Store raw data from ScanImage Tif images
%% Usage
% OBJ = SCIM_Tif(FILENAME, CHS, CAL)
%% Arguments
% * |FILENAME| is the original filename (including the path) of this
% |SCIM_Tif| object.
% * |CHS| is a scalar structure that contains information about the
% meaning of the image channels.
% * |CAL| i... |
0a886e8aeaef79ce3c75915e814e921b26bee4c480b401e847f144cd2f4190b8 | MATLAB | 4,191 | 126 | function corrSeq = downsample(imgSeq, dsamp, varargin)
%downsample - Downsample image sequence in space and/or time
%
% CORRSEQ = downsample(IMG, DSAMP) downsamples IMGSEQ in space and/or
% time. IMGSEQ must be a numeric array with either 3 or 4 dimensions.
% For 4D IMGSEQ, the fourth dimension is assumed to rep... |
b28dd8b7025500e84b2c54bd6cf60cfccd3ebcefef2313807205bf7e04c6aab7 | MATLAB | 4,193 | 121 | function varargout = object_class(obj, className, varargin)
%object_class - Check that an object is an instance of a particular class
%
% object_class(obj, 'ClassName') checks that obj is an instance of the
% class specified by ClassName. If it is, nothing else happens; if it is
% not, the function throws an exc... |
6cc8a34172b62b2875a704745b70a05b57656ec145213fd0f475f7c72e14e8dd | MATLAB | 4,196 | 110 | classdef DataDiameterFWHM < DataDiameter
%DataDiameterFWHM - Data from FWHM diameter calculations
%
% The DataDiameterFWHM class is a data class that is designed to
% contain all the basic data output from CalcDiameterFWHM.
%
% DataDiameterFWHM public properties inherited from Data:
% mask - A mask com... |
f39504e5a4dc11a2fcc8d08c02fb63d450b4531f2299bddfd0d715cde0d68e90 | MATLAB | 4,206 | 148 |
clear;clc;
b={};
SEQ={};
load('exlabels4447.mat')
con=find(exlabels4447==0);
psy=find(exlabels4447==1);
tic;
for i = 1:100
filename='psy_100RNA4447_145_4M_s30_rng';
a=readtable(strcat('.\M4_100_psy\',filename,num2str(i),'.txt'));
temp1=a(psy,:);
filename='control_100RNA4447_145_4M_s30_rng';
a=readta... |
bc3cae5d78809c8970827b2021d42b1c1679cfd6ac6f1af34ed2a1c6f2771f24 | MATLAB | 4,207 | 166 | function [fn,saveName] = st_plot_param_scatter_sigma(DT, params,roiList,targetVar)
rng('default')
sampleSize = 50;
cc = getmycolors;
% initial filter
df = tableFilter(DT,params);
% give number to ROIs
df = st_tablegiveROInumber(df, roiList);
id = unique(df.subjID);
if strcmp(targetVar,'sigma')
x1 = linspa... |
200fe530e4866173b6f47906b19840cf988c482c9bc3e974388f738418a6f504 | MATLAB | 4,210 | 158 | function varargout = progbar(progressDec, varargin)
%progbar - Helper function to create/update a progress bar
%
% This function is not intended to be called directly.
% Copyright (C) 2017 Matthew J.P. Barrett, Kim David Ferrari et al.
%
% This program is free software: you can redistribute it and/or modify
% ... |
3eae82130a658ee596dd2661b3acce32f56311e3e97f7e73a713cd2683a675f2 | MATLAB | 4,221 | 98 | clc;clear
parent = 'D:\Work\2019_Phd\NeuScan\Projects\Fear\fMRI\Pipeline\SVR\Onset\no_shock\new\within_subject\';
datadir = 'D:\Work\2019_Phd\NeuScan\Projects\Fear\fMRI\Pipeline\SVR\Onset\no_shock\new\within_subject\n44\';
outpath = 'D:\Work\2019_Phd\NeuScan\Projects\Fear\fMRI\Pipeline\SVR\Onset\no_shock\new\within... |
7de5f3b415ecb6413670aa785ce18a6ec36b7f2cbb007957c63d76295c63883c | MATLAB | 4,223 | 246 | RSsig=meanBOLDAll;
signal = RSsig(:,:,1)'; %% data for 1 trial (NON FILTERED DATA!)
N = 90;
Tmax = 2300;
flp = .03; % lowpass frequency of filter
fhi = .07; % highpass
npts = Tmax; % total nb of points
delt = .392; % sampling interval
k = 2; % 2nd order butte... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.