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 | P-Chao/acfdetect-master | checkNumArgs.m | .m | acfdetect-master/toolbox/matlab/checkNumArgs.m | 3,796 | utf_8 | 726c125c7dc994c4989c0e53ad4be747 | function [ x, er ] = checkNumArgs( x, siz, intFlag, signFlag )
% Helper utility for checking numeric vector arguments.
%
% Runs a number of tests on the numeric array x. Tests to see if x has all
% integer values, all positive values, and so on, depending on the values
% for intFlag and signFlag. Also tests to see if ... |
github | P-Chao/acfdetect-master | fevalDistr.m | .m | acfdetect-master/toolbox/matlab/fevalDistr.m | 11,227 | utf_8 | 7e4d5077ef3d7a891b2847cb858a2c6c | 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... |
github | P-Chao/acfdetect-master | medfilt1m.m | .m | acfdetect-master/toolbox/filters/medfilt1m.m | 2,998 | utf_8 | a3733d27c60efefd57ada9d83ccbaa3d | function y = medfilt1m( x, r, z )
% One-dimensional adaptive median filtering with missing values.
%
% Applies a width s=2*r+1 one-dimensional median filter to vector x, which
% may contain missing values (elements equal to z). If x contains no
% missing values, y(j) is set to the median of x(j-r:j+r). If x contains
% ... |
github | P-Chao/acfdetect-master | FbMake.m | .m | acfdetect-master/toolbox/filters/FbMake.m | 6,692 | utf_8 | b625c1461a61485af27e490333350b4b | function FB = FbMake( dim, flag, show )
% Various 1D/2D/3D filterbanks (hardcoded).
%
% USAGE
% FB = FbMake( dim, flag, [show] )
%
% INPUTS
% dim - dimension
% flag - controls type of filterbank to create
% - if d==1
% 1: gabor filter bank for spatiotemporal stuff
% - if d==2
% ... |
github | VGligorijevic/Patient-specific-DF-master | compute_clusters_ssnmtf.m | .m | Patient-specific-DF-master/code/compute_clusters_ssnmtf.m | 1,509 | utf_8 | 1c0d5ec6ded411b4117d1fdd63cb10b1 | % Function for assigning entities to clusters
% -------------------------------------------------------------------------------------------------------------
% Vladimir Gligorijevic
% Imperial College London
% v.gligorijevic@imperial.ac.uk
% Last updated: 5/07/2015
% ----------------------------------------------------... |
github | VGligorijevic/Patient-specific-DF-master | run_simNMTF.m | .m | Patient-specific-DF-master/code/run_simNMTF.m | 783 | utf_8 | 285dc66390576a205f7e8f85292d2b41 | % Test ranks
function run_simNMTF(k, R, A, label_list, max_iter, initialization)
ext = [num2str(k(1)) '_' num2str(k(2)) '_' num2str(k(3))];
[S, G] = factorization_ssnmtf(R,A,k,max_iter,initialization);
file_list = {['./results/patients_final_' ext],...
['./results/genes_final_' ext],...
['./r... |
github | VGligorijevic/Patient-specific-DF-master | export_significant_associations.m | .m | Patient-specific-DF-master/code/export_significant_associations.m | 1,242 | utf_8 | 67d20b3b1b17660dacf8b81935c247ef | % Reconstruct relation matrices -> only significant values
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function export_significant_associations(G, S, label_list, pair_ind, sim_file, exp_type)
tol = 1e-5; % scores below tol are considered zero
fprintf('###########################... |
github | HADESAngelia/Balance-Constraint-KMeans-master | munkres.m | .m | Balance-Constraint-KMeans-master/munkres.m | 6,971 | utf_8 | d287696892e8ef857858223a49ad48fd | function [assignment,cost] = munkres(costMat)
% MUNKRES Munkres (Hungarian) Algorithm for Linear Assignment Problem.
%
% [ASSIGN,COST] = munkres(COSTMAT) returns the optimal column indices,
% ASSIGN assigned to each row and the minimum COST based on the assignment
% problem represented by the COSTMAT, where the (i,j... |
github | HADESAngelia/Balance-Constraint-KMeans-master | hungarian.m | .m | Balance-Constraint-KMeans-master/evaluation/hungarian.m | 11,320 | utf_8 | f198a6fac77b9686b122d31e51cecc74 | 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.
%s.t. T = trace(A(C,:)) is minimized over all possible assignments.
% Adapted from the FORTRAN IV code i... |
github | BottjerLab/Acoustic_Similarity-master | loaderGUI.m | .m | Acoustic_Similarity-master/code/GUI/loaderGUI.m | 6,021 | utf_8 | 49a1b35d38cb2b26bbd2e1a53028094b | function varargout = loaderGUI(varargin)
% LOADERGUI MATLAB code for loaderGUI.fig
% LOADERGUI, by itself, creates a new LOADERGUI or raises the existing
% singleton*.
%
% H = LOADERGUI returns the handle to a new LOADERGUI or the handle to
% the existing singleton*.
%
% LOADERGUI('CALLBACK',hO... |
github | BottjerLab/Acoustic_Similarity-master | standardDistance.m | .m | Acoustic_Similarity-master/code/clustering/standardDistance.m | 3,471 | utf_8 | fabe0ae08aad5c902142064cb4c9e7f6 | function [totalDists, indivDists] = standardDistance(spectrum1, spectrum2, params, varargin)
%STANDARDDISTANCE Running, sample by sample scan of two spectral feature sets
%
% COVAR = standardDistance(SPECTRUM1, SPECTRUM2) returns the similarity of two
% sounds, sample by sample, according to the standardized differen... |
github | BottjerLab/Acoustic_Similarity-master | DRcluster.m | .m | Acoustic_Similarity-master/code/clustering/DRcluster.m | 6,704 | utf_8 | 4ad08210957bd0416d5be7155c27ad78 | function [clustIdxs, empMatrices, distMatrices, empDistrs] = DRcluster(DRsylls, featureTable, spectra, params, varargin)
timeFlag = ['T-' datestr(clock, 'mm_dd_HH_MM')];
featuresCached = (nargin >= 2);
specsCached = (nargin >= 3);
if nargin < 4
params = defaultParams;
end
params = processArgs(params, vararg... |
github | BottjerLab/Acoustic_Similarity-master | searchClusterOrder.m | .m | Acoustic_Similarity-master/code/clustering/searchClusterOrder.m | 2,564 | utf_8 | e8ce8804d0b9575a2138d12120d95103 | function [bestSeq, bestSeqFreq] = searchClusterOrder(events, links, params, varargin)
if nargin < 3; params = defaultParams; end;
params = processArgs(params,varargin{:});
% separate syllables into separate clusters,
% either clusters or number of possible clusters
distCutoff = 0.7;
clusterIdxs = cluster(links,'Cutof... |
github | BottjerLab/Acoustic_Similarity-master | DRclusterSaveOnDisk.m | .m | Acoustic_Similarity-master/code/clustering/DRclusterSaveOnDisk.m | 7,006 | utf_8 | a2131d36c3d9304df43541f319f31267 | function [clustIdxs, empMatricesFil, distMatricesFil, empDistrs] = ...
DRclusterSaveOnDisk(DRsylls, featureTable, spectra, params, varargin)
% we use this version of DRcluster if we have a large number of syllables
% (>5000) for memory constraints
% the two matrices are returned as files
timeFlag = ['T-' datestr(cl... |
github | BottjerLab/Acoustic_Similarity-master | similarityRegions.m | .m | Acoustic_Similarity-master/code/clustering/similarityRegions.m | 846 | utf_8 | a2fa57b6fa30d6e2a1c0dba7bd8209f3 | function sim = similarityRegions(songStruct, keyreg, otherRegs, noiseGate, params, varargin)
%% parameter handling
if nargin < 5; params = defaultParams; end
params = processArgs(params, varargin{:});
fs = 1/songStruct.interval;
%% preprocessing
% filter out noise first
[keyclip,keyspec] = cleanClip(keyreg);
for ii... |
github | BottjerLab/Acoustic_Similarity-master | drawClustersUpdated.m | .m | Acoustic_Similarity-master/code/clustering/drawClustersUpdated.m | 8,383 | utf_8 | 2a5608d992b05217c84073336bf22e21 | function drawClustersUpdated(birdID, age, params, varargin)
if nargin < 3 || isempty(params)
params = defaultParams;
end
params = processArgs(params, varargin{:});
dataDir = [pwd filesep 'data' filesep birdID filesep];
% clusterDir = ['data' filesep 'cluster-' birdID filesep];
% get sessions for a certain age
re... |
github | BottjerLab/Acoustic_Similarity-master | similarityScan.m | .m | Acoustic_Similarity-master/code/clustering/similarityScan.m | 2,368 | utf_8 | a3651e090a6d323689f5c986b206dc7f | function [covar, indivDists] = similarityScan(spectrum1, spectrum2, params, varargin)
%SIMILARITYSCAN Running, sample by sample scan of two spectral feature sets
% COVAR = similarityScan(SPECTRUM1, SPECTRUM2) returns the similarity of two
% sounds, sample by sample, according to the correlation found between
% thei... |
github | BottjerLab/Acoustic_Similarity-master | browseAndAccept.m | .m | Acoustic_Similarity-master/code/clustering/browseAndAccept.m | 18,753 | utf_8 | 621019bb5bcc42a29f290a11c46a03b1 | function [acceptedLabels, augmentedLabels] = browseAndAccept(birdID)
% interactive part of clustering post-machine step
% several prompts based on the output results from recalcClusters* family
%%
close all;
clusterDir = [pwd filesep 'data' filesep 'cluster-' birdID filesep];
dataDir = [pwd filesep 'data' filesep ... |
github | BottjerLab/Acoustic_Similarity-master | createAlphabet.m | .m | Acoustic_Similarity-master/code/clustering/createAlphabet.m | 2,178 | utf_8 | 36c3f166b9e69f24394fe2e97a135f24 | function [vocString, clusterIdxs] = createAlphabet(syllables, distMatrix, songStruct, params, varargin)
%CREATEALPHABET given distance matrix, cluster into groups
%
if nargin < 4 || isempty(params)
params = defaultParams;
end
params = processArgs(params,varargin{:});
fs = 1/songStruct.interval;
% cluster the syll... |
github | BottjerLab/Acoustic_Similarity-master | DRclusterMFCC.m | .m | Acoustic_Similarity-master/code/clustering/DRclusterMFCC.m | 6,385 | utf_8 | e15c7f427391ef218dcc74553dfe1444 | function [clustIdxs, empMatrices, distMatrices, empDistrs] = DRclusterMFCC(DRsylls, featureTable, spectra, params, varargin)
timeFlag = ['T-' datestr(clock, 'mm_dd_HH_MM')];
featuresCached = (nargin >= 2);
specsCached = (nargin >= 3);
if nargin < 4
params = defaultParams;
end
params = processArgs(params, va... |
github | BottjerLab/Acoustic_Similarity-master | getClipAndProcess.m | .m | Acoustic_Similarity-master/code/audioProc/getClipAndProcess.m | 4,796 | utf_8 | 30480d5c09cbb7de571c3d0a447cf8f6 | function [clip, fs] = getClipAndProcess(songStruct, region, params, varargin)
% GETCLIPANDPROCESS add pre/post roll, bandpass, and filter noise
%
% function clip = getClipAndProcess(songStruct, region, params) returns the
% clean clip belonging to a specific region, as preprocessed by the
% default params.
%
% ... |
github | BottjerLab/Acoustic_Similarity-master | checkForNoise.m | .m | Acoustic_Similarity-master/code/workflow/checkForNoise.m | 620 | utf_8 | e971738b1c5c8e7b18833aea214510e8 | for ii = 1:numel(qqq)
[newFeats,newSylls]=getFeatures(Lb277_3_27_4_Ch1,qqq(ii),noiseProfile,...
'plot',false,'verbose',true,'playsample',false);
if ~isempty(newFeats)
noisy = testIsNoise(forest, newFeats(1));
end
end
function isNoise = testIsNoise(Forest, featureStruct)
%% compile feature m... |
github | BottjerLab/Acoustic_Similarity-master | loadSessionDataFiles.m | .m | Acoustic_Similarity-master/code/workflow/loadSessionDataFiles.m | 3,278 | utf_8 | 552b52726f88b0358eba63af39b6071c | %startup a current session
function loadSessionDataFiles(session)
dataDir = 'data\';
%session = 'Lb277_3_27';
birdID = strtok(session, '_');
dataSubdir = [dataDir dataSubdir filesep];
% look at what files are there
dir([dataSubdir '*' session '*.mat']);
fil=[dataSubdir session '_voice.mat'];
if exist(fil,'file'), loa... |
github | BottjerLab/Acoustic_Similarity-master | examineClusterQuality.m | .m | Acoustic_Similarity-master/code/workflow/examineClusterQuality.m | 6,435 | utf_8 | 79b765aad674ddcef9542920f09210d6 | %function examineClusterFull(birdID, sessFilter)
function clustQuality = examineClusterQuality(birdID, ages)
% calculate the objective cluster quality for the given ages of a bird
% TODO: test rewrite - make objective cluster score
% get the files
clusterDir = [pwd filesep 'data' filesep 'cluster-' birdID filesep];
da... |
github | BottjerLab/Acoustic_Similarity-master | reportOnData.m | .m | Acoustic_Similarity-master/code/workflow/reportOnData.m | 8,565 | utf_8 | 0855589187bfce7342e1e3c70b7de51b | function database = reportOnData(birdIDs, sessions, params, varargin)
% reportOnData looks in the data folder and sees what is generated for what
% folder
% if birdIDs are provided, only looks at those birdIDs
% if sessions are provided, only looks at those sessions
% note: to clear old contents files, run clearSummar... |
github | BottjerLab/Acoustic_Similarity-master | examineClusterFull.m | .m | Acoustic_Similarity-master/code/workflow/examineClusterFull.m | 6,296 | utf_8 | de956fe651ecf344838022d04dae40fb | %function examineClusterFull(birdID, sessFilter)
function clustQuality = examineClusterFull(birdID, ages)
% get the objective cluster quality for the given ages of a bird
% TODO: test rewrite - make objective cluster score
% get the files
clusterDir = [pwd filesep 'data' filesep 'cluster-' birdID filesep];
dataDir ... |
github | BottjerLab/Acoustic_Similarity-master | getSpectrumStats.m | .m | Acoustic_Similarity-master/code/obsoleted/getSpectrumStats.m | 3,226 | utf_8 | 9acb25dde98de1dc0bc1056aa718a6c2 | function spectrumData = getSpectrumStats(sample, params)
% acquire spectrogram - TODO: use multitaper
% https://github.com/dmeliza/libtfr
winSS = floor(params.windowSize * params.fs/1000);
overlapSS = floor(params.nOverlap * params.fs/1000);
if ~isfield(params,'freqBands')
[spectrumData.spectrum, spectrumData.freqs... |
github | BottjerLab/Acoustic_Similarity-master | editEventsNoLabelOLD.m | .m | Acoustic_Similarity-master/code/obsoleted/editEventsNoLabelOLD.m | 10,197 | utf_8 | 99d7c2aaf98a6ba4f6f61bea18bafa43 | afunction evsNew = editEvents(evs)
% Prereqs: active figure/axes that are appropriate to have marks
% evs is properly sorted
% NB: for resizing to work properly, the axes property 'Units' should be
% normalized
% housekeeping, removing warning
RGBWarnID = 'MATLAB:hg:patch:RGBColorDataNotSupported';
warnState = warni... |
github | BottjerLab/Acoustic_Similarity-master | editEventsOLD.m | .m | Acoustic_Similarity-master/code/obsoleted/editEventsOLD.m | 10,556 | utf_8 | 06bb207d15179346d7118826aa157710 | function evsNew = editEvents(evs,fs)
% Prereqs: active figure/axes that are appropriate to have marks
% evs is properly sorted
% NB: for resizing to work properly, the axes property 'Units' should be
% normalized
% housekeeping, removing warning
RGBWarnID = 'MATLAB:hg:patch:RGBColorDataNotSupported';
warnState = war... |
github | BottjerLab/Acoustic_Similarity-master | constructBaselineJenny.m | .m | Acoustic_Similarity-master/code/obsoleted/constructBaselineJenny.m | 3,951 | utf_8 | 105d1cfdf33ca3dbb3d59d1efadcff2b | %removing baseline periods that overlap with events---Jenny
function baselineEvents = constructBaselineJenny(events, keyName, startOffsets, stopOffsets, params)
% does automatic exclusion
% startOffsets is 2 x 1 vector in seconds, and is SIGNED (to go backwards
% in time, go negative)
% stopOffsets is similar
% if we o... |
github | BottjerLab/Acoustic_Similarity-master | findSilence.m | .m | Acoustic_Similarity-master/code/segmentation/findSilence.m | 4,173 | utf_8 | 65b47ba2d9790e7aba6aa48812df90f6 | function [silentRegions, soundRegions, spectrum] = findSilence(songStruct, region, params, varargin)
% yet another segmentation method for detecting silence...
% slower than stepSpectrogram but tends to be more accurate
% not as accurate/slow as segmentSyllables, especially in finding boundaries
% (can be tuned in th... |
github | BottjerLab/Acoustic_Similarity-master | plotNeuronCorrDataPairs.m | .m | Acoustic_Similarity-master/code/plotting/plotNeuronCorrDataPairs.m | 27,362 | utf_8 | 1bbbea4ea958b442a35dcf226fae963e | function plotNeuronCorrData(allNeuronCorrData, params, varargin)
if nargin < 2 || isempty(params)
params = defaultParams;
end
params = processArgs(params, varargin{:});
% plot difference between firing rates for near tutor/far from tutor
% and also p-values for correlations between neurons and firing rates
% this... |
github | BottjerLab/Acoustic_Similarity-master | plotNeuronCorrDataVert.m | .m | Acoustic_Similarity-master/code/plotting/plotNeuronCorrDataVert.m | 9,117 | utf_8 | 36d30b062aeb58c51826251d08b27b1b | function plotNeuronCorrDataVert(params, varargin)
if nargin < 1 || isempty(params)
params = defaultParams;
end
params = processArgs(params, varargin{:});
% plot excited difference between firing rates for near tutor/far from tutor
% and also p-values for correlations between neurons and firing rates
allNeuronCorrD... |
github | BottjerLab/Acoustic_Similarity-master | plotPSTHOld.m | .m | Acoustic_Similarity-master/code/plotting/plotPSTHOld.m | 9,698 | utf_8 | 5ec4c7c774dbbb5c775903bcb0904f2d | function eventSpikeTimes = plotPSTHOld(events, spikeTimes, subEvents, labelsOfInterest, prePostParams)
% function plotPSTH(events, spikeTimes) plot time-warped rasters/PSTH
% TODO: revise/refactor this - too specific
%
% This function plots the raster and PSTH for each event. Spike times
% should be input uncorrected... |
github | BottjerLab/Acoustic_Similarity-master | plotAllFigures.m | .m | Acoustic_Similarity-master/code/plotting/plotAllFigures.m | 13,002 | utf_8 | f8ebba7b55bed1fb7bd5eaa079f21fb7 | function [hax, optGraphs, hfig] = plotAllFigures(spec, regions, params, varargin)
% PLOTALLFIGURES main plotting function
% plotAllFigures(spec) plots the waveform in parallel with audio features
% handling bad arguments
% (1) empty spectrogram
if isempty(spec)
hax = 0;
optGraphs = params.optGraphs;
... |
github | BottjerLab/Acoustic_Similarity-master | plotWaveform.m | .m | Acoustic_Similarity-master/code/plotting/plotWaveform.m | 2,453 | utf_8 | d3bade9bec54e936a5bd0b02de9ae59a | function hline = plotWaveform(clip, fs)
%PLOTWAVEFORM plots waveform in the window, with downsampling if necessary
len = length(clip);
xx = 1:len;
% Plots downsampled data. This has much faster response time. This is
% based on dsplot by Jiro Doke in file exchange.
% Find outliers
filterWidth = min([50, ceil(length(... |
github | BottjerLab/Acoustic_Similarity-master | plotEvent.m | .m | Acoustic_Similarity-master/code/plotting/plotEvent.m | 971 | utf_8 | 5fe64e798dff955eb8852350c57d55ca | function plotEvent(songStruct, ev, regions)
cl = getClip(ev, songStruct);
plot( (1:numel(cl)) * songStruct.interval, cl);
plotMarks(0.95)
function plotMarks(yc)
hold on;
if ~isempty(regions)
plot([regions.start],yc, 'cv',...
'MarkerFaceColor','c', 'MarkerSize', 5... |
github | BottjerLab/Acoustic_Similarity-master | plotFRERA.m | .m | Acoustic_Similarity-master/code/plotting/plotFRERA.m | 2,754 | utf_8 | a0fba374e90a98c7ad40a0648beddb91 | function plotFRERA(subset1, subset2, field, bins)
% plots a firing rate comparison
if ~isempty(subset1)
set1Hist = sum(horzcat(subset1.(field)),2)/length(subset1);
set1HistSem = std(horzcat(subset1.(field)),[],2)/sqrt(length(subset1));
plotLineTransparentSEM(bins(1:end-3), set1Hist, set1HistSem, [0.5... |
github | BottjerLab/Acoustic_Similarity-master | plotDerivGram.m | .m | Acoustic_Similarity-master/code/plotting/plotDerivGram.m | 1,212 | utf_8 | 55be1f678d3bab14683fd36a1e2f021c | function hs = plotDerivGram(spec, params, varargin)
if nargin < 2 || isempty(params)
params = defaultParams;
end
params = processArgs(params, varargin{:});
% arrange into log space
deps = params.dgram.minContrast;
lDeriv = spec.deriv;
lDeriv(abs(spec.deriv) < deps) = 0;
lDeriv(spec.deriv > deps) = -log(lDeriv(sp... |
github | BottjerLab/Acoustic_Similarity-master | plotNeuronCorrData.m | .m | Acoustic_Similarity-master/code/plotting/plotNeuronCorrData.m | 29,105 | utf_8 | b64a370a4d3b4143c844755b92c7984d | function plotNeuronCorrData(allNeuronCorrData, params, varargin)
if nargin < 2 || isempty(params)
params = defaultParams;
end
params = processArgs(params, varargin{:});
% plot difference between firing rates for near tutor/far from tutor
% and also p-values for correlations between neurons and firing rates
% this... |
github | BottjerLab/Acoustic_Similarity-master | plotAlignedPSTH.m | .m | Acoustic_Similarity-master/code/plotting/plotAlignedPSTH.m | 5,624 | utf_8 | ab6ae9432ab85c399e8892991cf10680 | function eventSpikeTimes = plotAlignedPSTH(events, spikeTimes, subEvents, labelsOfInterest)
% function plotAlignedPSTH(events, spikeTimes) plot time-warped rasters/PSTH
%
%
% spikeTimes is expected to be a raw array of spike times
if nargin < 3
subEvents = initEvents(1);
end
if nargin < 4
labelsOfInterest = {}... |
github | BottjerLab/Acoustic_Similarity-master | plotNeuronCorrDataNoCluster.m | .m | Acoustic_Similarity-master/code/plotting/plotNeuronCorrDataNoCluster.m | 27,240 | utf_8 | 854abe747d607ccc45ebd0bfeea55088 | function plotNeuronCorrDataNoCluster(allNeuronCorrData, params, varargin)
if nargin < 2 || isempty(params)
params = defaultParams;
end
params = processArgs(params, varargin{:});
% plot difference between firing rates for near tutor/far from tutor
% and also p-values for correlations between neurons and firing rate... |
github | BottjerLab/Acoustic_Similarity-master | mosaicDRSpec.m | .m | Acoustic_Similarity-master/code/plotting/mosaicDRSpec.m | 3,635 | utf_8 | 35303eb898e6dba8e08964640e85f3e2 | function [hf, hims] = mosaicDRSpec(DRevents, params, varargin)
hf = [];
if isempty(DRevents)
warning('mosaicDRspec:noClips', 'No clips input or maxLength is smaller than clip');
return;
end
if nargin < 2 || isempty(params)
params = defaultParams;
end
params = processArgs(params,varargin{:});
% make sure we o... |
github | BottjerLab/Acoustic_Similarity-master | editEventsLabel.m | .m | Acoustic_Similarity-master/code/plotting/editEventsLabel.m | 19,214 | utf_8 | 243ddcd2f4ac2fdfade6c2cc2032a578 | function evsNew = editEventsLabel(evs,fs,doLabel)
% EDITEVENTSLABEL(EVS)
% This function allows the user to edit event boundaries and labels.
%
% The function plots a set of gray patches over each event in the active
% figure. Usually a waveform or some other line plot pertaining to
% the signal should be behi... |
github | BottjerLab/Acoustic_Similarity-master | plotNeuronCorrDataBoxPlot.m | .m | Acoustic_Similarity-master/code/plotting/plotNeuronCorrDataBoxPlot.m | 10,340 | utf_8 | ac60482f5dcd5bdd9734c2fa9c47fa86 | function plotNeuronCorrData(params, varargin)
if nargin < 1 || isempty(params)
params = defaultParams;
end
params = processArgs(params, varargin{:});
% plot excited difference between firing rates for near tutor/far from tutor
% and also p-values for correlations between neurons and firing rates
allNeuronCorrData ... |
github | BottjerLab/Acoustic_Similarity-master | ksfitstat.m | .m | Acoustic_Similarity-master/code/metaAnalysis/ksfitstat.m | 793 | utf_8 | 9bea8df82fcafc068593eb078693ff26 | % fit syllable distributions
% based on veit/aronov/fee papers on breaths/etc
function [kstat, nIncluded, tPrime] = ksfitstat(X, fitRange)
% default? fitRange = [0.02 0.5]; % seconds
%warning('off', 'stats:lillietest:OutOfRangePLow');
MLEfunc = @(t, sampMean) t + fitRange(1) - sampMean - ...
(diff(fitRange) * exp... |
github | BottjerLab/Acoustic_Similarity-master | fitExponentialDuration.m | .m | Acoustic_Similarity-master/code/metaAnalysis/fitExponentialDuration.m | 5,287 | utf_8 | 3f37d7c17678f5d070489b56561fb55b | %% This script examines the syllable durations over sessions
function [kstatValues, ages] = fitExponentialDuration(birdID)
%birdID = 'Gy242';
report = reportOnData(birdID,'',[],'verbose',false);
% only look for sessions with approved syllables
nSessions = numel(report);
hasData = false(1,nSessions);
for ii = 1:nSessio... |
github | BottjerLab/Acoustic_Similarity-master | oversampleTest.m | .m | Acoustic_Similarity-master/code/metaAnalysis/oversampleTest.m | 2,319 | utf_8 | 86835abc58823a3ff01a7c733f84fe07 | %% This script examines the syllable durations over sessions
function [ksamples, sampNumbers] = oversampleTest(birdID, selAge)
%birdID = 'Gy242';
report = reportOnData(birdID,'',[],'verbose',false);
% only look for sessions with approved syllables
nSessions = numel(report);
hasData = false(1,nSessions);
for ii = 1:nSe... |
github | BottjerLab/Acoustic_Similarity-master | fitBimodalDuration.m | .m | Acoustic_Similarity-master/code/metaAnalysis/fitBimodalDuration.m | 3,365 | utf_8 | 663c9211895a201f0fdc7878d1b6db72 | %% This script examines the syllable durations over sessions
function [peakSize, ages, fitQ] = fitBimodalDuration(birdID)
%birdID = 'Gy242';
report = reportOnData(birdID,'',[],'verbose',false);
% only look for sessions with approved syllables
nSessions = numel(report);
hasData = false(1,nSessions);
for ii = 1:nSession... |
github | BottjerLab/Acoustic_Similarity-master | nm_inputdlg.m | .m | Acoustic_Similarity-master/code/interactive/nm_inputdlg.m | 12,683 | utf_8 | 0479860aeaed1cdb423e50e732f1bb77 | function Answer=nm_inputdlg(Prompt, Title, NumLines, DefAns, Resize)
%INPUTDLG Input dialog box.
% ANSWER = INPUTDLG(PROMPT) creates a modal dialog box that returns user
% input for multiple prompts in the cell array ANSWER. PROMPT is a cell
% array containing the PROMPT strings.
%
% INPUTDLG uses UIWAIT to suspend... |
github | BottjerLab/Acoustic_Similarity-master | nm_listdlg.m | .m | Acoustic_Similarity-master/code/interactive/nm_listdlg.m | 8,294 | utf_8 | 54b220d4944ea9e2e83a641976b6b6f7 | function [selection,value] = nm_listdlg(varargin)
%LISTDLG List selection dialog box.
% [SELECTION,OK] = LISTDLG('ListString',S) creates a modal dialog box
% which allows you to select a string or multiple strings from a list.
% SELECTION is a vector of indices of the selected strings (length 1 in
% the single... |
github | BottjerLab/Acoustic_Similarity-master | editEventsLabel.m | .m | Acoustic_Similarity-master/code/interactive/editEventsLabel.m | 21,267 | utf_8 | 2b2164914a00e4013ae1608717b153fb | function evsNew = editEventsLabel(evs,fs,doLabel)
% EDITEVENTSLABEL(EVS)
% This function allows the user to edit event boundaries and labels.
%
% The function plots a set of gray patches over each event in the active
% figure. Usually a waveform or some other line plot pertaining to
% the signal should be behi... |
github | BottjerLab/Acoustic_Similarity-master | uigetfile_deprecated.m | .m | Acoustic_Similarity-master/code/interactive/private/uigetfile_deprecated.m | 39,745 | utf_8 | 4a87e0c1ae0cc528d4f96bb00362a730 | function [filename, pathname, filterindex] = uigetfile_deprecated(varargin)
% Copyright 1984-2012 The MathWorks, Inc.
% $Revision: 1.1.6.11 $ $Date: 2012/07/05 16:48:22 $
% Built-in function.
%%%%%%%%%%%%%%%%
% Error messages
%%%%%%%%%%%%%%%%
badLocMessage = 'The Location parameter value must be a 2 eleme... |
github | BottjerLab/Acoustic_Similarity-master | removeJavaCallbacks.m | .m | Acoustic_Similarity-master/code/interactive/private/removeJavaCallbacks.m | 1,211 | utf_8 | 9275dd0972c0c82aabff1abd170e22f5 | % Copyright 2011 The MathWorks, Inc.
% This function is for internal use and will change in a future release
%-----------------------------------------------------
% We are giving ourselves a hook to run resource cleanup functions
% like freeing up callbacks. This is important for uitree because
% the expand and s... |
github | BottjerLab/Acoustic_Similarity-master | uisetcolor_helper.m | .m | Acoustic_Similarity-master/code/interactive/private/uisetcolor_helper.m | 2,450 | utf_8 | 3198fc328516b1eb1e94d7d5383ec49f | function selectedColor = uisetcolor_helper(varargin)
% Copyright 2007-2010 The MathWorks, Inc.
% $Revision: 1.1.6.9 $ $Date: 2011/09/23 19:13:38 $
[rgbColorVector,title,fhandle] = parseArgs(varargin{:});
ccDialog = matlab.ui.internal.dialog.ColorChooser;
ccDialog.Title = title;
if ~isempty(rgbColorVector)
ccD... |
github | BottjerLab/Acoustic_Similarity-master | javaaddlistener.m | .m | Acoustic_Similarity-master/code/interactive/private/javaaddlistener.m | 1,648 | utf_8 | b588fa2b4b900654813b0c5e822813c7 | function hdl=javaaddlistener(jobj, eventName, response)
% ADDLISTENER Add a listener to a Java object.
%
% L=ADDLISTENER(JObject, EventName, Callback)
% Adds a listener to the specified Java object for the given
% event name. The listener will stop firing when the return
% value L goes out of scope.
%
% ADDLISTEN... |
github | BottjerLab/Acoustic_Similarity-master | uitable_deprecated.m | .m | Acoustic_Similarity-master/code/interactive/private/uitable_deprecated.m | 7,741 | utf_8 | d10f44f75391f13c0bddf79d7d3ee0a3 | function [table, container] = uitable_deprecated(varargin)
% This function is undocumented and has been replaced
% See also UITABLE
% Copyright 2002-2012 The MathWorks, Inc.
% $Revision: 1.1.6.9 $ $Date: 2012/07/05 16:48:24 $
% Warn that this old code path is no longer supported.
warn = warning('query', 'MATLAB:... |
github | BottjerLab/Acoustic_Similarity-master | uitree_deprecated.m | .m | Acoustic_Similarity-master/code/interactive/private/uitree_deprecated.m | 7,914 | utf_8 | 6958f7f99706f031c84da06056614a35 | function [tree, container] = uitree_deprecated(varargin)
% This function is undocumented and will change in a future release
% Copyright 2003-2012 The MathWorks, Inc.
% Release: R14. This feature will not work in previous versions of MATLAB.
% Warn that this old code path is no longer supported.
warn = warning('... |
github | BottjerLab/Acoustic_Similarity-master | uisetcolor_deprecated.m | .m | Acoustic_Similarity-master/code/interactive/private/uisetcolor_deprecated.m | 14,563 | utf_8 | b29ebe5b5c83b36a119bca02eb0be77f | function [selectedColor] = uisetcolor_deprecated(varargin)
% Copyright 1984-2010 The MathWorks, Inc.
% $Revision: 1.1.6.9 $ $Date: 2011/03/09 07:07:39 $
%%%%%%%%%%%%%%%%
% Error messages
%%%%%%%%%%%%%%%%
%bad1ArgMessage = 'First of two args cannot be a string' ;
bad2ArgMessage = 'Second argument (dialo... |
github | BottjerLab/Acoustic_Similarity-master | javacomponentundoc_helper.m | .m | Acoustic_Similarity-master/code/interactive/private/javacomponentundoc_helper.m | 20,472 | utf_8 | 1d9e111d2f81fc5e516d0bfa653fae2f | function [hcomponent, hcontainer] = javacomponentundoc_helper(varargin)
% Copyright 2010-2012 The MathWorks, Inc.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Old javacomponent implementation.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
if (nargin>=1)
com... |
github | BottjerLab/Acoustic_Similarity-master | uigetdir_deprecated.m | .m | Acoustic_Similarity-master/code/interactive/private/uigetdir_deprecated.m | 10,331 | utf_8 | a785775f5575f2c0d602724694ad0687 | function [directoryname] = uigetdir_deprecated(varargin)
% $Revision: 1.1.6.7 $ $Date: 2010/07/02 16:17:19 $
% Copyright 2006-2010 The MathWorks, Inc.
%UIGETDIR Standard open directory dialog box
% DIRECTORYNAME = UIGETDIR(STARTPATH, TITLE)
% displays a dialog box for the user to browse through the directory
% s... |
github | BottjerLab/Acoustic_Similarity-master | uisetfont_helper.m | .m | Acoustic_Similarity-master/code/interactive/private/uisetfont_helper.m | 2,310 | utf_8 | 6541f09d1a3b5296c8b737665e6b6beb | function fontstruct = uisetfont_helper(varargin)
% Copyright 2007-2008 The MathWorks, Inc.
% $Revision: 1.1.8.10 $ $Date: 2011/09/08 23:36:53 $
[fontstruct,title,fhandle] = parseArgs(varargin{:});
fcDialog = matlab.ui.internal.dialog.FontChooser;
fcDialog.Title = title;
if ~isempty(fontstruct)
fcDialog.Initia... |
github | BottjerLab/Acoustic_Similarity-master | uisetfont_deprecated.m | .m | Acoustic_Similarity-master/code/interactive/private/uisetfont_deprecated.m | 15,770 | utf_8 | beff9a38d9734c348ddc6ef7fc211731 | function [fontStruct] = uisetfont_deprecated(varargin)
% Copyright 1984-2010 The MathWorks, Inc.
% $Revision: 1.1.8.6 $ $Date: 2010/07/02 16:17:24 $
%%%%%%%%%%%%%%%%
% Error Messages
%%%%%%%%%%%%%%%%
badNumArgsMessage = 'Too many input arguments.' ;
badObjTypeMessage1 = 'Font selection is not supported for ';
b... |
github | BottjerLab/Acoustic_Similarity-master | uiputfile_deprecated.m | .m | Acoustic_Similarity-master/code/interactive/private/uiputfile_deprecated.m | 41,884 | utf_8 | c7e9f70a660e10105e4c07ebca2d2900 | function [filename, pathname, filterindex] = uiputfile_deprecated(varargin)
% $Revision: 1.1.6.11 $ $Date: 2011/09/23 19:13:36 $
% Copyright 2006-2011 The MathWorks, Inc.
%UIPUTFILE Standard save file dialog box.
% [FILENAME, PATHNAME, FILTERINDEX] = UIPUTFILE(FILTERSPEC, TITLE)
% displays a dialog box for the ... |
github | BottjerLab/Acoustic_Similarity-master | prefutils.m | .m | Acoustic_Similarity-master/code/interactive/private/prefutils.m | 3,035 | utf_8 | 77563c8b2ed8cde2667908a0fdf1a29e | function varargout = prefutils(varargin)
% PREFUTILS Utilities used by set/get/is/add/rmpref
% $Revision: 1.7.4.3 $ $Date: 2011/03/09 07:07:28 $
% Copyright 1984-2005 The MathWorks, Inc.
% Switchyard: call the subfunction named by the first input
% argument, passing it the remaning input arguments, and returnin... |
github | BottjerLab/Acoustic_Similarity-master | chkmem.m | .m | Acoustic_Similarity-master/code/fileExchange/chkmem.m | 8,064 | utf_8 | cdbeeb4199d2ee2ca04d008c7a5de7be | function chkmem
% CHKMEM
% This utility measures the size of the largest contiguous block of virtual
% memory available to MATLAB, then recommends solutions to increase its
% size should it be smaller than typical. This is only for the diagnosis of
% memory fragmentation problems just after MATLAB startup.
%
% The reco... |
github | BottjerLab/Acoustic_Similarity-master | xlswrite1.m | .m | Acoustic_Similarity-master/code/fileExchange/xlswrite1.m | 10,438 | utf_8 | ef574cfee4f63e3d03d942a2194061cc | function xlswrite1(file,data,sheet,range)
Excel=evalin('base','Excel');
% Set default values.
Sheet1 = 1;
if nargin < 3
sheet = Sheet1;
range = '';
elseif nargin < 4
range = '';
end
if nargout > 0
success = true;
message = struct('message',{''},'identifier',{''});
end
% Handle input.
try
% ha... |
github | BottjerLab/Acoustic_Similarity-master | pdftops.m | .m | Acoustic_Similarity-master/code/fileExchange/export_fig/pdftops.m | 2,962 | utf_8 | fc695d9dae7025244e0f02be5116be46 | 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 future refere... |
github | BottjerLab/Acoustic_Similarity-master | isolate_axes.m | .m | Acoustic_Similarity-master/code/fileExchange/export_fig/isolate_axes.m | 3,447 | utf_8 | c6ed56010868279f32b86dfa9815d524 | %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 the same f... |
github | BottjerLab/Acoustic_Similarity-master | pdf2eps.m | .m | Acoustic_Similarity-master/code/fileExchange/export_fig/pdf2eps.m | 1,473 | utf_8 | cb8bb442a3d65a64025c32693704d89e | %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.com/xpdf ... |
github | BottjerLab/Acoustic_Similarity-master | print2array.m | .m | Acoustic_Similarity-master/code/fileExchange/export_fig/print2array.m | 6,276 | utf_8 | 259fd52e4431efae4d76ca22d1d8dac8 | %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 figure, at t... |
github | BottjerLab/Acoustic_Similarity-master | eps2pdf.m | .m | Acoustic_Similarity-master/code/fileExchange/export_fig/eps2pdf.m | 5,017 | utf_8 | bc81caea32035f06d8cb08ea1ccdc81f | %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 to pdf f... |
github | BottjerLab/Acoustic_Similarity-master | copyfig.m | .m | Acoustic_Similarity-master/code/fileExchange/export_fig/copyfig.m | 814 | utf_8 | 1844a9d51dbe52ce3927c9eac5ee672e | %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: gcf.
%
% OU... |
github | BottjerLab/Acoustic_Similarity-master | user_string.m | .m | Acoustic_Similarity-master/code/fileExchange/export_fig/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 | BottjerLab/Acoustic_Similarity-master | export_fig.m | .m | Acoustic_Similarity-master/code/fileExchange/export_fig/export_fig.m | 29,671 | utf_8 | c5d72abc2018b55d22123e68214518e4 | %EXPORT_FIG Exports figures suitable for publication
% NB: patch objects have to be independently exported - in the future,
% write a function that programatically extracts them
% Examples:
% im = export_fig
% [im alpha] = export_fig
% export_fig filename
% export_fig filename -format1 -format2
% export_fig ... |
github | BottjerLab/Acoustic_Similarity-master | ghostscript.m | .m | Acoustic_Similarity-master/code/fileExchange/export_fig/ghostscript.m | 4,505 | utf_8 | 18a672bb6982a1fbc6b21b3ab52b0fc9 | %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.
%
% Once ... |
github | BottjerLab/Acoustic_Similarity-master | freezeColors.m | .m | Acoustic_Similarity-master/code/fileExchange/freezeColors/freezeColors.m | 9,815 | utf_8 | 2068d7a4f7a74d251e2519c4c5c1c171 | function freezeColors(varargin)
% freezeColors Lock colors of plot, enabling multiple colormaps per figure. (v2.3)
%
% Problem: There is only one colormap per figure. This function provides
% an easy solution when plots using different colomaps are desired
% in the same figure.
%
% freezeColors freeze... |
github | BottjerLab/Acoustic_Similarity-master | ModestAdaBoost.m | .m | Acoustic_Similarity-master/code/fileExchange/boosting/ModestAdaBoost.m | 3,156 | utf_8 | c030e77a7bae187a1e6fd5ec623874eb | % The algorithms developed and implemented by Alexander Vezhnevets aka Vezhnick
% <a>href="mailto:vezhnick@gmail.com">vezhnick@gmail.com</a>
%
% Copyright (C) 2005, Vezhnevets Alexander
% vezhnick@gmail.com
%
% This file is part of GML Matlab Toolbox
% For conditions of distribution and use, see the acco... |
github | BottjerLab/Acoustic_Similarity-master | RealAdaBoost.m | .m | Acoustic_Similarity-master/code/fileExchange/boosting/RealAdaBoost.m | 2,840 | utf_8 | 2666cf47840c3fe72ded547d5b355335 | % The algorithms implemented by Alexander Vezhnevets aka Vezhnick
% <a>href="mailto:vezhnick@gmail.com">vezhnick@gmail.com</a>
%
% Copyright (C) 2005, Vezhnevets Alexander
% vezhnick@gmail.com
%
% This file is part of GML Matlab Toolbox
% For conditions of distribution and use, see the accompanying Licen... |
github | BottjerLab/Acoustic_Similarity-master | GentleAdaBoost.m | .m | Acoustic_Similarity-master/code/fileExchange/boosting/GentleAdaBoost.m | 2,913 | utf_8 | f5ca8646cb65ff5571b95135827f14b3 | % The algorithms implemented by Alexander Vezhnevets aka Vezhnick
% <a>href="mailto:vezhnick@gmail.com">vezhnick@gmail.com</a>
%
% Copyright (C) 2005, Vezhnevets Alexander
% vezhnick@gmail.com
%
% This file is part of GML Matlab Toolbox
% For conditions of distribution and use, see the accompanying Licen... |
github | BottjerLab/Acoustic_Similarity-master | Classify.m | .m | Acoustic_Similarity-master/code/fileExchange/boosting/Classify.m | 1,238 | utf_8 | ceb50fd41859da083c242df1896f71d9 | % The algorithms implemented by Alexander Vezhnevets aka Vezhnick
% <a>href="mailto:vezhnick@gmail.com">vezhnick@gmail.com</a>
%
% Copyright (C) 2005, Vezhnevets Alexander
% vezhnick@gmail.com
%
% This file is part of GML Matlab Toolbox
% For conditions of distribution and use, see the accompanying Licen... |
github | BottjerLab/Acoustic_Similarity-master | TranslateToC.m | .m | Acoustic_Similarity-master/code/fileExchange/boosting/TranslateToC.m | 1,339 | utf_8 | 92e85b9a48079bf98fdb8f3d00a7fecf | % The algorithms implemented by Alexander Vezhnevets aka Vezhnick
% <a>href="mailto:vezhnick@gmail.com">vezhnick@gmail.com</a>
%
% Copyright (C) 2005, Vezhnevets Alexander
% vezhnick@gmail.com
%
% This file is part of GML Matlab Toolbox
% For conditions of distribution and use, see the accompanying Licen... |
github | BottjerLab/Acoustic_Similarity-master | get_threshold_and_dim.m | .m | Acoustic_Similarity-master/code/fileExchange/boosting/@stump_w/get_threshold_and_dim.m | 427 | utf_8 | 786dd5f266e245d713c0e55ea0fd3878 | % The algorithms implemented by Alexander Vezhnevets aka Vezhnick
% <a>href="mailto:vezhnick@gmail.com">vezhnick@gmail.com</a>
%
% Copyright (C) 2005, Vezhnevets Alexander
% vezhnick@gmail.com
%
% This file is part of GML Matlab Toolbox
% For conditions of distribution and use, see the accompanying Licen... |
github | BottjerLab/Acoustic_Similarity-master | stump_w.m | .m | Acoustic_Similarity-master/code/fileExchange/boosting/@stump_w/stump_w.m | 512 | utf_8 | 12cee278ab5b85d39a91ec8a6e578e65 | % The algorithms implemented by Alexander Vezhnevets aka Vezhnick
% <a>href="mailto:vezhnick@gmail.com">vezhnick@gmail.com</a>
%
% Copyright (C) 2005, Vezhnevets Alexander
% vezhnick@gmail.com
%
% This file is part of GML Matlab Toolbox
% For conditions of distribution and use, see the accompanying Licen... |
github | BottjerLab/Acoustic_Similarity-master | calc_output.m | .m | Acoustic_Similarity-master/code/fileExchange/boosting/@stump_w/calc_output.m | 500 | utf_8 | 1f8a7dbbe5dca5881c29affef02ecdd9 | % The algorithms implemented by Alexander Vezhnevets aka Vezhnick
% <a>href="mailto:vezhnick@gmail.com">vezhnick@gmail.com</a>
%
% Copyright (C) 2005, Vezhnevets Alexander
% vezhnick@gmail.com
%
% This file is part of GML Matlab Toolbox
% For conditions of distribution and use, see the accompanying Licen... |
github | BottjerLab/Acoustic_Similarity-master | do_learn_nu.m | .m | Acoustic_Similarity-master/code/fileExchange/boosting/@stump_w/do_learn_nu.m | 2,648 | utf_8 | a07989e9cb721ab7c2cad9e2629dac17 | % The algorithms implemented by Alexander Vezhnevets aka Vezhnick
% <a>href="mailto:vezhnick@gmail.com">vezhnick@gmail.com</a>
%
% Copyright (C) 2005, Vezhnevets Alexander
% vezhnick@gmail.com
%
% This file is part of GML Matlab Toolbox
% For conditions of distribution and use, see the accompanying Licen... |
github | BottjerLab/Acoustic_Similarity-master | get_dim_and_tr.m | .m | Acoustic_Similarity-master/code/fileExchange/boosting/@tree_node_w/get_dim_and_tr.m | 1,905 | utf_8 | 128d5e5a782cf045502564dba3c897eb | % The algorithms implemented by Alexander Vezhnevets aka Vezhnick
% <a>href="mailto:vezhnick@gmail.com">vezhnick@gmail.com</a>
%
% Copyright (C) 2005, Vezhnevets Alexander
% vezhnick@gmail.com
%
% This file is part of GML Matlab Toolbox
% For conditions of distribution and use, see the accompanying Licen... |
github | BottjerLab/Acoustic_Similarity-master | calc_output.m | .m | Acoustic_Similarity-master/code/fileExchange/boosting/@tree_node_w/calc_output.m | 1,236 | utf_8 | 87fb96d3f77a0ac11a5430a6a3883aa6 | % The algorithms implemented by Alexander Vezhnevets aka Vezhnick
% <a>href="mailto:vezhnick@gmail.com">vezhnick@gmail.com</a>
%
% Copyright (C) 2005, Vezhnevets Alexander
% vezhnick@gmail.com
%
% This file is part of GML Matlab Toolbox
% For conditions of distribution and use, see the accompanying Licen... |
github | BottjerLab/Acoustic_Similarity-master | do_learn_nu.m | .m | Acoustic_Similarity-master/code/fileExchange/boosting/@tree_node_w/do_learn_nu.m | 4,266 | utf_8 | 5be6c419f73699a7df841d2736111631 | % The algorithms implemented by Alexander Vezhnevets aka Vezhnick
% <a>href="mailto:vezhnick@gmail.com">vezhnick@gmail.com</a>
%
% Copyright (C) 2005, Vezhnevets Alexander
% vezhnick@gmail.com
%
% This file is part of GML Matlab Toolbox
% For conditions of distribution and use, see the accompanying Licen... |
github | BottjerLab/Acoustic_Similarity-master | train.m | .m | Acoustic_Similarity-master/code/fileExchange/boosting/@tree_node_w/train.m | 3,474 | utf_8 | 4612a951935a7047eb5e580691cb7d0b | % The algorithms implemented by Alexander Vezhnevets aka Vezhnick
% <a>href="mailto:vezhnick@gmail.com">vezhnick@gmail.com</a>
%
% Copyright (C) 2005, Vezhnevets Alexander
% vezhnick@gmail.com
%
% This file is part of GML Matlab Toolbox
% For conditions of distribution and use, see the accompanying Licen... |
github | BottjerLab/Acoustic_Similarity-master | crossvalidation.m | .m | Acoustic_Similarity-master/code/fileExchange/boosting/@crossvalidation/crossvalidation.m | 967 | utf_8 | 5885782c13c91dcbd80398a1bc3bc552 | % The algorithms implemented by Alexander Vezhnevets aka Vezhnick
% <a>href="mailto:vezhnick@gmail.com">vezhnick@gmail.com</a>
%
% Copyright (C) 2005, Vezhnevets Alexander
% vezhnick@gmail.com
%
% This file is part of GML Matlab Toolbox
% For conditions of distribution and use, see the accompanying Licen... |
github | BottjerLab/Acoustic_Similarity-master | CatFold.m | .m | Acoustic_Similarity-master/code/fileExchange/boosting/@crossvalidation/CatFold.m | 1,132 | utf_8 | 14bc637af960adb6280c6916fb2cb3fd | % The algorithms implemented by Alexander Vezhnevets aka Vezhnick
% <a>href="mailto:vezhnick@gmail.com">vezhnick@gmail.com</a>
%
% Copyright (C) 2005, Vezhnevets Alexander
% vezhnick@gmail.com
%
% This file is part of GML Matlab Toolbox
% For conditions of distribution and use, see the accompanying Licen... |
github | BottjerLab/Acoustic_Similarity-master | Initialize.m | .m | Acoustic_Similarity-master/code/fileExchange/boosting/@crossvalidation/Initialize.m | 2,347 | utf_8 | b3501dc177ff753b917d1f464e85f1e2 | % The algorithms implemented by Alexander Vezhnevets aka Vezhnick
% <a>href="mailto:vezhnick@gmail.com">vezhnick@gmail.com</a>
%
% Copyright (C) 2005, Vezhnevets Alexander
% vezhnick@gmail.com
%
% This file is part of GML Matlab Toolbox
% For conditions of distribution and use, see the accompanying Licen... |
github | BottjerLab/Acoustic_Similarity-master | GetFold.m | .m | Acoustic_Similarity-master/code/fileExchange/boosting/@crossvalidation/GetFold.m | 976 | utf_8 | a33135611bfd93f1eca9ba3999e2d7b0 | % The algorithms implemented by Alexander Vezhnevets aka Vezhnick
% <a>href="mailto:vezhnick@gmail.com">vezhnick@gmail.com</a>
%
% Copyright (C) 2005, Vezhnevets Alexander
% vezhnick@gmail.com
%
% This file is part of GML Matlab Toolbox
% For conditions of distribution and use, see the accompanying Licen... |
github | BottjerLab/Acoustic_Similarity-master | progressbar.m | .m | Acoustic_Similarity-master/code/fileExchange/progressbar/progressbar.m | 11,767 | utf_8 | 06705e480618e134da62478338e8251c | function progressbar(varargin)
% Description:
% progressbar() provides an indication of the progress of some task using
% graphics and text. Calling progressbar repeatedly will update the figure and
% automatically estimate the amount of time remaining.
% This implementation of progressbar is intended to be extreme... |
github | BottjerLab/Acoustic_Similarity-master | yin2.m | .m | Acoustic_Similarity-master/code/fileExchange/yin/junk/yin2.m | 2,235 | utf_8 | b91a6e57061458dd6bd01fc6a7162a27 | function r=yin2(p,fileinfo)
% YIN2 - fundamental frequency estimator
% new version (feb 2003)
%
%
% process signal a chunk at a time
idx=0;
totalhops=round(fileinfo.nsamples / p.hop);
r1=nan*zeros(1,totalhops);r2=nan*zeros(1,totalhops);
r3=nan*zeros(1,totalhops);r4=nan*zeros(1,totalhops);
idx2=0+round(p.wsize/2/p.ho... |
github | BottjerLab/Acoustic_Similarity-master | yink.m | .m | Acoustic_Similarity-master/code/fileExchange/yin/private/yink.m | 3,440 | utf_8 | 77a95ea21aeeda525ec337a2f6545d95 | function r=yink(p,fileinfo)
% YINK - fundamental frequency estimator
% new version (feb 2003)
%
%
%global jj;
%jj=0;
% process signal a chunk at a time
idx=p.range(1)-1;
totalhops=round((p.range(2)-p.range(1)+1) / p.hop);
r1=nan*zeros(1,totalhops);r2=nan*zeros(1,totalhops);
r3=nan*zeros(1,totalhops);r4=nan*zeros(1,to... |
github | BottjerLab/Acoustic_Similarity-master | anova2rm_cell.m | .m | Acoustic_Similarity-master/code/fileExchange/resampling_statistical_toolkit/statistics/anova2rm_cell.m | 6,774 | utf_8 | 37ad08d0dfb97a5ae59971a6becc90b7 | % anova2rm_cell() - compute F-values in cell array using repeated measure
% ANOVA.
%
% Usage:
% >> [FC FR FI dfc dfr dfi] = anova2rm_cell( data );
%
% Inputs:
% data = data consisting of PAIRED arrays to be compared. The last
% dimension of the data array is used to comput... |
github | BottjerLab/Acoustic_Similarity-master | statcond.m | .m | Acoustic_Similarity-master/code/fileExchange/resampling_statistical_toolkit/statistics/statcond.m | 22,523 | utf_8 | 4da6856416931e3152c3292a592259a0 | % statcond() - compare two or more data conditions statistically using
% standard parametric or nonparametric permutation-based ANOVA
% (1-way or 2-way) or t-test methods. Parametric testing uses
% fcdf() from the Matlab Statistical Toolbox. Use of up to
% 4-... |
github | BottjerLab/Acoustic_Similarity-master | anova1rm_cell.m | .m | Acoustic_Similarity-master/code/fileExchange/resampling_statistical_toolkit/statistics/anova1rm_cell.m | 4,008 | utf_8 | 6d041396c55955b021a3bd629387ab33 | % anova1rm_cell() - compute F-values in cell array using repeated measure
% ANOVA.
%
% Usage:
% >> [FC dfc] = anova2rm_cell( data );
%
% Inputs:
% data = data consisting of PAIRED arrays to be compared. The last
% dimension of the data array is used to compute ANOVA.
% Out... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.