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 | hsw28/data_analysis-master | Browse.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Plot/Browse.m | 12,219 | iso_8859_13 | 0fac0cc58dccbb37fae2b0c8f7789fa4 | %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
% Browse('off') % disable browsi... |
github | hsw28/data_analysis-master | PlotDistribution2.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Plot/PlotDistribution2.m | 5,142 | iso_8859_13 | 646d108713d993e3994df0155f14d109 | %PlotDistribution2 - Plot bivariate data along with respective distributions.
%
% USAGE
%
% PlotDistribution2(var1,var2,<options>)
%
% Using cell arrays will overlay variable pairs.
%
% var1 variable 1
% var2 variable 2
% <options> optional list of property-value pairs (see tabl... |
github | hsw28/data_analysis-master | clim.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Plot/clim.m | 542 | iso_8859_13 | a3ff3fccd931517d063a08b11abc65fa | %clim - Get or set color scaling limits for current axes.
%
% USAGE
%
% clims = clim
% clim([c0 c1])
%
% c0, c1 scaling minimum and maximum
% Copyright (C) 2009 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 L... |
github | hsw28/data_analysis-master | PlotPhasePrecession.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Plot/PlotPhasePrecession.m | 4,295 | iso_8859_13 | a61e3ab2120885799c3b2a3cf9803e83 | %PlotPhasePrecession - Plot phase precession plots and maps.
%
% USAGE
%
% PlotPhasePrecession(data,<options>,<options2>)
%
% data phase precession data obtained using <a href="matlab:help PhasePrecession">PhasePrecession</a>
% <options> optional list of property-value pairs (see table below)
%... |
github | hsw28/data_analysis-master | PlotSync.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Plot/PlotSync.m | 3,824 | iso_8859_13 | ce2504cf8a9f7cc419a93c2d20145b38 | %PlotSync - Plot successive occurrences of a multidimensional variable.
%
% Plot resynchronized samples such as spike rasters or successive evoked
% potentials.
%
% USAGE
%
% PlotSync(synchronized,indices,<options>)
%
% synchronized synchronized samples (obtained using <a href="matlab:help Sync">Sync</a>)
% ... |
github | hsw28/data_analysis-master | Bright.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Plot/Bright.m | 2,284 | iso_8859_13 | f5cbc48e6cbd08d3d3835bc519dc5f3e | %Bright - Bright colormap (similar to HSV or JET, but brighter).
%
% USAGE
%
% m = Bright(n,<options>)
%
% n optional number of rows in output matrix (default = 100)
% <options> optional list of property-value pairs (see table below)
%
% ===================================================... |
github | hsw28/data_analysis-master | PlotSamples.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Plot/PlotSamples.m | 2,459 | iso_8859_13 | 5ff4a7f7de7ace4c1638af0a9c67b397 | %PlotSamples - Plot samples (multiple time series).
%
% Plot columns 2...M of a matrix as a function of its first column.
%
% USAGE
%
% p = PlotSamples(X,<options>,<options2>)
%
% X list of (t,x1,x2...xN) data to plot (N variables)
% <options> optional list of property-value pairs (see table... |
github | hsw28/data_analysis-master | Insets.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Plot/Insets.m | 4,371 | iso_8859_13 | ab8d57073c88a02f40482436c75ebea1 | %Insets - Create insets in current axes.
%
% Create insets (= small figures) in current axes. Insets are laid out side
% by side from left to right. The number of insets is determined by the
% number of output parameters.
%
% USAGE
%
% [a,b,...] = Insets(location,size,<options>)
%
% location 'topleft', ... |
github | hsw28/data_analysis-master | UIAddLine.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Plot/UIAddLine.m | 996 | iso_8859_13 | 4227bcec110b0ed9ebc14e5fbae419be | %UIAddLine - Interactively add horizontal/vertical line to existing plot.
%
% USAGE
%
% line = UIAddLine(dir,<options>)
%
% dir 'v' for vertical, 'h' for horizontal
% <options> options for function <a href="matlab:help plot">plot</a>
%
% NOTE
%
% Click where the line should appear, then hi... |
github | hsw28/data_analysis-master | Subpanel.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Plot/Subpanel.m | 2,384 | iso_8859_13 | 6465f7540c331f1ec5f51eb48e0a670d | %Subpanel - Add an (invisible) panel container to a figure.
%
% USAGE
%
% h = Subpanel(m,n,p,<options>)
%
% m,n,p panel position as in <a href="matlab:help subplot">subplot</a>
% <options> optional list of property-value pairs (see table below)
%
% ============================================... |
github | hsw28/data_analysis-master | PlotRippleStats.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Plot/PlotRippleStats.m | 11,661 | iso_8859_13 | bacd4ec96aa751fb0810fcbf4a33c4f1 | %PlotRippleStats - Plot descriptive stats for ripples (100~200Hz oscillations).
%
% USAGE
%
% PlotRippleStats(ripples,maps,data,stats,<options>)
%
% Use the ouputs of <a href="matlab:help RippleStats">RippleStats</a> as input parameters. Using cell arrays of
% repeated measures will yield pairwise statistics.... |
github | hsw28/data_analysis-master | PlotSlope.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Plot/PlotSlope.m | 870 | iso_8859_13 | 200fcddf1840aa71a25a7b20c2396974 | %PlotSlope - Plot line with given slope.
%
% USAGE
%
% p = PlotSlope(x,y,slope,len,options)
%
% slope line slope
% x,y coordinates of central point
% len segment length along the x axis
% options line and color specification (see <a href="matlab:help plot">plot</a>)... |
github | hsw28/data_analysis-master | PlotPopEPSP.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Plot/PlotPopEPSP.m | 14,639 | iso_8859_13 | 24eba797e12d40f6a20bb0924aa63e48 | %PlotPopEPSP - Plot population EPSPs (waveforms, slope, amplitude) across time.
%
% Slope is determined as the maximum slope during the time window around stimulation.
% Amplitude is determined as the maximum amplitude during the same time window.
%
% USAGE
%
% stats = PlotPopEPSP(stims,lfp,<options>)
%
% stim... |
github | hsw28/data_analysis-master | TuneArtefactTimes.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/TuneArtefactTimes.m | 5,473 | iso_8859_13 | 3d629f9d3a4de43d99e41a2c98c83f03 | %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 the LFP signal due to low-
% pass filtering.
%
% US... |
github | hsw28/data_analysis-master | MTSpectrogram.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/MTSpectrogram.m | 6,835 | iso_8859_13 | b66f4e48095bd999748201c6cf5ed072 | %MTSpectrogram - Compute LFP spectrogram by multi-taper estimation.
%
% The spectrogram is computed using the <a href="http://www.chronux.org">chronux</a> toolbox.
%
% USAGE
%
% [spectrogram,t,f] = MTSpectrogram(lfp,<options>)
%
% lfp wide-band LFP (one channel).
% <options> optional list of ... |
github | hsw28/data_analysis-master | FiringCurve.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/FiringCurve.m | 2,494 | iso_8859_13 | 6a7bb9838c45084321db409cbf3ddba3 | %FiringCurve - Compute firing curve (e.g. for a head direction cell).
%
% Compute firing curve (e.g. for a head direction cell, or a place or grid cell
% on a linear track), as well as occupancy and spike count curves. Optionnally,
% curve statistics can also be computed, including in-field peak and mean firing
% r... |
github | hsw28/data_analysis-master | FilterLFP.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/FilterLFP.m | 3,000 | iso_8859_13 | b345dd25403e54a4b42ca0c10471f201 | %FilterLFP - Filter the local field potentials, e.g. in the theta band.
%
% Filter the local field potentials using a cheby2 filter.
%
% USAGE
%
% filtered = FilterLFP(lfp,<options>)
%
% lfp local field potentials, list of (t,v1,v2,v3...) tuples
% <options> optional list of property-value pair... |
github | hsw28/data_analysis-master | RemoveArtefacts.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/RemoveArtefacts.m | 2,646 | iso_8859_13 | 9db32bc38db070d2af14c155c851cfd3 | %RemoveArtefacts - Remove artefacts from local field potentials.
%
% Remove large deflections such as stimulation artefacts from local field
% potentials, i.e. flatten the data around the times of artefacts.
%
% USAGE
%
% cleaned = RemoveArtefacts(lfp,times,<options>)
%
% lfp local field potential giv... |
github | hsw28/data_analysis-master | DefineZone.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/DefineZone.m | 2,295 | iso_8859_13 | 2c5da47af2ffe688a74e6ea719c8c27a | %DefineZone - Define a restricted zone to which analyses can be circumscribed.
%
% Define a restricted zone in the environment, to which analyses can subsequently be
% circumscribed using <a href="matlab:help IsInZone">IsInZone</a>. Multiple zones can easily be combined (see example).
%
% USAGE
%
% zone = DefineZon... |
github | hsw28/data_analysis-master | Sync.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/Sync.m | 4,671 | iso_8859_13 | 5a96211d163c600a4ee4cfa46dd1a4da | %Sync - Make sample timestamps relative to synchronizing events.
%
% Select samples that fall around synchronizing events, and make their
% timestamps relative to the synchronizing events. This can be used to
% build e.g. spike raster plots or successive evoked potentials.
%
% USAGE
%
% [synchronized,indices] = Syn... |
github | hsw28/data_analysis-master | LinearVelocity.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/LinearVelocity.m | 1,291 | iso_8859_13 | 8d8d449438c4aa3374deb17d4d6152b7 | %LinearVelocity - Compute instantaneous linear velocity.
%
% Compute linear velocity for a time-varying vector X.
%
% USAGE
%
% V = LinearVelocity(X,smooth)
%
% X the time-varying vector given as a list of triplets [t x y]
% smooth optional standard deviation for Gaussian kernel ... |
github | hsw28/data_analysis-master | PhaseMap.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/PhaseMap.m | 1,565 | iso_8859_13 | d6bc4b65230d7f3ca2c3aae9449d0ecd | %PhaseMap - Compute spatial phase map.
%
% Compute phase map (e.g. for a place cell), as well as occupancy and count maps.
%
% USAGE
%
% map = PhaseMap(positions,phases,<options>)
%
% positions position samples
% phases phases in radians
% <options> optional list of property-value pairs ... |
github | hsw28/data_analysis-master | PhaseCurve.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/PhaseCurve.m | 1,617 | iso_8859_13 | 85aa1e1f13d92272c18141ecde413362 | %PhaseCurve - Compute spatial phase curve.
%
% Compute phase curve, as well as occupancy and count curves.
%
% USAGE
%
% curve = PhaseCurve(samples,phases,<options>)
%
% samples e.g. angles or linear positions across time
% phases phases in radians
% <options> optional list of property... |
github | hsw28/data_analysis-master | RadialMaze.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/RadialMaze.m | 22,121 | iso_8859_13 | 7cdff9a49cc5a40878520108383c2208 | %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 list of [rat day trial configuration group arm] tuples
% baitedAr... |
github | hsw28/data_analysis-master | CountSpikesPerCycle.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/CountSpikesPerCycle.m | 1,968 | iso_8859_13 | b82c8f391ee27f3f993dba842e835b57 | %CountSpikesPerCycle - Count number of spikes per LFP cycle.
%
% Count the number of spikes per cycle in the ongoing oscillatory LFP
% (e.g. during theta).
%
% USAGE
%
% [count,used] = CountSpikesPerCycle(spikes,phases)
%
% spikes list of spike timestamps
% phases instantaneous phases in radia... |
github | hsw28/data_analysis-master | CV.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/CV.m | 4,707 | iso_8859_13 | d9b716144618bf0cf04a8d7d8117162a | %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 consecutive events, it can also be
% applied to interv... |
github | hsw28/data_analysis-master | Map.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/Map.m | 6,908 | iso_8859_13 | 9660642da16c931571f296af57e2696b | %Map - Map z on (x,y) where x, y and z are time-varying variables (samples).
%
% Compute 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 (typically, a list of spike timestamps) or a
% cont... |
github | hsw28/data_analysis-master | AngularVelocity.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/AngularVelocity.m | 1,585 | iso_8859_13 | 65d023ed3b3bb7f37649e2a3f5ed720b | %AngularVelocity - Compute instantaneous angular velocity.
%
% Compute angular velocity for a time-varying vector X. This is computed as
% the vector product of X and its derivative DX: W(t) = X(t) ^ DX(t)
%
% USAGE
%
% omega = AngularVelocity(X,smooth)
%
% X the time-varying vector given a... |
github | hsw28/data_analysis-master | ShortTimeCCG.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/ShortTimeCCG.m | 5,747 | iso_8859_13 | 864943d255a7d9d87e1050dbdd3f4393 | %ShortTimeCCG - Time-varying auto/cross-correlograms of point processes.
%
% Determine how xcorrelograms vary in time, i.e. repeatedly compute xcorrelogram
% over successive short time windows.
%
% USAGE
%
% [ccg,bins,time] = ShortTimeCCG(times1,times2,<options>)
%
% times1 first (reference) list of time... |
github | hsw28/data_analysis-master | MapStats.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/MapStats.m | 9,599 | iso_8859_13 | 1911c8dd8a4eb04625712554f086a2cb | %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 (typically, a list of spike
% timestamps... |
github | hsw28/data_analysis-master | PhasePrecession.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/PhasePrecession.m | 5,804 | iso_8859_13 | 8456a7f191aeccb858cc26418ed6242e | %PhasePrecession - Compute spike phase.
%
% Compute spike phase precession using the methods of O'Keefe and Recce (1993),
% i.e. spike phase vs position, and Harris et al. (2002), i.e. spike phase vs
% spike rate.
%
% USAGE
%
% [data,stats] = PhasePrecession(positions,spikes,phases,<options>)
%
% positions ... |
github | hsw28/data_analysis-master | FindRipples.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/FindRipples.m | 10,605 | iso_8859_13 | 8ea2c34d0a3abcf9d543c8efffe5591f | %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 neighboring events, thresholding
% the peaks, and discarding eve... |
github | hsw28/data_analysis-master | RadialMazeTurns.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/RadialMazeTurns.m | 9,259 | iso_8859_13 | 9455f234d5fc41b618b7837302366e35 | %RadialMazeTurns - Compute distribution of successive turn angles in radial maze.
%
% In order to detect stereotypic egocentric strategies that a rat could employ to
% solve a radial maze task, this function determines the distribution (over trials)
% of successive turn angles: if the rat does follow an egocentric st... |
github | hsw28/data_analysis-master | RippleStats.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/RippleStats.m | 5,512 | iso_8859_13 | 314769c9f12d06a18a9ed855245f597f | %RippleStats - Compute descriptive stats for ripples (100~200Hz oscillations).
%
% USAGE
%
% [maps,data,stats] = RippleStats(filtered,ripples,<options>)
%
% filtered ripple-band filtered samples (one channel)
% ripples ripple timing information (obtained using <a href="matlab:help FindRipples">Fi... |
github | hsw28/data_analysis-master | SpectrogramBands.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/SpectrogramBands.m | 6,309 | iso_8859_13 | b6749d99ece75bbf46df74a39b95e4e2 | %SpectrogramBands - Determine running power in physiological bands.
%
% USAGE
%
% bands = SpectrogramBands(spectrogram,frequencies,<options>)
%
% spectrogram spectrogram obtained using <a href="matlab:help MTSpectrogram">MTSpectrogram</a>
% frequencies frequency bins for spectrogram
% <options> ... |
github | hsw28/data_analysis-master | CSD.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/CSD.m | 740 | iso_8859_13 | 35c15cc17b36037e05fb28e5f35b4a0a | %CSD - Compute current source density.
%
% USAGE
%
% csd = CSD(lfp,<options>)
%
% lfp local field potential samples
%
% SEE
%
% See also PlotCSD.
% Copyright (C) 2008 by Michaël Zugaro
%
% This program is free software; you can redistribute it and/or modify
% it under the terms of the GNU General... |
github | hsw28/data_analysis-master | SyncMap.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/SyncMap.m | 3,904 | iso_8859_13 | e8ba3e9892123fca681a200a415d735a | %SyncMap - Create a map from successive event-synchronized data.
%
% Using N repetitions of similar data centered around synchronizing
% events (e.g. N evoked potentials), create a map v = f(t,i) where
% t is the time relative to the synchronizing events and i is the
% occurrence (from 1 to N).
%
% USAGE
%
% [map,t... |
github | hsw28/data_analysis-master | IsolationDistance.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/IsolationDistance.m | 5,339 | iso_8859_13 | e05e5ed5b875b7d712ce96d4b9a5f125 | %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 = IsolationDistance(features,<options>)
%
% features features obtained using e.g. <a href="matlab:help LoadSpikeFeatu... |
github | hsw28/data_analysis-master | IsInZone.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/IsInZone.m | 1,965 | iso_8859_13 | 706b0fbbab02e0c006dcf7bf4b24d4f8 | %IsInZone - Test when the animal is in a given zone.
%
% Test when the animal is in a given zone of the experimental setup (typically the
% firing field of a place cell).
%
% USAGE
%
% status = IsInZone(positions,zone)
%
% positions position samples (normalized between 0 and 1)
% zone test area... |
github | hsw28/data_analysis-master | MTSpectrum.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/MTSpectrum.m | 4,694 | iso_8859_13 | 3342fa28b5b18c5d6686974a7ce8dc54 | %MTSpectrum - Compute LFP spectrum by multi-taper estimation.
%
% The spectrum is computed using the <a href="http://www.chronux.org">chronux</a> toolbox.
%
% USAGE
%
% [spectrum,s,f] = MTSpectrum(lfp,<options>)
%
% lfp wide-band LFP (one channel).
% <options> optional list of property-value ... |
github | hsw28/data_analysis-master | BrainStates.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/BrainStates.m | 9,240 | iso_8859_13 | 2d998efe6ca0b3db6bbcee92e4f1c07b | %BrainStates - Determine brain state using LFP, EMG and movement.
%
% USAGE
%
% [exploration,sws,rem] = BrainStates(s,t,f,q,emg,<options>)
%
% s spectrogram
% t time bins for spectrogram
% f frequency bins for spectrogram
% q 'quiescence' vector, obtai... |
github | hsw28/data_analysis-master | FiringMap.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/FiringMap.m | 2,440 | iso_8859_13 | c56f8eee2cd5279a997531735c926d4a | %FiringMap - Compute firing map (e.g. for a place cell).
%
% Compute firing map (e.g. for a place cell), as well as occupancy and spike
% count maps. Optionnally, field statistics can also be computed, including
% in-field peak and mean firing rates, firing field size, etc.
%
% USAGE
%
% [map,stats] = FiringMap(... |
github | hsw28/data_analysis-master | PETHTransition.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/PETHTransition.m | 7,205 | iso_8859_13 | 03012c84e940c213b87c11d56e9edfb4 | %PETHTransition - Find a transition point in a peri-event time histogram.
%
% Find a transition point in a peri-stimulus time histogram using the maximum
% likelihood or mean square error algorithm of Friedman and Priebe (1998), or
% piecewise linear fit.
%
% USAGE
%
% delay = PETHTransition(peth,timeBins,<... |
github | hsw28/data_analysis-master | QuietPeriods.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/QuietPeriods.m | 2,292 | iso_8859_13 | ec62a1f436949f5c9b3611b14527642d | %QuietPeriods - Find periods of immobility.
%
% Find periods of immobility, i.e. periods of sufficient duration
% where instantaneous linear velocity remains low. Brief movements
% can be ignored.
%
% USAGE
%
% [periods,quiescence] = QuietPeriods(v,velocity,duration,brief)
%
% v linear ... |
github | hsw28/data_analysis-master | Phase.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/Phase.m | 2,031 | iso_8859_13 | c62562bfc8aa520afe6b38bc92c4bfda | %Phase - Compute instantaneous phase in signal.
%
% Compute instantaneous phase (wrapped and unwrapped) and amplitude
% in signal.
%
% USAGE
%
% [phase,amplitude,unwrapped] = Phase(samples,times)
%
% samples signal, e.g. filtered local field potential samples
% times optional timestamps where ... |
github | hsw28/data_analysis-master | SyncHist.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/SyncHist.m | 9,370 | utf_8 | e8ab41e152fb8abe6d60241345bb5ed0 | %SyncHist - Compute a histogram on event-synchronized samples (e.g. a PSTH).
%
% Compute a histogram on event-synchronized point-process (e.g. spikes) or
% continuous (e.g. voltages) samples, obtained using the function <a href="matlab:help Sync">Sync</a>.
% Individual values Xi(t) (for trial i and time t) can be avera... |
github | hsw28/data_analysis-master | Frequency.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Analyses/Frequency.m | 5,231 | iso_8859_13 | a290791b1959472023d39d8ca9eb1341 | %Frequency - Compute instantaneous frequency for a point process (e.g. a spike train).
%
% Compute instantaneous frequency either by smoothing the point process using a fixed
% or adaptive Gaussian kernel, or by simply taking the inverse of the interevent intervals.
% Adaptive kernel smoothing is described in Richmond ... |
github | hsw28/data_analysis-master | CheckChronux.m | .m | data_analysis-master/others_analysis_code/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 | hsw28/data_analysis-master | GetSpikeFeatures.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Data/GetSpikeFeatures.m | 1,707 | iso_8859_13 | 1f4bba81f3858604ca3133f57c3628dc | %GetSpikeFeatures - Get spike features.
%
% USAGE
%
% features = GetSpikeFeatures(group)
%
% group electrode group
%
% OUTPUT
%
% features (timestamp,group,cluster,features...) t-uples.
%
% NOTE
%
% Contrary to e.g. GetSpikes, this function retrieves information for all clusters
% of a ... |
github | hsw28/data_analysis-master | GetSpikeTimes.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Data/GetSpikeTimes.m | 3,840 | iso_8859_13 | ce651a950dc68718c7d047f1e7bebde0 | %GetSpikeTimes - Get spike timestamps.
%
% USAGE
%
% spikes = GetSpikeTimes(units,<options>)
%
% units optional list of units, i.e. [electrode group, cluster] pairs;
% special conventions:
% cluster = -1 all clusters
% cluster = -2 all cluste... |
github | hsw28/data_analysis-master | SetCurrentSession.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Data/SetCurrentSession.m | 4,199 | iso_8859_13 | e66152f5c7ab33ab20a6357951b7ace3 | %SetCurrentSession - Load all data for a given recording session.
%
% Set current session files and read data from disk. Calling SetCurrentSession
% without parameters will display a file selection dialog.
%
% USAGE
%
% SetCurrentSession(filename)
%
% filename optional parameter file name; use 'same' ... |
github | hsw28/data_analysis-master | GetSpikeWaveforms.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Data/GetSpikeWaveforms.m | 2,882 | iso_8859_13 | f63060383b790efc059118343bafd45a | %GetSpikeWaveforms - Get spike waveforms.
%
% USAGE
%
% waveforms = GetSpikeWaveforms(unit,<options>)
%
% unit [electrode group,cluster] pair
% <options> optional list of property-value pairs (see table below)
%
% =========================================================================
% ... |
github | hsw28/data_analysis-master | GetUnits.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Data/GetUnits.m | 987 | iso_8859_13 | a1a5cdc049b86408bfad5f49c4db8ede | %GetUnits - Get list of units.
%
% USAGE
%
% units = GetUnits(group)
%
% group optional electrode group (default = all groups)
%
% EXAMPLES
%
% all = GetUnits; % list all units
% units = GetUnits(2); % list all units on electrode group 2
% Copyright (C) 2004-2009 by Michaël Zugaro
%
% ... |
github | hsw28/data_analysis-master | GetCurrentSession.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Data/GetCurrentSession.m | 3,026 | iso_8859_13 | 341f70bc20ad0f0bd05f6dc84e65c35b | %GetCurrentSession - Get information about current session.
%
% USAGE
%
% GetCurrentSession
% GetCurrentSession('verbose') % detailed output
%
% info = GetCurrentSession % return info (do not display)
% Copyright (C) 2008-2010 by Michaël Zugaro
%
% This program is free software; you can redistribute it and... |
github | hsw28/data_analysis-master | GetEvents.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Data/GetEvents.m | 3,709 | iso_8859_13 | fd68f2e4fc8f9b45d08fd05aef7fa825 | %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 | hsw28/data_analysis-master | GetSpikes.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Data/GetSpikes.m | 602 | iso_8859_13 | 804b6bf011bc445e698665ae7e7df6b7 | %GetSpikes - Get spike timestamps.
%
% NOTE
%
% This function is provided for convenience. It simply calls <a href="matlab:help GetSpikeTimes">GetSpikeTimes</a>
% using the same parameters. See this function for details.
% Copyright (C) 2004-2010 by Michaël Zugaro
%
% This program is free software; you can red... |
github | hsw28/data_analysis-master | GetCustomDefaults.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Data/GetCustomDefaults.m | 2,893 | iso_8859_13 | 2a19379e19d0e9f7a12213ca91aeb250 | %GetCustomDefaults - Get custom default value for a given function property.
%
% This is an 'internal' function used by FMAToolbox. You should not need
% to use it, unless you are developping new functions for this toolbox.
%
% See Example below.
%
% WARNING
%
% Custom defaults should be allowed with great care,... |
github | hsw28/data_analysis-master | GetPositions.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Data/GetPositions.m | 4,871 | iso_8859_13 | 8e5b5451cc3782f0c70d303538a4396b | %GetPositions - Get position samples.
%
% USAGE
%
% positions = GetPositions(<options>)
%
% <options> optional list of property-value pairs (see table below)
%
% =========================================================================
% Properties Values
% -------------------------------------... |
github | hsw28/data_analysis-master | GetLFP.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Data/GetLFP.m | 3,842 | iso_8859_13 | 18433cd6ada861a75b69f41e1d49d973 | %GetLFP - Get local field potentials.
%
% Load local field potentials from disk (unlike spikes or positions, LFP data
% is usually too large to keep in memory).
%
% USAGE
%
% [lfp,indices] = GetLFP(channels,<options>)
%
% channels list of channels to load (use keyword 'all' for all)
% <options> o... |
github | hsw28/data_analysis-master | GetWidebandData.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Data/GetWidebandData.m | 4,142 | iso_8859_13 | 3bb66097bdd9b437b5d8346bd5bb551c | %GetWidebandData - Get local field potentials.
%
% Load wide band data from disk (unlike spikes or positions, raw data is way
% too large to keep in memory).
%
% USAGE
%
% [data,indices] = GetWidebandData(channels,<options>)
%
% channels list of channels to load (use keyword 'all' for all)
% <options>... |
github | hsw28/data_analysis-master | DBInsertVariable.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Database/DBInsertVariable.m | 2,605 | iso_8859_13 | 6eaf125b62f1031d5770354436f40e04 | %DBInsertVariable - Save variable in current database.
%
% Save variable and code used to compute it.
%
% USAGE
%
% DBInsertVariable(v,eid,name,parameters,comments,mfiles)
%
% v variable
% eid experiment ID (identifier string)
% name descriptive name
% comments co... |
github | hsw28/data_analysis-master | DBUse.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Database/DBUse.m | 680 | iso_8859_13 | f32a373cf5c63e63369ff41a3f9d5ae6 | %DBUse - Set current database.
%
% Set current database to store/retrieve processed data.
%
% USAGE
%
% DBUse(database)
%
% database database name
%
% SEE
%
% See also DBConnect.
%
% Copyright (C) 2007-2010 by Michaël Zugaro
%
% This program is free software; you can redistribute it and/or modify
... |
github | hsw28/data_analysis-master | DBCreate.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Database/DBCreate.m | 1,928 | iso_8859_13 | e4d64c64d75a2ac58eb817943020dce5 | %DBCreate - Create database.
%
% Create database with figure and variable tables. Use this function
% if you have admin rights to the database server. Otherwise ask
% the DBA to create an empty database with the appropriate access
% rights, and then use <a href="matlab:help DBCreateTables">DBCreateTables</a> to create ... |
github | hsw28/data_analysis-master | DBSelectVariables.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Database/DBSelectVariables.m | 1,699 | iso_8859_13 | 0f8f142e4cc5cfc8e26a55ecb53d6f40 | %DBSelectVariables - Select figures in current database.
%
% Select variables. Also get code used to generate them.
%
% USAGE
%
% [v,comments,parameters,code,date,user] = DBSelectVariables(query)
%
% query optional list query (WHERE clause; see Example)
%
% OUTPUT
%
% v variables
% c... |
github | hsw28/data_analysis-master | DBSelectVariable.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Database/DBSelectVariable.m | 1,497 | iso_8859_13 | 4bd39e83e333580d5eb947429ce0ffa8 | %DBSelectVariable - Select figures in current database.
%
% Select variables. Also get code used to generate them.
%
% USAGE
%
% [v,comments,parameters,code,date,user] = DBSelectVariable(eid,name)
%
% eid experiment ID (identifier string)
% name variable descriptive name (identifier strin... |
github | hsw28/data_analysis-master | DBSelectFigures.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Database/DBSelectFigures.m | 2,391 | iso_8859_13 | feb19ae202a8d37fe4378c1aa942e477 | %DBSelectFigures - Select figures in current database.
%
% Select figures and open as MATLAB fig. Also get code used to generate them.
%
% USAGE
%
% f = DBSelectFigures(query)
%
% query optional figure list query (WHERE clause; see Example)
%
% OUTPUT
%
% f is a structure with the following fields:
... |
github | hsw28/data_analysis-master | DBInsertFigure.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Database/DBInsertFigure.m | 4,929 | iso_8859_13 | 6f91e0e41bb9b1f2837d2fd794fdf498 | %DBInsertFigure - Save figure in current database.
%
% Save figure as MATLAB fig and PNG image. Also save code used to generate it
% (although not required, installing <a href="http://sites.google.com/site/oliverwoodford/software/export_fig">export_fig</a> will yield better PNG images).
%
% USAGE
%
% DBInsertFigure... |
github | hsw28/data_analysis-master | DBSelectFigure.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Database/DBSelectFigure.m | 2,071 | iso_8859_13 | 69c336f2341e92e39438a8a028a15173 | %DBSelectFigure - Select figure in current database.
%
% Select figure and open as MATLAB fig. Also get code used to generate it.
%
% USAGE
%
% f = DBSelectFigure(eid,name)
%
% eid experiment ID (identifier string)
% name figure descriptive name (identifier string)
%
% OUTPUT
%
% f is... |
github | hsw28/data_analysis-master | DBCreateTables.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Database/DBCreateTables.m | 1,533 | iso_8859_13 | 1824b1a790e6032c75fc8970e10767ce | %DBCreateTables - Create tables in existing database.
%
% Create figure and variable tables in an existing database. If you
% have admin rights to the database server, use <a href="matlab:help DBCreate">DBCreate</a> instead.
% Otherwise ask the DBA to create an empty database with the appropriate
% access rights, and t... |
github | hsw28/data_analysis-master | DBExportGallery.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Database/DBExportGallery.m | 10,571 | iso_8859_13 | 8b7ed1e55f0fefeba3c319756df60265 | %DBExportGallery - Create figure gallery from current database.
%
% Select figures and create an HTML gallery (although not required, installing
% <a href="http://sites.google.com/site/oliverwoodford/software/export_fig">export_fig</a> will yield better PNG images).
%
% USAGE
%
% DBExportGallery(query,name,<options... |
github | hsw28/data_analysis-master | DBListVariables.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Database/DBListVariables.m | 599 | iso_8859_13 | 81b6541b2f469027751cc0836e41d4b5 | %DBListVariables - List variables in current database.
%
% USAGE
%
% list = DBListVariables
%
% SEE
%
% See also DBListFigures.
%
% 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 publis... |
github | hsw28/data_analysis-master | DBConnect.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Database/DBConnect.m | 1,943 | iso_8859_13 | 41d1488b9e5708497c3cb0c37bfc08f6 | %DBConnect - Connect to the database server.
%
% Open connection to MySQL database server. Connection information can
% be either passed explicitly as arguments, or read from your .my.cnf
% configuration file.
%
% USAGE
%
% DBConnect(host,user,password)
%
% host optional host
% user ... |
github | hsw28/data_analysis-master | DBListFigures.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/Database/DBListFigures.m | 592 | iso_8859_13 | e357ac4406e29cf0826c09a8286fa11a | %DBListFigures - List figures in current database.
%
% USAGE
%
% list = DBListFigures
%
% SEE
%
% See also DBListVariables.
%
% 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 ... |
github | hsw28/data_analysis-master | CheckMyM.m | .m | data_analysis-master/others_analysis_code/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 | hsw28/data_analysis-master | MatchPairs.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/General/MatchPairs.m | 3,147 | iso_8859_13 | d43a930c977ad32d4fa9a2c8f005341a | %MatchPairs - Pair nearest values in two lists.
%
% USAGE
%
% pairs = MatchPairs(list1,list2,<options>)
%
% list1 first list
% list2 second list
% <options> optional list of property-value pairs (see table below)
%
% ================================================================... |
github | hsw28/data_analysis-master | BartlettTest.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/General/BartlettTest.m | 1,730 | iso_8859_13 | 260e547f44e0eb5c16648d2469463f77 | %BartlettTest - Test if k groups of samples have equal variances (homogeneity of variances).
%
% This test assumes that all populations follow a Gaussian distribution.
%
% USAGE
%
% [h,p,t] = BartlettTest(data,alpha)
%
% data Nx2 matrix of (observation,group) pairs
% alpha optional signifi... |
github | hsw28/data_analysis-master | CumSum.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/General/CumSum.m | 1,490 | iso_8859_13 | d57f28223b8c23af33cc29bfea80532a | %CumSum - Cumulative sum of elements. Partial sums can also be computed.
%
% USAGE
%
% sum = CumSum(data,stops)
%
% data data to sum
% stops optional logical indices where sum should be restarted
%
% EXAMPLE
%
% % Simple cumulative sum
% s = CumSum([1 4 6 2 13]);
%
% % Partial cum... |
github | hsw28/data_analysis-master | SubtractIntervals.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/General/SubtractIntervals.m | 3,789 | iso_8859_13 | fc42e9e29d8bf79828d0e4484fd89206 | %SubtractIntervals - Subtract intervals.
%
% Given two lists of intervals, subtract from each interval in the first
% list its intersection with each of the intervals in the second list.
%
% USAGE
%
% [intervals,indices] = SubtractIntervals(intervals1,intervals2,<options>)
%
% intervals1 list of reference in... |
github | hsw28/data_analysis-master | Accumulate.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/General/Accumulate.m | 5,744 | iso_8859_13 | 114f7d09a1580a77142dbbd0b5054863 | %Accumulate - Accumulate repeated observations.
%
% Accumulate repeated observations Y(i) = f(X1(i),X2(i),...,Xn(i)), where
% the Xj(i) are binned variables (i.e. they run from 1 to Nj). This
% is useful for instance to compute:
%
% * a PSTH, where Y(i) = 1 and X(i) lists the binned spike timestamps
% relative... |
github | hsw28/data_analysis-master | npcdf.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/General/npcdf.m | 2,011 | iso_8859_13 | fe0108a16fae8e8cb2af82e53fc85df9 | %npcdf - Non-parametric cumulative distribution function.
%
% Given a list of samples drawn from an unknown (non-parametric) distribution,
% the corresponding cumulative distribution function is evaluated at a set of
% given points.
%
% USAGE
%
% p = npcdf(X,x)
%
% X list of samples drawn from the u... |
github | hsw28/data_analysis-master | Bin.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/General/Bin.m | 3,748 | iso_8859_13 | 4a6a5d27b0170a18d231d42786866eb9 | %Bin - Assign each input value a bin number between 1 and N.
%
% Assign each input value a bin number between 1 and N. Also return the
% corresponding bin values (lower bounds), e.g. assuming that the bins
% are [0,1] [1,2] [2,3] ... the value 2.3 falls in bin #3 and the bin
% value (lower bound) is 2.
%
% USAGE
%... |
github | hsw28/data_analysis-master | CompareSlopes.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/General/CompareSlopes.m | 1,838 | iso_8859_13 | 2f1edaefc5b2a1c6362d542141330f14 | %CompareSlopes - Perform linear regression on two groups and compare slopes.
%
% USAGE
%
% [p,t,df,slope1,slope2] = CompareSlopes(x1,y1,x2,y2)
%
% x1,y1 data for group 1
% x2,y2 data for group 2
%
% OUTPUT
%
% p test probability (e.g. p<0.05 => significant)
% t ... |
github | hsw28/data_analysis-master | Concentration.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/General/Concentration.m | 1,195 | iso_8859_13 | 80d02548fcff409cfed3cf6130862e71 | %Concentration - Estimate the concentration parameter for circular data.
%
% Estimate the concentration parameter for circular data assuming a Von Mises distribution.
% Uses the approximation described in "Statistical Analysis of Circular Data" (Fisher, p. 88).
%
% USAGE
%
% kappa = Concentration(angles)
%
% ang... |
github | hsw28/data_analysis-master | Clip.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/General/Clip.m | 686 | iso_8859_13 | 8708e417b1bfd2985473fd5a1f153bfa | %Clip - Clip values.
%
% Clip values between specified extrema.
%
% USAGE
%
% clipped = Clip(x,min,max)
%
% x array to clip
% min minimum value
% max maximum value
% Copyright (C) 2004-2006 by Michaël Zugaro
%
% This program is free software; you can redistribute it and... |
github | hsw28/data_analysis-master | Array2PagedMatrix.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/General/Array2PagedMatrix.m | 3,714 | iso_8859_13 | c17e2481c21de9816bb2893857ef9e13 | %Array2PagedMatrix - Transform an N-dimensional array into a paged matrix.
%
% Vertically concatenate all pages in the array, and add N-1
% columns listing the subscripts for all dimensions except the
% second dimension (which is implicit, since it becomes the
% second dimension of the output matrix).
%
% Consider... |
github | hsw28/data_analysis-master | Smooth.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/General/Smooth.m | 3,829 | iso_8859_13 | 16945ccf5328fe5756d111081ad1e1a3 | %Smooth - Smooth using a Gaussian kernel.
%
% USAGE
%
% smoothed = Smooth(data,smooth)
%
% data data to smooth
% smooth vertical and horizontal standard deviations [Sv Sh]
% for Gaussian kernel, measured in number of samples
% (0 = no smoothing)
% Copyrig... |
github | hsw28/data_analysis-master | CircularConfidenceIntervals.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/General/CircularConfidenceIntervals.m | 1,984 | iso_8859_13 | d4e512bbc946e1c36e7aaaa831d97305 | %CircularConfidenceIntervals - Compute circular mean and confidence intervals of circular data.
%
% Compute circular mean and confidence intervals of circular data (see NI Fisher, Analysis
% of circular data, p. 88). If fewer than 25 angle measurements are provided, bootstrap is used.
%
% USAGE
%
% [mean,boundaries... |
github | hsw28/data_analysis-master | CircularMean.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/General/CircularMean.m | 919 | iso_8859_13 | 695c030016cfccb1f0aaa18af365f7b9 | %CircularMean - Estimate the circular mean.
%
% USAGE
%
% [m,r] = CircularMean(angles,dim,centered)
%
% angles angles in radians
% dim optional dimension along which the mean should be computed
% m mean angle
% r resultant length
%
% SEE
%
% See also Circ... |
github | hsw28/data_analysis-master | Interpolate.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/General/Interpolate.m | 4,818 | iso_8859_13 | 8b5643c4f8aaaad5d5e348f64dd91036 | %Interpolate - Interpolate samples (positions, spikes, LFP, etc.) at given timestamps.
%
% Interpolate samples (positions, spikes, LFP, etc.) at given timestamps. As a special
% case, a point process can also be 'interpolated' by changing each original timestamp
% t to the closest target timestamp t* such that t* <= t.... |
github | hsw28/data_analysis-master | ConcentrationTest.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/General/ConcentrationTest.m | 3,301 | iso_8859_13 | b643d12f50a1ccc141c65eab5aaf6dcf | %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 inferior to 1, a randomization procedure is used.
% See "Statistical Analysis... |
github | hsw28/data_analysis-master | FisherTest.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/General/FisherTest.m | 1,587 | iso_8859_13 | a8b227f2845765c98ab40172d6763ba6 | %FisherTest - Test if two groups of samples have equal variances.
%
% Fisher's test is used to test if two groups of samples have equal variances.
%
% USAGE
%
% [h,p,f] = FisherTest(samples1,samples2,alpha)
%
% samples1 first group
% samples2 second group
% alpha optional significance ... |
github | hsw28/data_analysis-master | CircularANOVA.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/General/CircularANOVA.m | 6,274 | utf_8 | dd53eb11ae40ca9765ee2a84a1c33e90 | %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 equal concent-
% ration parameters, the signifi... |
github | hsw28/data_analysis-master | CircularVariance.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/General/CircularVariance.m | 909 | iso_8859_13 | 75b39372b0f835c909d4e05cb7f3324b | %CircularVariance - Estimate circular variance and standard deviation.
%
% USAGE
%
% [v,s] = CircularVariance(angles,dim)
%
% angles angles in radians
% dim optional dimension along which the mean should be computed
% v variance
% s standard deviation
%
% SE... |
github | hsw28/data_analysis-master | IsLastBefore.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/General/IsLastBefore.m | 3,487 | iso_8859_13 | 984b29ac793074ebef267d302e15fd1d | %IsLastBefore - Identify last item before each of a list of timestamps.
%
% For each element i of a list of test timestamps, find in a list of reference timestamps
% the last element j smaller than i. Returns a list of logical indices (the elements of the
% test list which are smaller than all the elements of the refer... |
github | hsw28/data_analysis-master | Filter.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/General/Filter.m | 4,352 | iso_8859_13 | 3d595a6070b609f77e192281ce58ee24 | %Filter - Filter samples.
%
% USAGE
%
% filtered = Filter(samples,<options>)
%
% samples samples given as a list of (t,v1,v2,v3...) tuples
% <options> optional list of property-value pairs (see table below)
%
% =========================================================================
% Prop... |
github | hsw28/data_analysis-master | ExcludeIntervals.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/General/ExcludeIntervals.m | 3,604 | iso_8859_13 | e17f49afb77887469991f4f6a033daec | %ExcludeIntervals - Exclude intersecting intervals.
%
% Given two lists of intervals, exclude from the first list those intervals
% that intersect with one or more of the intervals in the second list.
%
% USAGE
%
% [intervals,indices] = ExcludeIntervals(intervals1,intervals2,<options>)
%
% intervals1 list o... |
github | hsw28/data_analysis-master | ConsolidateIntervals.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/General/ConsolidateIntervals.m | 4,441 | iso_8859_13 | 51707d7a6fcfdfb86312e5f5646839ca | %ConsolidateIntervals - Consolidate intervals.
%
% Consolidate overlapping intervals, e.g. replace [10,20] [15,25] with [10,25].
%
% USAGE
%
% [consolidated,target] = ConsolidateIntervals(intervals,<options>)
%
% intervals list of intervals
% <options> optional list of property-value pairs (see tabl... |
github | hsw28/data_analysis-master | sem.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/General/sem.m | 814 | iso_8859_13 | eeb6e1231ee162e201daaa15e7a7ab54 | %sem - Compute standard error of the mean (SEM).
%
% USAGE
%
% s = sem(x)
%
% s vector or matrix over which the SEM should be computed
% Copyright (C) 2008-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 ... |
github | hsw28/data_analysis-master | MultinomialConfidenceIntervals.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/General/MultinomialConfidenceIntervals.m | 2,058 | iso_8859_13 | 392fbef58a52f8e439b0e138f2f355b5 | %MultinomialConfidenceIntervals - Simultaneous multinomial confidence intervals.
%
% Confidence intervals computed simultaneously on all cells using the method of
% Fitzpatrick and Scott (1987). This provides better estimates of the confidence
% intervals than the common (but erroneous) method where each cell is treate... |
github | hsw28/data_analysis-master | Match.m | .m | data_analysis-master/others_analysis_code/FMAToolbox/General/Match.m | 4,650 | iso_8859_13 | 7dd27399e5302e6a3dda0f197861da92 | %Match - Replace values in one list with closest values in a second list.
%
% USAGE
%
% [matched,only1,only2] = Match(list1,list2,<options>)
%
% list1 first list
% list2 second list
% <options> optional list of property-value pairs (see table below)
%
% ===========================... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.