sha256 stringlengths 64 64 | language stringclasses 27
values | size int32 1 491k | lines int32 1 21.8k | content stringlengths 1 200k |
|---|---|---|---|---|
ec0c9fefaeff4ce57dc084bc15b4d0a17329d871c31f282ca1b46912a6f98640 | MATLAB | 8,512 | 242 | %% script - main vector remap 2
workdir_d = ["F:\Included miniscope Mice\M119\TrainingD11\" "F:\Included miniscope Mice\M120\TrainingD11\" "F:\Included miniscope Mice\M292\TrainingD6\" "F:\Included miniscope Mice\M319\TrainingD7\" "D:\Grouping First\M231\TrainingD9\" "D:\Grouping First\M314\Training_Separation_... |
9bebe390f4f6f3b3a0ddd4a3e527623eddc644eed7ac92b9baf5b9b7f8f94cc5 | MATLAB | 8,518 | 212 | function outpict = textim(intext,face)
% OUTPICT=TEXTIM(INTEXT,{FACE})
% Generate an image containing a single row of specified text rendered as
% fixed-width white characters on a black background. This is an expansion
% of text2im() by Tobias Kiessling, the primary changes being a color
% in... |
48779feb619486e30038ff2bb504d93f9488fbb4fe517ad73ffb301f9cc5dd64 | MATLAB | 8,553 | 199 | function [oscillations] = getOscillations(experiment, signal, fs, freq_band, rel_thresholds, ...
abs_thresholds, durations, save_data, repeatCalc, results_folder, channel, verbose)
% by Mattia based on buszaki code:
% https://github.com/buzsakilab/buzcode/blob/master/detectors/detectEvents/bz_FindRipples.m
% ... |
4bbcffd49011d11c0842338b3d34d33c8bf90384ca11df4e30422373cf986d19 | MATLAB | 8,555 | 184 | function stats = spikeWaveformStats(cfg, SpikeWaveforms, force)
% SPIKEWAVEFORMSTATS computes average and variance of the spike waveform.
% Then, the average is interpolated and the following parameters are
% computed : amplitude, halfwidth, peaktrough and trouhpeak.
% Input spike waveform data is get from readSpikeW... |
ce8133f02f0ddd5fc65d4ec169181712c9da435d704b773f23ae4d4c06319002 | MATLAB | 8,558 | 197 | function [MuseStruct] = alignMuseMarkersXcorr(cfg, MuseStruct, force)
% ALIGNMUSEMARKERSXCORR determines timing shift of MUSE markers according
% to crosscorrelation with average
%
% use as
% [MuseStruct] = alignMuseMarkersXcorr(cfg, MuseStruct, force)
%
% Multiple channels can be used simultaneously.
% Results are... |
3db4885d815a1ca8bb5ea7f414e8ba569877d168129c66b849897817e927425f | MATLAB | 8,613 | 284 | function outpict = imcontmip(inpict,mask,varargin)
% OUTPICT=IMCONTMIP(INPICT,MASK,{OPTIONS})
% This is a continuized masked image permutation tool -- the simplest and most
% easily continuized derivative of the early FD style image mangling routines.
%
% In the simplest form, the pixels selected... |
aa390c62b4ee7efd7d1d1757f5ad621e8f8f74337a99c3f77be2b808fe40e521 | MATLAB | 8,619 | 253 | function [FinalData] = AUCPeak( Fs, Ts, Pre, Post, EventTS,Ch490,Ch405, varargin)
%Original code by David J. Barker; Modified for use with PhotometryGUI by
%Carissa A. Bruno for the Barker Lab at Rutgers University.
%Trial Analysis: This code will take inputs and create Photometry
%Raster-PETH. The Raster PETH is... |
054c1d926883d5cf596258582a381dd4bf9fdc3d75f67cba231df265a1a9069c | MATLAB | 8,632 | 210 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% computes control energy and stability for two state;
% different choices: can compute control for the whole network and each
% region, or for a subset of regions (e.g. a network such as the rich cl... |
a91f47c58a366851d5351654deb5d52ed72f938be2217e2f94c2bdd6db277d9d | MATLAB | 8,643 | 257 | function [h] = emmip(emm, groupformula, varargin)
% Plotting estimated marginal means (only for categorical vars)
% Copyright 2019, J. Hartman, Cornell University
% written using Matlab version R2016a
% (errorbar,linkaxes behavior or output changes in later versions)
%
% INPUTS:
% emm is output from emmeans.m
% group... |
472a1f969edd6c6290ffae8e20b0e63712d05902960a39e9e62d759b65e7d4f1 | MATLAB | 8,658 | 185 | function dataout = dh_interpolatenan(cfg, datain)
% FT_INTERPOLATENAN interpolates time series that contains segments of nans obtained
% by replacing artifactual data with nans using, for example, FT_REJECTARTIFACT, or
% by redefining trials with FT_REDEFINETRIAL resulting in trials with gaps.
%
% Use as
% outdata =... |
f89c0f03bbc3f4fed7bea56657fab732138d7446303edccf2de3ae623456b38b | MATLAB | 8,678 | 254 | function [FinalData TrialData] = TrialPETHAUC( Fs, Ts, Pre, Post, EventTS,Ch490,Ch405, varargin)
%TrialPETHAUC for use with startoverPC.fig
% Function called on PETHContinueButton or RunAllButton press if
% AUCDataCheck, AUCGraphCheck, or ScatterplotCheck is selected.
%Trial Analysis: This code will take inpu... |
59bbc0a8d5d80303bb2c89e00a2cadc52b2eadd522f2692fe5a5b49c66dd1efb | MATLAB | 8,685 | 179 | function [config] = dtx_eegretigabine_setparams(config)
%The conversion from Deltamed to '.vhdr' loose information in the header. Do
%not use the header read by ft_read_header, but the header saved with
%the data (data_header, for each file)
disp('setting parameters for EEG-retigabine');
if ismac
error('Platform... |
4d2c96565628d453bf6b841a67f9c7bb25a860cee8397e1dba7b004d0fc2c1a8 | MATLAB | 8,698 | 306 | function [y,w,r]=ntdetrend(x,order,w,basis,thresh,niter,wsize)
%[y,w,r]=nt_detrend(x,order,w,basis,thresh,niter,wsize) - robustly remove trend
%
% y: detrended data
% w: updated weights
% r: basis matrix used
%
% x: raw data
% order: order of polynomial or number of sin/cosine pairs
% w: weights
% basis: 'polyn... |
d9578971207067dc3357a33e4acefa7d6f907bf752497bf548498821acbb4e15 | MATLAB | 8,717 | 201 | % nodestdThresh. This is the standard deviation threshold for exclusion of
% skeleton nodes based on prePeriod activity
nodestdThresh = 2;
[textFileName, textFilePathName] = uigetfile('*.txt', 'Pick txt file specifying input');
fid = fopen(strcat(textFilePathName,textFileName));
% filename pathname conditions
textFil... |
fd8ba21caa41f7ccf4820c16b870e273a3d204bbf8ecc359adbc090f03b30a67 | MATLAB | 8,722 | 180 | function save_predictions(~, ~, participant, paths)
%% Save the predictions in EEG struct format
% Save the predictions for one participant in EEG struct format
%
% **Usage:** save_predictions([],[],participant, paths)
%
% Input(s):
% - participant = string participant name to be read
% - paths = cell array with
% ... |
1766066c30a1bb2785ab67d7e7c71ca85977141985b525c4814f32a8d869cbc1 | MATLAB | 8,727 | 162 | %% set up paths
% requires bandpassFilter.m
% requires releaseDec2015 from Neuralynx website
addpath /network/lustre/iss01/charpier/stephen.whitmarsh/WhitmarshEpilepsy
addpath /network/lustre/iss01/charpier/stephen.whitmarsh/WhitmarshEpilepsy/releaseDec2015/
addpath /network/lustre/iss01/charpier/stephen.whitmarsh/fie... |
73a1f444cd9d61e352e6a759d0bd9fd6d0e8b17b5cc5a4d1998eb7380617f436 | MATLAB | 8,734 | 258 | function [outpict inclass] = imcast(inpict,outclass)
% OUTPICT = IMCAST(INPICT,OUTCLASS)
% [OUTPICT INCLASS] = IMCAST(INPICT,OUTCLASS)
% Scale and recast image data and return class of input. This is more
% succinct than using getrangefromclass() and im2double(), im2uint8(), etc.
%
% This is a convenienc... |
488dcef8d2a49230f5dc82c18351fefdc9f037aadf1e1279867dd59fcd05eed4 | MATLAB | 8,746 | 307 | function varargout=sigstar(groups,stats,nosort)
% sigstar - Add significance stars to bar charts, boxplots, line charts, etc,
%
% H = sigstar(groups,stats,nsort)
%
% Purpose
% Add stars and lines highlighting significant differences between pairs of groups.
% The user specifies the groups a... |
83cbc4856d21fb675e6c412755a4b2b1500cb2ce942f52cdace5ad14d4f22be0 | MATLAB | 8,756 | 174 | function [spiky_results] = compute_synchrony_spiky(cfg, SpikeTrials, force, suffix)
% COMPUTE_SYNCHRONY_SPIKY computes spike synchrony with the SPIKY toolbox,
% on spike data created with readSpikeTrials_MuseMarkers.m or
% readSpikeTrials_windowed, and outputs the results.
%
% Use as
% [spiky_results] = compute_syn... |
7939b5a603de0003ae254cc5683910188d38ff95128aed80570c0455b8ed5870 | MATLAB | 8,776 | 267 | function outpict = roishift(inpict,mask,dim,amt,varargin)
% ROISHIFT(INPICT, MASK, DIM, AMOUNT, {CONTINUITY}, {FILL})
% returns a copy of the input image wherein all pixels
% selected by the mask are shifted along a specified dimension.
%
% INPICT is an I/RGB image of any standard image class
% ... |
e4dc71c4fd8e065a66c5e86b6db8e7d3a41d87aa0730bc539878410a87d60aff | MATLAB | 8,797 | 150 | %% Analysis script for Virgini Lambreque's study on electrophysiology of pathoanatomy
%
% (c) Stephen Whitmarsh, stephen.whitmarsh@gmail.com
%
% requires bandpassFilter.m from Mario Chavez
% requires releaseDec2015 from Neuralynx website
addpath /network/lustre/iss01/charpier/stephen.whitmarsh/WhitmarshEpilepsy
addpat... |
d0e0dcd4b4bff1056ae49f8e18dcd54b41eaaff2e524825db2b3cc9f48853418 | MATLAB | 8,816 | 228 | function [cells_antibody,cell_no]=select_cells(settings,composite_img,images_all,roi_names,roi_idx,mouse_name,cells_antibody,idx,pixel_size,step_select)
%%% Select cells - Version 2 (MGG) %%%
%% select cells
cells_finished = 0;
% set(0, 'DefaultFigurePosition', settings.screen_pos);
if strcmp(setti... |
113fad81742401d0c3e6de1cfa3e48e58982431e089eb2bf5887af8206465b29 | MATLAB | 8,823 | 215 | %% ========================================================================
% DeepBIT demo: BF → DL segmentation → cell tracking → trajectory metrics
% Author: Pei-Hsun Wu @ JHU Cleaned: 2025-12-05
% ========================================================================
clear; clc;
%% ----------------... |
038ba2ee9a8418f5049c58fbb496e464b6a4ab6fba0bdc51e7bbc5d3271b2052 | MATLAB | 8,834 | 172 | function cfg = writemicroforspykingcircus_alldata(cfg, MuseStruct, force)
fname_output = fullfile(cfg.datasavedir,[cfg.prefix,'alldata_trialinfo.mat']);
if exist(fname_output,'file') && force == false
fprintf('Loading trialinfo: %s \n',fname_output);
temp = load(fname_output,'cfg');
cfg.sampleinfo ... |
b72eb56d824dca4fd80d436c382adfd537f77b4f7f205ab1de20e3a54ad46b5c | MATLAB | 8,877 | 173 | function cfg = writeSpykingCircus(cfg, MuseStruct, force)
fname_output = fullfile(cfg.datasavedir,[cfg.prefix,'alldata_trialinfo.mat']);
% load trialinfo to reconstruct timeline of spike data
if exist(fname_output,'file') && force == false
fprintf('Loading trialinfo: %s \n',fname_output);
temp = load(fname_ou... |
639343070a5e6a04de1037dfd6d2f9b9d0a011a728466ffd93f5047377bdeaf5 | MATLAB | 8,880 | 292 | function outpict = imcontfdx(inpict,mask,varargin)
% OUTPICT=IMCONTFDX(INPICT,MASK,{OPTIONS})
% This is a continuized masked subvector transformation tool -- a continuized
% generalization of the primary variants of the FD style image mangling routines.
%
% The pixels selected by a mask are subject... |
b2235d74973cd303966bf2e611f441cd1d9e1e127fcdec92e421d955306ab36b | MATLAB | 8,897 | 310 | function outpict = continuize(varargin)
% OUTPICT=CONTINUIZE({OPTIONS},FHANDLE,INPICT,{FARGS})
% Attempt to continuize or smooth potentially discontinuous image
% transformation processes by operating on subscript arrays and
% performing interpolation. This can be used to alter the behavior
% of image... |
57649c992066babf198dda0c9d1cc53ceedde41feaac2b737629fcac3dbfb952 | MATLAB | 8,900 | 191 | function writeSpykingCircusParametersMultichannel(cfg)
% WRITESPYKINGCIRCUSPARAMETERS writes .params and .prb file for Spyking Circus
%
% use as
% writeSpykingCircusParameters(cfg)
%
% The .params file is based on the one in the template folder of EpiCode.
% Change this file to have new default values.
%
% Mandatory... |
9101d2fc7aee9693e1662c8837861bd99444e9535f19eb85027e1de5c0823555 | MATLAB | 8,902 | 315 | function inbucket = mimread(pathexp,varargin)
% PICTARRAY = MIMREAD(PATHEXP,{OPTIONS})
% PICTARRAY = MIMREAD(PATHPREFIX,EXPRLIST,{OPTIONS})
% Load an arbitrary selection of image files into a cell array for further processing.
% Input files do not need to be of same filetype, geometry, or datatype;
% they may ... |
f1031284b5b896a39cf88e705740385591028cd3554682db115426e37033eddd | MATLAB | 8,926 | 208 | function Figure_PSTH_all
restoredefaultpath
if isunix
addpath /network/lustre/iss01/charpier/analyses/stephen.whitmarsh/git/fieldtrip
addpath /network/lustre/iss01/charpier/analyses/stephen.whitmarsh/EpiCode/projects/hspike/
addpath /network/lustre/iss01/charpier/analyses/stephen.whitmarsh/EpiCode/shared/... |
4ec9a97591628c6ba67cdf5b90f75d115ea655136e55ec89f9885bbf9b6dcc78 | MATLAB | 8,929 | 168 | function [threshold,CI] = getThreshold(result, pCorrect, unscaled)
% function [threshold,CI] = getThreshold(result, pCorrect,unscaled)
% this function finds a threshold value for a given fit for different
% percent correct cutoffs
%
% result is a result struct from psignifit
%
% pCorrect is the proportion correct at th... |
8b9192a264e91800d9848ea865cbf28f11d270b09d2a7b77f8c3845e3e14f96e | MATLAB | 8,939 | 213 | % This script allows reproducing the examples shown in the technical report
% available in the PISCO GitHub repository at:
% https://github.com/ralobos/PISCO
%
% The problem formulation and methods implemented by the associated software
% to this script were originally reported in:
%
% [2] R. A. Lobos, C.-C. Chan, ... |
caeee03139a1854fb3e1ff533d8422b383336900b5785c875267b36762437db8 | MATLAB | 8,954 | 312 | %
% BDP BrainSuite Diffusion Pipeline
%
% Copyright (C) 2019 The Regents of the University of California and
% the University of Southern California
%
% Created by Chitresh Bhushan, Divya Varadarajan, Justin P. Haldar, Anand A. Joshi,
% David W. Shattuck, and Richard M. Leahy
%
% This program is free sof... |
891fe3f877061f7ca3a28355a295fbdf60e8c39ac48bbe7e239c89884ed1108f | MATLAB | 8,960 | 190 | function [SpikeRaw, SpikeTrials] = readSpykingCircus_phy(cfg,MuseStruct,force)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% [SpikeRaw, SpikeTrials] = readSpykingCircus(cfg,MuseStruct,force)
% Read results from Spyking-Circus analysis; spike-times and templates.
%
%
% Necessary input:... |
51f16d464fa6410b8fefbe2dbddaf9ecdfdc029498696d74e43a7272ebe60986 | MATLAB | 8,970 | 243 | %%
% makePanels([rows, cols], ...)
% makePanels({cols1; cols2; ...}, ...)
% makePanels({cols1; {[] 1/3}; ...}, ...)
%
function [pan, shape, figureHandle, hTitle] = makePanels(config, varargin)
% Default arguments -- note that inputParser keeps them in alphabetical order
options = inputP... |
b8b339637afefd444d82f0d9c57cc0a10b6db7ee8341758f3b853f0ed8327be2 | MATLAB | 9,007 | 322 | function varargout = spm_prf_fcn_gaussian_polar(P,M,U,varargin)
% Gaussian PRF model with polar coordinates with hard constraints
%
% D - Degrees of visual angle used as units
% C - Constrained PRF width
%
% -------------------------------------------------------------------------
% FORMAT [y,Z] = spm_prf_fcn_gaussian(... |
01f44772e084e8ec16c508e7e827e5fcaf7aa81d5c9fb0c2ecf44fc137b2c094 | MATLAB | 9,038 | 268 | function LFP_avg = plotLFP_stages(cfg, LFP, marker, hypnogram, force)
cfg.visible = ft_getopt(cfg, 'visible', 'on');
fname = fullfile(cfg.datasavedir, sprintf('%sLFP_stages.mat', cfg.prefix));
if exist(fname,'file') && force == false
fprintf('**********************************\n');
fprintf('** loadin... |
7f476eab5ad412d896c137cefb8d44d342a166de71227dc7a6bea459cbdc1d80 | MATLAB | 9,043 | 216 | function [spike] = ft_spike_select(cfg, spike)
% FT_SPIKE_SELECT selects subsets of spikes, channels and trials from a
% spike structure.
%
% Use as
% [spike] = ft_spike_select(cfg, spike)
%
% The input SPIKE should be organised as the spike datatype (see
% FT_DATATYPE_SPIKE)
%
% Configurations:
% cfg.spikechanne... |
5033e33b75cdead67be15e0c8bc161b9a1e2135943fb3dd3e674fc7cc9ae93e4 | MATLAB | 9,046 | 266 | function [H, pValue, W] = swtest(x, alpha)
%SWTEST Shapiro-Wilk parametric hypothesis test of composite normality.
% [H, pValue, SWstatistic] = SWTEST(X, ALPHA) performs the
% Shapiro-Wilk test to determine if the null hypothesis of
% composite normality is a reasonable assumption regarding the
% populatio... |
6cb0cee77a3c23ce9f8424127531eff07fda756ba815bd70206283086ab8d00c | MATLAB | 9,056 | 309 | function varargout = spm_cpm_fcn_fullparametric(P, M, U, varargin)
% Full parametric model (has parameters for all dimensions of signals 1 D)
%
% D - Degrees of visual angle used as units
% C - Constrained PRF width
%
% -------------------------------------------------------------------------
... |
d150cabfed9cce50e84351f9a9a9549f7c7bbfadcc1f5b2ebe0cf9084e36fa8e | MATLAB | 9,058 | 229 | classdef ReconstructionResults
% ReconstructionResults
% Computes connection reconstruction accuracy using wiring PI.
properties
Parameters ReconstructionParameters
PIDistanceMatrix % Matrix of |PIs(xs) - PIt(xt)| differences
Thresholds % Threshold values used
... |
a1f123d72e28011d744c8edfca23e0aec1829e3cdb227167cc18c88363350689 | MATLAB | 9,060 | 168 | function preictal_project_LC
restoredefaultpath
if ispc
addpath (genpath('\\lexport\iss01.charpier\analyses\vn_preictal\scripts\EpiCode\shared'))
addpath (genpath('\\lexport\iss01.charpier\analyses\vn_preictal\scripts\EpiCode\external'))
addpath (genpath('\\lexport\iss01.charpier\analyses\vn_preictal\scrip... |
0b2243f74a95e5d5793574ad99d27da0366b2f2d623efd5b4c571c67728c427a | MATLAB | 9,089 | 236 | function [Post_Spikes,Prelim_Spikes,SpikeperMin,TotalSpikes] = FP_SPIKECOUNT(DF_DEBLEACHED,Threshold, Hold_Constant, ZERO_RULE)
%% By David Estrin & David Barker for the Barker Laboratory
% Code is written for ____ et al., 2020
% The purpose of this code is to take debleached calcium signal previously
% calculated ... |
b52797b8935788860b69a2ce198102c1acdd9a222c64d3d27f6978882793eb2f | MATLAB | 9,094 | 266 | function [answer, anstime, twstart, jitter] = PresentStimulus(data, datatypes, w1, mask, leng, dotsize, nd, trans, nwd, fc, xcenter, ycenter, window, colour, mmultiply)
% PARAMETERS
plotsize = 300; %plot area of the mask (pixels) //altered
timeout=600; %timeout length of trial if length = 0 // altere... |
84c162904f4a3fe1a70f5b52f8f27248a4158a072d3ae53d18b239ddd7cde54d | MATLAB | 9,119 | 205 | function writeSpykingCircusParameters(cfg)
% WRITESPYKINGCIRCUSPARAMETERS writes .params and .prb file for Spyking Circus
%
% use as
% writeSpykingCircusParameters(cfg)
%
% The .params file is based on the one in the template folder of EpiCode.
% Change this file to have new default values.
%
% Mandatory inputs
%
% ... |
df19c231ea2e741049031f8a56913e7fa1a00eb23df1440559fd65dedde17e2b | MATLAB | 9,124 | 217 | function [spike] = ft_spike_select_rmfulltrials(cfg, spike)
% FT_SPIKE_SELECT selects subsets of spikes, channels and trials from a
% spike structure.
%
% Use as
% [spike] = ft_spike_select(cfg, spike)
%
% The input SPIKE should be organised as the spike datatype (see
% FT_DATATYPE_SPIKE)
%
% Configurations:
% cf... |
ecf13eb551a746963051af192b0236dd5986ee7b78ce1f174a3c1aecce6512a7 | MATLAB | 9,145 | 286 | function buttonupfcn2D(hZoom, cpMulAxes)
%MOUSEBTNUPFCN Mouse button up function
% Copyright 2003-2004 The MathWorks, Inc.
% This code originates from simulink zoom.
% This constant specifies the number of pixels the mouse
% must move in order to do a rbbox zoom.
POINT_MODE_MAX_PIXELS = 5; % pixels
% Ge... |
3915ff5b928c60d4a5b12a53502e2ceea6ded3f4dff2780407e38304e0b71a6a | MATLAB | 9,149 | 261 | function data = TDTthresh(data, STREAM, varargin)
%TDTTHRESH TDT snippet extractor.
% data = TDTthresh(DATA, STREAM, 'parameter', value, ...), where DATA is
% the output of TDTbin2mat, STREAM is the name of the stream store to
% convert to snippets, and parameter value pairs define the snippet
% extraction co... |
cd9964bb0c65bb002ea7f65c5239a7ca11e5cbf46da258dabc558b8760a78a74 | MATLAB | 9,155 | 266 | function outpict = imlnc(inpict,varargin)
% IMLNC(INPICT, {MODE}, {PARAMETERS})
% Levels & Curves tool for I or RGB images. Designed as an extension
% of IMADJUST with added features to support automatic adjustment of
% multichannel images and the use of non-RGB color channels.
%
% For a GUI interface, ... |
8235ab87823231e5ca70fa2cbfe9cd9c7f8ca9ef9f534dc437487dc30092f6cd | MATLAB | 9,162 | 177 | function [dat, dat_bl, trialinfo, GA, GA_bl, GA_hyp, GA_hyp_bl] = spikeTrialStats_GrandAverage(cfg, force)
fname_out = fullfile(cfg.datasavedir, ['spikeTrialStats_GrandAverage.mat']);
if exist(fname_out,'file') && force == false
fprintf('Loading results spikeTrialStats_GrandAverage\n');
% repeat t... |
bf16f45f27e90366cc0ff486144a316f32951d9187ee87c58ba6b1f854997737 | MATLAB | 9,169 | 328 | function [IDX,TODSS,SCORE,COVS]=nt_cluster_jd(x,dsr,smooth,flags,init,verbose, depth,N)
%[IDX,todss,SCORE,COVS]=nt_cluster_jd(x,dsr,smooth,flags,init,verbose) - cluster with joint diagonalization
%
% IDX: cluster ownership (IDX{1}: low amp, IDX{2{: high amp)
% TODSS: DSS matrix (1st column --> discriminating componen... |
b3ff573afabafaac491057002c3ba008816be912459b0e005aaab051df3c9787 | MATLAB | 9,178 | 203 | function [p, p_per_datum] = logLikelihood(data,options,alpha,beta,lambda,gamma,varscale)
% the core function to evaluate the logLikelihood of the data
%function p=logLikelihood(data,options,alpha,beta,lambda,gamma,varscale)
% Calculates the logLikelihood of the given data with given parameter
% values. It is fully vect... |
0b7c09af7b54f2c7ff0cf96a40473beb63cbded39aac4a73f6e6af8c29e8a9d6 | MATLAB | 9,221 | 270 | %% Associations between DTI metrics (FA, AD, RD, and MD) and cognition
%% Housekeeping
clearvars; clc;
%% -------------------------------------------------------------------------
% 0) Configuration
cfg = struct();
% Root directory of the repository (assumes this script is in repo_root/matlab/)
cfg.repo_root = fi... |
89d81f00ed76db8e8317bd72d16b1c291f0267136384f32e52291bf32db759ea | MATLAB | 9,245 | 245 | function [ncs] = read_neuralynx_ncs(filename, begrecord, endrecord)
% READ_NEURALYNX_NCS reads a single continuous channel file
%
% Use as
% [ncs] = read_neuralynx_ncs(filename)
% [ncs] = read_neuralynx_ncs(filename, begrecord, endrecord)
% Copyright (C) 2005-2007, Robert Oostenveld
%
% This file is part of Field... |
f63687607c6ce6edd9b29f445c9aadd79d8bb691070c21df22925f72f395b28a | MATLAB | 9,278 | 170 | function [all_data,erp_data,all_bs_to_tap_predictions] = call_func_for_all_participants_eeg(path,save_path,f, options)
%% General function that preprocesses the EEG data and calls a function for all the participants
%
% **Usage:** [all_data] = call_func_for_all_participants_eeg(path,save_path,f, options)
%
% Input(s):... |
fd762397bfc1a4d5fdb4a38a5aefc8f28db35dd508e8d4c5c2ab9525138611e7 | MATLAB | 9,278 | 276 | function varargout = gifread(filepath,varargin)
% GIFREAD(FILEPATH, {OPTIONS})
% reads all frames of an animated gif into a 4-D image array
%
% DUE TO BUGS IN MATLAB, MULTIFRAME GIFS CANNOT BE CORRECTLY READ IN R2018b OR NEWER
% This is not a problem unique to MIMT gifread().
%
% As of R2018b,... |
047c677ef57f4e23f535e978c76e66fb29bf1c80ffd831043f4a87ea2fe1d61c | MATLAB | 9,320 | 171 | function [config] = hypconn_setparams
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% [config] = hypconn_setparams
%
% This function outputs all the settings of a study, to be defined below
%
% Note the consideration of the operating system, because the pointers to
% the file server is de... |
d9ab9d002219a642e1b5c0d8f4e3766d11bb870de3dd5322fbb18a1bfdcac891 | MATLAB | 9,343 | 180 | function [SpikeWaveforms] = readSpikeWaveforms(cfg, spikedata, force)
% [SpikeWaveforms] = readSpikeWaveforms(cfg,SpikeTrials,force,parts_to_read)
% Cut continuous data into trials for each spike sample.
%
% ### Necessary input
% cfg.name = label(s) of the analysis
% cfg.prefix ... |
0e24fa4b30bb9238628ae1f591f19fabe5370dc19c7b4fe465130c56f437b197 | MATLAB | 9,395 | 334 | function varargout = spm_prf_fcn_gaussian_polar_angled(P,M,U,varargin)
% Gaussian PRF model with polar coordinates with hard constraints
%
% D - Degrees of visual angle used as units
% C - Constrained PRF width
%
% -------------------------------------------------------------------------
% FORMAT [y,Z] = spm_prf_fcn_ga... |
76fa35c2e7dead1649824e1aad02d6241d7806066f49ea62b386aa8d453251ee | MATLAB | 9,406 | 216 | clear all
close all
addpath functions/ functions/chronux_2_12/
LFP_ratio =readmatrix('../Simulations/Simulation results/Independent_populations/LFP_cost_ratio.csv');
LFP_sum =readmatrix('../Simulations/Simulation results/Independent_populations/LFP_cost_sum.csv');
LFP_g =readmatrix('../Simulations/Simulation results/... |
01fe4cbe4074c69d5136d28462bcfdc4991013389a38125cc1b6543dccf069b6 | MATLAB | 9,429 | 273 | function [lme,h,p,padj] = mixed_model(data, stats_folder, filename, name, biom_1, biom_2,coloc)
diagnostics = 0;
alpha = 0.05;
tech_rep = 0;
var_names = {'Sham vs Carrier','Sham vs Spindle','Sham vs Low Gamma','Sham vs High Gamma'};
Y = data.Y;
if tech_rep
% Fit the mixed-effects model
lme = fitlme(data, 'Y... |
dd26b3f571dd2f06c5c117c39c002c3dbfafd3584279931c8c3b414231eb7201 | MATLAB | 9,432 | 194 | % addpath /network/lustre/iss01/home/laurent.bailly/fieldtrip/
addpath /network/lustre/iss01/charpier/analyses/stephen.whitmarsh/fieldtrip/
ft_defaults
%% Settings
vect_pat = [2067, 2098, 2141, 2161, 2222, 2256, 2230, 2316, 2306, 2357, 2379, 2578, 2599, 2614, 2619, 2651 ]; % number of pa... |
9f81e788384ca723931c16a48366222f94f1255e63f2d4e393d19348c2779dad | MATLAB | 9,471 | 318 | function [outpict comstring] = imcartpol(inpict,varargin)
% OUTPICT = IMCARTPOL(INPICT, {OPTIONS})
% [OUTPICT COMSTRING] = IMCARTPOL(INPICT, {OPTIONS})
% Rectangular-polar mapping nonsense for image mangling. This is not intended for
% any technical purpose requiring accuracy or reversibility.
%
% INPICT is an I... |
86bd03602520e450b30029fbdce7905ef169421e045270d820d6f17794791b9b | MATLAB | 9,474 | 283 | function [D,E,R,EXTRA]=nt_cca_mm(x,y,ssize,ldaflag,nccs)
%[D,E,R]=nt_cca_mm(x,y,ssize,ldaflag,nccs) - calculate metrics for match-mismatch task
%
% D: d-prime
% E: error rate
% R: correlation coefficient over entire trial
% EXTRA: struct with additional info:
% .D_match: matrix of euclidean distances for matchi... |
21e77e8e3e75577f80eb1db1502dd2b8b8696d87d4baef3642e84cdcccb99f58 | MATLAB | 9,476 | 266 | %%% BEHAVIOURAL TASK TO DETERMINE IF LEGAL PAIRS FROM ES_EEG HAVE BEEN
%%% LEARNED
%%% Hannah McDermott, NOVEMBER 2023 %%%
function [dt, savethis, logfile] = ES_MEM(ID) % ID should be a number
datapath = 'C:\Users\CCNB-EEG1\Desktop\Hannah\ES_EEG\experiment_logs';
mkdir(datapath)
temp = dir(ful... |
5ce842eb8c5aac602edbff43a1bda3a87dbdee3095c40adca10d2efab9148b84 | MATLAB | 9,503 | 249 | function [res,dxs0] = trackW(xyzt,drmax,minfnum,cor_sf)
% % % %
% tracking on particle, not necessary has to appear at all time frame
%
% Input:
% xyzt: [positons, (or properties)) of objects and time id)
% drmax : maximum allowable displacement bewteen frames of the same objects
% minfnum : only collect ... |
bcee4b1ab70890a0b89c6ab6d32d507e79fee5fe7492ecd3be7e67d2e2851e7c | MATLAB | 9,521 | 293 | % =========================================================================
% SUPPLEMENTARY FIGURE 2 — RESTING POTENTIAL MANIPULATION
%
% Author: Gabriele Mancini
% Date: 2025-12-10
%
% Description:
% Loads simulation data, extracts features, averages trials, and plots
% Δ Firing rate, Δ Hurst, and Δ γ power as a fu... |
3533d2abf79c4c96562bc5547f690dc1811b1c546e985d7f0b4b408d5c82ec8d | MATLAB | 9,541 | 339 | function varargout = spm_prf_fcn_gaussian_polar_ellipse(P,M,U,varargin)
% Gaussian PRF model with polar coordinates with hard constraints
%
% D - Degrees of visual angle used as units
% C - Constrained PRF width
%
% -------------------------------------------------------------------------
% FORMAT [y,Z] = spm_prf_fcn_g... |
940cfe82c85b0088b9f0c398a3eb2f0c0ffa9ca7e0b282ddad8f5e1793f6a7a0 | MATLAB | 9,555 | 271 | function [assemD]=TestPair_ref(ensemble,spikeTrain2,n2,maxlag,Dc,reference_lag)
% this function tests if the two spike trains have repetitive patterns occurring more
% frequently than chance.
% ensemble := structure with the previously formed assembly and its spike train
% spikeTrain2 := spike train of the new unit to... |
8a5c09a5a73f026ce2b3162125f8e4ff22e945a21a5eef1abbb30b70d26c3324 | MATLAB | 9,571 | 237 | function [nev] = read_neuralynx_nev(filename, varargin)
% READ_NEURALYNX_NEV reads the event information from the *.nev file in a
% Neuralynx dataset directory
%
% Use as
% nev = read_neuralynx_hdr(datadir, ...)
% nev = read_neuralynx_hdr(eventfile, ...)
%
% Optional input arguments should be specified in key-valu... |
b168aae9fecb7b5e5e2bf1320d3c4fd635da6fc93732d27e9b646295e763bc5f | MATLAB | 9,601 | 261 | %% demo_004: Priors
% This demo covers how we set the priors for different situations.
% This gives you effective control over which parameters of the
% psychometric function are considered for fitting and all confidence
% statements.
% There is no way to do Bayesian statistics without a prior.
%% Staying with the sta... |
ee2ca73bd878836db99c5d1ff74ab7f4d659f69b0bc93af3868738fe4fb358c9 | MATLAB | 9,606 | 345 | function [W] = mc_undist_loop_test(V)
nx=V.nx;
ny=V.ny;
tim1=V.im1';
tim2=V.im2';
b00_best=0;
b01_best=0;
b02_best=0;
b10_best=0;
b11_best=0;
b20_best=0;
adj01_best = 0;
adj02_best = 0;
adj10_best = 0;
adj11_best = 0;
adj20_best = 0;
mask_V = V.tmask' > 0;
tim1_mask = tim1(mask_V);
[X,Y] = meshgrid(1:nx,1:ny);... |
fedb95179324a04a90670c39bfc951278fed3d2732cb67c821921a54b5967809 | MATLAB | 9,617 | 345 | function [W] = mc_undist_loop_wouter_20120524(V)
nx=V.nx;
ny=V.ny;
tim1=V.im1';
tim2=V.im2';
b00_best=0;
b01_best=0;
b02_best=0;
b10_best=0;
b11_best=0;
b20_best=0;
adj01_best = 0;
adj02_best = 0;
adj10_best = 0;
adj11_best = 0;
adj20_best = 0;
mask_V = V.tmask' > 0;
tim1_mask = tim1(mask_V);
[X,Y] = meshgrid(... |
68cdb3be0b9dfa7e2843e87e9d60a9f8ff3ec86487fcbd3dfcba9564d98a4331 | MATLAB | 9,659 | 183 | function [SpikeWaveforms] = readSpikeWaveforms_fromRaw(cfg, SpikeRaw, force)
% [SpikeWaveforms] = readSpikeWaveforms(cfg, SpikeTrials, force, parts_to_read)
% Cut continuous data into trials for each spike sample.
%
% ### Necessary input
% cfg.name = label(s) of the analysis
% cfg.prefix ... |
9bcaff7cea186ff09b22351bbd0f586f7212353cad5aa8992e2c3fb13ebd61e6 | MATLAB | 9,699 | 142 | function MuseStruct = padHypnogram(MuseStruct)
for ipart = 1 : 3
for idir = 1 : size(MuseStruct{ipart}, 2)
if isfield(MuseStruct{ipart}{idir}.markers, 'AWAKE__START__')
if MuseStruct{ipart}{idir}.markers.AWAKE__END__.clock(1) ~= MuseStruct{ipart}{idir}.endtime
... |
a970603da0fe07ac3f91366f3177c0b5706868643d04188beee84363897cd42e | MATLAB | 9,700 | 164 | function hspike_cluster(ipatient)
%% Analysis script for SLURM cluster
%
% (c) Stephen Whitmarsh, stephen.whitmarsh@gmail.com
%
%% Add path
restoredefaultpath
if isunix
addpath /network/lustre/iss01/charpier/analyses/stephen.whitmarsh/fieldtrip
addpath /network/lustre/iss01/charpier/analyses/stephen.whitmar... |
49d132916e58b303ad1c9e6ef10d65a0383014757b91eca903aa3a85ce1659ba | MATLAB | 9,704 | 234 | function [ftData_epoch_tms, ftData_epoch_sham] = P2_Detrend(queue, ref_method, saveDir, input_parameters)
% preprocessing of TMS-iEEG data
% Input
% queue: a one-column table, including the information of subject, session,
% trigger file, etc.
% saveDir: directory of the folder, saving the processed data before and af... |
45f1511056c988b08ef5955f5db6ac3108005c632f8ea95092dcdd8a11f6027c | MATLAB | 9,752 | 282 | classdef copytoImagePlus_test < matlab.unittest.TestCase
%copytoImagePlus_test < matlab.unittest.TestCase
%
% clear;close all;clc;testCase = copytoImagePlus_test;res = testCase.run;disp(res);
%
%
%
%
% Written by Kouichi C. Nakamura Ph.D.
% MRC Brain Network Dynamics Unit
... |
6ea6f0d515ef0a09596f1a9ad709781f0135a469783a8381d8d3d5b9844e24ab | MATLAB | 9,758 | 234 | function [SpikeRaw, SpikeTrials] = readSpykingCircus_all(cfg,MuseStruct)
addpath /network/lustre/iss01/charpier/stephen.whitmarsh/WhitmarshEpilepsy
addpath /network/lustre/iss01/charpier/stephen.whitmarsh/fieldtrip/
ft_defaults
%% use spiking circus output
hasspikes = zeros(length(MuseStruct),1);
% SpikeRaw{length(M... |
b21694417b8fb9fdc9dbbdca5ff94e2b8e436dc0d59627a640559892dad16465 | MATLAB | 9,802 | 227 | classdef Connection < handle
% CONNECTION Represents a connection to an ISMRMRD client.
%
% CONNECTION objects are created by the Gadgetron External Language
% Interface, representing communication with the ISMRMRD client.
%
% CONNECTION Properties:
%
% config - Configuration sent... |
d5e0242aee9a4aa7741d6ebc09a266ea23726a7438e624ef08f6bb63c0c01996 | MATLAB | 9,820 | 280 | % internal function
% - Jimmy Shen (jimmy@rotman-baycrest.on.ca)
function [hdr, filetype, fileprefix, machine] = load_nii_hdr(fileprefix)
if ~exist('fileprefix','var'),
error('Usage: [hdr, filetype, fileprefix, machine] = load_nii_hdr(filename)');
end
machine = 'ieee-le';
new_ext = 0;
if findstr('.nii',filepr... |
b9d0aa1d97e75f9411eaf71616ac78e11ceccdb3759f2df9b77e514fa05f34ba | MATLAB | 9,825 | 301 | function [B,ndx,dbg] = natsortfiles(A,rgx,varargin)
% Natural-order / alphanumeric sort of filenames or foldernames.
%
% (c) 2014-2024 Stephen Cobeldick
%
% Sorts text by character code and by number value. File/folder names, file
% extensions, and path directories (if supplied) are sorted separately to
% ensure... |
71754577865a53cfb8762bb3b21f90734a49b6a900de07ead5a3725340720161 | MATLAB | 9,826 | 228 | %% FP_Part2.m
%
% Fiber Photometry Analysis - Part 2
%
% It is recommended that users read through the documentation in full
% prior to using this analysis. This applies to each section in the code
%
% All outputs are accessed through the structure element "FP" in the
% MATLAB ... |
18617c84c3f927151ee2f5c24327e09af9a1749219ae923ba9127a9df9d5c431 | MATLAB | 9,828 | 224 | function [OPS_data_pos] = OPS_analysis_firstExpl20s_deeplabcut(settings,pos_idx,phase)
% [OPS_data_pos] = OPS_analysis_firstExpl20s_deeplabcut(settings,pos_idx,phase)
% Analyses object exploration times for the OPS test
%
% inputs:
% settings - Analysis and experimental settings
% pos_idx - Position number to ana... |
ea0a38d1f698ddf55475b274d57345949aede3d0816750316da738c1a435973d | MATLAB | 9,846 | 240 | % This script allows reproducing the examples shown in the technical report
% available in the PISCO GitHub repository at:
% https://github.com/ralobos/PISCO
%
% The problem formulation and methods implemented by the associated software
% to this script were originally reported in:
%
% [2] R. A. Lobos, C.-C. Chan, ... |
8bb439e2026580c4e1e465ebb43ebdb4ea2117b8ba183772287bf72723cd6188 | MATLAB | 9,847 | 271 | function [GC_beta_mean,GC_gamma_mean,GC_beta_sem,GC_gamma_sem,GC_beta_byPair,GC_gamma_byPair,files_read,all_files,...
all_data_GC,all_data_Freq]=fun_compute_mean_ppc(align_where,file_dir,filename,areafile,connect,reach_merge)
% example:
% align_where = 'GoCue_-800:0ms';
% fun_compute_mean_GC(align_where,'em_data','Fi... |
0aa4dc386024f441c4a8fc03ed925c37d86985987a23ce56fbf397276a796b42 | MATLAB | 9,848 | 223 | function plotTimeCourses_seizures(cfg, LFP, TFR)
for ipart = 1 : size(LFP, 2)
for markername = string(fieldnames(LFP{ipart}))'
cfgtemp = [];
cfgtemp.hpfilter = 'yes';
cfgtemp.hpfreq = 1;
LFP{ipart}.(markername) = ft_preprocessing(cfgtemp, LFP{ipart}.(markername));
end
e... |
a33b62c6d81f427e109e70d70e4218125a9ef5c77bd188f96a2ce72ffa3b84d8 | MATLAB | 9,859 | 206 | classdef RelatedGeneAnalysisResults
properties
GeneExprLevels GeneExpressionLevels
CorrCoefMatrixSource (:,:) double %[#gene, #dimWiringPI]
CorrCoefMatrixTarget (:,:) double
TopKGeneIndexListsSource (:,:) {mustBeInteger} %[TopK, #dimWiringPI]
TopKGeneIndexListsTarget (:,:) {m... |
6f6e3a8feeefa5a562139c2383ec67e115454a620d5633fe22bcbf64b479ee53 | MATLAB | 9,871 | 309 |
function [U,S,V] = pcafast(A,k,raw,its,l)
%pcafast Principal component analysis
%
%
% [U,S,V] = pcafast(A) constructs a nearly optimal rank-6 approximation
% USV' to C(A), where C(A) refers to A after centering its
% columns, using 2 normalized power iterations, with block
% siz... |
0e0bf80f59cce9ab9bde670291c1878f81257c3a265f78c9d135542eec3f28dc | MATLAB | 9,876 | 355 | function varargout = spm_prf_fcn_DoG_polar(P,M,U,varargin)
% Gaussian PRF model with Precision width parameter
%
% D - Degrees of visual angle used as units
% C - Constrained PRF width
%
% -------------------------------------------------------------------------
% FORMAT [y,Z] = spm_prf_fcn_gaussian(P,M,U)
% Return the... |
72f05369499697dc0ec344506718b968edb1de80ed1b297365cadd722ad8bd99 | MATLAB | 9,917 | 316 | function outpict = imnoiseFB(inpict,mode,varargin)
% OUTPICT=IMNOISEFB(INPICT,TYPE,{PARAMETERS})
% Add noise to an image.
%
% This is a passthrough to the IPT function imnoise(), with internal fallback implementations to
% help remove the dependency of MIMT tools on the Image Processing Toolbox. As with other... |
24c64b163e99afb42a3db93ba2f4592151f38153f1c699c243eafe6859604a29 | MATLAB | 9,919 | 239 | function [pks,locs_y,locs_x]=peaks2(data,varargin)
% Find local peaks in 2D data.
% Syntax chosen to be as close as possible to the original Matlab
% 'findpeaks' function but not require any additional toolbox.
%
% SYNTAX:
% pks=peaks(data) finds local peaks.
%
% [pks,locs_y,locs_x]=peaks(data) finds local peak... |
d6076366bef926d16cda3e356e916f0b9f50fc83dc39e6d6c0e19d6c99abe84d | MATLAB | 9,927 | 228 | function [filelist, sampleinfo, timestamps, hdr] = writeSpykingCircusFileList(cfg, force)
% writeSpykingCircusFileList writes a textfile with filenames for
% SpykingCircus and returns sampleinfo for later (cutting results back up)
%
% use as
% [filelist, sampleinfo, timestamps, hdr] = writeSpykingCircusFileList(cfg,... |
a3513c632a5e765f6080d1edcbd3631b2318f90f26a0bbc366ef913677a3dd55 | MATLAB | 9,958 | 303 | function [] = threshold_and_success_rate_plot_func_figA2(directory,min_thresh_list,seizure_duration_list,freely_moving)
% On-Demand Seizures Facilitate Rapid Screening of Therapeutics for Epilepsy
% Authors: Yuzhang Chen, Brian Litt, Flavia Vitale, Hajime Takano
% DOI: https://doi.org/10.7554/eLife.101859
% Makes a f... |
081de8e5fce9bd2e4a9843b6a24bb41eca8b9a00915e6e32aac625f8ef27036b | MATLAB | 9,965 | 229 | classdef fLocSequence
properties
num_runs % number of runs in experiment
stim_onsets % onset times of each stimulus in a run
stim_names % sequence of stimulus filenames
task_probes % index of stimuli that are task probes
train % training sequence or not % IBC C... |
9a82a99e0a8ef885c6efe7dd06b825e08d564987e5fe588891f542f7d9c4be5f | MATLAB | 9,966 | 336 | %
% [dataSm, output] = tNLMGPDF(data, option)
%
% Description:
% Global PDF-based temporal non-local means filtering
%
% Input:
% data - time series N x T
% option - option structure
%
% Output:
% dataSm - filtered time series
% output - output structure containing intermediate results
%
% Copyr... |
44aae13104701d1a8d5b32fcf2ff42e8e6b34338ccd051241eb84a85473444d0 | MATLAB | 10,009 | 206 | function[stats] = plot_OPS_results(settings,phase)
% [stats] = plot_OPS_results(save_path,position_analysis,group_names,phase)
% Plot OPS results
%
% inputs:
% settings - Analysis and experimental settings
% phase - 'test' or 'training'
%
% outputs:
% stats - Struct containing statistical comparisons
%
% Aut... |
5ad7e1a3817ecef14154da56b0537fa5c24bf0fc76565da35aee9b2639faa2fa | MATLAB | 10,029 | 202 | function [SpikeRaw, SpikeTrials] = readSpykingCircus(cfg,MuseStruct,force)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% [SpikeRaw, SpikeTrials] = readSpykingCircus(cfg,MuseStruct,force)
% Read results from Spyking-Circus analysis; spike-times and templates.
%
%
% Necessary input:
%
... |
e4025052afe9c40a8dcefde8a863227452023989a5e53cb9a0c3fe6fa012c587 | MATLAB | 10,030 | 247 | function dict_new = dictionary_update(x_im, dict_old, coef_vals, step_s, opts)
% function dict_new = dictionary_update(x_im, dictionary_old, coef_vals,
% step_s, opts)
%
% Takes a gradient step with respect to the sparsity inducing energy
% function.
%
% Inputs:
% x_im - Data samples over which to average t... |
c9d9d9c832045cb07ebcd6da100a75de0043b3b08d97b45e0422a1ac410f4d67 | MATLAB | 10,036 | 359 | function varargout = spm_prf_fcn_DoG_polar_ellipse(P,M,U,varargin)
% Gaussian PRF model with Precision width parameter
%
% D - Degrees of visual angle used as units
% C - Constrained PRF width
%
% -------------------------------------------------------------------------
% FORMAT [y,Z] = spm_prf_fcn_gaussian(P,M,U)
% Re... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.