sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
c667ec1a0db8939a6415edf0698c0e03e16320caa3a835dc780324d4223d5155 | MATLAB | 37,574 | 927 | function varargout = tfviewerx(varargin)
% TFVIEWERX MATLAB code for tfviewerx.fig
% USAGE:
% tfviewerx(time,freq,DATA,chanlocs[,title]);
%
% time : vector of time points
% freq : vector of frequencies (e.g., of wavelet convolution)
% DATA : channels X frequency X time matrix
% chanlocs : ee... |
22bfa6637dc47646964c5dd59494f2366a916643df142fff3f5429a019c51dc5 | MATLAB | 37,605 | 925 | clear; clc;
Colors = ['#F27970';'#BB9727';'#54B345';'#32B897';'#05B9E2';'#8983BF';'#C76DA2'];
Jobs = {
1, 'View asymptotic property Circle N';...
2, 'Boxchart asymptotic property Circle N';...
3, 'Boxchart asymptotic property Cirlce S';...
4, 'View asymptotic property Sphere N';...
5,... |
7bbad4ea412badd8e24a80fcb05556d93693a2323fd1954852065045b26a661c | MATLAB | 37,755 | 792 | %% The main non-modelling wrapper script.
%
% Computes:
% 1-step mean distance for list
% agglommerative clustering
% Travelling salesman shortest paths, and deviation from these [option tovsave]
%
% In each case takes a sliding window zscore approach
% sliding window: a list length window is specified to be un... |
21dc530dcdccba3cdaba4ce7da2ce4156023843650dcab2219d37e87c979058b | MATLAB | 37,934 | 1,211 | clear all
close all
dbeh_path='C:\Users\xscogno\MATLAB\Flavio2\Waves\Tracking data\';
rec_data_path = 'C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath_spikes='C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath_sorting='C:\Users\xscogno\MATLAB\Flavio2\Waves\Sorting\';
dpath='C:\Users\xscogno\MATLAB\F... |
9748138424156e7bf24b941e805384377c987d6612eb58dd9aaaaa08c43cf30d | MATLAB | 37,976 | 1,215 | clear all
close all
dbeh_path='C:\Users\xscogno\MATLAB\Flavio2\Waves\Tracking data\';
rec_data_path = 'C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath_spikes='C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath_sorting='C:\Users\xscogno\MATLAB\Flavio2\Waves\Sorting\';
dpath='C:\Users\xscogno\MATLAB\F... |
cd58f265ab545b8856688f570f204dd5413cda918cbf62a5deae25b731b55dab | MATLAB | 38,184 | 1,054 | %Z-score delay all cells
close all;
clear;
load('U:\rg-yoshida\Yoshida_lab_shared_folder\Shared Data\Antonio\In vivo data\Babak\preliminary analysis\Space_bin\Space_bin_filt30Kalman.mat')
load('U:\rg-yoshida\Yoshida_lab_shared_folder\Shared Data\Antonio\In vivo data\Babak\preliminary analysis\Space_bin\Spatial_... |
1e8dc35e68f1f5038449741648af8ecaa828bcfec44d36d3c3dd0871bdfc591e | MATLAB | 38,307 | 862 | % AK 29/07/2016
% Plot calcium imaging data from GECIquant results for ROIs in sheaths,
% processes and somas
% synchronicity graphs
%% also need:
%% Intersections
% Version: 1.12, 27 January 2010
% Author: Douglas M. Schwarz
%% function [ycorr,yfit] = bf(y,varargin)
%% Functions by AK
% read_txt.... |
667047cfbb748acb34f46daf12a926da9e24a404a809aadf02b739357a3c98ea | MATLAB | 38,490 | 1,100 | clear all
close all
dbeh_path='C:\Users\xscogno\MATLAB\Flavio2\Waves\Tracking data\';
rec_data_path = 'C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath_spikes='C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath_sorting='C:\Users\xscogno\MATLAB\Flavio2\Waves\Sorting\';
dpath='C:\Users\xscogno\MATLAB\F... |
351ed6c226e2f55da2150a5a95fb4f89e985827ccb9bab6e9f3f96bf522948f4 | MATLAB | 38,613 | 1,101 | clear all
close all
dbeh_path='C:\Users\xscogno\MATLAB\Flavio2\Waves\Tracking data\';
rec_data_path = 'C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath_spikes='C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath_sorting='C:\Users\xscogno\MATLAB\Flavio2\Waves\Sorting\';
dpath='C:\Users\xscogno\MATLAB\F... |
b34dc179c25ca6c4bfa334ab646461c8046dcc8a36db5abacc617fd4bbaed322 | MATLAB | 38,666 | 612 | %% Start by going to the Study day folder
%You need Adritools and CorticoHippocampal in your Matlab path. Else Matlab won't recognize'getfolder' or 'ConsecutiveOnes'.
clear
clc
%Enter in the folder of one particular SD containing the files from manual
%scoring '-states.mat' and be sure that all the files are av... |
0b5f6a3fd23df02c3aa9029ad886acec2640804601104fcdf64ea70bd24390e0 | MATLAB | 38,783 | 947 | %% ESTIMATION STATS METHOD
%% PART 0 (est) - set colors and load data
clc; clear all; close all;
addpath('C:\Users\kmfo8\Dropbox\Rutgers\Firestein Lab\Manuscript DRAFTS\2022 BDNF MEA paper\figures\');%D:\kate_dropbox\Dropbox
myColors(1,:) = [0 0 0]; % black
myColors(2,:) = [1 0 0]; % red
myColors(3,:) = [0 ... |
a5943bfa6c827b4205c44191482b13228aeb19f9a43c3cb3f369efd75f0ea0d1 | MATLAB | 38,874 | 437 | function m = read_siemens_header(fname)
%
% read_siemens_header.m
%
% Original Author: Bruce Fischl
% CVS Revision Info:
% $Author: nicks $
% $Date: 2007/01/10 22:55:10 $
% $Revision: 1.2 $
%
% Copyright (C) 2002-2007,
% The General Hospital Corporation (Boston, MA).
% All rights reserved.
%
% Distribution,... |
566b7796538d624740f50c34281e99431f4c9006509f4ebab011f4af3e614814 | MATLAB | 38,902 | 455 | function extract_replay_plotting(computer,data_type,replay_control,multievents)
% Code to extract and organize replay information from 'significant_events.mat' in order to plot it
% Also loads, 'extracted_position.mat', and 'extracted_sleep_state.mat'
% INPUT
%computer: GPU for supercomputer, for office compute... |
be28df6b913ad65cf3218171ee4d716c957e8e199b50772c33149bcd171003f1 | MATLAB | 39,042 | 1,009 | function [] = rulesOfSummationAnalysis(genAll,meta)
% summation model
close all
tic;
t1 = -20;
t2 = 20;
t3 = 15;
plotFolder = [meta.plotFold '\SummationAnalysis\'];
if ~exist(plotFolder, 'dir')
mkdir(plotFolder)
end
%%
% precompute bounds
[stateKinAll,stateKinBaseline,stateKinBaselineMu,stateKinBa... |
63af40761a251c9f9334868ef8b0ffd4ed232f8a1b77edce44b9add28a344970 | MATLAB | 39,139 | 999 | function results = spm_preproc8(obj)
% Combined Segmentation and Spatial Normalisation
%
% FORMAT results = spm_preproc8(obj)
%
% obj is a structure, and must have the following fields...
% image - a structure (array) of handles of individual scans,
% of the sort returned by spm_vol. Data can be
% ... |
8e2a0aad10ce711a85f5f9ad0d78cb523bc0880038f341570930d4d1f978118c | MATLAB | 39,147 | 510 | function significant_replay_events = number_of_significant_replays_final_lap(p_value_threshold,ripple_zscore_threshold, method, rexposure_option)
% Establish significance for the replay events that are above a set ripple power threshold.
% The output will therefore have less replay events than the structures that have... |
b816414c0df44c6aa39fea225225c2159996e53adb138e36bd7dbcc43e525bf9 | MATLAB | 39,219 | 924 | % BEHAVIOURAL PLOTS
% MH, 2020
% Extracts some behavioural features, such as speed, time immobile and time
% running in the track, for each protocol and session and creates plots
% Saves data structure
function behaviour_plots(computer,data_type)
% Load name of data folders
if strcmp(computer,'GPU')
sessions = s... |
bca83e952065361c0e6a34bfb8f529ccc2dc2a4abceebf41fa21bcefc5cb5eb9 | MATLAB | 39,436 | 805 | function fieldmap = tbx_cfg_fieldmap
% MATLABBATCH Configuration file for toolbox 'FieldMap'
%__________________________________________________________________________
% Copyright (C) 2008-2017 Wellcome Trust Centre for Neuroimaging
% $Id: tbx_cfg_fieldmap.m 7086 2017-06-01 11:50:28Z guillaume $
if ~isdeployed, add... |
68d3bba93dd77ad118b9dcd920eab62a6924835a69db9a3a52880569e9fbb4e7 | MATLAB | 39,644 | 543 | %% BBSC_GE_V2.4.0.m
% This function describes an Osprey job defined in a MATLAB script.
%
% A valid Osprey job contains four distinct classes of items:
% 1. basic information on the MRS sequence used
% 2. several settings for data handling and modeling
% 3. a list of MRS (and, optionally, structur... |
07b18575dc562820953f1eae5c90f5d59a872ba437c46e518287478792485789 | MATLAB | 39,708 | 1,415 | function varargout = spm_sp(varargin)
% Orthogonal (design) matrix space setting & manipulation
% FORMAT varargout = spm_spc(action,varargin)
%
% This function computes the different projectors related to the row
% and column spaces X. It should be used to avoid redundant computation
% of svd on large X matrix. It is ... |
d1651f5fce4b5e6d0ad24e42f663831836e96b97d73fbf442172b452d1f65755 | MATLAB | 39,724 | 1,133 | clear all
close all
dbeh_path='C:\Users\xscogno\MATLAB\Flavio2\Waves\Tracking data\';
rec_data_path = 'C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath_spikes='C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath_sorting='C:\Users\xscogno\MATLAB\Flavio2\Waves\Sorting\';
dpath='C:\Users\xscogno\MATLAB\F... |
09e2ac76164bbbad142a8cfdc5eb98154c77999ddb9c0ec8e1c58732d5bfb8b2 | MATLAB | 39,875 | 1,147 | %clear all
close all
dbeh_path='C:\Users\xscogno\MATLAB\Flavio2\Waves\Tracking data\';
rec_data_path = 'C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath_spikes='C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath_sorting='C:\Users\xscogno\MATLAB\Flavio2\Waves\Sorting\';
dpath='C:\Users\xscogno\MATLAB\... |
470da4446ffa402049fa52319e0fabb0879141ca6eedae7173fadbcb6d22b0ae | MATLAB | 39,990 | 794 | classdef SingleLoopyModel
%SINGLELOOPYMODEL On single model (generated by one combination of
%regularization parameters and density).
properties
% training and test sets
x_train, x_test;
% struct with
% F (2xnode_count matrix with node weights)
%... |
3b10ee9788895adb377649c82ad24a05f688f79bd5f11c9d5cafb6f6c4663af4 | MATLAB | 40,002 | 529 | function significant_replay_events = number_of_significant_replays(p_value_threshold,ripple_zscore_threshold, method, rexposure_option)
% Establish significance for the replay events that are above a set ripple power threshold.
% The output will therefore have less replay events than the structures that have been load... |
17c6b438eca5b4c8654a99c15e63c99596dee5a4984e7021886efa2a3d42f96f | MATLAB | 40,374 | 1,157 | function [varargout] = findfiles(varargin)
%FINDFILES locate files and directories, comparable to Linux/UNIX find.
% FILES = FINDFILES(PATTERN) searches for files matching PATTERN in the
% present working directory (and, by default, all sub-directories). The
% pattern may contain the asterisk (*) for {0,} repeti... |
0440e01c25d801455ae5a361717ff9d97b99880fbee10a6b9d0bf3a88f681a44 | MATLAB | 40,451 | 1,119 | function [SPM] = spm_spm_vb(SPM)
% VB estimation of GLM-AR models with spatial regularisation
% FORMAT [SPM] = spm_spm_vb(SPM)
%
% This function implements a VB estimation scheme for GLM-AR models.
% Both regression coefficients and AR coefficients are spatially
% regularised. The algorithm is described in a series ... |
41a07f2ec82e372f89b07a116896f24e9272a8f6e70a7e5057cd9616a45885bc | MATLAB | 40,468 | 899 | classdef MlpPython
% This file contains the wrappers for doing our MLP training and predicting
% (AKA classifying) via Python TensorFlow.
%
% The method MlpPython.IsAvailable confirms the installation of all
% dependencies. If Python version 3.7, or 3.8 or (ispc) 3.9 is not present, the
% function guides the user to t... |
cf9d07b47a7c9358451ec18d74349d5cb88cc10fc7ea893f053748448cbb8584 | MATLAB | 40,545 | 1,372 | %Fig 3a,c,e
%Extended data Fig 7g
%Extended data Fig 10i
%Extended dara Fig 10 j,k
%Extended data Fig 7d
%Fig 3d
%Extended data Fig10c,d
%% Loads data
clear all
close all
rec_data_path = 'C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath_spikes='C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath_sort... |
e74a46237c6c47f63a121333281a422b5a71368c6aa320c04a0219878f699e0c | MATLAB | 40,619 | 1,063 | %% Code for snippets of traveling wave as a function of time with COM overlaid
% Figure for example session and example sequence
%Former: traveling_waves_calcium_analysis_2
clear all
% close all
%Params
pixel_size_new=1.18185;
pixel_size_old=1.78211;
N_sh=100;
count=0;
num_panels=8;
time_bin_size=8; %bin size
spat... |
4dbe352a250389a7992c870a9d6750dee0e0138f82644d9b74459ae19020feb6 | MATLAB | 40,683 | 1,032 | for Group=1:2
%% Rject whack electrodes
if Group==1
subj=4:24
rejchan{1}={'TP10','O2'}; %starts at subject 4
rejchan{2}={''};
rejchan{3}={''}; %Go back and remove (T7, TP7,TP8,T8), may require more epoch clearing
rejchan{4}={'T8'};
rejchan{... |
df16232bea386224de4a0cdfdf9ec1b142eb97035e7b00c1fe3368749c4a5c09 | MATLAB | 40,734 | 1,054 | %% part 1 - image processing
clc; clear all; close all;
overallFolder = 'D:\kate_dropbox\Dropbox\Rutgers\Firestein Lab\Manuscript DRAFTS\2022 BDNF MEA paper\submission materials\3_Comms Biol\2_revision\from Srini\';
inputFolder = [overallFolder, 'exportedTIFs\'];
sumfigsFolder = [overallFolder,'results\summaryF... |
4ef8c60e8a1acf04aa981e0a985ed671d7f9c6c80fdf932d936d90738d5f43d0 | MATLAB | 40,980 | 1,000 | function out = spm_groupwise_ls(Nii, output, prec, w_settings, b_settings, s_settings, ord)
% Groupwise registration via least squares
% FORMAT out = spm_groupwise_ls(Nii, output, prec, w_settings, b_settings, s_settings, ord)
% Nii - a nifti object for two or more image volumes.
% output - a cell array of output op... |
ce381c7832a7c586f669257d79fa7456bad5fc3f5a943a99ea0946fcccc51ae5 | MATLAB | 41,128 | 1,074 | function varargout = cfg_ui(varargin)
% CFG_UI M-File for cfg_ui.fig
% CFG_UI, by itself, creates a new CFG_UI or raises the existing
% singleton*.
%
% H = CFG_UI returns the handle to a new CFG_UI or the handle to
% the existing singleton*.
%
% CFG_UI('CALLBACK',hObject,eventData,handles,...) ... |
bc56d5f52837d7f60f40b226355c20f009b3abcef92615991692a77af8da8576 | MATLAB | 41,319 | 1,199 | %clear all
close all
dbeh_path='C:\Users\xscogno\MATLAB\Flavio2\Waves\Tracking data\';
rec_data_path = 'C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath_spikes='C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath_sorting='C:\Users\xscogno\MATLAB\Flavio2\Waves\Sorting\';
dpath='C:\Users\xscogno\MATLAB\... |
995adc6cd53453bdad26aa80c52caaddf9aafdf314eb3647edf31825690dc744 | MATLAB | 41,393 | 830 | % RATE REPLAY AWAKE (LOCAL AND REMOTE) IN TRACK - events/sec
% MH 2020
% Plots rate of awake replay in track in line plot and bar plot. Third plot is for multievents data.
% INPUT: multievents - 1 for selection. If multievents, loads data with multi track events not excluded, thus simulating the existance of only 2
... |
f66f0223f1ba87eebbe0b0df67b2ebb89e514fcb2b5274b1cc7abde4b7931dc6 | MATLAB | 41,517 | 1,019 | %% part 1 - BDNF DOSE RESPONSE - plot est stats by subtracting from control
clc; clear all; close all;
theDir = 'C:\Users\kmfo8\Dropbox\Rutgers\Firestein Lab\Manuscript DRAFTS\2022 BDNF MEA paper\figures\data - BDNF dose response\revision_0B25B50Bonly_newPlots\data\';%'D:\kate_dropbox\
figDir = 'C:\Users\kmfo8\D... |
6cc7d714438675b698f022ef3518cf7ef89201957b592ab65e197b843376dd55 | MATLAB | 41,676 | 876 | % Defines the class headModel for solving forward/inverse problem of the EEG.
%
% Author: Alejandro Ojeda, Swartz Center for Computational Neuroscience,
% University of California San Diego, 2013
classdef headModel < handle
properties(GetAccess=public, SetAccess=public,SetObservable)
... |
41d97be85e09c1b7b95bae83487f228d0d70d84d3b9b3580b627b6707f847e13 | MATLAB | 41,725 | 1,459 | clear all
close all
dbeh_path='C:\Users\xscogno\MATLAB\Flavio2\Waves\Tracking data\';
rec_data_path = 'C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath_spikes='C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath_sorting='C:\Users\xscogno\MATLAB\Flavio2\Waves\Sorting\';
dpath='C:\Users\xscogno\MATLAB\F... |
a69100ac3bd4ea46c2f426e04f61cfa1b711e6fd1d6caae983d555ef8839b404 | MATLAB | 42,237 | 934 | clear all
close all
dbeh_path='C:\Users\xscogno\MATLAB\Flavio2\Waves\Tracking data\';
rec_data_path = 'C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath_spikes='C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath_sorting='C:\Users\xscogno\MATLAB\Flavio2\Waves\Sorting\';
dpath='C:\Users\xscogno\MATLAB\F... |
4842c407acc5be87070ea32f739b166a3a3c846187e461997221ab2c6119947e | MATLAB | 42,438 | 1,163 | function varargout = spm_figure(varargin)
% Setup and callback functions for Graphics window
% FORMAT varargout = spm_figure(varargin)
%
% spm_figure provides utility routines for using the SPM Graphics
% interface. Most used syntaxes are listed here, see the embedded callback
% reference in the main body of this func... |
841ee58651a23261358b02af0ff39758d381b986fbc73637d9bd912949554682 | MATLAB | 42,511 | 1,049 | %% Note:
% 202306: change the ROI drawing of the static tissue,
% 20230710: updated version
% 20230720: V9 : updated version, change the pixel indexing to physical
% distance for ROI drawing
% 20230801: V10: updates epsilon calculation for motion-contaminated repetitions
% 20240522: update Physical length option... |
d9b5fdc862a5d638a0b1ff2983c26c1d6c4093580ea2ce2c0c3024e063fd151e | MATLAB | 42,526 | 939 | function dict = dicm_dict(vendor, flds)
% dict = dicm_hdr(vendor, dicmFields);
%
% Return dicom dictionary for specified vendor used by dicm_hdr.m. The
% vendor is used to assign those vendor-specific private tags for SIEMENS,
% GE and Philips. Other vendors can be added easily into the file.
%
% If only parti... |
0833986e1771e63efe5475b217bfdf41ca48bd9cb8521ec9ca6a30af104f9787 | MATLAB | 42,727 | 1,131 | classdef twix_map_obj < handle
% class to hold information about raw data from siemens MRI scanners
% (currently VB and VD software versions are supported and tested).
%
% Author: Philipp Ehses (philipp.ehses@tuebingen.mpg.de), Aug/19/2011
%
%
% Modified by Wolf Blecher (wolf.blecher@tuebingen.mpg.de), Apr... |
44bc0b83c5f2132cc2318974302fa8aac38b0b8264cccbefe5afc8f22fec6fc4 | MATLAB | 43,276 | 1,069 | %
%% ESTIMATION STATS METHOD
%% PART 0 (est) - set colors and load data
clc; clear all; close all;
myColors(1,:) = [0 0 0]; % black
myColors(2,:) = [1 0 0]; % red
myColors(3,:) = [0 0 1]; % blue
recDays = {'div07';'div10';'div17'};
theXlabels = { {'0.1-0.4','0.4-0.7','0.7-1.0'} };
markerSize = 8;
... |
34e56f27a7b9f43d71a8f707c2f33f6f0a5e14609cb35033fc6276bd4f886b21 | MATLAB | 43,529 | 1,387 | classdef String
% AUTHORSHIP
% Primary Developer: Stephen Meehan <swmeehan@stanford.edu>
% Math Lead & Secondary Developer: Connor Meehan <connor.gw.meehan@gmail.com>
% Copyright (c) 2022 The Board of Trustees of the Leland Stanford Junior University; Herzenberg Lab
% License: BSD 3 clause
properties(S... |
5a38f395f052beea3b458164452298951a4ffb9e3f486678d9db87db0542f64e | MATLAB | 43,631 | 955 | function plot_sleep_replay_temporal_effect_log2_backup(bayesian_control,rest_option,time_chunk_size,time_window)
if ~isempty(bayesian_control)
path = 'X:\BendorLab\Drobo\Lab Members\Marta\Analysis\HIPP\Chapter 2\Raw_replay_analysis\Bayesian Controls\Only first exposure';
path2 = 'X:\BendorLab\Drobo\Lab Members... |
ed5cafb1364b5fc564da584b56caea4b3e5e8cbe546a5ec66c907210d6dfd1be | MATLAB | 43,754 | 1,287 | classdef Html
% AUTHORSHIP
% Primary Developer: Stephen Meehan <swmeehan@stanford.edu>
% Copyright (c) 2022 The Board of Trustees of the Leland Stanford Junior University; Herzenberg Lab
% License: BSD 3 clause
properties(Constant)
JET=jet;
PROP_JET='Html.jet';
JET_HSV=rgb2hsv(jet)... |
3b001b815e79afda64bfa1eb89b0bb110862b1940f0ee829e69ebb1c7acd5fa5 | MATLAB | 43,778 | 803 | MainFolder = uigetdir([], 'choose main directory with all subjects'); %Main directory with all subjects
SUBJlist = {'SUBJ1',2,4,4,3; 'SUBJ2',1,4,[],3;'SUBJ3',2,5,2,3;'SUBJ4',2,5,5,3;'SUBJ5',2,3,1,3;'SUBJ6',2,1,4,3;'SUBJ7',1,4,[],3;'SUBJ8',2,5,3,3;
'SUBJ9',2,1,3,3;'SUBJ10',2,2,1,3;'SUBJ11',2,2,4,3;'SUBJ12',2,4,3,3... |
26e45db3cb6a8195e069cce4c0632fa0f69cf91b5622eb0e4015c626b65a9626 | MATLAB | 44,016 | 1,500 | %L9M4
clear all
% close all
dbeh_path='C:\Users\xscogno\MATLAB\Flavio2\Behavior L8\';
rec_data_path = 'C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath_spikes='C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath_sorting='C:\Users\xscogno\MATLAB\Flavio2\Waves\Sorting\';
% 9 seconds for L8M2 Day 19 ;... |
33b33911362dece16e0e3a544146bde111ddfa45a6db1271c73b2fedf12de57f | MATLAB | 44,157 | 1,127 | classdef LabelBasics < handle
% AUTHORSHIP
% Primary Developer: Stephen Meehan <swmeehan@stanford.edu>
% Math Lead & Secondary Developer: Connor Meehan <connor.gw.meehan@gmail.com>
% Bioinformatics Lead: Wayne Moore <wmoore@stanford.edu>
% Copyright (c) 2022 The Board of Trustees of the Leland Stanford Jun... |
ac87f3bf519fd8c4e2a9276518a2e73e4c611616edad4026a63b423902ddaf3c | MATLAB | 44,158 | 1,139 | classdef WebDownload
% AUTHORSHIP
% Primary Developer: Stephen Meehan <swmeehan@stanford.edu
% Math Lead & Secondary Developer: Connor Meehan <connor.gw.meehan@gmail.com>
% Copyright (c) 2022 The Board of Trustees of the Leland Stanford Junior University; Herzenberg Lab
% License: BSD 3 clause
methods(St... |
f72b70dd821e4c9012a52c510fe09a3c7cf9076f6b8c37d2dd07834ff95cbb7b | MATLAB | 44,301 | 1,034 | function plot_awake_vs_post_replay_backup(bayesian_control)
% MH 2022
% Runs correlations and linear regression comparing awake replay on track with the subsequent sleep session. Compares it usimg both absolute number
% of events and rate of events. Comparisons are run within track (e.g. awake replay on T1 vs POST1 T1 ... |
47bdc82e60d2a46c7700f3a22ac536ff8a327893b4a6d002babd2e4d3585003a | MATLAB | 44,496 | 843 | % Marie_FP_Pooling_GPeSNR_OF
% Marie Labouesse, marie.labouesse@gmail.com - Jan 2022
% 1- POOLED DATA
% load matlab spaces generated in: Marie_FP_IndivData_extraction_GPeSNR_OF
% need to call the folder in which all the animals are located (for now only works with 1 session/mouse)
% 1) puts entire traces of al... |
61499d7ece6728edd26d72e116ddb44f840b9b933f40fe3f8668d40902996776 | MATLAB | 44,599 | 1,213 | classdef SuhPlot<handle
% AUTHORSHIP
% Primary Developer: Stephen Meehan <swmeehan@stanford.edu>
% Copyright (c) 2022 The Board of Trustees of the Leland Stanford Junior University; Herzenberg Lab
% License: BSD 3 clause
properties(Constant)
DISPLAY_LIMIT=250000;
CREATE_GATES=true;
end... |
8e966ccd3fca6fa1c913611175fd396cb034d0cb2337f22331b08cfafa97e402 | MATLAB | 44,626 | 847 | function plot_heat_map_prob_track(plot_type,pattern_type)
% analyses the distribution of proboscis contacts on the flower, relative to the pattern.
% It plots a heatmap of proboscis contacts and the paths as line plots.
% It also calculates contact scores, which count and compare the number of proboscis contact... |
175834e40428a6d6e6bcf1ee3eb9cfc911faac3b0353b5fdff468ceed721ed2a | MATLAB | 44,717 | 1,604 | function spm_eeg_prep_ui(callback)
% User interface for spm_eeg_prep function performing several tasks
% for preparation of converted MEEG data for further analysis
% FORMAT spm_eeg_prep_ui(callback)
%__________________________________________________________________________
% Copyright (C) 2008 Wellcome Trust Centre f... |
150462932e9dbc0079cc662655ee27942c672b88f4657b223250fcfe5050f2d2 | MATLAB | 44,822 | 901 | function plot_awake_vs_post_replay_combined(bayesian_control,rest_option,time_chunk_size,time_window)
% MH 2022
% Runs correlations and linear regression comparing awake replay on track with the subsequent sleep session. Compares it usimg both absolute number
% of events and rate of events. Comparisons are run within t... |
c5e76a7a8bed8023df81bcc4164cc5debce3ec3d1fcdc3d7caf51ebbe28e9ddd | MATLAB | 45,097 | 1,082 | function varargout = spm_list(varargin)
% Display an analysis of SPM{.}
% FORMAT TabDat = spm_list('List',xSPM,hReg,[Num,Dis,Str])
% Summary list of local maxima for entire volume of interest
% FORMAT TabDat = spm_list('ListCluster',xSPM,hReg,[Num,Dis,Str])
% List of local maxima for a single suprathreshold cluster
%
%... |
4101b4110ee7476f31561f330055303e337b7cded244d3343b9b78c77a27d1e6 | MATLAB | 45,544 | 650 | %% Start by going into the project folder. Data should be organized rat/SD
%You need Adritools (for the getfolder function) and Image Processing Toolbox MATLAB app (for the ConsecutiveOnes)in your Matlab path. Else Matlab won't recognize'getfolder' or 'ConsecutiveOnes'.
%Before running this script, run 'concatena... |
2d0747d6dc7c06f95bf5edf462b75029e1c01bc14d31d0354020f530362ed882 | MATLAB | 45,674 | 1,424 | %% %% %% %% after scratch (before dbscan (no clustring))
%% load
% cd('/data/Technion_analysis/goldfish')
clear all
close all
clc
%%
direct='/data/Technion_analysis/goldfish/scRNAseq_gf/comparative/nn_gf_mouse';
cd(direct);
load('/bigdata/all_mouse_dataset/mnn_markeragg.mat','mnn_markeragg','mnn_clagg')
load([direct,'/... |
1d4990fc6e58748e03de48eeb8dba435f807756e94693dbc022b598a5fed2aa9 | MATLAB | 45,794 | 1,113 | classdef spm_provenance < handle
% Provenance using PROV Data Model
% http://www.w3.org/TR/prov-dm/
%
% p = spm_provenance;
% p.get_default_namespace
% p.set_default_namespace(uri)
% p.add_namespace(prefix,uri)
% p.get_namespace(prefix)
% p.remove_namespace(prefix)
% p.entity(id,attributes)
% p.activity(id,startTime,... |
30ebce07739bd87c70590bb8d4af17872e4e2bf250d69387ad5dff9c3999bf23 | MATLAB | 46,140 | 996 | classdef clientPanel < handle
% Class clientPanel
%
% cPnl = clientPanel(client,pos)
%
% Use objects of this class to monitor (or control) remote (or local)
% paradigms. Each clientPanel is a ui-panel that can be freely
% placed within a figure. Within each clientPanel are several subPanles... |
445ed31f705f4901ec657ee9ccc355457781e251fbe9f329937c1f5902485e4a | MATLAB | 46,203 | 656 | %% Start by going into the project folder. Data should be organized rat/SD
%You need Adritools (for the getfolder function) and Image Processing Toolbox MATLAB app (for the ConsecutiveOnes)in your Matlab path. Else Matlab won't recognize'getfolder' or 'ConsecutiveOnes'.
%These scripts use as input the vectors ... |
c56ba5b016005e8772f0fe6bc4e54769e1a56c84d4e58f020dad6e25a0040756 | MATLAB | 46,567 | 1,263 | function varargout=spm(varargin)
% SPM: Statistical Parametric Mapping (startup function)
%_______________________________________________________________________
% ___ ____ __ __
% / __)( _ \( \/ )
% \__ \ )___/ ) ( Statistical Parametric Mapping
% (___/(__) (_/\/\_) SPM - https://www.fil.ion.ucl.ac.uk... |
3b0df7ac8e7953247c00ce1c22e62c5043e99857536116c3815e6588ee16151a | MATLAB | 46,781 | 953 | function plot_awake_vs_post_replay_time_window(bayesian_control,rest_option,time_chunk_size,time_windows)
% MH 2022
% Runs correlations and linear regression comparing awake replay on track with the subsequent sleep session. Compares it usimg both absolute number
% of events and rate of events. Comparisons are run with... |
bd15de07b15b7fe7bb837ac1c61fac69518116723adc0e5f5b8f19defa231baf | MATLAB | 47,002 | 1,116 | % All plots in Fig 5 and Extended data Fig 2
%%
clear all
close all
dbeh_path='C:\Users\xscogno\MATLAB\Flavio2\Waves\Tracking data\';
rec_data_path = 'C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath=rec_data_path;
[big_table, waves] = get_big_table();
%% Calculates properties of waves and behavioral vari... |
93468625e59ee470a605b5a9d57144bc6fcc291162f5984fcd896feb4013ba5e | MATLAB | 47,788 | 1,292 | function varargout = spider_plot(P, varargin)
%spider_plot Create a spider or radar plot with individual axes.
%
% Syntax:
% spider_plot(P)
% spider_plot(P, Name, Value, ...)
% h = spider_plot(_)
%
% Input Arguments:
% (Required)
% P - The data points used to plot the spider chart. Th... |
e0c2a73fbae9058494105d330ff3ac95ad0d84d0d8c8bb1546991ece44ba7eff | MATLAB | 47,996 | 1,153 | classdef UMAP < handle
%UMAP Uniform Manifold Approximation and Projection. Finds a low
% dimensional embedding of the data that approximates an underlying
% manifold.
%
% Parameters
% ----------
% n_neighbors: double (optional, default 15)
% The size of local neighborhood (in terms of number of neighboring
% ... |
191e3b544f05d0144b1ee062fe53b3335c279ca1b3b2718a2293af1258c6a52c | MATLAB | 48,443 | 1,496 | %% %% %% %% after scratch (before dbscan (no clustring))
% cd('/data/Technion_analysis/goldfish')
% save("/data/Technion_analysis/goldfish/m_vs_gf_h.mat","prj",'mapped_xy','all_flags','data_org','geneid_all','data','-v7.3'); % prj&xy=> H0
%% load
% cd('/data/Technion_analysis/goldfish')
clear all
close all
clc
%%
dir... |
a88db5ecff9a71c5cd341c6ba22c6e27e4914ca981df053a6d7ea3b4b78870af | MATLAB | 48,706 | 1,044 | function plot_replay_theta_mixed_effect_model_backup(bayesian_control,rest_option,time_chunk_size,time_window)
if ~isempty(bayesian_control)
load('X:\BendorLab\Drobo\Lab Members\Marta\Analysis\HIPP\Chapter 2\Raw_replay_analysis\extracted_time_periods_replay_excl.mat')
path = 'X:\BendorLab\Drobo\Lab Member... |
dbe031908cb782e858d34e8a7c79bd7b1e85f8f85762a36eb226466c860794e0 | MATLAB | 48,827 | 1,186 | % File and function name : threshold
% Written by : Image Analyst
% Date : August 2006 - Nov. 2010
% Description : This program takes a color or monochrome image and lets
% the user threshold the monochrome image, or a single
% color band of a color image, via sliders to s... |
3cb5b3f6c02efa2b6e540111181cbd02ffaee8672f50f0a585dc7609c128574a | MATLAB | 48,966 | 740 | function Pooled_session_analysis(PATH,show_plot,save_plot,reanalysis,overwrite)
% close all; clear variables; clc;
% set(0,'defaultfigurecolor',[1 1 1])
% PATH = 'Z:\Arturo\_Marie_Data\D1Npas-Arturo\Rotarod\DeepLabCut and calcium data\GPe-SNr\ACC';
spltpath = strsplit(PATH,'\');
spltnames = strsplit(spltpath{end... |
973dc840d404c3d4baa807c929ee5d4283f6a72807186a1ac6164cfdd20166a1 | MATLAB | 48,984 | 1,097 | %analyse the movement of the proboscis and the body in relation to each other,
% and to the pattern. It generates Fast Fourier Transforms of body and proboscis movements,
% relative to the pattern axes, and relative to the animals' body axis.
% calculates coherence between movement of different head keypoints, and... |
018b6fd6f6508199d65ff99528ad3605bcca01688c76386151cb2660d10f3deb | MATLAB | 49,241 | 1,619 | function RSDI_Score = DataAnalysisPM(selected_name)
warning off
%% Input Subject Information
%Subject Number in order to collect patient demographics and rawdata
selected_name = char(selected_name);
% Define the list of names
names = {'S01','S02','S04','S05','S06','S08','S12','S16',...
'S17','S18','S21','S24','S27',... |
9deb77e85e8189b3041ca1361082c23b65b7a5176024914d1e59a20bd708a16b | MATLAB | 49,496 | 1,089 | classdef Mlp < handle
% EXAMPLES of Train then Predict. Arguments are documented in each
% function's header. If no folder is given for CSV file inputs arguments,
% this defaults to ~/Documents/run_umap/examples folder. If they don't
% exist, they are downloaded from our server.
%
% 1. Build/train and ... |
d438b3ada189f5715f78d57ceb4ef468f14bde1260ebba6b26733a98c446523b | MATLAB | 50,005 | 1,054 | function varargout = ProcessUsingGUI(varargin)
% ProcessUsingGUI MATLAB code for ProcessUsingGUI.fig
% ProcessUsingGUI, by itself, creates a new ProcessUsingGUI or raises the existing
% singleton*.
%f
% H = ProcessUsingGUI returns the handle to a new ProcessUsingGUI or the handle to
... |
dc18b37cfdd181c004f79c5de62886a814abf5c713e426cd085cca8db95e7c90 | MATLAB | 50,122 | 1,346 | classdef TablePicker <handle
% AUTHORSHIP
% Primary Developer: Stephen Meehan <swmeehan@stanford.edu>
% Math Lead & Secondary Developer: Connor Meehan <connor.gw.meehan@gmail.com>
% Bioinformatics Lead: Wayne Moore <wmoore@stanford.edu>
% Copyright (c) 2022 The Board of Trustees of the Leland Stanford Juni... |
d28f2963a39ab949d73a9697dee1456e383efd11839d4d36ac3a533b5df2d463 | MATLAB | 50,519 | 1,651 | function [observed, bootstrap, tests, info] = bootstrapRf_goalMode_allScopesSideStratified_v5( ...
Rf, maxIter, topPercent, analysisMode, sessionMode, ...
dataField, baselineField, labelField, sideField, ...
maxAttempts, plotResults, baselineMode, comparisonMode, ...
outlierMode, outlierK, outlierTa... |
18fc6afa07781b1ab342e4b783666f02e39a3add4bdd86db14b186344861d542 | MATLAB | 50,544 | 1,063 | %%
%%%%%%%%%%%%%%%% STEP 1: Read video %%%%%%%%%%%%%%%%%%%%%%%
clear all; close all;clc;
%%%%%%%%%%%%%%% PARAMETERS 1 %%%%%%%%%%%%%%%%%
[filename,pathname] = uigetfile({'*.tif';'*.TIFF'},'Open TIFF file with imaging video', 'MultiSelect', 'off');
fileName=fullfile(pathname,filename);
prompt = {'\mum per pixel in x di... |
cec5e40821e4041a85a78962e538d4792a340a09268e7c2715e78ef597454f38 | MATLAB | 50,707 | 1,147 | %analyse the movement of the proboscis and the body in relation to each other,
% and to the pattern. It generates Fast Fourier Transforms of body and proboscis movements,
% relative to the pattern axes, and relative to the animals' body axis.
clear all
close all
%some analysis was performed for patterns were... |
c560999e0791d3d338c60dc32cceb1da4e750c8a777d2483c75436eafcea50e0 | MATLAB | 52,555 | 1,208 | function varargout = PM_FLIM_Analysis(varargin)
% PM_FLIM_Analysis MATLAB code for PM_FLIM_Analysis.fig
% PM_FLIM_Analysis, by itself, creates a new PM_FLIM_Analysis or raises the existing
% singleton*.
%
% H = PM_FLIM_Analysis returns the handle to a new PM_FLIM_Analysis or the handle to
% th... |
cf6ab5cb506503d33c1d7ec59fa8e66f852cf0992c007f69b9bdeb128875e2a3 | MATLAB | 52,942 | 906 | % Marie_FP_IndivData_extraction_GPeSNR_OF
% DATA ANALYSIS PIPELINE FOR FIBER PHOTOMETRY EXPERIMENT: OPEN FIELD GPESNR:
% Marie Labouesse 13 Jan 2022
% need to select the folder in which several animals data exist; in principle could have several sessions per mice but not implemented yes in detail
% extracts FP ... |
b6bd058279a39ab8674a208192252438e5d6ac9ccce2b69aef71ec0bfdb24d00 | MATLAB | 54,046 | 1,161 |
% Analyze a session data (filename) Neuron (Neuron#, 0=all)
% Generate figures and data summary (R)
% Author : Shai Abramson Jan/2021
%
%
%
%
% R legend :
% ---------
% Total runs
% Valid runs
% Valid Runs Left Turns
% Valid Runs Right Turns
% Fit Time
% Fit Distance
% RMS
% Mean Time
% Max Onset Tim... |
681b2591e6cb929427e23164023a03d9abe57373530ca351038c71ea4d02a5eb | MATLAB | 54,155 | 828 | %% organize and normalize data by MEA
clc; clear all;
normNotes = {}; % *** added 2019-09-03
N = 0;
% *** change each time! *** %
% chooseData = 0; %glu only
% chooseData = 1; %BDNF dose response
chooseData = 2; %glu injury + BDNF recovery
% *** change each time! *** %
if chooseData==0
dataDir = 'C:... |
03ddc81f184a03a3163ff80ca72a6c30bff10ba7513ed3e7e50d2332759f75e9 | MATLAB | 55,283 | 1,277 | function plot_theta_vs_replay_re_exposure_only(bayesian_control,rest_option,time_chunk_size,time_window)
% Code for quantifying and plotting the relationship between theta sequence
% and awake replay and sleep replay
% Input:
% bayesian_control - Use 'all' for analysing first exposure data using first
% exposure tem... |
d3c760cd160c7df3d3530d5c9d79d3ae74a2934c0b05c3feb72968ddb5994b34 | MATLAB | 55,802 | 1,005 | %
% JULY 23- AUG 13 2015:
%
% 1) Two types of masks are included: (a) BrainMask (2) TissueClassMask
%
% 2) Rather than making map for all data @once, it's being done in 2 steps
% (a) TissueClassMask .*Data ==> solve
% (b)(1-TissueClassMask) .*Data ==> solve
% Results from step (a) an... |
3ac22fadc44a63ac041f11cd605393601d4f6da31d9e46c1aba1d7e2027f42aa | MATLAB | 58,132 | 785 | %% Start by going into the project folder. Data should be organized rat/SD
%You need Adritools (for the getfolder function) and Image Processing Toolbox MATLAB app (for the ConsecutiveOnes)in your Matlab path. Else Matlab won't recognize'getfolder' or 'ConsecutiveOnes'.
%These scripts use as input the vectors ... |
3efd15da5508ee43c5f57122420b4d66fde4d290daa07e4b71f2e1d0ecff3eb1 | MATLAB | 58,132 | 785 | %% Start by going into the project folder. Data should be organized rat/SD
%You need Adritools (for the getfolder function) and Image Processing Toolbox MATLAB app (for the ConsecutiveOnes)in your Matlab path. Else Matlab won't recognize'getfolder' or 'ConsecutiveOnes'.
%These scripts use as input the vectors ... |
220f13eae7dcb3dec292af9f52147dce1fae26ae37b02ec85cbfb50aae42f8f3 | MATLAB | 58,362 | 789 | %% Start by going into the project folder. Data should be organized rat/SD
%You need Adritools (for the getfolder function) and Image Processing Toolbox MATLAB app (for the ConsecutiveOnes)in your Matlab path. Else Matlab won't recognize'getfolder' or 'ConsecutiveOnes'.
%These scripts use as input the vectors ... |
5aed36fc39b7bb12b03835faeeba27c9de66bdc09cb46a34258cb9ff47080eb3 | MATLAB | 59,503 | 1,333 | % FPA - Fiber Photometry Analysis.
%
% fpa = FPA(time, signal, reference, configuration);
% Subtract photobleaching, correct for motion artifacts,
% normalize, filter, detect peaks of spontaneous activity in user defined
% epochs, display trigger averages of user defined events.
%
% Units for time and frequen... |
511a7a83562db9381a4a94782f8d4fa365663a3dc9cb0e1ed0e46b650daad5f8 | MATLAB | 60,282 | 1,026 | function [ratemap,dwellmap,spikemap,rmset,speedlift] = rate_mapper(pos,spk,rmset,speedlift)
%rate_mapper map spike and position data in 2D
% __ ___ __ __ __ __ __
% |__) /\ | |_ |\/| /\ |__)|__)|_ |__)
% | \ /--\ | |__ | |/--\| | |__| \
%
% rmap =... |
eba859ad31ce21abcb662d31f27e923583df7954536a8342e34e97d7fb498608 | MATLAB | 60,676 | 1,409 | classdef FalsePositiveNegative < handle
% AUTHORSHIP
% Primary Developer: Stephen Meehan <swmeehan@stanford.edu>
% Math Lead & Developer: Connor Meehan <connor.gw.meehan@gmail.com>
% Bioinformatics Lead: Wayne Moore <wmoore@stanford.edu>
% Copyright (c) 2022 The Board of Trustees of the Leland Stanford Juni... |
815fa780fe2563bfbedc0ccf4baa29029420da2a4ddc4ca15eb6501042a05d11 | MATLAB | 61,250 | 1,660 | clear all
close all
dbeh_path='C:\Users\xscogno\MATLAB\Flavio2\Waves\Tracking data\';
rec_data_path = 'C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath_spikes='C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath_sorting='C:\Users\xscogno\MATLAB\Flavio2\Waves\Sorting\';
dpath='C:\Users\xscogno\MATLAB\F... |
a66ddcc35639478612053c65aef50187d019961459fe4e5a09dfd5cacf6d0722 | MATLAB | 62,252 | 1,412 | classdef KnnFind<handle
%KNNFIND enhances the search services of knnsearch by providing an
% additional search method 'nn_descent', which can perform dramatically
% faster than 'kdtree' or 'exhaustive' under certain conditions, as can
% be observed by running KnnFind.Test.
%
% The 3 main usages of KnnFind are th... |
e49f1f0015afa1973f791a430060b094b2febacfbd660d3c2359746be0082d22 | MATLAB | 62,738 | 1,451 | function varargout = spm_results_ui(varargin)
% User interface for SPM/PPM results: Display and analysis of regional effects
% FORMAT [hReg,xSPM,SPM] = spm_results_ui('Setup',[xSPM])
%
% hReg - handle of MIP XYZ registry object
% (see spm_XYZreg.m for details)
% xSPM - structure containing specific SPM, di... |
276e2f64cb8d3da53890c8ac9929745a1665c765cf7d2a3df5fed38db4255e7d | MATLAB | 62,880 | 1,247 | function plot_theta_vs_replay_log2_sorted(bayesian_control,rest_option,time_chunk_size,time_window)
if ~isempty(bayesian_control)
load('X:\BendorLab\Drobo\Lab Members\Marta\Analysis\HIPP\Chapter 2\Raw_replay_analysis\extracted_time_periods_replay_excl.mat')
path = 'X:\BendorLab\Drobo\Lab Members\Marta\Ana... |
fe794d6b1480c5010c99b5a37f3e9a3d532beca0b69ee9743b7f5134dd454d7a | MATLAB | 64,248 | 1,752 | classdef SuhGate < matlab.mixin.Copyable
% AUTHORSHIP
% Primary Developer: Stephen Meehan <swmeehan@stanford.edu>
% Copyright (c) 2022 The Board of Trustees of the Leland Stanford Junior University; Herzenberg Lab
% License: BSD 3 clause
properties(Constant)
TRANSFORM_GATES=true;
USE_INVERS... |
55625af76daf9fce703f2c592bd04bc92f2f594b5e502c308bdfccd011717382 | MATLAB | 64,324 | 1,733 | clear all
close all
dbeh_path='C:\Users\xscogno\MATLAB\Flavio2\Waves\Tracking data\';
rec_data_path = 'C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath_spikes='C:\Users\xscogno\MATLAB\Flavio2\Preprocessed_data\';
dpath_sorting='C:\Users\xscogno\MATLAB\Flavio2\Waves\Sorting\';
dpath='C:\Users\xscogno\MATLAB\F... |
3a6d63c0ca0cae491e8916fda043910af9bee2cef04e744d6ffc03048cead852 | MATLAB | 65,084 | 1,778 | classdef ColorsEditor <handle
% AUTHORSHIP
% Primary Developer: Stephen Meehan <swmeehan@stanford.edu>
% Math Lead & Secondary Developer: Connor Meehan <connor.gw.meehan@gmail.com>
% Copyright (c) 2022 The Board of Trustees of the Leland Stanford Junior University; Herzenberg Lab
% License: BSD 3 clause
... |
5763272d950499fea4fa39cd18e554726f7b9df1edf66cff449c50160443d1b8 | MATLAB | 66,399 | 1,392 | function plot_awake_vs_post_replay(bayesian_control,rest_option,time_chunk_size,time_window)
% MH 2022
% Runs correlations and linear regression comparing awake replay on track with the subsequent sleep session. Compares it usimg both absolute number
% of events and rate of events. Comparisons are run within track (e.g... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.