sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
f9c04b0b495c4121056fbba2deb3d18330067984708275574ba8931368b08dd1 | MATLAB | 1,744 | 37 | % mglSocketCommandTypes: Access commands and data types shared with mglMetal.
%
% $Id$
% usage: [commandCodes, dataTypes] = mglSocketCommandTypes()
% by: justin gardner and ben heasly
% date: 12/26/2019
% copyright: (c) 2021 Justin Gardner (GPL see mgl/COPYING)
% purpose: Get a Matlab view... |
540abb9bc5feb4606740403cb32c34474f8e8de8feb9ffd3ef52284dcd3adfa6 | MATLAB | 1,745 | 49 | classdef BehavioralTimeSeries < types.core.NWBDataInterface & types.untyped.GroupClass
% BEHAVIORALTIMESERIES TimeSeries for storing Behavoioral time series data. See description of <a href="#BehavioralEpochs">BehavioralEpochs</a> for more details.
% OPTIONAL PROPERTIES
properties
timeseries; % (TimeSeries) Time... |
fa8b96963dadd0a3f0fd92e12e39eb7513c767f66e5f5124cfa87b8cac1c28a8 | MATLAB | 1,745 | 51 | function [init_centers,init_sigma,init_props] = varPart1D(data,k)
%varPart1D.m 12/18/22
% This function is intended to implement the variance partitioning algorithm described by Su and Dy. See the end of this file for a publication and a Github repository consulted in the development of this function.
assert(isv... |
0a1815d85f7a4fbece15ac87d04f967ecd576010bd2f2542449a6d6aac508153 | MATLAB | 1,746 | 55 | function varargout = vl_waffine(A,T,varargin)
% VL_WAFFINE Apply affine transformation to points
% Y = VL_WAFFINE(A,T,X) applies the affine transformatio (A,T) to points
% X. X contains one point per column.
%
% [Y1,Y2,...] = VL_WAFFINE(A,T,X1,X2,...) applies the affine
% transformation (A,T) to the points (X1,X2,... |
4eff5914659cbbb44dfe9f2d9f46fba99e6eb9a8e76f4062f20095f2f0ce6e57 | MATLAB | 1,746 | 58 | function downsampledFname = createResampleVolFileName(channel,targetDims)
% Generate a file name for saving resampled volumes
%
% function downsampledFname = createResampleVolFileName(targetDims)
%
% Purpose
% This function is called by resampleVolume and downsampleAllChannels
%
% Inputs... |
67b509d481794c008535325654596a87267e0b13e24d7ea131006cba19c38b7d | MATLAB | 1,746 | 55 | function [mask] = estimate_mask(s, filter_params, iterations)
% Creates binary mask based on SNR estimate of the signal
% [mask] = estimate_mask(s, filter_params, iterations)
% s Source signal
% filter_params Filter parameters for smoothing variance estimate
% iterations Number of iterat... |
22c6b290bd2a9a08e674710212d710aff6bff0c0518e1e3021c611f601baa426 | MATLAB | 1,747 | 49 | %{
Copyright (C) Cambridge Electronic Design Limited 2014
Author: James Thompson
Web: www.ced.co.uk email: james@ced.co.uk, softhelp@ced.co.uk
This file is part of CEDS64ML, a MATLAB interface to the SON64 library.
CEDS64ML is free software: you can redistribute it and/or modify
it under the t... |
728131210f9392a161c1dbbf23c6869212fe3a46f0e73260287ea723ef5b0090 | MATLAB | 1,747 | 54 | % mglSetParam.m
%
% $Id: mglMovie.m,v 1.1 2007/10/23 22:21:23 justin Exp $
% usage: mglSetParam('paramName',paramValue,<makePersistent>);
% by: justin gardner
% date: 12/30/08
% purpose: Set MGL parameters, if perisistent is set to 1, then
% the parameter will be saved in a file... |
ac227376c035a339eff52d1d00dcb3a7545a0bdcc305bd4de5768362ae8c3ae5 | MATLAB | 1,747 | 55 | function subtree = branch(tree,uid)
% XMLTREE/BRANCH Branch Method
% FORMAT uid = parent(tree,uid)
%
% tree - XMLTree object
% uid - UID of the root element of the subtree
% subtree - XMLTree object (a subtree from tree)
%__________________________________________________________________________
%
% Return a su... |
2ec05fdded97688b72721067a6ec53379f44d79ca6e057acd05e92a46ebc485d | MATLAB | 1,749 | 33 | function fH = plotDeltaLMMregressionSlopes_v_pRFSize(deltasGroup,deltasSubj, ...
resampled_medianPRFSz, deltaIdx, cmapROIs,saveFigs,saveFigDir)
fH = figure; set(gcf,'Position',[1 1 800 941]); hold all;
for idx = 1:size(deltaIdx,1)
prfSizeDiff = resampled_medianPRFSz(:,deltaIdx(idx,1))-resa... |
1b1c1957a392268cc9ae4bbb5c4c2de8bd4d8089c00efef081f3c42b3f7d6c3c | MATLAB | 1,750 | 65 | %
% Compute neighborhood predictions.
%
% RESULT
% predictions Struct by submethod name of (e*1) Predictions
%
% PARAMETERS
% A Adjacency/biadjacency matrix
% T (e*2) Vertex pairs for which to compute predictions
% format
% weights
%
function [predictions] = prediction_local_compute_neib(A, T, format, weights)
c... |
23e2afd06cd098923a35f83e86d77580f2538484075aec7e5b9076d2f8906a08 | MATLAB | 1,750 | 59 | function [missRate, falseAlarm] = vl_det(labels, scores, varargin)
% VL_DET Compute DET curve
% [MISSRATE, FALSEALRAM] = VL_DET(LABELS, SCORES) computes the
% Detection Error Trade-off (DET) curve for the given set LABELS and
% SCORES. The function is a simple wrapper to VL_ROC(LABELS,
% SCORES). In fact, MISSRATE... |
5b0779cd97630ece7ccb421879949cdebdcaf3f07b03c0995a39466b98078868 | MATLAB | 1,750 | 49 | %{
Copyright (C) Cambridge Electronic Design Limited 2014
Author: James Thompson
Web: www.ced.co.uk email: james@ced.co.uk, softhelp@ced.co.uk
This file is part of CEDS64ML, a MATLAB interface to the SON64 library.
CEDS64ML is free software: you can redistribute it and/or modify
it under the t... |
60dbdfd76bbde57de4a1b8fc13b4c72c01e0e5b653f971b7b7bb7fc181e91147 | MATLAB | 1,750 | 60 | clear;
% folder of the raw video
dir_video=fullfile('E:','data_CNMFE');
% name of the videos
list_Exp_ID={'blood_vessel_10Hz','PFC4_15Hz','bma22_epm','CaMKII_120_TMT Exposure_5fps'};
%%
vid= 4; % 1:length(list_Exp_ID)
Exp_ID = list_Exp_ID{vid};
DirSave = ['Results_',Exp_ID];
dir_refine = fullfile(DirSave,'refined');
d... |
18dd1a5dad32acd07f85c40c15890a979728ae7364bdd987c58a85c908dfede3 | MATLAB | 1,751 | 46 | function [dat,beta,x] = ft_preproc_detrend(dat, begsample, endsample)
% FT_PREPROC_DETREND removes mean and linear trend from the
% data using using a General Linear Modeling approach.
%
% Use as
% [dat] = ft_preproc_detrend(dat, begin, end)
% where
% dat = data matrix (Nchans X Ntime)
% begsample = inde... |
3ea6a72b3ab060be93a779c92d5e0fb0e0553f2ac801ac19973cb33aeca4ce1c | MATLAB | 1,751 | 58 | % sortLegStepsByOpto_allGUI.m
%
% Function that categorizes all leg steps by whether they're during a
% opto stim bout or not.
% Calls sortLegStepsByOpto() but operates on multiple pData files, selected
% through GUI
%
% INPUTS:
% durs - vector of all durations of stimulation to consider
% optoTime - length 2 vec... |
374eea72e017a7b3143b91edd2d9b8e171547bfad7e4aecc6871e8a0fa62f6ec | MATLAB | 1,752 | 70 | % Function File: [yf, tf, F] = gaussianf (y, t, Fc, correction)
%
% Application of a Gaussian smoothing filter to the y-vector.
% The cutoff of the low pass filter is at frequency Fc (in Hz)
% Requires the Matlab Signal Processing toolbox.
%
% Output vectors of the smoothed y-values and of the... |
5d350774172bfe5adc597facee9a2cae379c47eec22b6cdb5d1eeca8fd0fed81 | MATLAB | 1,752 | 68 | % mglTestKeys.m
%
% usage: mglTestKeys()
% by: justin gardner
% date: 09/13/06
% copyright: (c) 2006 Justin Gardner, Jonas Larsson (GPL see mgl/COPYING)
% purpose:
%
function retval = mglTestKeys(screenNumber)
% check arguments
if ~any(nargin == [0 1])
help mglTestKeys
return
end
% check f... |
784249e192b95a656eedcea155614be04db90601601c6248f8150404952eeb19 | MATLAB | 1,752 | 83 | %% IBIdistribution_ExtrationFromSingleExperiment
% Loads the detected bursts folder, computes the IBI
%% Loading data
clear
close all
clc
[burstsfilename,burstsfolder] = uigetfile('*.mat','Select the BurstDetectionFile');
if (burstsfilename == 0)
errordlg('Selection Failed - End of Session', 'Error');
retur... |
dc0ca5e76bef5ec986c22e2ab7940a65711743f7faa63b9d63cf9b6da973cb37 | MATLAB | 1,752 | 40 | function [birthGAs, testGAs] = get_ages(agesfilename, IDlist)
% Extracts participant ages from an excel file.
% Outputs
% birthGAs: List of gestational ages at birth, in weeks, using the order and
% length of IDlist.
% testGAs: List of gestational ages at test, in weeks, using the order and
% length of IDlist.
if ~isa... |
e6e3760f8e91f0988849cc48d534af771b26e32d210dce64a0f118888c262f5e | MATLAB | 1,752 | 86 | function f = readMeta(file)
info = hdf5info(file);
f = readMetaRecursive(info.GroupHierarchy.Groups(1));
end
function f = readMetaRecursive(root)
typ = 0;
for i = 1:length(root.Attributes)
if strcmp(root.Attributes(i).Shortname, '_metaType_')
typ = root.Attributes(i).Value.Data;
break
... |
13015d90986eff6c9500c2603d69a541aca81aeb216c8827fcd1cddc5fc6ad99 | MATLAB | 1,755 | 63 | %
% Compute predictions using a local method.
%
% PARAMETERS
% $NETWORK Name of network
% $METHOD Name pf local link prediction method
%
% INPUT
% dat/split.$NETWORK.mat
% dat/meanst.$NETWORK.mat
% dat/info.$NETWORK
%
% OUTPUT
% dat/prediction.$METHOD.$NETWORK.mat
% predictions{submethod} Struct by name of subme... |
445cb9f1406f45e43071f7e5fddbf2088f10479838f471edf186bbc121b7990d | MATLAB | 1,755 | 65 | function [y, N] = ml_alg_threshold_timeseries(x, threshold, minNum)
% This function applies the threshold to the array x, and then
% classifies portions as stable or unstable based on if the data is
% above or below for the minNum number of times
% Threshold the data
M = x;
M(x >= threshold... |
d702eeb3654083436602c7b17953df955d4750926c1069c0e417652f5e2f9c56 | MATLAB | 1,755 | 60 | function [U,dU,delta]=vl_tpsu(X,Y)
% VL_TPSU Compute the U matrix of a thin-plate spline transformation
% U=VL_TPSU(X,Y) returns the matrix
%
% [ U(|X(:,1) - Y(:,1)|) ... U(|X(:,1) - Y(:,N)|) ]
% [ ]
% [ U(|X(:,M) - Y(:,1)|) ... U(|X(:,M) - Y(:,N)|) ]
%
% where X... |
1da50ec711980ab984909b286133997179b6cff6c4f1af246395b4ac6b8154e7 | MATLAB | 1,756 | 48 | function [ns_RESULT, nsNeuralInfo] = ns_GetNeuralInfo(hFile, EntityID);
%ns_GetNeuralInfo Retrieves information for neural event entities
%
% Usage:
% [ns_RESULT, nsNeuralInfo] = ns_GetNeuralInfo(hFile, EntityID)
%
% Description:
% Retrieves information on Neural Event entity EntityID from the
% ... |
62e7f49d2e8a81aa9377cc0b9420bef5a45c1fcb6e97e3eaa5b44141996b5589 | MATLAB | 1,756 | 46 | % mglSocketWrite: Write data to one or more opened socket.
%
% $Id$
% usage: byteCount = mglSocketWrite(s, data)
% by: justin gardner and ben heasly
% date: 12/26/2019
% copyright: (c) 2021 Justin Gardner (GPL see mgl/COPYING)
% purpose: Writes data to a socket that was opened by
% ... |
d23d34d9c8b95ce4424030554ce753c5137ca07a27547902d16c8e6a9405e0f0 | MATLAB | 1,757 | 59 | %
% Please cite this paper if you use any component of this software:
% S. Soltanian-Zadeh, K. Sahingur, S. Blau, Y. Gong, and S. Farsiu, "Fast
% and robust active neuron segmentation in two-photon calcium imaging using
% spatio-temporal deep learning," Proceedings of the National Academy of Sciences (PNAS), 2019.
%
... |
d64b23982c3ffbfff2b8f2c844dad6bcd9852b00716e57fe8f6a2de0d681a886 | MATLAB | 1,757 | 65 | function irf = tch_irfs(channel, tau, n1, n2, kappa, fs)
% Derive the sustained and transient impulse response functions based on
% the formulation outlined by Watson (1986).
%
% INPUT
% 1) channel: 'S' (sustained) or 'T' (transient)
% 2) tau: time constant of excitatory mechanism (10 Hz, ms)
% 3) n1: number of ... |
088f9a6f7b4a087783936180f273c48d1df142a78332947e59e439e0700d0643 | MATLAB | 1,758 | 33 | function scaledData = scaledSingleAnalogDataFromRaw(dataAsADCCounts, channelScales, scalingCoefficients)
% Function to convert raw ADC data as int16s to singles, taking to the
% per-channel scaling factors into account.
%
% scalingCoefficients: nScans x nChannels int16 array
% channelScales: 1 ... |
8e7917c6cee8057586a6ea355496cf820763d04e5cac5bcf55b3acc3cdec3a7d | MATLAB | 1,758 | 46 | classdef ImageMaskSeries < types.core.ImageSeries & types.untyped.GroupClass
% IMAGEMASKSERIES An alpha mask that is applied to a presented visual stimulus. The 'data' array contains an array of mask values that are applied to the displayed image. Mask values are stored as RGBA. Mask can vary with time. The timestamps ... |
1b8643618be232c8ff47189b28b89884cf168664792bed279a19827cbba4da2d | MATLAB | 1,760 | 68 | function f = plotChromoRandomWalk2(data,jj,kk,idx,chr)
% Rows of data matrix corresponding to cell jj
celljj = (data.cell_id == jj);
% Rows of data matrix corresponding cell jj and chromosome kk
celljj_chrkk = (data.cell_id == jj) & (data.hg38_chr == kk);
%Relevant section of data matrix
data_jj_kk = data(celljj_chr... |
f0f2cd2bf1879bad09a63e7bc6f07d1c6f2d872ad9aa67912741f345a0cd9ca7 | MATLAB | 1,761 | 61 | function y = any(x)
% ALL True if all elements of a vector are nonzero.
%
% For vectors, ALL(V) returns logical 1 (TRUE) if none of the elements
% of the vector are zero. Otherwise it returns logical 0 (FALSE). For
% matrices, ALL(X) operates on the columns of X, returning a row vector
% of logical 1's and 0's. Fo... |
09ee9572e8def6af86e3b53cbc77c521ce25ab8a6bd8706a2d80e7280273d984 | MATLAB | 1,762 | 77 | function ok = write_hdr_raw(fname,hdr,be)
% Write a NIFTI-1 .hdr file.
% FORMAT ok = write_hdr_raw(fname,hdr,be)
% fname - filename of image
% hdr - a structure containing hdr info
% be - whether big-endian or not
% ok - status (1=good, 0=bad)
% __________________________________________________________________... |
8f127159885c86ae80d00354ea56155d2f29d9667d2843f3e8543acf00717612 | MATLAB | 1,762 | 55 |
%------------------------------
%General parameters
param.numIterations = 5; %number of re-iterations.
param.kfold = 2; %k-1 partition used for training; 1 partitions for testing
%knn parameters
param.knn_neighbors = 1;
param.matchDistance = 'euclidean';
param.knnDistance = 'euclidean';
%param.matchDistance = 'chisq';... |
6713e4530ee495aae2ba84138dc9d52b52c8c2da28c8881efa6ea34af08d0b17 | MATLAB | 1,763 | 44 | clear
%load F1s.mat
filenames = {'Mouse_1K','Mouse_2K','Mouse_3K','Mouse_4K',...
'Mouse_1M','Mouse_2M','Mouse_3M','Mouse_4M'};
radii = [4:9];
SNRs = [3:4:23];
[list_Recall, list_Precision, list_F1] = deal(zeros(length(filenames),length(radii),length(SNRs)));
parfor n = 1:(length(filenames)*length(radii)*length(SNRs... |
786541ab916c888e5875026d180f270f728219aef31cb9128a45ff0818783b76 | MATLAB | 1,763 | 68 | %For testing ANOVA output from various designs (with various reduction
%schemes) against stats software (e.g., jamovi, JASP, SPSS). Each section
%runs a test and outputs the data in a relevant csv for independent testing
%
%AUTHOR: Eric Fields
%VERSION DATE: 12 June 2020
%% Set-up
clearvars;
global VERBLEVE... |
789f24dceb9db4e38d644bd21e040b39e58423eff7076481b4f1ccaf94a794e5 | MATLAB | 1,763 | 44 | clear
%load F1s.mat
filenames = {'Mouse_1K','Mouse_2K','Mouse_3K','Mouse_4K',...
'Mouse_1M','Mouse_2M','Mouse_3M','Mouse_4M'};
radii = [4:9];
SNRs = [7:4:23];
[list_Recall, list_Precision, list_F1] = deal(zeros(length(filenames),length(radii),length(SNRs)));
parfor n = 1:(length(filenames)*length(radii)*length(SNRs... |
8394335da34f7671fdd2843e80a8e22fa640f697864e0b3ae20433ebbbe0c150 | MATLAB | 1,763 | 58 | function write_off(filename, pnt, plc)
% WRITE_OFF writes a set of geometrical planar forms (called piecewise linear complex, PLC)
% to an ascii *.off file, which is a file format created by Princeton Shape Benchmark
%
% Use as
% write_stl(filename, pnt, tri)
%
% See also READ_OFF
% Copyright (C) 2010, Cristiano Mi... |
7dfe7b575313adbd709ac6ca28a9f4860bd2783d5ac6af40db58116c4a9237a8 | MATLAB | 1,764 | 62 | function CBIG_ASDf_CCA_plotScatter(V, U, R, pVal, factor_idx, output_name)
% CBIG_ASDf_CCA_plotScatter(V, U, R, pVal, factor_idx)
%
% This function plots scatter plot between factor loading CCA mode and
% behavioral scores CCA mode. If output_name is specified, the plot will be saved.
%
% Input:
% - V:
% ... |
3424d2c2e39da35df10f2432f2f8d098bda3a0dbf5c28dcb48689d5ada2b3c20 | MATLAB | 1,765 | 41 | function state = getState(r, T, dt, stimIn)
%GETSTATE discriminate 'ON-ON', 'OFF-ON', 'ON-OFF' and 'OFF_OFF'
% Detailed explanation goes here
% if none - OFF
isNoneBefore = r(round(stimIn/dt-100)) == r(round(stimIn/dt-99)); % isNone == true
isNoneAfter = r(round(T/dt-100)) == r(round(T/dt-99));
% if converge ... |
8549e1c8c46cf678f550ef0e4680b6db2d1e92d0bad9505fbe40a81967a9ced9 | MATLAB | 1,765 | 43 | function ret=SONSetWaveMarkChan(fh, chan, sPhyCh, dvd, bufsize, comment,...
chantitle, rate, scale, offset, units, points, pretrig, ntrace)
% SONSETWAVEMARKCHAN creates a REALMARK channel
%
% RET=SONSETWAVEMARKCHAN(FH, CHAN, SPHYCH, DVD, BUFSIZE, COMMENT,...
% CHANTITLE, RATE, SCALE, OFFSET, UNIT... |
910abda86df329e7b3666aa5e7319a8e8f80e8621c36e2d2c4a9ea8f2659c776 | MATLAB | 1,765 | 51 | % [struct_out] = read_convolved_fr_excel(path)
% reads convolved firing rates from .xlsx files at given path(str).
% returns a struct containing time axis x and firing rate over time y
%
% Mackay et al. 2024 (DOI:10.1038/s41467-024-52295-5)
% License: MIT License (see LICENSE file for details)
% -----------------------... |
3f2ea39289704d89f01abcaf854b890d4804bff0c95c5c0babec3377f99b6812 | MATLAB | 1,766 | 52 | function [dat] = read_neuralynx_ttl(filename, begsample, endsample);
% READ_NEURALYNX_TTL reads the Parallel_in values from a *.ttl file
%
% Use as
% [dat] = read_neuralynx_ttl(filename, begsample, endsample);
%
% The *.ttl file is not a formal Neuralynx file format, but at the
% F.C. Donders Centre we use it in con... |
54854c12be854e61ff0b3dca39920d3f13f428ae268aee96cc8a8e2f322bfd4e | MATLAB | 1,766 | 55 | % getNumPreSyn.m
%
% Helper function that gets the number of synapses one or more neurons
% makes onto a specified target neuron (all specified by name)
%
% INPUTS:
% sourceNeurons - presynaptic neuron(s), by name, as single string or
% cell array
% targetNeuron - single string of name of target neuron
% c... |
5cbd4e155c56e5339a313c3f338bd3d7d7f872035ad6158827fcfbdbe6374bb8 | MATLAB | 1,766 | 55 | % getNumPostSyn.m
%
% Helper function that gets the number of synapses one neuron makes onto
% specified target neuron(s) (all specified by name)
%
% INPUTS:
% sourceNeuron - presynaptic neuron, by name, as single string
% targetNeurons - postsynaptic neurons, by name, as single string or cell
% array
% co... |
ce48c02368c04c08e0144accc299347583d4dc23f0cfc0218a88c47fa9ee5bf1 | MATLAB | 1,766 | 79 | %
% Compute the spectral diagonality test matrix.
%
% This is the matrix \Delta in Jérôme's PhD thesis.
%
% PARAMETERS
% decomposition The decomposition that is used
% decomposition_source The actual decomposition of the source matrix
% .U, .D, .V (optional)
% A_target The target matrix
% format Format of th... |
2cf9ee0d7f33cab9d91252562408cb628bc43adea439500dcf1b14062838fac3 | MATLAB | 1,768 | 31 | function [behavior_ratios_for_frame,transition_rate_for_frame]=get_behavior_window(tracks,time_before,time_after)
% apply this only after aligning the tracks with sti (with frames like -140:140)
if nargin<2
time_before=10;
time_after=10;
end
number_of_behaviors=9;
fps=14;
window_length=fps*(time_before+time_aft... |
00eaaaea77c532fbdbb0ba03ccb1517611f17195b6bec702e850c5d9b47a511c | MATLAB | 1,769 | 46 | function [h] = ml_nlx_mclust_plot_spikes_for_checking_bits( nvtFilename, tFilenameFull )
tmp = split(tFilenameFull, filesep);
tFilename = tmp{end};
%[TimeStamps_mus, ExtractedX, ExtractedY, ExtractedAngle, Targets, Points, Header] = Nlx2MatVT( nvtFilename, [1, 1, 1, 1, 1, 1], 1, 1, 1 );
[TimeStam... |
33e40ddbd8fd9fb3cd29b8e42edf0b6891eb7f82078ec30e7ce5a410c5d5cfa9 | MATLAB | 1,769 | 56 | %{
Copyright (C) Cambridge Electronic Design Limited 2014
Author: James Thompson
Web: www.ced.co.uk email: james@ced.co.uk, softhelp@ced.co.uk
This file is part of CEDS64ML, a MATLAB interface to the SON64 library.
CEDS64ML is free software: you can redistribute it and/or modify
it under the t... |
641c516c044d6ca0a0176b384888610b8bf6e5c3cd3376349f8e70b35aad1e3e | MATLAB | 1,769 | 64 | function [val, status] = ft_findcfg(cfg, var)
% FT_FINDCFG searches for an element in the cfg structure
% or in the nested previous cfgs
%
% Use as
% [val] = ft_findcfg(cfg, var)
% where the name of the variable should be specified as string.
%
% e.g.
% trl = ft_findcfg(cfg, 'trl')
% event = ft_findcfg(cfg, 'e... |
fe572198a9a7aea9a9d0181289d840ae0740fd14f177ae962c729d236c6b2ae2 | MATLAB | 1,769 | 37 | function handles = make_outliers_mask( handles )
%DETECT_OUTLIERS reads in the variance of the grayordinates from each frame
%created by `wb_command -cifti-stats ...dtseries.nii -reduce VARIANCE > ${subject_id}_${base_fMRI_name}_${FNL_preproc_version}_Atlas_Variance.txt`
%and then calculates which of the frames below t... |
031b21154a2a2dce5aaf6276dc6ebadeab8d1b3a6ff8c0b4abf5b91b878048ef | MATLAB | 1,770 | 52 | % MAIN_burstdetection.m
% This script operates the Burst Detection algorithm on the PeakDetection MAT files
% by Michela Chiappalone (17 Marzo 200, 12 Gennaio 2007)
clr
check = 0;
[start_folder]= selectfolder('Select the PeakDetectionMAT_files folder');
if strcmp(num2str(start_folder),'0')
errordlg('Selection Fai... |
6ce6c16f2e9e708f8f70fff8e0b64eac0661e31ccca10b87c65f0a0e292d9b8f | MATLAB | 1,770 | 53 | function s = export(this,target)
% Export a GIfTI object into specific MATLAB struct
% FORMAT s = export(this,target)
% this - GIfTI object
% target - string describing target output [default: Matlab]
% s - a structure containing public fields of the object
%______________________________________________________... |
253783de002a475b3a0c6a8740a94599b995a37816d79c52a431ef09105f2c80 | MATLAB | 1,771 | 56 | function keyname=mglKeycodeToChar(keycode)
% keyname=mglKeycodeToChar(keycode)
%
% Returns the keynames of a (list of) keycodes
%
% INPUT
% keycode : vector of integer keycodes for each keyname entry
% e.g. keyname=[44 43 11]
% OUTPUT
% keyname : cell array where each entry is a key name string
% ... |
c144e667bbb7f842b7beae10c0494e686761704fa4efff90ae9d161a8e6d780b | MATLAB | 1,771 | 47 | classdef LFP < types.core.NWBDataInterface & types.untyped.GroupClass
% LFP LFP data from one or more channels. The electrode map in each published ElectricalSeries will identify which channels are providing LFP data. Filter properties should be noted in the ElectricalSeries 'filtering' attribute.
% REQUIRED PROPERTI... |
287a129ef5864227174cdf7b7d4f5f5d3873ad002e5126273fd0461f2a41dfb2 | MATLAB | 1,772 | 40 | function options = sanitize_tracker_options(input_options)
% Set default values for parameter fields not specified by the user.
%
% params = sanitize_options(params, params_def)
%
% copies any fields specified in params_def but not params into params. If
% params is empty, then params is set... |
80509da0ad5f1b0f3b422cfa39d1dd835483745b9c723d1a504969dbbb6c2bde | MATLAB | 1,773 | 45 | function [myscreen] = initEyeLinkEyeTracker(myscreen, tracker)
% initEyeTracker - initializes a the myscreen and tracker for use
%
%
% initEyeTracker.m
%
% $Id: initEyeTracker.m 203 2007-03-19 15:41:00Z justin $
% usage: myscreen = initEyeTracker(myscreen, [tracker])
% by: eric dewitt
% date:... |
f9d8d5afde7d6e768d8ffb8d4bf2916642576f005714b1519b58c2f19e8ccaa1 | MATLAB | 1,773 | 81 | function [compact, row, col] = ml_core_remove_zero_padding(sfp)
% removes any margins of all zeros from a matrix
% row is how many rows of zeros and col is how many cols of zeros
% Check for edge cases that everything is zero
if all(sfp == 0, 'all')
compact = [];
row = nan;
col = nan;
... |
0d852f3d7d3396399314a22d81810b82fff1b076d21e5fcee15886b5282ad49c | MATLAB | 1,774 | 37 | % SONGETMARKDATA returns the timings and marker values for a Marker, AdcMark,
% RealMark or TextMark channel
%
% Implemented through SONGetMarkData.dll
%
% [npoints, times, markers]=
% SONGETMARKDATA(fh, chan, maxpoints, stime, etime{, filtermask})
%
% INPUTS: FH = file han... |
2402bf24793a2d66e67da50f6472654eb2d76703ec5732c47e730155a870974a | MATLAB | 1,774 | 73 | function C = spm_dctmtx(N,K,n,f)
% Creates basis functions for Discrete Cosine Transform.
% FORMAT C = spm_dctmtx(N,K,n)
% OR C = spm_dctmtx(N,K)
% OR D = spm_dctmtx(N,K,n,'diff')
% OR D = spm_dctmtx(N,K,'diff')
% N - dimension
% K - order
% n - optional points to sample
%___________________________________... |
57aecfefb1403b4cd10d08e47e3bae46b53047bebdb902e53077435efc6d5249 | MATLAB | 1,775 | 53 | %% Prepare data--no need, you can simply run Tjerk's B4 and B3 scripts
cnt=1;
for l=1:4
c1_left{cnt}=data{1}.left{l}.meg;
c1_right{cnt}=data{1}.right{l}.meg;
c2_left{cnt}=data{2}.left{l}.meg;
c2_right{cnt}=data{2}.right{l}.meg;
cnt=cnt+1;
end
%attention (cue) direction only--ignore frequency taggin... |
6a634298dab1953a75b49a984bda4e4a0b1a73227731c933bef33ec2d20465ba | MATLAB | 1,776 | 45 | function output = TDMS_dataToGroupChanStruct_v1(inputStruct,varargin)
%TDMS_dataToGroupChanStruct_v1
%
% output = TDMS_dataToGroupChanStruct_v1(inputStruct)
%
% See Also: TDMS_genvarname2
REPLACE_STR = '_';
PREPEND_STR = 'v';
ALWAYS_PREPEND = false;
propNames = inputStruct.propNames;
propValues ... |
7bdab7ad1db29fa7c77f76c9b93a93b2522d73b4670ee9030bb1a427485bd566 | MATLAB | 1,776 | 60 | function t1_rho(DATA,ROI,AddInfo)
% This Aedes plugin calculates T1 rho map
% This function is a part of Aedes - A graphical tool for analyzing
% medical images
%
% Copyright (C) 2006 Juha-Pekka Niskanen <Juha-Pekka.Niskanen@uku.fi>
%
% Department of Physics, Department of Neurobiology
% University of Kuopio, FINLAN... |
a4b5c5e839b0c72e2136450d7417f3b6aee074bc3994ad562b30836da2b21bb7 | MATLAB | 1,776 | 60 | function t2_rho(DATA,ROI,AddInfo)
% This Aedes plugin calculates T1 rho map
% This function is a part of Aedes - A graphical tool for analyzing
% medical images
%
% Copyright (C) 2006 Juha-Pekka Niskanen <Juha-Pekka.Niskanen@uku.fi>
%
% Department of Physics, Department of Neurobiology
% University of Kuopio, FINLAN... |
f3df582ba4043834ff863213e3f0abe2b28b7a24d0ffb78df3883041f219b784 | MATLAB | 1,776 | 55 | function [roi, sig, seeds, datasmth, cutoff, pkcutoff] = final_seeds_select(m, roi, sig, seeds, datasmth, cutoff, pkcutoff, sz, maxall)
[pixh, pixw, nf] = size(m, 'reg');
%% kstest %%
id1 = false(1, length(seeds));
for i = 1: length(seeds)
id1(i) = kstest(sig(i, :));
end
%% ske... |
d1e9203b1d60cf23d8348ee0bb709c098228bc270063b8bd25d0477d1940b594 | MATLAB | 1,777 | 40 | % function [] = centerline_checker(folder_name)
% % displays a GUI to view problems in the centerline
% if nargin == 0
% % allow user to select directory
% folder_name = uigetdir
% end
relevant_track_fields = {'Frames', 'PotentialProblems', 'Centerlines', 'Eccentricity', 'Direction', 'Speed'... |
ff71a3558aa7cc7567839426d9ad40b675cfcc9c9430f86019a8307aeac66363 | MATLAB | 1,777 | 44 | function [detrend_sginal] = detrending_beads_UFARSA(fluor, opt)
% [detrend_sginal] = detrending_beads_UFARSA(fluor, opt)
%
% this function prepares and pass the fluorescence trace through BEADS
% method, so that its slowly varying drifts are removed.
%
% INPUT
% fluor: the given fluorescence trace
% opt:... |
dc72a61e432a71127cc065591a99476ebf15db4d61359fc5d01a275069eeec3e | MATLAB | 1,778 | 65 | function [slope,idx_test]=compute_fraction_speed(ref_traj,sample_traj)
%% compute_fraction_speed computes the ratio between the speeds of the reference and the sample trajectory
%
% INPUTS
%
% ref_traj: reference trajectory. Rows are time bins, columns are
% dimensions.
%
% sample_traj: sample trajectory. Rows are t... |
6c2b006942806cbc6bad2915cfd47213223a0b20e0c1149bd888e8b8aec61398 | MATLAB | 1,779 | 51 | %{
Copyright (C) Cambridge Electronic Design Limited 2014
Author: James Thompson
Web: www.ced.co.uk email: james@ced.co.uk, softhelp@ced.co.uk
This file is part of CEDS64ML, a MATLAB interface to the SON64 library.
CEDS64ML is free software: you can redistribute it and/or modify
it under the t... |
1ef11c243585d5323cbc0a33b5d37b38a38c61184e8def446dbba8763d58c97a | MATLAB | 1,781 | 41 | % SONGETADCDATA returns data for Adc, AdcMark, RealWave ( and RealMark?)
% data channels
%
% Implemented through SONGetADCData.dll
%
% [npoints, bTime, data]=SONGETADCDATA(fh, chan,...
% maxpoints, sTime, eTime{, FilterMask})
%
% INPUTS: FH = file handle
% CHAN = channel numb... |
61162fca667c2726abf81d0c9f8ba4c9249b7f03fa0e08ca65a12e47945bd893 | MATLAB | 1,782 | 63 | function [projs,AccItem,AccSequence] = SerialRecallTask(M,N,stdJ,N_TrialsL,N_TrialsT,noise0)
S = randn(N,M);
%normalize vectors
for k=1:M
S(:,k) = S(:,k)/norm(S(:,k));
end
% Orthogonalizing
[ST,~] = mgson(S);
XSnoiseDelayed = nan(N,M*N_TrialsL);
for v=1:N_TrialsL
Snoise = zeros(size(ST));
for k=1:M
... |
6b0b3f850cd847a4c45cf33ea01205f381fddac9f5c2c279922a2db9e4c37e93 | MATLAB | 1,782 | 42 | %checks the orientation of the MRI image
clear;clc
% set FSL environment -- check without the last 4 lines
setenv('FSLDIR','/usr/local/fsl'); % this to tell where FSL folder is
setenv('FSLOUTPUTTYPE','NIFTI_GZ'); % this to tell what the output type would be
fsldir = getenv('FSLDIR');
fsldirmpath = sprintf('%s/etc/ma... |
21c93e1635927326c6e5bba34353c971ff58879c2a317cbe6731a6a024e5a13a | MATLAB | 1,783 | 67 | function self = setsamplinginfo(self)
%SETSAMPLINGINFO Set argmax, argmin and samplerate
%
% CALL: self = setsamplinginfo(self)
Nf = numel(self);
if Nf>1
for ix = 1:Nf
self(ix) = setsamplinginfo(self(ix));
end
else
try
if iscell(self.args) % Multidimensional data
argsz = size(self.args{1});
isVector... |
34ca3191f6716454b473d352276f0907243c6b597ae64df3dac7d1e9e053bf51 | MATLAB | 1,783 | 79 | function [amp,W] = fastWavelet_morlet_convolution_parallel(x,f,omega0,dt)
%fastWavelet_morlet_convolution_parallel finds the Morlet wavelet transform
%resulting from a time series
%
% Input variables:
%
% x -> 1d array of projection values to transform
% f -> center bands of wavelet frequency channels (Hz... |
3ebe8fdbf9a449c7917be6f46a13816bb4e232aa452f3a3ffbc3575f3f3b4212 | MATLAB | 1,784 | 45 | function [KFD] = katz(serie, Kmax)
%{
Script for computing the Katz Fractal Dimension (KFD).
INPUT:
serie: is the temporal series that one wants to analyze by KFD.
It must be a row vector.
OUTPUT:
KFD: the KFD of the temporal series.
TIP: the KFD of a straight line must be exactly 1. Otherwise, the
impleme... |
e0644d9286660132802c8c9dfd2b4b90cc3a13674f242928e6898f864fbe66a6 | MATLAB | 1,784 | 62 |
%# -*- texinfo -*-
%# @deftypefn {Function File} {} gamcdf (@var{x}, @var{a}, @var{b})
%# For each element of @var{x}, compute the cumulative distribution
%# function (CDF) at @var{x} of the Gamma distribution with parameters
%# @var{a} and @var{b}.
%# @seealso{gamma, gammaln, gammainc, gampdf, gaminv, gamrnd}
%# @en... |
06bb095f0d00f7fb6fbc8b670864d6cc2803ec658fe320fb157132d369499c3b | MATLAB | 1,785 | 61 | % Starburst Algorithm
%
% This source code is part of the starburst algorithm.
% Starburst algorithm is free; 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 2 of the License, or
% (at your option) any later vers... |
9a5e2410d7cb2774b6dc449661bcdac3717bca084a45d08c1c14224a4ce20496 | MATLAB | 1,785 | 41 | % SONGETREALDATA returns data for Adc, AdcMark, RealWave ( and RealMark?)
% data channels
%
% Implemented through SONGetRealData.dll
%
% [npoints, bTime, data]=SONGETREALDATA(fh, chan,...
% maxpoints, sTime, eTime{, FilterMask})
%
% INPUTS: FH = file handle
% CHAN = channel n... |
163e6a7d77af455cddc0c2a376f53e46a1ad27e2e420bc7480dbccb5c286ff8b | MATLAB | 1,786 | 59 | % f_GetLetterSize.m [As a part of HFO Detection Project]
% Written by:
% Miguel G. Navarrete Mejia
% Electrical Engineering MS candidate
% UNIVERSIDAD DE LOS ANDES
% Colombia, 2012
% mnavarretem@gmail.com
function st_Letter = f_GetLetterSize
v_ScrennRes = getmondim;
v_ScrennRes = v_ScrennRes(1,[3... |
16d094ceaadab7b372b2fb3111592c858a5c5be79f94a181d927f1b8493e42ff | MATLAB | 1,786 | 90 | function [h] = ml_cai_pipeline_trial_view_track_differences(folder)
if isempty(folder)
folder = uigetdir();
end
tfn = fullfile(folder, 'behav_track_vid.hdf5');
bfn = fullfile(folder, 'behavcam_background_frame.png');
svcfn = fullfile(folder, 'behaviour_scope_videocoords.mat');
sfn = fullfile(folder, 'scope.hdf5');... |
9e73f01aa5f4d1811822f40f737f295135232718f366293b58f9b81d918dea9f | MATLAB | 1,786 | 51 | function [dat, ref] = ft_preproc_rereference(dat, refchan)
% FT_PREPROC_REREFERENCE computes the average reference over all EEG channels
% or rereferences the data to the selected channels
%
% Use as
% [dat] = ft_preproc_rereference(dat, refchan)
% where
% dat data matrix (Nchans X Ntime)
% refchan vec... |
02a119479fd15007b53d29122ed25a27b1e5306b6f640af73c7b383b3226f254 | MATLAB | 1,787 | 57 | function [zValues,outputStatistics] = ...
findEmbeddings(projections,trainingData,trainingEmbedding,parameters)
%findEmbeddings finds the optimal embedding of a data set into a previously
%found t-SNE embedding
%
% Input variables:
%
% projections -> N x (pcaModes x numPeriods) array of projection values
... |
1c7f2f4b04fdea5f7531d4c701c84c9947eb3c6e320817dc9e24de01bbe37912 | MATLAB | 1,787 | 54 | function [trackedParts] = ml_cai_dlc_to_tracked_parts(trialDLCFolder)
% This code reads in the multiple h5 files produced by DeepLabCut
% and then converts the data so that it can be saved as a
% a single behaviour.h5 file
trackedParts = struct('name', [], 'x', [], 'y', [], 'p', []);
% These are the numbers for the C... |
66472f7fc38dd94df5f627b51a15d37542e806ac29cfce32f16c0f44080a5b26 | MATLAB | 1,787 | 49 | classdef TimeSeriesReferenceVectorData < types.hdmf_common.VectorData & types.untyped.DatasetClass
% TIMESERIESREFERENCEVECTORDATA Column storing references to a TimeSeries (rows). For each TimeSeries this VectorData column stores the start_index and count to indicate the range in time to be selected as well as an obje... |
bb2d37ad38d6c231e676851c5419910a1f2835d009a167d83e3680010dbb80f7 | MATLAB | 1,787 | 56 | function [output, firstIndexPoint] = read_4d_hs( filename, outfile)
%read_hs_file Reads in BTI-Headshape files
% filename: file with the headshape informations
% outfile: if present, a ctf ".shape" file is written
% output: if present, a 3xN matrix containing the headshape-points
%
% (C) 2007 by Thomas Hartman... |
d234f010630944624dc6219bfeb9b70a564bcffd2c7304073d0d0e69d4ae8e1b | MATLAB | 1,787 | 80 | %% Fragmented sleep (state duration and number of state transition)
clc; clear all;
load 200128_mvgcnn_10s.mat;
y_preds_mvgcnn = y_preds;
load 200128_10s.mat;
plot_hypnogram(y_preds, y_preds_mvgcnn, y_trues);
load 200128_nick_eric_scoring.mat
plot_hypnogram_two_raters(y_trues_eric, y_trues_nick);
%% State duration
% ... |
3a0ca97df7426cd2de2df130d1a2804c96b7e47a74b90e179053e4c1f8ffd00c | MATLAB | 1,788 | 40 | function writeXls(output_file_or_folder_name, data, names)
% Try to write the features to a .xls file, but fall back to writing a folder full of
% .csv files (one per fly) if xlswrite() is not working (e.g. on Linux).
original_warning_state = warning('off') ;
cleaner = onCleanup(@()(warning(original_wa... |
af73fb325a6b8fc4d5d621230f30a7b6532f40281479b3c2199680ef52f579c5 | MATLAB | 1,788 | 51 |
clear
load('reverse.mat')
load('reverse_outcomecell_identify.mat')
load('reverse_valuecell_identify.mat')
eachoutcome=Cellid(outcome.cell,:);
eachvalue=Cellid(value.cell,:);
dualcell=intersect(outcome.cell,value.cell);
eachdual=Cellid(dualcell,:);
for i=1:5
eachmice.outcome{i}=eachoutcome(find(eachoutcom... |
c9806c66155124d2e2438dc39f7ee9033fff266039c3c0d8fb2c9630d3a73da7 | MATLAB | 1,789 | 49 | function clusinfo = getClusinfo(AllKiloSortPaths)
%% Here we're going to actually load in all the sessions requested - only clusinfo to save memory for unitmatch
clusinfo = cell(1, length(AllKiloSortPaths));
addthis = 0;
for subsesid = 1:length(AllKiloSortPaths)
if isempty(dir(fullfile(AllKiloSortPaths{subsesid}, ... |
e90576d99726dd482f28d14ecd506476fa8edd675157602405cd9b337e948862 | MATLAB | 1,789 | 47 | classdef Fluorescence < types.core.NWBDataInterface & types.untyped.GroupClass
% FLUORESCENCE Fluorescence information about a region of interest (ROI). Storage hierarchy of fluorescence should be the same as for segmentation (ie, same names for ROIs and for image planes).
% REQUIRED PROPERTIES
properties
roiresp... |
492c5e17586309a2ac146892a5aa2c9334a78db70864ef2f079c41786adf59e3 | MATLAB | 1,790 | 51 | % Marc Normandin, Muzzio Lab, Psychological & Brain Sciences, University of Iowa, 2024
function [T] = compute_bfo180_average_similarity_curves_per_period_table(DaysToSessions, NormalBFO180Similarity)
uniqueDays = unique(DaysToSessions.dayNum);
numDays = length(uniqueDays);
T = [];
k = 1;
for i... |
ea8a225b2cd6c45e41fa18a9ed2a724ed4adec782a7cf0814d2b177113c1313f | MATLAB | 1,790 | 57 | % tempAllKernelScript.m
%
% run extractKernels.m on all cell types, save data, save figures
datPath = '/Users/hyang/Dropbox (HMS)/2PAnalysis-Helen/AnalyzedData/190828';
figPath = '/Users/hyang/Dropbox (HMS)/2PAnalysis-Helen/Figures/190828_kernels';
metaDat = loadMetadataSpreadsheet();
vars = {'Exclude', 'CellType'};... |
72bc70e4bd9065772c4a136f6a04c7b431bcc39ecfb6c0c498cb7907447623a9 | MATLAB | 1,791 | 48 | function blob = MergeBlobs(A, B)
% blob = MergeBlobs(A, B)
%
% MergeBlobs merges two blobs A and B.
% Construct rectangle.
blob.rect = [min(A.rect(1), B.rect(1)), min(A.rect(2), B.rect(2)), ...
max(A.rect(3), B.rect(3)), max(A.rect(4), B.rect(4))];
if isfield(A, 'mask')
% Create zero mask. ... |
c8e6165acc96a05b2bb98a26159d4bb0e0b58eb532ca86825769e3a277158fda | MATLAB | 1,791 | 61 | function eyevelpost = desaccade(eyevel, samplerate, varargin)
% EYEVELPOST = desaccade(eyevel, samplerate, threshold, ploton,'window',window)
p = inputParser;
addOptional(p,'threshold',50);
addOptional(p,'ploton',0);
addParamValue(p,'window',[.1 .3]);
addParamValue(p,'freq',[]);
parse(p,varargin{:})
ploton = p.Result... |
cbbc0ab2c972c29df077e136d304fde3deb37892aeef9577b33e4187f17a6e0c | MATLAB | 1,791 | 41 | function [LNPStats, meanLEDPower, stdLEDPower] = directional_FitLNP_vibrations(Tracks,folder_indecies,folders)
%directional_FitLNP takes in tracks and outputs the parameters of the LNP
%based on which behaviors transition into which other one (i.e. context
%dependnt)
load('reference_embedding.mat')
%get the num... |
16c81c94cedfecbf0291417775e2afd7604c3bc014f984da7717e69cc17fb1d2 | MATLAB | 1,792 | 56 | function oGIm = Image2OrientedGradients(im, sigma)
% Converts image into gray image. Then creates a n x m x 8 array where for
% each of 8 orientations (starting with y, and going clockwise), a
% magnitude is given. Note that per point only three of these magnitures
% are larger than zero.
%
% im: The image
... |
d03c77192346e05bb7981554ec52ea0ff4407edd31e64a751301d8cdc457449e | MATLAB | 1,793 | 74 | function [condNumbers,condLabels] = read_ctf_cls(fname)
% READ_CTF_CLS reads the classification file from a CTF dataset
% Copyright (C) 2003, Ole Jensen
%
% This file is part of FieldTrip, see http://www.ru.nl/neuroimaging/fieldtrip
% for the documentation and details.
%
% FieldTrip is free software: you can redis... |
cd00c7ca49cbf37f20bacada5fd47f659390630ef2759575a9648c3c62663e2d | MATLAB | 1,794 | 72 | function [fid, pnt, label] = read_ctf_pos(filename)
% READ_CTF_POS reads Polhemus file created with the CTF digitizer application
%
% Use as
% [fid, pnt, label] = read_ctf_pos(filename)
% Input:
% filename - Polhemus ASCII file containing digitized points
%
% Output:
% fid - fiducial locations of fiducial... |
adbf429d4f23155cb280c3dd1366b8d3dfa8a76080f94fe147bff6aeb93d0049 | MATLAB | 1,796 | 69 | function chi_res = delta2chi_lsqr2(deltaB, D, tol, maskErode)
% chi_res = delta2chi_lsqr2(deltaB, D, tol, maskErode)
%
% Input:
% deltaB: relative field shift
% D: convolution kernel, fftshifted
% tol: tolerance for the LSQR solver
% maskErode: brain mask
%
% Authors: Xu Li
% Affiliation: Radiology @ JHU
% Email addres... |
ab7d415fc0241802692605ff041f87015a557154d12ac91473b774f06e82286f | MATLAB | 1,797 | 62 | function helper_bfo_save_data_placey(outputFolder, perCell, rotDeg, group)
numAngles = 360/rotDeg;
numCells = length(perCell);
avg_prob = zeros(1, numAngles);
avg_corr = 0;
num_prob = 0;
num_corr = 0;
prob = [];
corr = [];
for iCell = 1:numCells
% Only include the non-n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.