sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
13a02215db8e3bd23e37502bdc5d02ae999e3f306350709359e4ae56a4a00a1d | MATLAB | 10,966 | 351 | function F = srskelf_asym(A,x,occ,rank_or_tol,pxyfun,opts)
% SRSKELF_ASYM Asymmetric strong recursive skeletonization factorization.
%
% F = SRSKELF_ASYM(A,X,OCC,RANK_OR_TOL,PXYFUN) produces a factorization
% F of the interaction matrix A on the points X using tree occupancy
% parameter OCC, local precisio... |
cb8de276edae56722923edcf5fa372ffde0c220bcb32828cde2fcb631d8f2d93 | MATLAB | 10,972 | 318 | function ConvertPhyKilo2Neurosuite(basepath,basename)
% Converts Phy kilosort output files into klusters-compatible
% fet,res,clu,spk files. Works on a single shank of a recording, assumes a
% 16bit .dat, .xml file is present in "basepath" (home folder) and
% that they are named basename.dat and basename.xml.
% It as... |
8f582f87d15df6e0d4ab9fcabf47c7ebc493edc7cb460e79678fad405faf4460 | MATLAB | 10,975 | 247 | function savefig1(fname, varargin)
% Usage: savefig1(filename, fighdl, format, options)
%
% Saves a pdf, eps, png, jpeg, and/or tiff of the contents of the fighandle's (or current) figure.
% It saves an eps of the figure and the uses Ghostscript to convert to the other formats.
% The result is a cropped, clean pictur... |
9eaf414d02a99c065d3567b3ba2bea454b0470a3be1d85c9fe3c5cb27a771827 | MATLAB | 10,976 | 247 | function savefig_pa(fname, varargin)
% Usage: savefig(filename, fighdl, format, options)
%
% Saves a pdf, eps, png, jpeg, and/or tiff of the contents of the fighandle's (or current) figure.
% It saves an eps of the figure and the uses Ghostscript to convert to the other formats.
% The result is a cropped, clean pictu... |
16718837e8a7f92e7582c95b795bc4873c9114a807717adf7a901ba3d2f8a581 | MATLAB | 10,979 | 264 | classdef FMeasureMerger < handle
properties(Constant)
USE_ORIGINAL_IDEA=false;
end
methods(Static)
function [bestIds, fMeasure]=GetBest(matchIdPerRow, ...
mergeIdPerRow, matchId, mergeIds, adaptiveBins, transpose)
if isempty(adaptiveBins)
[mat... |
e6b8477857fb07534cef9d74f94709dc14a5fefbe7e2af7c40fab76374bbd6e6 | MATLAB | 10,982 | 248 | function Step1_Epoching(config, pid, ds_path, visitnum)
% Step1_Epoching will epoch MEG data into trials depending on the
% desired marker, detect and reject muscle/jump artifacts, and bad
% channels. This step will only reject trials with excessive head motion
% and muscle/jump artifacts. Bad channels are recorded bu... |
773958256dde2a66d476019e6ffe5f1343bc092346b9e9990f60216b73764552 | MATLAB | 10,988 | 334 | function [Y,xY] = spm_regions(xSPM,SPM,hReg,xY)
% VOI time-series extraction of adjusted data (& local eigenimage analysis)
% FORMAT [Y,xY] = spm_regions(xSPM,SPM,hReg,[xY])
%
% xSPM - structure containing specific SPM, distribution & filtering details
% SPM - structure containing generic analysis details
% hReg ... |
3b85d715b4d6a4c127f62325eb49388c251bc46d983a61f0cf3b34b3b293e9d8 | MATLAB | 10,995 | 295 | function [dat] = read_yokogawa_data(filename, hdr, begsample, endsample, chanindx)
% READ_YOKAGAWA_DATA reads continuous, epoched or averaged MEG data
% that has been generated by the Yokogawa MEG system and software
% and allows that data to be used in combination with FieldTrip.
%
% Use as
% [dat] = read_yokogawa_... |
040ee00971b42b67ddbbbbdebf18461bb2a853e7869d019ce67b61a92d508691 | MATLAB | 10,997 | 255 | function varargout = w_AtlasSelect(varargin)
% W_ATLASSELECT MATLAB code for w_AtlasSelect.fig
% W_ATLASSELECT, by itself, creates a new W_ATLASSELECT or raises the existing
% singleton*.
%
% H = W_ATLASSELECT returns the handle to a new W_ATLASSELECT or the handle to
% the existing singleton*... |
f5f705ce41bd186bd4814151703b7febb678c452142359ef5aa8c024b9ddc728 | MATLAB | 11,010 | 281 | %% Step 1: Model building (Timing 20 mins – a few hours)
%% read image files or load dat
basedir = 'path/to/directory/interpret_ml_neuroimaging';
gray_matter_mask = which('gray_matter_mask.img');
%% read images
heat_imgs = filenames(fullfile(basedir, 'data', 'derivatives', 'trial_images', 'sub*', 'heat_*.nii'));
reje... |
354fbdab37673cb402d9a5474e3f4a6177f0c7909f3f6361e590c28c1554e3e7 | MATLAB | 11,016 | 247 | function process_positions_POST(track_pairs)
% Inputs:
% loads 'position' (structure created in process_positions_PRE.m), 'positions' (structure with raw x,y,t extracted from video)
% and list_of_parameters.m
%track_pairs : 'If there is re-exposure to the same track, please write which tracks are the same (e.g. [1,3; 2... |
60e442d2a0dcb327d569deef5bf35ef98499463988dd75818dee6b7ee82935ea | MATLAB | 11,016 | 262 | function varargout = dpabi(varargin)
% DPABI MATLAB code for dpabi.fig
% DPABI, by itself, creates a new DPABI or raises the existing
% singleton*.
%
% H = DPABI returns the handle to a new DPABI or the handle to
% the existing singleton*.
%
% DPABI('CALLBACK',hObject,eventData,handles,... |
20e10a42f2be530175076432938ef0af7b20f7016a50bb0e30e61c8c5bb6ec18 | MATLAB | 11,024 | 313 | function [dat, volInfo, cl] = iimg_threshold(image_names, varargin)
% Thresholds images to be at least thresh(1) and at most thresh(2)
%
% :Usage:
% ::
%
% function [dat, volInfo, cl] = iimg_threshold(image_names, varargin)
%
% :Input types for image names:
% 1) String matrix of filenames
% 2) 4-D array of 3-D ... |
51017c4280617cf57b67edf936bf82cd59e0950ba3991fc525592750ebc4fc29 | MATLAB | 11,025 | 361 | function momentfit = spm_cfg_eeg_momentfit
% Configuration file for imaging source inversion reconstruction.
% This version to supply position and orientation parameters idea is to
% estimate dipole moments given priors and return a model evidence for
% these priors.
%___________________________________________________... |
7faad3242c6f6de617c900273833a1ba62fdc98889520d20a1240640b3803f86 | MATLAB | 11,032 | 207 | %% Description
% This example showcases GPU acceleration by executing on an Nvidia GPU
% through the CUDA architecture. If you have a CUDA-capable GPU you can
% launch MCmatlab with this acceleration by setting useGPU = true, as seen
% below. This flag exists both for the Monte Carlo light solver and the
% heat solver.... |
288d52e0181d7822ecf070fa87bbf02f9dbf513dc112c4ba9beea3a06a45299a | MATLAB | 11,037 | 307 | function CBIG_Plot_Schaefer400_17Networks19SubcorRearrCorrMat_WhiteGrid(lh2lh_corrmat, ...
lh2rh_corrmat, rh2rh_corrmat, lh2subcor_corrmat, rh2subcor_corrmat, ...
subcor2subcor_corrmat, scalelim, filename_prefix)
% CBIG_Plot_Schaefer400_17Networks19SubcorRearrCorrMat_WhiteGrid(lh2lh_corrmat, ...
% lh2rh_co... |
58084876a1c8893b5fe2d96c113be68c495df519bda2f2d7574240c26d70ada6 | MATLAB | 11,041 | 224 | %% User inputs
try
delete(gcp('nocreate'))
myCluster = parcluster('local');
AvailableWorkers = myCluster.NumWorkers;
if AvailableWorkers >= 7
pool = parpool(7)
else
pool = parpool(1)
end
catch ParError
disp('ParError')
end
addpath(genpath('/work/projects/lcsb_hcs/Library/hcs... |
ec31f8033934e634bb28e86ce014c3be5b0e5a25e6088e1648bb6c235bf73cad | MATLAB | 11,043 | 147 | %% 脑电特征提取工具箱 | All-In-One EEG Feature Extraction Toolbox
% An all-in-one EEG feature extraction toobox, including statistical features,
% Hjorth parameters, entropy, nonlinear features, power spectral density (PSD),
% differential entropy (DE), empirical mode decomposition (EMD), common spatial patterns (CSP),
... |
913ddcb53b839ead489943ceec8ff88dc77fad820d03678014736d3085bed9a5 | MATLAB | 11,051 | 318 | function varargout = TSfielddetails(varargin)
% TSFIELDDETAILS M-file for TSfielddetails.fig
% TSFIELDDETAILS, by itself, creates a new TSFIELDDETAILS or raises the existing
% singleton*.
%
% H = TSFIELDDETAILS returns the handle to a new TSFIELDDETAILS or the handle to
% the existing singleto... |
daa129f177b7d6896927608c35745ffe0a7f585b07fb76830d1f69f6556f0c4c | MATLAB | 11,053 | 280 | function GLCM_ROI(varargin)
[OutDirectory,fileList,maskFile,GLCMOPT] = ParseParams(varargin);
Onemask = false;
if(length(maskFile)==1)
MaskVol = load_untouch_nii(maskFile{1});
mask = MaskVol.img>0;
[d1,d2,d3] = ind2sub(size(mask), find(mask));
InsideRange = [min(d1) max(d1);min(d2) max(d2);min(... |
9de365bf78196473e9fa0f0e038086493c530378e1fb863c69511df13dc7c6f7 | MATLAB | 11,056 | 360 | % this function takes a recording folder rec_folder, and reads in any .ome.tif files
% it then asks the user to select ROI and background, performs a background subtraction
% and returns the fluorescence change for each image. It requires input of boolean
% new_cell, which if true will get the user to draw a new ROI. i... |
21e9e9790547702732f21928aca2c9f3e8f00136277247050ab438e6c360536a | MATLAB | 11,075 | 247 | %
% 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>
% Provided by the Herzenberg Lab at Stanford University
% License: BSD 3 clause
%
classdef Tem... |
2b3987af9985c595cef40e993c5530dadfc74ed3cc9cd435f63bb1ab48c1ba06 | MATLAB | 11,077 | 1 | function [result] = TSsetloadparameters(varargin)
% TSSETLOADPARAMETERS Sets parameters used when loading data files
%
% Syntax: [result] = TSsetloadparameters(parameter, value, parameter, value, ...)
%
% Parameter - The name of a parameter to set (e.g.,'InputTimeUnit')
% Value - The value to set it to (e.g., .... |
e0be053c5eb10e171896877cefcdfe3a50c381f31638b9842e38a3043e82955b | MATLAB | 11,088 | 316 | function [data] = ft_datatype_raw(data, varargin)
% FT_DATATYPE_RAW describes the FieldTrip MATLAB structure for raw data
%
% The raw datatype represents sensor-level time-domain data typically
% obtained after calling FT_DEFINETRIAL and FT_PREPROCESSING. It contains
% one or multiple segments of data, each represente... |
97cb6e18d3d50041181c6161075dc8237b72c8feccc139fdb5acc6035cec3c9c | MATLAB | 11,090 | 336 | function tf = ft_platform_supports(what,varargin)
% FT_PLATFORM_SUPPORTS returns a boolean indicating whether the current platform
% supports a specific capability
%
% Use as
% status = ft_platform_supports(what)
% or
% status = ft_platform_supports('matlabversion', min_version, max_version)
%
% The following valu... |
9ca4274fde37792cdc3ecb925fba7549c0a3775382dad4ef62b183fe4563dfd2 | MATLAB | 11,101 | 235 | % CH_AMPSTAT_BADSEGMENTS is used to identify bad EEG segments and channels
% This function computes the amplitude SD or RMS of channels within non-overlapping windows.
% Date created: 06 Apr 2020
% Date last modified: 04 Apr 2022
% INPUT:
%
% EEG | struct | EEGLAB format EEG struct. Must be continuous da... |
faf0ab8eaacfaba890f9cf850b3d39e08db3f410c83755bb1fc805fa695b0887 | MATLAB | 11,101 | 181 | %% muscle GCaMP imaging with 2P imaging and legs glued in flexed or extended positions
% This works with folder arrangement as in glue muscle imaging
subFolders = dir(pwd);
realSubFolders = subFolders([subFolders.isdir]');
% remove unwanted folders like those containing movies or plots from the
% list of r... |
bc518c389adf7b7b022f3fe60a51fc7d03146e837167b0cafd2ff4f9624c3638 | MATLAB | 11,110 | 278 | function [dynamic_SFC, Dynamic_SFC_Parameters] = fcn_calculate_Dynamic_SFC_hl(struct_edgevec, results_dir, common_ids, roi_signals_dir, coords, opts)
% FCN_CALCULATE_DYNAMIC_SFC_HL Time-resolved regional SFC.
%
% This toolbox version does not open interactive dialogs. All settings are
% passed from SFC_Toolbox/MainScri... |
9efbd991e44b134ea3837e7827f1a4a358c5796a8c4700ace894217d3ebe1f1b | MATLAB | 11,112 | 357 | classdef TrkInfoController < handle
% Controller for the "Track Info" window, which summarizes tracklets for the
% current movie of a multi-animal project and lets the user navigate to
% tracklet starts/ends and breaks.
%
% This replaces the bare uifigure function TrkInfoUI.m: state and widget
% handles mov... |
087c78ea7c0ec59b238819aa0ed18ffc04537925970b9cd625ddfea3c5323a43 | MATLAB | 11,113 | 299 | function [T_hub, T_lsq, T_cvx] = shapefit_smoothed(V, J)
% ShapeFit formulation for sensor network localization from pair directions
%
% function [T_hub, T_lsq, T_cvx] = shapefit_smoothed(V, J)
%
% This example in based on the paper http://arxiv.org/abs/1506.01437:
% ShapeFit: Exact location recovery from corrupt... |
4919006757677a17621e94dd4fca43a587d5322646ca530399a68e73718201b8 | MATLAB | 11,120 | 326 | function [s2,b,u,Is2,C,H,q,loglik,loops] = mixed(y,X,Z,dim,s20,method);
%MIXED Computes ML,REML,MINQE(I),MINQE(U,I),BLUE(b),BLUP(u)
% by Henderson's Mixed Model Equations Algorithm.
%
%======================================================================
% Syntax:
% [s2,b,u,Is2,C,H,q,loglik,loo... |
52bd2dddb7412495736b14566d0b5fd4574315af0603fafc00d189b0756a1428 | MATLAB | 11,124 | 355 | %% (predictSDO) testSig
% Extension to testing significance for error rates within the
% 'ErrorStruct' standard structure for predictions
%
% E1 is effectively a binomial distribution -- The only thing we can test
% is the frequency of the error v. the total number of events.
%
% E2 and E3 are effectively half-normal... |
31aea99411d168f4f7d6dab102d26336ffbdc5942a52395affd42be141b62b57 | MATLAB | 11,131 | 498 | function GLAN = erp_statad_old(GLAN,cfg)
%
% REALIZA ESTADISTICA NOPARAMETRICA A ERP
%
% cfg.
% subject = [{}{}{}]
% comp =[n1 n2]; % INDEX OF THE CONDITION TO COMPARED , ONLY TWO!!!
% alpha =0.05;
% m ='d'; OR ='i' % RELATIONSHEAP TO THE SAMPLES 'i'NDEPENDENT OR 'd'EPENDET
% bl =[ 0 0.4]; % BASELINE
% mc... |
e9af10283e366d85dc9847c8c7a0f6298e84d6e7e66bd6276211030dc8d645e9 | MATLAB | 11,135 | 274 | function [] = plot_ground_truth_global_remapped_zscored(folders,method,option)
total_number{1}(1:3) = 0;
total_number{2}(1:3) = 0;
for nfolder = 1:5
for nshuffle = 1:2
cd(folders{nfolder})
if nshuffle == 2
cd 100_global_remapped_shuffles
number_of_global_r... |
562b33eae34fbc52195f1d3359e122b2ccf2713065fe25af87a5cbb7d7bd0176 | MATLAB | 11,136 | 319 | %% Non-negative matrix factorization, all analyses
DIRresultsRipple=([DIRresults, '/ripple_results']);
if(~load_outside)
data = smooth_envelope(good_chan,:);
clear H W
if(filter_70_100)
for q=1:64
q
LowGammaData_70_100(q,:) = bandpass(LFPRawAll(q,:),[70,10... |
590a56126286d08847a3463c3a64d50c53f46da137aeffb27fa72bc25650e709 | MATLAB | 11,141 | 273 | function [data] = femdata_stnd_TR_moments(mesh, varargin)
% FEMDATA_STND_TR_MOMENTS Returns spatial distributions and boundary values
% of statistical moments or Mellin transforms of time-resolved data for
% the 'standard' FEM mesh in NIRFAST format. This function generates
% sparse matrices representing the FEM ... |
0c7d3933423b0ede7059453324407d5e3f20819a7a5f92769a1ddcf0a46fb481 | MATLAB | 11,146 | 260 | function [releaseTimes,repleniTimes,nVSim,PinRec] = simulate_vesicle(CaTimeSeries,recordPins,nSNAREs,P,kon,koff,kin,kouts,fmodel,R,rmodel,nRelPerWorker,timeCap,seed)
%% Repeatedly simulates specified model until target number of releases achieved
%
% Syntax: [releaseTimes,repleniTimes,nVSim,PinRec] = simulate_vesicle(... |
52d658b4070e0356176f811bcc9305dba3702acda6f1c1af1e2154a6d2ee8cfb | MATLAB | 11,147 | 274 | function [data, varargout] = femdata_spec_BLT(mesh, varargin)
% FEMDATA_SPEC_FD Calculates data (phase and amplitude) for a given
% spectral mesh at a given frequency (Hz). Outputs phase and amplitude in
% the structure DATA.
%
% SYNTAX:
% [DATA] = FEMDATA_SPEC_FD(MESH)
% [DATA] = FEMDATA_SPEC_FD(MESH, SOLVER)
%... |
09cc171c2efeddb6a6861ed7f89c3e291ecc8b3ad012735eccd5266aa8ce3df9 | MATLAB | 11,148 | 254 | classdef UISplitter < handle
properties
position = 0.4
orientation = 'horizontal'
paneOneMinSize = 200
paneTwoMinSize = 200
end
properties (Access = private)
parent
paneOne % left or top pane
paneTwo % right or bottom pane
... |
ae3c3fe3f64e65c89909f0a6569eb7a30b8bf73fd6fd8569a9313a6c700e893d | MATLAB | 11,159 | 318 | function nirfast2vtk(mesh,outfname)
% NIRFAST2VTK Saves FEM mesh in NIRFAST format into a *.vtk file.
%
% NIRFAST2VTK(MESH,OUTFNAME) Saves the MESH in NIRFAST format into the
% OUTFNAME.vtk file. Usefull for visualization with e.g. ParaView.
% MESH - mesh structure in NIRFAST format or the mesh root filename
% ... |
58d3d5b2d85bea28ba2234dbdaecf3b99c761ff984a50a8ec0a59da186b98c3f | MATLAB | 11,162 | 186 | function [ImageArrayDemonReg_FirstImages,FirstImage_demonDispFields]=Episodic_Demon_Reg(RunParallel,myPool,StackSaveName,ImageArrayDFTReg_FirstImages,...
ReferenceImage_Padded_Masked_Filtered_Enhanced,...
AllBoutonsRegion_Orig_Padded,AllBoutonsRegion_Orig_Mask_Padded,BorderLine_Orig,Crop_Props,...
... |
e06adb7fe5e973176ac5e2f2daa671682c1ec68bc799b2d865fd9fc838e5e053 | MATLAB | 11,164 | 342 | %% Josh Tenenbaum's Healthy Levels Game
%
%%
% This file is from pmtk3.googlecode.com
function healthyLevels()
no = 0; yes = 1;
data = generateData(); % [cholesterol, insulin]
[left right bottom top scale1 scale2] = calcDataRange(data,size(data,1));
plotML();
priorFn = @uninfPrior;
genFn = @generalizationUninfPr... |
5c78cda4057805e3b0b33ae3c81ce4ad5c75efd1232db2a98b6e7e7af30c62e0 | MATLAB | 11,169 | 276 | % ========================================================================
% TMFC (gPPI) and TMEC (rDCM) analyses for block design with asymmetric
% synaptic weight matrices
% Requires SPM12 (v7771) and TAPAS toolbox (rDCM)
% ========================================================================
% Ruslan Masharipov, ... |
53a41558fe2f67313abfe7740fb2367d333eaeeeaa0da4e4d16d09dba0b4a77a | MATLAB | 11,179 | 285 | classdef FiniteSet < diffgeometry.Set
% Square subset of R^n that can be turned into a grid
%---------------------------------------------------------------------
% license
%---------------------------------------------------------------------
% Copyright 2015 Idse Heemskerk and Sebastian S... |
269d12fe0dbaf50e41d403c4c5296785c4b85d390146b0ef70e892a899186f36 | MATLAB | 11,184 | 400 | % _ _
% ___ _ __ __ _| |__ ___ ___ _ __| |_
% / __| '__/ _` | '_ \/ __|/ _ \| '__| __|
% | (__| | | (_| | |_) \__ \ (_) | | | |_
% \___|_| \__,_|_.__/|___/\___/|_| \__|
%
%
% crabsort.m
% https://github.com/sg-s/crabsort
% Srinivas Gorur-Shandilya
classdef crabsort < ... |
77e545fb8af0cef1f4e1516d276b52dec5a784bf9228366359b35cb986d16e51 | MATLAB | 11,184 | 295 | % convertlocs() - Convert electrode locations between coordinate systems
% using the EEG.chanlocs structure.
%
% Usage: >> newchans = convertlocs( EEG, 'command');
%
% Input:
% chanlocs - An EEGLAB EEG dataset OR a EEG.chanlocs channel locations structure
% 'command' - ['cart2topo'|'sph2topo'|'sphb... |
f1075380fc58c0a1a34cde344c21a4d5371f6dca79f2b7407404e448229bdc56 | MATLAB | 11,184 | 309 | % RSKELF Recursive skeletonization factorization.
%
% The recursive skeletonization factorization approximates a hierarchically
% rank-structured matrix A as a generalized LDU decomposition A = L*D*U,
% where L and U are multilevel products of sparse unit triangular matrices
% (both upper and lower), and D... |
a6f35b12bb7fd85188882223654cf82e914734ad4e2020333f8c299d6bcb6808 | MATLAB | 11,191 | 314 | function [filt, B, A] = ft_preproc_bandpassfilter(dat,Fs,Fbp,N,type,dir,instabilityfix,df,wintype,dev,plotfiltresp,usefftfilt)
% FT_PREPROC_BANDPASSFILTER applies a band-pass filter to the data and thereby
% removes the spectral components in the data except for the ones in the
% specified frequency band.
%
% Use as
%... |
5cb693dcf51edaa86fae16f38590513b1f9dc2aef1adab5c2309191017c87317 | MATLAB | 11,197 | 367 | function [C,Ceq] = Constraint_Function (xopt)
NineMuscleMorphParaInitial = load('NineMuscleMorphParaInitial.mat');
NineMuscleMorphParaInitial = NineMuscleMorphParaInitial.NineMuscleMorphParaInitial;
G = 6; % Muscle Group Number (G = 1 to 9)
x0(1) = NineMuscleMorphParaInitial{G, 1}.MorphologicalParameters.OW.a1OW;... |
979300db1f42133346db49fc46cb3235fafb0772d2f13b514a347b0c09e5e3f9 | MATLAB | 11,197 | 327 | % calc_PCA_Min
%% ----------------------------------------
% PCA analyses on LIP single-trial data
%% ----------------------------------------
% Remove sl_pca and rl_pca?
%% Load data
load(fullfile(saveLoc, 'par_sess'))
%% Generate across trial averages and repeat PCA
corr = 1; addRL = 0;
preCut ... |
b5cde6fb178eb58263d56c4cb1b934436e1e0279ead3b4ee36a7677d4a83841d | MATLAB | 11,214 | 274 | %% computeSdo.performStats
% Given the assembled 'sdo' structure, calculate the Knullback-Leibler
% Divergence (KLD) metrics from the Monte Carlo shuffled-spike and
% background null hypotheses.
% Note that the column-sum of the joint SDO is the average pre-spike
% distribution, and the row-sum of the joint SDO is the... |
61d4fd3548683f2084bd8dc3526c3ec8e29ae9b9afadb439e063f25783138431 | MATLAB | 11,217 | 276 | %% Average MUA RMS by period
% xinyuan.zheng@yale.edu
%% paths
clear; close all;
datapath = '\Data for Figure 2\Behavioral_partial_MUA';
svpath_ep = 'F:\xinyuan\Mouse Project\Results';
group = 'MUAGroup';
t = datestr(now,'dd-mmm-yyyy_HH_MM_SS');
if ~exist(fullfile(svpath_ep,[t,'_',group,'_MUA']), 'dir')
mkdir(... |
eb673ad7703afb32a7f9aa62bf37cfca71f82339037784b6d6b6f5d42227e61f | MATLAB | 11,217 | 226 | function shape_classification_ellipses_plot(data)
number_of_classes = size(data.classes,1);
answer = inputdlg({'Classes to Plot:','Radius of Ellipses:','Scatter Clusters in Class (1 or 0):','Show Error Bar (0 or1):','Show Data Table (0 or 1):','Weight for Total Number of Clusters (0 or 1):'},'Input',[1 50],{['1:',num... |
cfbc9220f7d2c5698e6db33c6908606dba0b39ef880c6ba1c312be135505f1fe | MATLAB | 11,218 | 375 | function [pout, vout, viout, facevout, faceiout] = select3d(obj)
%SELECT3D(H) Determines the selected point in 3-D data space.
% P = SELECT3D determines the point, P, in data space corresponding
% to the current selection position. P is a point on the first
% patch or surface face intersected along the selection ... |
4b735e6e02171ade82743db9bb5f94fdc6f7ffe1273964c515fafa49a79c27a5 | MATLAB | 11,220 | 367 | function [C,Ceq] = Constraint_Function (xopt)
NineMuscleMorphParaInitial = load('NineMuscleMorphParaInitial.mat');
NineMuscleMorphParaInitial = NineMuscleMorphParaInitial.NineMuscleMorphParaInitial;
G = 7; % Muscle Group Number (G = 1 to 9)
x0(1) = NineMuscleMorphParaInitial{G, 1}.MorphologicalParameters.OW.a1OW;... |
16be72817015b825dcebc51c890b0c596c888842fb6a32370295d5456ba883cc | MATLAB | 11,222 | 313 | function [filt, B, A] = ft_preproc_bandpassfilter(dat,Fs,Fbp,N,type,dir,instabilityfix,df,wintype,dev,plotfiltresp,usefftfilt)
% FT_PREPROC_BANDPASSFILTER applies a band-pass filter to the data and thereby
% removes the spectral components in the data except for the ones in the
% specified frequency band.
%
% Use as
%... |
5bad644b1b048a3bd13187ffac6c8e2f804f1508a044d5692d53abda7ab39237 | MATLAB | 11,226 | 378 | function [xc,xp,nx,ny] = ComputeStripes(fname,graphout);
%[xc,xp] = ComputeStripes(fname,graphout)
%
% This function computes the projector stripe coordinate (at subpixel
% accuracy) at every pixel in the image. The algorithm used in temporal
% processing (with a translationnal pattern of period 32 pixels). A coarse
%... |
a1c8993f0c61cb8048fa16fbd634028d65d64949772d31ba5802f11f7649a02d | MATLAB | 11,227 | 243 | function [out,res] = fevalDistr( funNm, jobs, varargin )
% Wrapper for embarrassingly parallel function evaluation.
%
% Runs "r=feval(funNm,jobs{i}{:})" for each job in a parallel manner. jobs
% should be a cell array of length nJob and each job should be a cell array
% of parameters to pass to funNm. funNm must be a f... |
8f346c8535d3ac0caa0f70a2f8fadcf26f9dcb63b8646fb292f3ff8f295c3da6 | MATLAB | 11,240 | 176 | % _ _
% ___ _ __ __ _| |__ ___ ___ _ __| |_
% / __| '__/ _` | '_ \/ __|/ _ \| '__| __|
% | (__| | | (_| | |_) \__ \ (_) | | | |_
% \___|_| \__,_|_.__/|___/\___/|_| \__|
%
% makes the spikesort GUI
function self = makeGUI(self)
if self.verbosity > 9
disp(mfilename)
e... |
e0dceaa944ba8b0cdccb8fe136125bced41c4d42a448c6651977465ef75cff66 | MATLAB | 11,241 | 299 | function dat = read_biosemi_bdf(filename, hdr, begsample, endsample, chanindx)
% READ_BIOSEMI_BDF reads specified samples from a BDF continous datafile
% It neglects all trial boundaries as if the data was acquired in
% non-continous mode.
%
% Use as
% [hdr] = read_biosemi_bdf(filename);
% where
% filename ... |
7a369ddd7e27efc967c3b7e5da67d743bb4addea160b47800035540fc979a42a | MATLAB | 11,244 | 314 | function [filt, B, A] = ft_preproc_bandstopfilter(dat,Fs,Fbp,N,type,dir,instabilityfix,df,wintype,dev,plotfiltresp,usefftfilt)
% FT_PREPROC_BANDSTOPFILTER applies a band-stop filter to the data and thereby
% removes the spectral components in the specified frequency band
%
% Use as
% [filt] = ft_preproc_bandstopfilt... |
ec4ce50358877f61556032b385aa68066f7a0a47ba8f8c9d526bf91ccd41dbcf | MATLAB | 11,250 | 254 | function meg_Fig6a_TE_byPrecue_TS
% function meg_Fig6a_TE_byPrecue_TS
% Plot 2 Hz model fit
%% Load data
% Model fit data
filename = 'figData/ModelFit_SeparatePrecueT1T2_2Hz_GroupTS.mat';
% ITPC data
load(filename)
%% Figure settings
titleVis = 0; % if title vis off, then will plot for appropriate manuscript size... |
2dab782d4657a4634f402b73b2fa90273cbf049bc86c9b9c2bc198f45a85f8cb | MATLAB | 11,251 | 306 | function out = spm_run_con(job)
% SPM job execution function - Specify and estimate contrasts
% Input:
% job - harvested job data structure (see matlabbatch help)
% Output:
% out - struct containing contrast and SPM{.} images filename
%__________________________________________________________________________
% C... |
6a3ed3ed1f99cc528b03fa7e2ec747843f0b1ea39351193312eefd3f1bf839d3 | MATLAB | 11,251 | 464 | function [C,T]=hungarian(A)
%HUNGARIAN Solve the Assignment problem using the Hungarian method.
%
%[C,T]=hungarian(A)
%A - a square cost matrix.
%C - the optimal assignment.
%T - the cost of the optimal assignment.
% Adapted from the FORTRAN IV code in Carpaneto and Toth, "Algorithm 548:
% Solution of the assignment p... |
f11f050917c5a4bbaf5412ed8bfb3f2bbf03dfebcf55b251ebf29c72a1061a75 | MATLAB | 11,252 | 242 |
for choose_index = 1 : size(PipelineB_Results.UseDims,1)
% Parameters (defined in section B)
som_dim = PipelineB_Results.UseDims(choose_index,:) ;
som_epochs = PipelineB_Results.UseEpochs(choose_index) ;
clear ami ari
% Parametri
K_Repetitions = 100 ;
TAU = 1 ;
% Memor... |
b8304f933f5d618fd6455741bf76afccfad07190472dacc92b43744768a94a8c | MATLAB | 11,253 | 299 | function dat = read_biosemi_bdf(filename, hdr, begsample, endsample, chanindx)
% READ_BIOSEMI_BDF reads specified samples from a BDF continuous datafile
% It neglects all trial boundaries as if the data was acquired in
% non-continuous mode.
%
% Use as
% [hdr] = read_biosemi_bdf(filename);
% where
% filename ... |
c6e8fa05fa8cad131822e9f17cb8bf003fde5ce373e59f9c45331e94ebe7db1b | MATLAB | 11,257 | 241 | function process_raw_nmm(varargin)
% Scan through the raw NMM data to find the spike data
% %%%%%%%%%%%%%% SETUP PARAMETERS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
p = inputParser;
addParameter(p,'filename','spikes',@ischar);
addParameter(p,'leadfield_name','leadfield_75_20k.mat', @ischar);
parse(p, varargin{... |
5316706177340dd2e694b66624e815173803037ffaf103ffd630d23c7bb1be17 | MATLAB | 11,268 | 204 | %% Decription
% This example is very similar to example 4, the geometry and light
% propagation part being the same. It illustrates the ability to sequence
% together multiple pulse trains in the form of separate heat simulations,
% carrying over the temperature and thermal damage from one simulation to
% the next. A m... |
d02b4e4f3a8e4b1d1081182cf2bc7d90041916e6e7ffdea194a603dd002f2d5e | MATLAB | 11,269 | 279 | function hText = xticklabel_rotate(XTick,rot,varargin)
%hText = xticklabel_rotate(XTick,rot,XTickLabel,varargin) Rotate XTickLabel
%
% Syntax: xticklabel_rotate
%
% Input:
% {opt} XTick - vector array of XTick positions & values (numeric)
% uses current XTick values o... |
adb9df31e8d9e33e66b0808234f0af46b5adfae7f43430b8142c1bbabd3bbbfe | MATLAB | 11,275 | 313 | function [filt, B, A] = ft_preproc_bandstopfilter(dat,Fs,Fbp,N,type,dir,instabilityfix,df,wintype,dev,plotfiltresp,usefftfilt)
% FT_PREPROC_BANDSTOPFILTER applies a band-stop filter to the data and thereby
% removes the spectral components in the specified frequency band
%
% Use as
% [filt] = ft_preproc_bandstopfilt... |
bec7f654f14019d472a8b26b690170c5c3b3e1c6f970965a43e9e9630f91288e | MATLAB | 11,284 | 314 | function CrossDecodeAnalysisActionDynamic(AllTrialData,Labels,TimeWindow,OutDir,Tag,varargin)
% Train on dim 1 to classify dim 2, test on how well it generalizes.
% e.g. train on nancy to diff bp, test how well bp diff'd in Tyson.
[~,PThresh] = Utilities.ProcVarargin(varargin,'PThresh','fdr');
% [~,NIter] = Util... |
bc36555c7a189c56d55fc9c8d4b692591b909d9310ddb90e5b9b0529bf8b9bb3 | MATLAB | 11,304 | 226 | % This is performed through the BrainVoyager 20.6 scripting platform, along with NeuroElf v1.1
% (after running the preprocessing pipeline script)
%
% Each subject directory should contain VMR (anatomical) and FMR (functional) files
% In addition, you need to copy the relevant PRT (experiment protocol) files to the... |
33f8c007e3bfd1e176f214436f25b4b337c7b4caca6b9c9adca67bbdb18a3986 | MATLAB | 11,313 | 264 | function outputFilename = binning(segmentFilename, dataFilename, experimentName)
%% Define segment
if isempty(segmentFilename)
segment = askSegmentPrompt;
else
segment = load(segmentFilename);
end
if isempty(dataFilename)
quit(2);
end
%% Load initial raw data Calcium... |
5b77e6876a9ffcfc64bc1202d588e61ec09d89ac08cfe2c71575aeeb85cbd32f | MATLAB | 11,320 | 225 | clear;
clc;
num_cols= 4;
figure(1);
clf;
set(gcf, 'Units', 'centimeters', 'Position', [5, 3, 17, 5])
h_map= tiledlayout(1, num_cols, 'TileSpacing', 'compact', 'Padding', 'compact');
sp_ax= zeros(1, num_cols);
for ax_var=1:num_cols
sp_ax(ax_var)= nexttile;
end
col= struct('human',helper.get_color('m'), 'gerbil', h... |
e5e79418dd23a0edd2e480a18c2bd8acc904a5ca6cb65f8856bb4ac2867d4e8a | MATLAB | 11,336 | 298 | function [EMGFromLFP] = bz_EMGFromLFP(basePath,varargin)
% USAGE
% [EMGCorr] = bz_EMGCorrFromLFP(basePath)
%
% INPUTS
% basePath - string combination of basepath and basename of recording
% example: '/animal/recording/recording01'
%
% (Optional)
% 'restrict' ... |
b0b170faa10025a6036f9e9def2d9d09fe1d1a8457a525f7a6f3abcecc1bc540 | MATLAB | 11,343 | 418 | function cube = p_oct_label(octant, label, cube)
% check if there are points in the octant with value 1
if( octant==1 )
% set points in this octant to current label
% and recurseive labeling of adjacent octants
idx = cube(:,1) == 1;
if any(idx)
cube(idx,1) = label(idx);
end
id... |
12fd75cb8c5212ab97e2d4db924d60863ed19b37d5d2acdd3cba9cf2cb48843a | MATLAB | 11,353 | 309 | classdef PropertyDefinition < handle
% A PropertyDefinition provides information helpful to interpret variables/properties
% in a datasource.
%
%
% Categorical Properties
% ----------------------
% Property-definitions provide a string meaning for each possible value
% of a cate... |
26d3264ff0891f71e6c34a817fdce1fd97d4b0593e5ccdea45bb0c896e1456ac | MATLAB | 11,354 | 302 |
%% Project data onto first 46 "truly "random weight vectors (random unit vector) in each session (to generate 1034 unique pairs)
numPerms = 46;
proj_type = 'gauss'; % Method: Random weight vectors were generated from sampling from a Gaussian distribution
load(fullfile(saveLoc, ['mediation_randProj_' proj_type... |
85405c47e29f3ab2dc3aa3332a38595772449c33826ea1a6e2d376ea6fcba823 | MATLAB | 11,359 | 326 | function varargout = addSites(varargin)
% ADDSITES MATLAB code for addSites.fig
% ADDSITES, by itself, creates a new ADDSITES or raises the existing
% singleton*.
%
% H = ADDSITES returns the handle to a new ADDSITES or the handle to
% the existing singleton*.
%
% ADDSITES('CALLBACK',hObject,ev... |
a99f9a4e083ec7df36937381f5cb1b653ac3dd574d483fa4d95e3c58a91d9c57 | MATLAB | 11,361 | 247 | function colocalization_module()
figure()
set(gcf,'name','Colocalization Module','NumberTitle','off','color','k','units','normalized','position',[0.25 0.2 0.5 0.6],'menubar','none','toolbar','figure')
global data listbox
uicontrol('style','pushbutton','units','normalized','position',[0,0.95,0.2,0.05],'string','Set ... |
36876fd2e5b47cc645b7069c6fcebb49450093e0e16487b084ba366ba94207b9 | MATLAB | 11,362 | 254 | function lan_master_gui_spks(LAN_var, mainfig, parent_)
LAN = LAN_var;
if nargin < 2
mainfig = figure;
end
figure(mainfig);
cfg_control(1) = uicontrol('style', 'text', 'units', 'norm',...
'position', [.35 .92 .3 .05], 'string', 'DETECTION : ');
cfg_control(2) = uicontrol('style', 'text', 'units', 'norm',...
... |
30c5e2be82366eb009906f69683153af130567037481ee82bea0959c27ec6e37 | MATLAB | 11,367 | 249 | function [] = Twave_personalisation_POMs_ToRORd_converged(nb_models,celltype,stimAmp, stimulus_function_str, result_dir)
% Population of models generation for T-wave personalisation
% Adapted from scriptDemonstration_2_ParameterComparison.m:
% TODO: rename all endo_ variables to not say endo_
%% Setting parameters
para... |
945b9a2196370559cad60eecc4239cccdd67afe3399742c23ee4b64367a7e56d | MATLAB | 11,371 | 244 | function [Coord_Dist_Stats]=CoordinateDistributionStats(myPool,DistMode,InputImage,CenterCoord,PixelSize,PixelUnits,DistanceBinSize,DisplayOn)
ParallelLargeCalc=0;
Coord_Dist_Stats.DistanceMatrix=zeros(size(InputImage));
if DistMode==0 %Center Rotate
fprintf('Rotational Analysis...')
Co... |
a1fc4f166f07f4a8dcc1fa63485736356d3db52ee5b27acca82578dc46c29f0d | MATLAB | 11,373 | 285 | function GonzalezPereyra_etal_Fig_02
Color_300=[3 168 158]./255;
Color_500=[238 0 0]./255;
newColors=[Color_300;Color_500];
for ezln=1
load([pwd '/Data_GonzalezPereyra_etal_Fig_02.mat']);
ZSscores_300ms=AllAnimalsAllZSscores_300ms; %#ok<*USENS>
ZSscores_500ms=AllAnimalsAllZSscores_500ms;
... |
c3836a70b3cb53919a4776704bec6a91b3f87ae3d498702723f201bb43f15aa8 | MATLAB | 11,376 | 309 | clc;
clear;
parallelcomputing = false; %true is on %false is off
if parallelcomputing ==true
parpool(4);
else
delete(gcp('nocreate'))
end
StockData = readtable('5099.KL.csv','ReadVariableNames',true);
%Ensure the data is in correct data type
if isnumeric(StockData.Open) == false
Open =cellfun... |
8a2e45480b617fd97310eeaae735f170904d3bd76aa42f5136e5b401b7469dc9 | MATLAB | 11,384 | 295 | % Pre-processing of subjects' data in Brainvoyager
%% Starting brainvoyager from Matlab
bvqx = actxserver('BrainVoyager.BrainVoyagerScriptAccess.1');
%% Defining working directories
subjects_dicom_dir = 'F:\Social_networks_analysis\DICOMS\'; % A directory containing subdirectories for each subject, each... |
a7ce9bb57aef521e10baad637cb4d91b4f2f8d621fafdbe08104eeaff4a64e34 | MATLAB | 11,392 | 448 | clear all
close all
clc
% Use this script to generate figures similar to those in Figure 2 and Figure 4 of:
%Luna, R., Li, J., Bauer, R., & van Leeuwen, C. (2023). Retinal waves in adaptive
%rewiring networks orchestrate convergence and divergence in the visual system.
%Network Neuroscience
cd '..\s... |
12b78bdd056c89219d2114312c85721682d936e025d7c1ad53b60a0c65977ef8 | MATLAB | 11,395 | 373 | function [t,f_new,g_new,funEvals,H] = WolfeLineSearch(...
x,t,d,f,g,gtd,c1,c2,LS,maxLS,tolX,debug,doPlot,saveHessianComp,funObj,varargin)
%
% Bracketing Line Search to Satisfy Wolfe Conditions
%
% Inputs:
% x: starting location
% t: initial step size
% d: descent direction
% f: function value at st... |
947018e91a3aceef80f8a26ccfa8df732af96641e45a9894a7a5207c700cc113 | MATLAB | 11,397 | 307 | function [embedding, method] = choose_optimize_layout(head_embedding,...
tail_embedding, head, tail, n_epochs, n_vertices,epochs_per_sample,...
a, b, gamma, initial_alpha, negative_sample_rate, verbose, method,...
progress_callback, epoch_reports, random_state, min_dist, ...
move_point, dataDims, sgd_ta... |
ea783c09d21d5f489ef819715866bdf67e80dcb75e990cbf7276c6ebe4b8ba7d | MATLAB | 11,413 | 254 | function meg_manuscriptFigs_TE_byPrecue_mdlFit
% function meg_manuscriptFigs_TE_byPrecue_mdlFit
% Plot 2 Hz model fit
%% Load data
user = 'kantian';
% Model fit data
filename = sprintf('/Users/kantian/Dropbox/github/ta-meg-analysis-model/model_anticipatory/ModelFit_SeparatePrecueT1T2_2Hz_GroupTS_231218.mat',user);
... |
c26a74b8df60c99385d1c2024c3d84179ca66b3e5c8f1463cb75757acdf5dea0 | MATLAB | 11,425 | 214 | function shuffled_track = ground_truth_run_shuffles(shuffle_choice,analysis_type,num_shuffles,decoded_replay_events,place_fields_BAYESIAN,BAYSESIAN_NORMALIZED_ACROSS_TRACKS)
% computes shuffles on replay events
% shuffle_choice- determines what type of shuffles will be performed, entered as a string
%
% analysis type- ... |
a8e40bac71994e1536cbe81c94c290616d4663b33893e98e2783248fcf442ede | MATLAB | 11,428 | 214 | function [ax,G] = plot_mouse_prob_gradient(mouse_step_prob_struct,learning_stage_ind,nPanel_per_row,mouse_idx,...
use_grid_visits_as_color,force_cumulative_prob,fig_size,gradient_cmap,...
quiverArgs,pcolorArgs,startArgs,targetArgs,arenaArgs,.... |
a05fecd663c36f0c0542975e14b32e3727221b938e58ea1f27b10b67fdf35fc2 | MATLAB | 11,446 | 299 | function [scd] = ft_scalpcurrentdensity(cfg, data)
% FT_SCALPCURRENTDENSITY computes an estimate of the SCD using the
% second-order derivative (the surface Laplacian) of the EEG potential
% distribution
%
% The relation between the surface Laplacian and the SCD is explained
% in more detail on http://tinyurl.com/ptov... |
8c60fbed33bbab31d85f1a1be4525b0fb99bb69a7fa1fe4e1eb8d14a7aaf496a | MATLAB | 11,450 | 334 | function FilterHsd(hsdFile, varargin)
% 7/21/2016 M. Farries
% updated 8/23/2018
% usage: FilterData( datFile, varargin )
% This function wavelet filters data and performs common average
% referencing (CAR). The result is saved in .hsd files (one file for each
% tetrode or stereotrode). Filtering and CAR is appl... |
f13512df5da51b6ccf9c3d055089af3183bf546cbfa9ab0b829b5be7f7c522be | MATLAB | 11,451 | 358 | function [ CF ] = Cost_Function (xopt)
NineMuscleMorphParaInitial = load('NineMuscleMorphParaInitial.mat');
NineMuscleMorphParaInitial = NineMuscleMorphParaInitial.NineMuscleMorphParaInitial;
G = 5; % Muscle Group Number (G = 1 to 9)
MotionData = load('MotionData.mat');
MotionData = MotionData.MotionData;
% 40 Mus... |
9f4716cc6f63f4affd8c8c2436986a68f75772cbd84d30afb6339737fe236cbe | MATLAB | 11,453 | 346 | function Result = TSaddsubjects(SubIDs,Species,Strain,Sx,ArWt,ArDt,Srce)
% adds subject(s) to the Experiment structure. The optional input argument
% is a row vector of ID numbers for the new subjects. If this is not given
% in the call, user is prompted for vector of ID numbers.
global Experiment
if nargin<1 % query... |
510b3baebb4489456f1adedc02eaf5252d30e302141c69ebbc68ff170bdcef48 | MATLAB | 11,455 | 555 | % manual_region_assignment.m
% Sarah West
% 4/4/22
% Manual assignment of ICs for each mouse based on the regions plotted from
% the LocaNMF atlas. Run after the "FindAtlasRegions" function in the IC
% analysis pipeline.
%% Mouse 1087
mouse = '1087';
dir_out = ['Y:\Sarah\Analysis\Experiments\Random Motorized Treadmil... |
36f1baa19de299e13538d3c6d5a1d04cabca4e1c913b126a353843eff4e04b23 | MATLAB | 11,458 | 212 | function [Error, Cfg]=DPABINet_GTA_run(Cfg,DataDir,OutDir,SubjectListFile)
% FORMAT [Error]=DPABIGraph_GTA_run(Cfg,WorkingDir,SubjectListFile)
% Cfg - the parameters for graph theoretical analysis.
% WorkingDir - Define the working directory to replace the one defined in Cfg
% SubjectListFile - Define the subject... |
d8a60ed2adf58cfcc69bd47b19f42ed9e90ca93d155eb67264e1ada141de0c21 | MATLAB | 11,461 | 281 | % loadParameters;
%set a yamlfile variable then run this script.
bigparams = loadBigExpParams(yamlfile);
%% For all fields of view and all rounds, load the keypoints, make global
% Load the reference round
ROUND=bigparams.REFERENCE_ROUND;
filename_fixedkeypoints = fullfile(bigparams.REGISTRATION_WORKINGDIR,sprintf(... |
0da18dfd6d6ce5f178cb6b6f6b40b848ff239b1521bc28096beb95b0ddd50ffe | MATLAB | 11,477 | 326 | function ClustSizeInfo=w_MonteCarlo_Surf(SurfFiles, FWHM, VoxelP, AlphaLevels, M, OutTxtFile, MskFiles, AreaFiles)
% Surface-based Monte Carlo Simulation
% Usage: ClustSizeInfo=w_MonteCarlo_Surf(SurfFiles, FWHM, VoxelP, AlphaLevels, M, OutTxtFile, MskFiles, AreaFiles)
%
% Input:
% SurfFiles - Surface file list,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.