plateform
stringclasses
1 value
repo_name
stringlengths
13
113
name
stringlengths
3
74
ext
stringclasses
1 value
path
stringlengths
12
229
size
int64
23
843k
source_encoding
stringclasses
9 values
md5
stringlengths
32
32
text
stringlengths
23
843k
github
buzsakilab/buzcoderough-master
specscope.m
.m
buzcoderough-master/Packages/FMAToolbox/ExternalFunctionsForFMAToolbox/chronux_2_10/chronux/spectral_analysis/specscope/specscope.m
19,600
utf_8
7a80433446556a39374dc808670147c4
function outdata=specscope(indata) % record and plot audio spectrogram % % Usage: outdata=specscope(indata) % % Input: indata (optional) % Displays a recorded piece of data, if an argument is passed % Otherwise displays audio data from an attached microphone % % Output: outdata (optional) % If pres...
github
buzsakilab/buzcoderough-master
rtf.m
.m
buzcoderough-master/Packages/FMAToolbox/ExternalFunctionsForFMAToolbox/chronux_2_10/chronux/spectral_analysis/specscope/rtf.m
5,158
utf_8
ef3f23be6203e99d6a822c63a1d42b6d
function rtf(plot_frq,flag_save) close all evalin('base','stop=0;'); %=========SET THE BASIC FIGURE================= fig = figure('Position',[500,500,800,600],... 'NumberTitle','off',... 'Name','Scope',... 'doublebuffer','on',... 'HandleVisibility','on',... 'Ke...
github
buzsakilab/buzcoderough-master
specscopepp.m
.m
buzcoderough-master/Packages/FMAToolbox/ExternalFunctionsForFMAToolbox/chronux_2_10/chronux/spectral_analysis/specscope/specscopepp.m
20,341
utf_8
d9fe57a8dd870b4a1832ba73ec208a29
function outdata=specscopepp(indata) global acq; h=hamming(5); mins=5e-008; maxs=1e-004; % record and plot audio spectrogram % % Usage: outdata=specscope(indata) % % Input: indata (optional) % Displays a recorded piece of data, if an argument is passed % Otherwise displays audio data from an att...
github
buzsakilab/buzcoderough-master
lfgui.m
.m
buzcoderough-master/Packages/FMAToolbox/ExternalFunctionsForFMAToolbox/chronux_2_10/chronux/locfit/m/lfgui.m
4,018
utf_8
3b6eace9dc5a0057fb2c8b221751aa6d
function varargout = lfgui(varargin) % LFGUI M-file for lfgui.fig % LFGUI, by itself, creates a new LFGUI or raises the existing % singleton*. % % H = LFGUI returns the handle to a new LFGUI or the handle to % the existing singleton*. % % LFGUI('CALLBACK',hObject,eventData,handles,...) calls th...
github
buzsakilab/buzcoderough-master
auto_classify.m
.m
buzcoderough-master/Packages/FMAToolbox/ExternalFunctionsForFMAToolbox/chronux_2_10/chronux/wave_browser/auto_classify.m
25,074
utf_8
ba0678a9e6434290035fdb708a1d8009
function varargout = auto_classify(varargin) % AUTO_CLASSIFY M-file for auto_classify.fig % AUTO_CLASSIFY, by itself, creates a new AUTO_CLASSIFY or raises the existing % singleton*. % % H = AUTO_CLASSIFY returns the handle to a new AUTO_CLASSIFY or the handle to % the existing singleton*. % ...
github
buzsakilab/buzcoderough-master
wave_browser.m
.m
buzcoderough-master/Packages/FMAToolbox/ExternalFunctionsForFMAToolbox/chronux_2_10/chronux/wave_browser/wave_browser.m
57,029
utf_8
2587b6831317c05fd90c35f38a964c93
function varargout = wave_browser(varargin) % WAVE_BROWSER M-file for wave_browser.fig % WAVE_BROWSER, by itself, creates a new WAVE_BROWSER or raises the existing % singleton*. % % H = WAVE_BROWSER returns the handle to a new WAVE_BROWSER or the handle to % the existing singleton*. % % ...
github
buzsakilab/buzcoderough-master
classify_spectra.m
.m
buzcoderough-master/Packages/FMAToolbox/ExternalFunctionsForFMAToolbox/chronux_2_10/chronux/wave_browser/classify_spectra.m
108,297
utf_8
93fe2f22d145ba63cb667b18b3b33d0d
function varargout = classify_spectra(varargin) % CLASSIFY_SPECTRA M-file for classify_spectra.fig % CLASSIFY_SPECTRA, by itself, creates a new CLASSIFY_SPECTRA or raises the existing % singleton*. % % H = CLASSIFY_SPECTRA returns the handle to a new CLASSIFY_SPECTRA or % the handle to % the ex...
github
buzsakilab/buzcoderough-master
configure_classify.m
.m
buzcoderough-master/Packages/FMAToolbox/ExternalFunctionsForFMAToolbox/chronux_2_10/chronux/wave_browser/configure_classify.m
17,864
utf_8
d66bfd4213ddebc5ac867dcafec8703a
function varargout = configure_classify(varargin) % CONFIGURE_CLASSIFY M-file for configure_classify.fig % CONFIGURE_CLASSIFY, by itself, creates a new CONFIGURE_CLASSIFY or raises the existing % singleton*. % % H = CONFIGURE_CLASSIFY returns the handle to a new CONFIGURE_CLASSIFY or the handle to ...
github
buzsakilab/buzcoderough-master
FAnalyze.m
.m
buzcoderough-master/Packages/FMAToolbox/ExternalFunctionsForFMAToolbox/chronux_2_10/chronux/fly_track/FAnalyze/functions/FAnalyze.m
28,275
utf_8
00157164be68669eaae8ee557d8f0e27
function varargout = FAnalyze(varargin) % FANALYZE % For all your trajectory analysis needs! . See documentation for usage details. %Written by Dan Valente %November 2007 % Begin initialization code - DO NOT EDIT gui_Singleton = 1; gui_State = struct('gui_Name', mfilename, ... 'gui...
github
buzsakilab/buzcoderough-master
videoReader.m
.m
buzcoderough-master/Packages/FMAToolbox/ExternalFunctionsForFMAToolbox/chronux_2_10/chronux/fly_track/videoIO/videoIO_2006b/@videoReader/videoReader.m
5,758
utf_8
66a56561d4e6c547cf2bac07861a94f6
function vr = videoReader(url, varargin) % videoReader class constructor % Creates a object that reads video streams. We use a plugin % architecture in the backend to do the actual reading. For example, % on Windows, DirectShow will typically be used and on Linux, the % ffmpeg library is often used. ...
github
buzsakilab/buzcoderough-master
videoWriter.m
.m
buzcoderough-master/Packages/FMAToolbox/ExternalFunctionsForFMAToolbox/chronux_2_10/chronux/fly_track/videoIO/videoIO_2006b/@videoWriter/videoWriter.m
11,485
utf_8
0869234180baa12b3217c3ac04df67ed
function vw = videoWriter(url, varargin) % videoWriter class constructor % Creates a object that writes video files. We use a plugin % architecture in the backend to do the actual writing. For example, % on Windows, DirectShow will typically be used and on Linux, the % ffmpeg library is often used. %...
github
buzsakilab/buzcoderough-master
videoReader.m
.m
buzcoderough-master/Packages/FMAToolbox/ExternalFunctionsForFMAToolbox/chronux_2_10/chronux/fly_track/videoIO/videoIO_2006a/@videoReader/videoReader.m
5,758
utf_8
66a56561d4e6c547cf2bac07861a94f6
function vr = videoReader(url, varargin) % videoReader class constructor % Creates a object that reads video streams. We use a plugin % architecture in the backend to do the actual reading. For example, % on Windows, DirectShow will typically be used and on Linux, the % ffmpeg library is often used. ...
github
buzsakilab/buzcoderough-master
videoWriter.m
.m
buzcoderough-master/Packages/FMAToolbox/ExternalFunctionsForFMAToolbox/chronux_2_10/chronux/fly_track/videoIO/videoIO_2006a/@videoWriter/videoWriter.m
11,485
utf_8
0869234180baa12b3217c3ac04df67ed
function vw = videoWriter(url, varargin) % videoWriter class constructor % Creates a object that writes video files. We use a plugin % architecture in the backend to do the actual writing. For example, % on Windows, DirectShow will typically be used and on Linux, the % ffmpeg library is often used. %...
github
buzsakilab/buzcoderough-master
videoReader.m
.m
buzcoderough-master/Packages/FMAToolbox/ExternalFunctionsForFMAToolbox/chronux_2_10/chronux/fly_track/videoIO/videoIO_2007a/@videoReader/videoReader.m
5,758
utf_8
66a56561d4e6c547cf2bac07861a94f6
function vr = videoReader(url, varargin) % videoReader class constructor % Creates a object that reads video streams. We use a plugin % architecture in the backend to do the actual reading. For example, % on Windows, DirectShow will typically be used and on Linux, the % ffmpeg library is often used. ...
github
buzsakilab/buzcoderough-master
videoWriter.m
.m
buzcoderough-master/Packages/FMAToolbox/ExternalFunctionsForFMAToolbox/chronux_2_10/chronux/fly_track/videoIO/videoIO_2007a/@videoWriter/videoWriter.m
11,485
utf_8
0869234180baa12b3217c3ac04df67ed
function vw = videoWriter(url, varargin) % videoWriter class constructor % Creates a object that writes video files. We use a plugin % architecture in the backend to do the actual writing. For example, % on Windows, DirectShow will typically be used and on Linux, the % ffmpeg library is often used. %...
github
buzsakilab/buzcoderough-master
FTrack.m
.m
buzcoderough-master/Packages/FMAToolbox/ExternalFunctionsForFMAToolbox/chronux_2_10/chronux/fly_track/FTrack/functions/FTrack.m
20,317
utf_8
ec3ca4a2695761e114cd56210fe3ac51
function varargout = FTrack(varargin) % FTRACK % For all your fly-tracking needs! . See documentation for usage details. % Last Modified by GUIDE v2.5 26-Nov-2007 18:07:29 % Begin initialization code - DO NOT EDIT gui_Singleton = 1; gui_State = struct('gui_Name', mfilename, ... 'gui...
github
buzsakilab/buzcoderough-master
pdftops.m
.m
buzcoderough-master/Packages/FMAToolbox/ExternalFunctionsForFMAToolbox/ExportFig/pdftops.m
3,068
utf_8
7a40ce10e58d68cd7eeda67992b993f3
function varargout = pdftops(cmd) %PDFTOPS Calls a local pdftops executable with the input command % % Example: % [status result] = pdftops(cmd) % % Attempts to locate a pdftops executable, finally asking the user to % specify the directory pdftops was installed into. The resulting path is % stored for futur...
github
buzsakilab/buzcoderough-master
isolate_axes.m
.m
buzcoderough-master/Packages/FMAToolbox/ExternalFunctionsForFMAToolbox/ExportFig/isolate_axes.m
3,484
utf_8
3997011940bb5b146bf10032a9cec39a
%ISOLATE_AXES Isolate the specified axes in a figure on their own % % Examples: % fh = isolate_axes(ah) % fh = isolate_axes(ah, vis) % % This function will create a new figure containing the axes/uipanels % specified, and also their associated legends and colorbars. The objects % specified must all be in th...
github
buzsakilab/buzcoderough-master
pdf2eps.m
.m
buzcoderough-master/Packages/FMAToolbox/ExternalFunctionsForFMAToolbox/ExportFig/pdf2eps.m
1,524
utf_8
037f9109e96ab4385d13019a29db4639
%PDF2EPS Convert a pdf file to eps format using pdftops % % Examples: % pdf2eps source dest % % This function converts a pdf file to eps format. % % This function requires that you have pdftops, from the Xpdf suite of % functions, installed on your system. This can be downloaded from: % http://www.foolabs.c...
github
buzsakilab/buzcoderough-master
print2array.m
.m
buzcoderough-master/Packages/FMAToolbox/ExternalFunctionsForFMAToolbox/ExportFig/print2array.m
6,474
utf_8
4ead930267fe61c9b2a87139ee559dc8
%PRINT2ARRAY Exports a figure to an image array % % Examples: % A = print2array % A = print2array(figure_handle) % A = print2array(figure_handle, resolution) % A = print2array(figure_handle, resolution, renderer) % [A bcol] = print2array(...) % % This function outputs a bitmap image of the given fig...
github
buzsakilab/buzcoderough-master
eps2pdf.m
.m
buzcoderough-master/Packages/FMAToolbox/ExternalFunctionsForFMAToolbox/ExportFig/eps2pdf.m
5,151
utf_8
b356d73460fdebe8ef6fa428d5b2c125
%EPS2PDF Convert an eps file to pdf format using ghostscript % % Examples: % eps2pdf source dest % eps2pdf(source, dest, crop) % eps2pdf(source, dest, crop, append) % eps2pdf(source, dest, crop, append, gray) % eps2pdf(source, dest, crop, append, gray, quality) % % This function converts an eps file...
github
buzsakilab/buzcoderough-master
copyfig.m
.m
buzcoderough-master/Packages/FMAToolbox/ExternalFunctionsForFMAToolbox/ExportFig/copyfig.m
846
utf_8
289162022c603c9e11a52b6d56329188
%COPYFIG Create a copy of a figure, without changing the figure % % Examples: % fh_new = copyfig(fh_old) % % This function will create a copy of a figure, but not change the figure, % as copyobj sometimes does, e.g. by changing legends. % % IN: % fh_old - The handle of the figure to be copied. Default: gc...
github
buzsakilab/buzcoderough-master
user_string.m
.m
buzcoderough-master/Packages/FMAToolbox/ExternalFunctionsForFMAToolbox/ExportFig/user_string.m
2,462
utf_8
dd1a7fa5b4f2be6320fc2538737a2f3e
%USER_STRING Get/set a user specific string % % Examples: % string = user_string(string_name) % saved = user_string(string_name, new_string) % % Function to get and set a string in a system or user specific file. This % enables, for example, system specific paths to binaries to be saved. % % IN: % string_name - ...
github
buzsakilab/buzcoderough-master
export_fig.m
.m
buzcoderough-master/Packages/FMAToolbox/ExternalFunctionsForFMAToolbox/ExportFig/export_fig.m
29,829
utf_8
e148a5b614ce2226be691f291726feb2
%EXPORT_FIG Exports figures suitable for publication % % Examples: % im = export_fig % [im alpha] = export_fig % export_fig filename % export_fig filename -format1 -format2 % export_fig ... -nocrop % export_fig ... -transparent % export_fig ... -native % export_fig ... -m<val> % export_fig...
github
buzsakilab/buzcoderough-master
ghostscript.m
.m
buzcoderough-master/Packages/FMAToolbox/ExternalFunctionsForFMAToolbox/ExportFig/ghostscript.m
4,342
utf_8
0be326f9358200c733989260a0649af9
%GHOSTSCRIPT Calls a local GhostScript executable with the input command % % Example: % [status result] = ghostscript(cmd) % % Attempts to locate a ghostscript executable, finally asking the user to % specify the directory ghostcript was installed into. The resulting path % is stored for future reference. % ...
github
buzsakilab/buzcoderough-master
print2eps.m
.m
buzcoderough-master/Packages/FMAToolbox/ExternalFunctionsForFMAToolbox/ExportFig/print2eps.m
7,809
utf_8
7c4a232dc6574c7702a7550ebd0d6e44
%PRINT2EPS Prints figures to eps with improved line styles % % Examples: % print2eps filename % print2eps(filename, fig_handle) % print2eps(filename, fig_handle, options) % % This function saves a figure as an eps file, with two improvements over % MATLAB's print command. First, it improves the line styl...
github
buzsakilab/buzcoderough-master
LoadBinary.m
.m
buzcoderough-master/Packages/FMAToolbox/IO/LoadBinary.m
9,993
iso_8859_13
7dd8441ab214fc5ff351523c2c7d3cd7
function data = LoadBinary(filename,varargin) %LoadBinary - Load data from a multiplexed binary file. % % Reading a subset of the data can be done in two different manners: either % by specifying start time and duration (more intuitive), or by indicating % the position and size of the subset in terms of numbe...
github
buzsakilab/buzcoderough-master
LoadSpikeWaveforms.m
.m
buzcoderough-master/Packages/FMAToolbox/IO/LoadSpikeWaveforms.m
11,791
utf_8
6d6fb4ffc01b6362ed3ab50b1e8e04e6
function waveforms = LoadSpikeWaveforms(filename,nChannels,nSamples,list) %LoadSpikeWaveforms - Read spike waveforms from disk. % % USAGE % % waveforms = LoadSpikeWaveforms(filename,nChannels,nSamples,list) % % filename spike waveform file name % nChannels number of channels in ...
github
buzsakilab/buzcoderough-master
LoadBinary_FMA.m
.m
buzcoderough-master/Packages/FMAToolbox/IO/LoadBinary_FMA.m
9,997
iso_8859_13
dde7f19e7f7ec6d1121ff3e356228b1d
function data = LoadBinary_FMA(filename,varargin) %LoadBinary - Load data from a multiplexed binary file. % % Reading a subset of the data can be done in two different manners: either % by specifying start time and duration (more intuitive), or by indicating % the position and size of the subset in terms of n...
github
buzsakilab/buzcoderough-master
MultiPlotXY.m
.m
buzcoderough-master/Packages/FMAToolbox/Plot/MultiPlotXY.m
2,818
iso_8859_13
4604aa687edcccd7627be9cc2b1508c4
function p = MultiPlotXY(varargin) %MultiPlotXY - Plot two columns of each input matrix against each other. % % Plot the second column of each input matrix as a function of the first column. % Optionally, alternative pairs of columns can be plotted against each other. % % USAGE % % p = MultiPlotXY(X,columns,Y,colu...
github
buzsakilab/buzcoderough-master
HTML.m
.m
buzcoderough-master/Packages/FMAToolbox/Plot/HTML.m
2,795
iso_8859_13
54388c73d798165de07e983a08a7b2e3
function out = HTML(in,format) %HTML - Create HTML formatted string. % % Important note: Matlab UITables are buggy! Therefore, HTML formatted table % cells will not be rendered satisfactorily (e.g. you will experience problems % with alignment and cell width). This function does not try to compensate for % these b...
github
buzsakilab/buzcoderough-master
Browse.m
.m
buzcoderough-master/Packages/FMAToolbox/Plot/Browse.m
13,767
iso_8859_13
f777dea8e652af560719a1007a9944de
function Browse(parameter1,parameter2) %Browse - Interactively browse the data in one or all subplots in a figure. % % USAGE % % Browse(figure,'on') % enable browsing for this figure % Browse(figure,'off') % disable browsing for this figure % Browse('on') % enable browsing for all new figures % ...
github
buzsakilab/buzcoderough-master
TuneArtefactTimes.m
.m
buzcoderough-master/Packages/FMAToolbox/Analyses/TuneArtefactTimes.m
5,502
iso_8859_13
606f8bfef8b64e99e16dc468a7be1f05
function tuned = TuneArtefactTimes(x,times,varargin) %TuneArtefactTimes - Fine-tune artefact (e.g. stimulation) times. % % Fine tuning can be done using either the LFP (faster), or the wideband % data (slower but more accurate). The latter is especially useful in cases % where the artefacts are no longer visible in...
github
buzsakilab/buzcoderough-master
TestRemapping.m
.m
buzcoderough-master/Packages/FMAToolbox/Analyses/TestRemapping.m
12,516
iso_8859_13
fb408bd980ce80c60c1e613bfebfae3b
function [h,p,cr,ca] = TestRemapping(control,repeat,test,varargin) %TestRemapping - Test if firing fields remap (or shift) between two conditions. % % To test for random remapping between a control and a test condition, we % first estimate for each place cell the absolute field shift between the two % conditions, a...
github
buzsakilab/buzcoderough-master
RadialMaze.m
.m
buzcoderough-master/Packages/FMAToolbox/Analyses/RadialMaze.m
22,222
iso_8859_13
efd7fc31df35c1981b64a2bdadce51a8
function [counts,indices] = RadialMaze(data,baitedArms,varargin) %RadialMaze - Compute simple statistics for the 8-arm radial maze task. % % Compute the number of reference and working memory errors, rewards found, etc. % % USAGE % % [counts,indices] = RadialMaze(data,baitedArms,<options>) % % data li...
github
buzsakilab/buzcoderough-master
CV.m
.m
buzcoderough-master/Packages/FMAToolbox/Analyses/CV.m
4,713
iso_8859_13
b072c5fb87a5508a4e8b0e3c08862d9f
function [coeff,local] = CV(timestamps,varargin) %CV - Compute coefficient of variation for a point process. % % Three alternative measures can be computed: regular CV, CV in operational time % (Gestri and Petracchi, 1970; Nawrot et al., 2008) or CV2 (Holt et al., 2006). % % While the CV is typically computed for cons...
github
buzsakilab/buzcoderough-master
FitCCG.m
.m
buzcoderough-master/Packages/FMAToolbox/Analyses/FitCCG.m
4,505
iso_8859_13
0bf0a63a06f3d3f77779aa28cb52adbf
function [dt1,dt2,Travel,index] = FitCCG(t,ccg,varargin) %FitCCG - Fit dampened sinewave to the cross-correlogram of a pair of theta-modulated cells. % % USAGE % % [dt1,dt2,index] = FitCCG(t,ccg,<options>) % % t time bins % ccg cross-correlogram % <options> optional list of pr...
github
buzsakilab/buzcoderough-master
MapStats.m
.m
buzcoderough-master/Packages/FMAToolbox/Analyses/MapStats.m
9,719
utf_8
bbf8419238e21a68ea8645afd9a5470c
function stats = MapStats(map,varargin) %MapStats - Compute statistics for a map Z = f(X,Y), or a curve Z = f(X). % % Compute statistics on a continuous map, where one time-varying variable Z % is represented as a function of one or two time-varying variables X and Y. % The variable Z can either be a point process ...
github
buzsakilab/buzcoderough-master
TestSkewness.m
.m
buzcoderough-master/Packages/FMAToolbox/Analyses/TestSkewness.m
6,886
iso_8859_13
8e0dbbe3bad0b6ae56090870dcd83c3b
function [h,p,stats] = TestSkewness(control,repeat,test,varargin) %TestSkewness - Test if firing field skewness changes between two conditions. % % Current implementation only tests 1D environments. % % USAGE % % [h,p,cr,ca] = TestSkewness(control,repeat,test,<options>) % % control firing fields in cont...
github
buzsakilab/buzcoderough-master
FindRipples.m
.m
buzcoderough-master/Packages/FMAToolbox/Analyses/FindRipples.m
10,997
iso_8859_13
dcd04ec1fd18c31d9e498e61ba52e413
function [ripples,sd,bad] = FindRipples(filtered,varargin) %FindRipples - Find hippocampal ripples (100~200Hz oscillations). % % USAGE % % [ripples,stdev,noise] = FindRipples(filtered,<options>) % % Ripples are detected using the normalized squared signal (NSS) by % thresholding the baseline, merging neighbo...
github
buzsakilab/buzcoderough-master
IsolationDistance.m
.m
buzcoderough-master/Packages/FMAToolbox/Analyses/IsolationDistance.m
5,559
iso_8859_13
95c449552a6f8ba96f118aa446ce91ea
function [distance,units] = IsolationDistance(features,varargin) %IsolationDistance - Determine the isolation quality for one or more clusters. % % Compute isolation distance, as defined by K. Harris (see Schmitzer-Torbert % et al. 2005). % % USAGE % % [d,units] = IsolationDistance(features,<options>) % % featu...
github
buzsakilab/buzcoderough-master
PETHTransition.m
.m
buzcoderough-master/Packages/FMAToolbox/Analyses/PETHTransition.m
7,209
iso_8859_13
4b529be9bc077fd14d28903a497e380c
function delay = PETHTransition(psth,timeBins,varargin) %PETHTransition - Find a transition point in a peri-event time histogram (PETH). % % Find a transition point in a peri-event time histogram using the maximum % likelihood or mean square error algorithm of Friedman and Priebe (1998), or % piecewise linear fi...
github
buzsakilab/buzcoderough-master
CheckChronux.m
.m
buzcoderough-master/Packages/FMAToolbox/Analyses/private/CheckChronux.m
540
iso_8859_13
2396b4f1141f094c838b03f16a692f01
%CheckChronux - Make sure chronux is installed and functional. % % USAGE % % CheckChronux % Copyright (C) 2007-2010 by Michaël Zugaro % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation; eithe...
github
buzsakilab/buzcoderough-master
GetEventTypes.m
.m
buzcoderough-master/Packages/FMAToolbox/Data/GetEventTypes.m
1,733
iso_8859_13
d32b7482122e6f7168a18d075c006f54
function descriptions = GetEventTypes(selection) %GetEventTypes - Get event types (= unique descriptions). % % USAGE % % descriptions = GetEventTypes(selection) % % selection optional patterns of event descriptions; see examples below % % EXAMPLES % % % Get all event descriptions % descriptions = Ge...
github
buzsakilab/buzcoderough-master
GetCurrentSession.m
.m
buzcoderough-master/Packages/FMAToolbox/Data/GetCurrentSession.m
3,026
iso_8859_13
fc5b54355530eb2aa41e6b37d3cdb5c7
function info = GetCurrentSession(verbose) %GetCurrentSession - Get information about current session. % % USAGE % % GetCurrentSession % GetCurrentSession('verbose') % detailed output % % info = GetCurrentSession % return info (do not display) % Copyright (C) 2008-2011 by Michaël Zugaro % % This program i...
github
buzsakilab/buzcoderough-master
GetEvents.m
.m
buzcoderough-master/Packages/FMAToolbox/Data/GetEvents.m
3,731
iso_8859_13
75df81e843302f4bca3cb5eef7c6b327
function events = GetEvents(selection,varargin) %GetEvents - Get events. % % USAGE % % events = GetEvents(selection,<options>) % % selection optional list of event descriptions; see examples below % <options> optional list of property-value pairs (see table below) % % ===========================...
github
buzsakilab/buzcoderough-master
DBMatchValues.m
.m
buzcoderough-master/Packages/FMAToolbox/Database/DBMatchValues.m
5,446
iso_8859_13
026118c64e649eb15782953106b0d1f0
function [in1,in2,out1,out2,eid1,eid2] = DBMatchValues(eid1,eid2,rexp) %DBMatchValues - Match values for two different sets of variables. % % It is often necessary to match (associate) variables that were computed % independently, e.g. the phase precession slope and field size of hippocampal % place cells. Typicall...
github
buzsakilab/buzcoderough-master
GetNextItem.m
.m
buzcoderough-master/Packages/FMAToolbox/Database/private/GetNextItem.m
887
iso_8859_13
041fc2099c7995d8ea048b07de782e16
%GetNextItem - Get next item from a Batch object (iterator mode). % % This is a helper class to easily read and parse batch files. % % USAGE % % [b,item,line] = GetNextItem(b); % % b batch object % Copyright (C) 2007 by Michaël Zugaro % % This program is free software; you can redistribute it and/o...
github
buzsakilab/buzcoderough-master
RunBatch.m
.m
buzcoderough-master/Packages/FMAToolbox/Database/private/RunBatch.m
2,556
iso_8859_13
ebadbd41ed526c8cfc9a7216c9e5920d
%RunBatch - Run a batch job. This should *not* be called directly. % % Run a batch job. This function is called automatically by the % batch timer upon expiration of the required delay. % % USAGE % % RunBatch(timer,event,b) % % timer Matlab timer object % event Matlab timer event type % b...
github
buzsakilab/buzcoderough-master
CheckMyM.m
.m
buzcoderough-master/Packages/FMAToolbox/Database/private/CheckMyM.m
963
iso_8859_13
e39755b1b446bcbd4b795620da574f2e
%CheckMyM - Make sure mym is installed and functional. % % Connectivity to MySQL database server depends on mym. Make sure % this is installed and functional. % % USAGE % % CheckMyM % Copyright (C) 2007-2010 by Michaël Zugaro % % This program is free software; you can redistribute it and/or modify % it under the t...
github
buzsakilab/buzcoderough-master
GetNextField.m
.m
buzcoderough-master/Packages/FMAToolbox/Database/private/GetNextField.m
916
iso_8859_13
ec71ac9e0178c89bb7015a77d9b96423
%GetNextField - Get next field from a Batch object (iterator mode). % % This is a helper class to easily read and parse batch files. % % USAGE % % [b,field] = GetNextField(b); % % b batch object % Copyright (C) 2007 by Michaël Zugaro % % This program is free software; you can redistribute it and/or...
github
buzsakilab/buzcoderough-master
Detrend.m
.m
buzcoderough-master/Packages/FMAToolbox/General/Detrend.m
4,299
iso_8859_13
1487762bf9910b1cf29ee4ad24ad8bd7
%Detrend - Detrend signal. % % USAGE % % [detrended,model] = Detrend(samples,<options>) % % samples list of (t,v1...vn) samples % <options> optional list of property-value pairs (see table below) % % ========================================================================= % Properties V...
github
buzsakilab/buzcoderough-master
ConcentrationTest.m
.m
buzcoderough-master/Packages/FMAToolbox/General/ConcentrationTest.m
3,301
iso_8859_13
afee335d35dc61f47417e2e4284ce96a
function [h,p] = ConcentrationTest(angles,group,alpha,nRandomizations) %ConcentrationTest - Test homogeneity of concentration parameters. % % Test whether the concentration parameters for N groups of circular data are equal. % The data are assumed to have Von Mises distributions. If the median concentration % is infer...
github
buzsakilab/buzcoderough-master
CircularANOVA.m
.m
buzcoderough-master/Packages/FMAToolbox/General/CircularANOVA.m
6,274
utf_8
7c9dc2a6e9f7ab60c77ca9f878e2705e
function [p,F] = CircularANOVA(angles,factors,method) %CircularANOVA - One or two-way ANOVA on circular data. % % Circular ANOVA can be performed using one of three methods with different % assumptions and limitations: % % 1) Watson & Williams (1956) % The data are drawn from von Mises distributions with ...
github
buzsakilab/buzcoderough-master
CircularRegression.m
.m
buzcoderough-master/Packages/FMAToolbox/General/CircularRegression.m
8,936
utf_8
6e00b4b4890dde3c2c812d0975f33625
function [beta,R2,p] = CircularRegression(x,angles,p,varargin) %CircularRegression - Linear-circular regression. % % There are three possible methods to estimate the regression parameters: % % 1) Use the method of Kempter et al. (2012). The slope maximizes the resultant length % of the residual distribution, the...
github
buzsakilab/buzcoderough-master
wavelet.m
.m
buzcoderough-master/Spikes/CellTypeClassification/BrendonClassificationFromStark2013/wavelet.m
5,970
utf_8
948169c495971d4616b513328a785fd7
%WAVELET 1D Wavelet transform with optional singificance testing % % [WAVE,PERIOD,SCALE,COI] = wavelet(Y,DT,PAD,DJ,S0,J1,MOTHER,PARAM) % % Computes the wavelet transform of the vector Y (length N), % with sampling rate DT. % % By default, the Morlet wavelet (k0=6) is used. % The wavelet basis is norm...
github
buzsakilab/buzcoderough-master
getWavelet.m
.m
buzcoderough-master/Spikes/CellTypeClassification/BrendonClassificationFromStark2013/getWavelet.m
15,140
utf_8
02847ee973e1bee76b4a7eaf4c606466
% [ wave, f, t, coh, phases, raw, coi, scale, period, scalef ] = getWavelet( x, Fs, fMin, fMax, nbins, graphics ) % % x: % vector - wavelet analysis is applied % multi-column matrix - wavelet analysis is applied to each column % separately % % two-column matrix - treated as two time series and the csd, coherenc...
github
buzsakilab/buzcoderough-master
BWCellClassification.m
.m
buzcoderough-master/Spikes/CellTypeClassification/BrendonClassificationFromStark2013/BWCellClassification.m
5,363
utf_8
9a8a249063d7e821ef3d69a2509ada07
% function [CellClassOutput, PyrBoundary] = BWCellClassification (fileBase, SpkWvform_all, SpkWvform_idx, Cells, ECells, ICells) function [CellClassOutput, PyrBoundary,Waveforms] = BWCellClassification (filebasename, cellshanknums, shanks, ESynapseCells, ISynapseCells) % Loads cell spike waveforms from the local fold...
github
buzsakilab/buzcoderough-master
LoadSpikeWaveforms_BW.m
.m
buzcoderough-master/Spikes/CellTypeClassification/BrendonClassificationFromStark2013/LoadSpikeWaveforms_BW.m
11,935
utf_8
588e5f8a623a5998633502a852f36c1e
function waveforms = LoadSpikeWaveforms_BW(filename,nChannels,nSamples,list) % Totally stolen from FMA toolbox... I just added the proper LoadBinary % func to the bottom of this - Brendon Watson 2014 % %LoadSpikeWaveforms - Read spike waveforms from disk. % % USAGE % % waveforms = LoadSpikeWaveforms(filenam...
github
buzsakilab/buzcoderough-master
CCG_jitter.m
.m
buzcoderough-master/Spikes/SynapticTimescaleConnectivity/ShigeAndHan/CCG_jitter.m
4,969
utf_8
43429f1067e574f6ef3cd2b6a87db800
% % function [ccgR,tR,GSPExc,GSPInh,ccgjMtx,ccgjstats]=CCG_jitter(spiket,spikeind,clu1,clu2,dataSampFreq,BinSize,HalfBins,jscale,njitter,alpha,PresenBoolen) % % --------------------------------------------------- % INPUTS % spiket, spikeind : res file, clu file % clu1, clu2 : the cell numbers % dataSampFr...
github
buzsakilab/buzcoderough-master
CCG_jitter_ReviewPositives.m
.m
buzcoderough-master/Spikes/SynapticTimescaleConnectivity/ShigeAndHan/CCG_jitter_ReviewPositives.m
6,136
utf_8
019ac853b039bf4b8d9230ffc87d6bcf
function CCG_jitter_ReviewPositives(ccgjitteroutput,outputvarname) % Takes output of ccg_jitter_all.m and plots positive connections as ccr % plots for visualization. % Brendon Watson 2012,2014 allreviewfigs = []; if ~exist('outputvarname','var') outputvarname = 'ccgjitterreviewoutput'; end %% connections are pr...
github
buzsakilab/buzcoderough-master
CCG_jitter_ReviewPositives2.m
.m
buzcoderough-master/Spikes/SynapticTimescaleConnectivity/ShigeAndHan/CCG_jitter_ReviewPositives2.m
5,329
utf_8
e03de1bf6e3836896e76d29471fdaa97
function CCG_jitter_ReviewPositives(ccgjitteroutput) % Takes output of ccg_jitter_all.m and plots positive connections as ccr % plots for visualization. % Brendon Watson 2012,2014 h1 = figure('Visible','Off'); allreviewfigs = []; %% connections are pre-recorded in ccgjitteroutput, gather them up AllConnections = ca...
github
buzsakilab/buzcoderough-master
cch_conv.m
.m
buzcoderough-master/Spikes/SynapticTimescaleConnectivity/Eran/cch_conv.m
5,142
utf_8
6b1e300c88798d43e8736ffb5c47b5c0
% CCH_CONV predictor and p-values for CCH using convolution % % CALL [ PVALS, PRED, QVALS ] = CCH_CONV( CCH, W ) % % GETS CCH vector (a single CCH) or matrix (CCHs in columns) % has to be non-negative integ...
github
buzsakilab/buzcoderough-master
SpikeTransfer_Norm2.m
.m
buzcoderough-master/Spikes/SynapticTimescaleConnectivity/Brendon/SpikeTransfer_Norm2.m
12,958
utf_8
728d2a5ddb62a247395b612fb1c41967
function [strengthbyratio, strengthbyratechg, varargout] = SpikeTransfer_Norm2(times1,times2,binSize,duration,sigbinms,ConvWidth,sameshank,SampleRate) % Calculates the spiking amplitiude in a pair of cells in bins of interest % vs that predicted by the nearby ccg of the same pair. (Time restriction % on S can happen...
github
buzsakilab/buzcoderough-master
plot_ccgfromfuncsynapses.m
.m
buzcoderough-master/Spikes/SynapticTimescaleConnectivity/Brendon/plot_ccgfromfuncsynapses.m
9,061
utf_8
c599e1a77e71b1a02853f87824f9a694
function plot_ccgfromfuncsynapses(S,cellidx1,cellidx2) % sameshank = funcsynapses.CellShanks(pre) == funcsynapses.CellShanks(post); % HalfCCGWidthinms = (size(funcsynapses.fullCCGMtx,1)-1)/2*funcsynapses.BinMs; % ConvWidth = funcsynapses.ConvolutionWidthInBins; % BinMs = funcsynapses.BinMs; BinMs = 1; duration = 300;...
github
buzsakilab/buzcoderough-master
FindSynapse_ReviewOutput.m
.m
buzcoderough-master/Spikes/SynapticTimescaleConnectivity/Brendon/FindSynapse_ReviewOutput.m
14,867
utf_8
1ef0a455640c2f75a6f98fba8480e2fa
function invisfig = FindSynapse_ReviewOutput(funcsynapses,rawS,outputvarname,allpresyn,badcnxns) % Takes output of FindSynapse.m and plots positive connections as ccr % plots for review and clickable deletions of bad connections. % INPUTS % funcsynapses - struct array containing population connectivity information, % ...
github
buzsakilab/buzcoderough-master
PlotCcgFromS.m
.m
buzcoderough-master/Spikes/SynapticTimescaleConnectivity/Brendon/PlotCcgFromS.m
9,048
utf_8
06dfb1d74806e44e2578e9fca5f0fcc2
function PlotCcgFromS(S,cellidx1,cellidx2) % sameshank = funcsynapses.CellShanks(pre) == funcsynapses.CellShanks(post); % HalfCCGWidthinms = (size(funcsynapses.fullCCGMtx,1)-1)/2*funcsynapses.BinMs; % ConvWidth = funcsynapses.ConvolutionWidthInBins; % BinMs = funcsynapses.BinMs; BinMs = 1; duration = 300;%timepoints ...
github
buzsakilab/buzcoderough-master
FindZeroLagCorr.m
.m
buzcoderough-master/Spikes/SynapticTimescaleConnectivity/Brendon/FindZeroLagCorr.m
17,859
utf_8
b3c353f914a930383a5989804fc3a87f
function [synStrZ,synStrR,synStart,synEnd,synWideStart,synWideEnd,sigBounds] = FindZeroLagCorr(cch,varargin) % function [synLat,synStrZ,synStrR,sigBounds,synFlip] = FindZeroLagCorr(cch,varargin) % % FindZeroLagCorr - find zero-lag temporal correlations between pairs of cells. % Based on FindSynapse.m % % USAGE % [sy...
github
buzsakilab/buzcoderough-master
TheStateEditor.m
.m
buzcoderough-master/BehavioralStateDetection/TheStateEditor/TheStateEditor.m
174,962
UNKNOWN
6145ebd251a9c3e15aeeea61593b02ff
%function StateEditorProBeta(baseName, inputData, supressGUI, makePortable) % SIMPLE USAGE (NO INPUT VARIABLES, if run from dir with .xml and .eeg/lfp): % Add StateEditor to your Matlab path. Within Matlab navigate to a folder % containing '.xml' and '.eeg' (or '.lfp') files. Type in the name of this % .m file and...
github
buzsakilab/buzcoderough-master
LoadBinaryChunk.m
.m
buzcoderough-master/DataToMatlab/Traditional/LoadBinaryChunk.m
4,501
iso_8859_13
ea51ea77befb3680ba8e93daed115de1
%LoadBinaryChunk - Load data chunck from an open binary file. % % USAGE % % data = LoadBinaryChunk(fid,<options>) % % fid file id (obtained via fopen) % <options> optional list of property-value pairs (see table below) % % ====================================================================...
github
buzsakilab/buzcoderough-master
LoadBinary.m
.m
buzcoderough-master/DataToMatlab/Traditional/LoadBinary.m
6,350
iso_8859_13
735247a1cd798bf952d9848652b51b11
%LoadBinary - Load data from a binary file. % % USAGE % % data = LoadBinary(filename,<options>) % % filename file to read % <options> optional list of property-value pairs (see table below) % % ========================================================================= % Properties Values %...
github
buzsakilab/buzcoderough-master
LoadSpikeWaveforms.m
.m
buzcoderough-master/DataToMatlab/Traditional/LoadSpikeWaveforms.m
871
iso_8859_13
8bbfa0dd143ae134c8fbd50831221d7e
%LoadSpikeWaveforms - Read spike waveforms from file. % % USAGE % % waveforms = LoadSpikeWaveforms(filename,nChannels,nSamples) % % filename spike waveform file name % nChannels number of channels in electrode group % nSamples number of samples per waveform % Copyright ...
github
buzsakilab/buzcoderough-master
LoadFet.m
.m
buzcoderough-master/DataToMatlab/Traditional/LoadFet.m
938
utf_8
9dd3a407793e9ee3814f6c6b28cfc461
% [Fet, nFeatures] = LoadFet(FileName, BufSize, CluSubset) % % A simple matlab function to load a .fet file function [Fet, nFeatures] = LoadFet(FileName,varargin); [BufSize, CluSubset] = DefaultArgs(varargin,{inf, []}); Fp = fopen(FileName, 'r'); if Fp==-1 error(['Could not open file ' lsFileName]); end nFeat...
github
buzsakilab/buzcoderough-master
LoadBinary_bw.m
.m
buzcoderough-master/DataToMatlab/Traditional/LoadBinary_bw.m
7,039
utf_8
472d3197a7a37c80bc66af7e6e93772c
%function [data OrigIndex]= LoadBinary_bw(FileName, Channels, nChannels, varargin) % Channels - list of channels to load starting from 1 % nChannels - number of channels in a file, will be read from par/xml file % if present % intype/outtype - data types in the file and in the matrix to load to % by default assum...
github
buzsakilab/buzcoderough-master
LoadXml.m
.m
buzcoderough-master/DataToMatlab/Traditional/LoadXml.m
4,178
utf_8
9494b859f83dd21e6bc7a53c44343b51
%function [xml, rxml] = LoadXml(FileBase) %loads the xml file using xmltools (have to have it in the path) % rxml returns it's original layout - very messy structure but contains all % the xml file contents. % xml - is the ouput structure which is backwards compatible to LoadPar % output, so you can use it instead ..al...
github
buzsakilab/buzcoderough-master
LoadClu.m
.m
buzcoderough-master/DataToMatlab/Traditional/LoadClu.m
315
utf_8
1de4da12f43499b917fab6dd9e116365
% [Clu, nClusters] = LoadClu(FileName) % % A simple matlab function to load a .clu file function [Clu, nClusters] = LoadClu(FileName) Fp = fopen(FileName, 'r'); if Fp==-1 error(['Could not open file ' FileName]); end nClusters = fscanf(Fp, '%d', 1); Clu = fscanf(Fp, '%d'); nClusters = max(Clu); fclose(Fp);
github
buzsakilab/buzcoderough-master
LoadCluRes.m
.m
buzcoderough-master/DataToMatlab/Traditional/LoadCluRes.m
2,693
utf_8
65b110ef9b681f53f33478aab4ab1948
% % A simple matlab function to load from the .clu and .res files the vectors G and T % from many electrodes % Usage: [T,G,Map,Par]=LoadCluRes(FileBase,ElGpsToLoad, ClusToLoad) % Enter the FileBase without the extension .clu or .res % ElGpsToLoad - list of electrode groups to load (load them all by default) % ClusToLo...
github
buzsakilab/buzcoderough-master
makefir.m
.m
buzcoderough-master/LFP/EventDetection/detect_swr/private/makefir.m
3,512
utf_8
c4bbab8aa52ab94484440ec7ae40319c
% MAKEFIR design an n-th order fir filter using firls % % H = MAKEFIR( FREQ, FS, N, BAND, TOL, X, FFUNC ) % % FREQ - [ highpass lowpass ] frequencies (Hz) % FS - sampling frequency (Hz); {1000} % % optional: % N - order (number of samples); determined automatically if not specified % BAND - 'low', 'high', 'ba...
github
buzsakilab/buzcoderough-master
makegausslpfir.m
.m
buzcoderough-master/LFP/EventDetection/detect_swr/private/makegausslpfir.m
798
utf_8
2b8c38cdec0eba5f225be2894d9ef425
% makegausslpfir Gaussian LP filter % % win = makegausslpfir( Fc, Fs, s ) % % Fc corner frequency [Hz] % Fs sampling frequency [Hz] % s support [SD], minimum 3, default 4 % % win fir % % see also firfilter % 02-oct-13 ES function gwin = makegausslpfir( Fc, Fs, s ) nargs = nargin; if nargs < 1 || ...
github
buzsakilab/buzcoderough-master
LoadBinary.m
.m
buzcoderough-master/LFP/EventDetection/detect_swr/private/LoadBinary.m
8,583
iso_8859_13
d44f187d5e7e65d8fd1a79e04137e56f
function data = LoadBinary(filename,varargin) %LoadBinary - Load data from a multiplexed binary file. % % Reading a subset of the data can be done in two different manners: either % by specifying start time and duration (more intuitive), or by indicating % the position and size of the subset in terms of number of s...
github
buzsakilab/buzcoderough-master
xmltools.m
.m
buzcoderough-master/LFP/EventDetection/detect_swr/private/xmltools.m
11,985
UNKNOWN
c16d5611b963f255764c129b4e9bbd2d
function z = xmltools( arg, out_file, varargin) % XMLTOOLS - tools for managing xml data sets % - if arg is a string : arg is an XML file to convert into MATLAB struct % - if arg is a variable : it is a MATLAB struct to write into XML, to stdout if out_file is not given % use : % z = xmltools('filename.xml')...
github
buzsakilab/buzcoderough-master
firfilt.m
.m
buzcoderough-master/LFP/EventDetection/detect_swr/private/firfilt.m
540
utf_8
4ce5747ca79e81cc5cc7d0043d1a1993
% FIRFILT FIR filtering with zero phase distortion. % % matrix columns are filtered; % output is a column vector / matrix. % 19-Jul-02 ES % 27-jan-03 zero phase lag function Y = firfilt(x,W) if all(size(W)>=2), error('window must be a vector'), end if numel(x)==max(size(x)), x=x(:);...
github
buzsakilab/buzcoderough-master
LoadXml.m
.m
buzcoderough-master/LFP/EventDetection/detect_swr/private/LoadXml.m
4,171
utf_8
7285a790c80dab912faddf56fa5cacf7
%function [xml, rxml] = LoadXml(FileBase) %loads the xml file using xmltools (have to have it in the path) % rxml returns it's original layout - very messy structure but contains all % the xml file contents. % xml - is the ouput structure which is backwards compatible to LoadPar % output, so you can use it instead ..al...
github
buzsakilab/buzcoderough-master
v2struct.m
.m
buzcoderough-master/LFP/EventDetection/detect_swr/private/v2struct.m
15,949
utf_8
20912a1f0ff4635fa430ce427d925be3
%% v2struct % v2struct Pack/Unpack Variables to/from a scalar structure. function varargout = v2struct(varargin) %% Description % v2struct has dual functionality in packing & unpacking variables into structures and % vice versa, according to the syntax and inputs. % % Function features: % * Pack variable...
github
buzsakilab/buzcoderough-master
Process_DetectLED.m
.m
buzcoderough-master/Video/PositionTracking/DavidT/Process_DetectLED.m
5,943
utf_8
a897489d1427e85b15232ac594640be8
% Detect red and blue LEDs position in a video file and creates a 'led' file % % USAGE % % Process_DetectLED(videoFile,<options>) % % videoFile path to Basler video file, including the '.avi' % extension or not % <options> optional list of property-value pairs (see table be...
github
buzsakilab/buzcoderough-master
Process_ConvertBasler2Pos.m
.m
buzcoderough-master/Video/PositionTracking/DavidT/Process_ConvertBasler2Pos.m
4,287
utf_8
2ec026af1006b8a4ebc48d4d367f6a0c
% ConvertBasler2Whl - Convert Basler data to pos file format % % USAGE % % ConvertBasler2Whl(filebasename,<options>) % % filebasename basename of the video file (should be filebasenmae.avi) % <options> optional list of property-value pairs (see table below) % % ======================================...
github
DmitrySigaev/EVI-master
read_mask_from_a2.m
.m
EVI-master/read_mask_from_a2.m
4,538
utf_8
5b219f9db1fb949745972dc1dcd37f4e
% BRDF-Albedo Quality 16-Day L3 Global 500m % The MODerate-resolution Imaging Spectroradiometer (MODIS) BRDF/Albedo Quality % product (MCD43A2) describes the overall condition of the other BRDF and Albedo % products. The MCD43A2 product contains 16 days of data at 500-meter spatial % resolution provided in a level-3 g...
github
DmitrySigaev/EVI-master
read_myd11_t.m
.m
EVI-master/read_myd11_t.m
4,406
utf_8
669d02fa51d1abd5410cc67ffd484fad
% The level-3 MODIS global Land Surface Temperature (LST) and Emissivity 8-day % data are composed from the daily 1-kilometer LST product (MYD11A1) and stored % on a 1-km Sinusoidal grid as the average values of clear-sky LSTs during an 8-day period. % MYD11A2 is comprised of daytime and nighttime LSTs, quality assess...
github
DmitrySigaev/EVI-master
load_ndvi_cmap.m
.m
EVI-master/load_ndvi_cmap.m
6,216
utf_8
f7e55b918a8f2b86dafd0d8f3108c05d
% Color Map array for displaying the NDVI index [0:1] to color index range [r, g, b] function ndviCmap = load_ndvi_cmap % colormaps for NDVI ndviCmap = [1.0,0.0,0.0;0.0823529437184334,0.0823529437184334,0.564705908298492;0.623529434204102,0.623529434204102,0.623529434204102;0.976470589637756,0.976470589637756,0.9764705...
github
DmitrySigaev/EVI-master
read_mcd12q1.m
.m
EVI-master/read_mcd12q1.m
1,846
utf_8
c1f288172364c4e6ce78fff517ba9c6e
% Land Cover Type Yearly L3 Global 500 m SIN Grid % MCD12Q1 % Short Name: MCD12Q1 % Sample image of MCD12Q1 % This image represents the 2005 land cover-types for the western % United States (h08/v05). % This first SDS layer depicts the IGBP classification. % The predominant light-brown color represents open shrubla...
github
DmitrySigaev/EVI-master
read_data_from_a4.m
.m
EVI-master/read_data_from_a4.m
6,188
utf_8
eb12a21ded5cb11f7a9e0df2f544411c
% The MODerate-resolution Imaging Spectroradiometer (MODIS) Reflectance product % MCD43A4 provides 500-meter reflectance data adjusted using a bidirectional % reflectance distribution function (BRDF) to model the values as if they were % taken from nadir view. The MCD43A4 product contains 16 days of data provided % in ...
github
liangt/document-image-analysis-master
fchcode.m
.m
document-image-analysis-master/chain_coding/fchcode.m
8,758
utf_8
a833f9d8c6b0cdbb9890705834e013fa
function c = fchcode(b, conn, dir) %FCHCODE Computes the Freeman chain code of a boundary. % C = FCHCODE(B) computes the 8-connected Freeman chain code of a % set of 2-D coordinate pairs contained in B, an np-by-2 array. C % is a structure with the following fields: % % c.fcc = Freeman chain code (...
github
liangt/document-image-analysis-master
bound2eight.m
.m
document-image-analysis-master/chain_coding/bound2eight.m
3,063
utf_8
cccdbbb793222f89fdccaf06ee7dcd04
function rc_new = bound2eight(rc) %BOUND2EIGHT Convert 4-connected boundary to 8-connected boundary. % RC_NEW = BOUND2EIGHT(RC) converts a four-connected boundary to an % eight-connected boundary. RC is a P-by-2 matrix, each row of % which contains the row and column coordinates of a boundary % pixel. RC...
github
jonathanmasci/ShapeNet_data_preparation_toolbox-master
extract_patch_operator.m
.m
ShapeNet_data_preparation_toolbox-master/extract_patch_operator.m
849
utf_8
0b239d62b3b912c1652473b60fbebfe8
function extract_patch_operator(srcpath, dstpath, patch_params) if ~exist(dstpath, 'dir') mkdir(dstpath); end fnames = dir(fullfile(srcpath, '*.mat')); parfor i = 1 : length(fnames) if exist(fullfile(dstpath, fnames(i).name), 'file') fprintf('%s already processed, skipping\n', fnames(i).name) ...
github
jonathanmasci/ShapeNet_data_preparation_toolbox-master
calcVoronoiRegsCircCent.m
.m
ShapeNet_data_preparation_toolbox-master/calcVoronoiRegsCircCent.m
2,429
utf_8
9fb07789220e2edd328884714bd57a2a
function [VorRegsVertices] = calcVoronoiRegsCircCent(Tri, Vertices) %% Preps.: A1 = Vertices(Tri(:,1), :); A2 = Vertices(Tri(:,2), :); A3 = Vertices(Tri(:,3), :); a = A1 - A2; % Nx3 b = A3 - A2; % Nx3 c = A1 - A3; % Nx3 M1 = 1/2*(A2 + A3); % Nx3 M2 = 1/2*(A1 + A3); % Nx3 M3 = 1/2*(A2 + A1); % Nx3 N =...
github
jonathanmasci/ShapeNet_data_preparation_toolbox-master
extract_geovec.m
.m
ShapeNet_data_preparation_toolbox-master/extract_geovec.m
613
utf_8
b9ab4f4cb80523aaf2bb5b3e7995eb8e
function extract_geovec(srcpath, dstpath, geovec_params) if ~exist(dstpath, 'dir') mkdir(dstpath); end fnames = dir(fullfile(srcpath, '*.mat')); parfor i = 1 : length(fnames) if exist(fullfile(dstpath, fnames(i).name), 'file') fprintf('%s already processed, skipping\n', fnames(i).name) continu...
github
jonathanmasci/ShapeNet_data_preparation_toolbox-master
compute_disk.m
.m
ShapeNet_data_preparation_toolbox-master/compute_disk.m
3,105
utf_8
2b0cadaf3874aece964e4b7b7d6473f9
function [in_ray,in_ring,shape,rays_from_point,directions,ds] ... = compute_disk(shape,start_vertex,dists,flag_dist,varargin) % default parameters ----------------------------------------------------- % determine rings scale_max = 80; scale_min = 2; nscales = 25; scales = logspace(log(scale_min)/log(10),log(s...
github
jonathanmasci/ShapeNet_data_preparation_toolbox-master
calc_geovec.m
.m
ShapeNet_data_preparation_toolbox-master/calc_geovec.m
771
utf_8
203f9d026e0b2d35fcdd3ab2229d8fee
function [geoVec, basis] = calc_geovec(evecs, evals, geovec_params) sampleLocs = bsxfun(@minus, evals(:), geovec_params.evalSamples) / geovec_params.dEval; basis = cubicB_spline(sampleLocs); geoVec = evecs.^2 * basis; % L2 normalization if geovec_params.doNormalize geoVec = bsxfun(@rdivide, geoVec, sqrt(sum...
github
jonathanmasci/ShapeNet_data_preparation_toolbox-master
calcLB.m
.m
ShapeNet_data_preparation_toolbox-master/calcLB.m
4,141
utf_8
8f95630aefa3eb0434b3ac1c65a8b313
function [M, DiagS] = calcLB(shape) % The L-B operator matrix is computed by DiagS^-1*M. % Calculate the weights matrix M M = calcCotMatrixM1([shape.X, shape.Y, shape.Z], shape.TRIV); % Calculate the diagonal of matrix S DiagS = calcVoronoiRegsCircCent(shape.TRIV, [shape.X, shape.Y, shape.Z]); %% DiagS = abs( DiagS ...
github
jonathanmasci/ShapeNet_data_preparation_toolbox-master
wks.m
.m
ShapeNet_data_preparation_toolbox-master/wks.m
6,508
utf_8
796c18789010fb8290633be83233a881
% This is the implementation of the Wave Kernel Signature described % in the paper: % % The Wave Kernel Signature: A Quantum Mechanical Approach To Shape Analysis % M. Aubry, U. Schlickewei, D. Cremers % In IEEE International Conference on Computer Vision (ICCV) - Workshop on % Dynamic Shape Capture and ...