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 | sophont01/fStackIID-master | RollingGuidanceFilter.m | .m | fStackIID-master/libs/RGF/RollingGuidanceFilter.m | 2,182 | utf_8 | 5f422c600926de19f465b4d417053d00 | %
% Rolling Guidance Filter
%
% res = RollingGuidanceFilter(I,sigma_s,sigma_r,iteration) filters image
% "I" by removing its small structures. The borderline between "small"
% and "large" is determined by the parameter sigma_s. The sigma_r is
% fixed to 0.1. The filter is an iteration process. "iteration" is... |
github | sophont01/fStackIID-master | bilateralFilter.m | .m | fStackIID-master/libs/RGF/bilateralFilter.m | 6,813 | utf_8 | 2d0dd83ba74af5b1ab0dd2a2d7632295 | %
% output = bilateralFilter( data, edge, ...
% edgeMin, edgeMax, ...
% sigmaSpatial, sigmaRange, ...
% samplingSpatial, samplingRange )
%
% Bilateral and Cross-Bilateral Filter using the Bilateral Grid.
%
% Bilaterally filters the image 'data' ... |
github | sophont01/fStackIID-master | recursivepartition.m | .m | fStackIID-master/libs/GRWfusion/recursivepartition.m | 6,561 | utf_8 | 4256fefd5a912098ab9223e2ce5207ea | function segAnswer=recursivepartition(W,stop,algFlag,volFlag,points)
%Function segAnswer=recursivepartition(W,stop,algFlag,volFlag,points)
%recursively calls partitiongraph.m until the stop criteria is statisfied.
%Function outputs a vector containing an integer label for every node
%corresponding to the unsupervised... |
github | ga96jul/Bachelarbeit-master | InitializeWiMaxLDPC.m | .m | Bachelarbeit-master/Bachelorarbeit/05_Libraries/cml/mat/InitializeWiMaxLDPC.m | 7,281 | utf_8 | 85886f83df253368a709769854748fd1 | % File: InitializeWiMaxLDPC.m
%
% Description: Initializes the WiMax LDPC encoder/decoder
%
% The calling syntax is:
% [H_rows, H_cols, P] = InitializeWiMaxLDPC( rate, size, ind )
%
% Where:
% H_rows = a M-row matrix containing the indices of the non-zero rows of H excluding the dual-diagonal ... |
github | ga96jul/Bachelarbeit-master | matlab2tikz.m | .m | Bachelarbeit-master/Bachelorarbeit/05_Libraries/matlab2tikz-matlab2tikz-816f875/src/matlab2tikz.m | 279,997 | utf_8 | a05a51eb4c17b2a905ade344821248c2 | function matlab2tikz(varargin)
%MATLAB2TIKZ Save figure in native LaTeX (TikZ/Pgfplots).
% MATLAB2TIKZ() saves the current figure as LaTeX file.
% MATLAB2TIKZ comes with several options that can be combined at will.
%
% MATLAB2TIKZ(FILENAME,...) or MATLAB2TIKZ('filename',FILENAME,...)
%... |
github | ga96jul/Bachelarbeit-master | figure2dot.m | .m | Bachelarbeit-master/Bachelorarbeit/05_Libraries/matlab2tikz-matlab2tikz-816f875/src/figure2dot.m | 4,518 | utf_8 | facdd508e157dc90d825c51db03ead9a | function figure2dot(filename, varargin)
%FIGURE2DOT Save figure in Graphviz (.dot) file.
% FIGURE2DOT(filename) saves the current figure as dot-file.
%
% FIGURE2DOT(filename, 'object', HGOBJECT) constructs the graph representation
% of the specified object (default: gcf)
%
% You can visualize the constructed DOT... |
github | ga96jul/Bachelarbeit-master | m2tInputParser.m | .m | Bachelarbeit-master/Bachelorarbeit/05_Libraries/matlab2tikz-matlab2tikz-816f875/src/m2tInputParser.m | 7,838 | utf_8 | 5df224f2df7d02ffce9af7a01a28b080 | function parser = m2tInputParser()
%MATLAB2TIKZINPUTPARSER Input parsing for matlab2tikz.
% This implementation exists because Octave is lacking one.
% Initialize the structure.
parser = struct ();
% Public Properties
parser.Results = {};
% Enabel/disable parameters case sensitivity.
parser.CaseSensiti... |
github | ga96jul/Bachelarbeit-master | cleanfigure.m | .m | Bachelarbeit-master/Bachelorarbeit/05_Libraries/matlab2tikz-matlab2tikz-816f875/src/cleanfigure.m | 47,146 | utf_8 | 377c29df83de72042593b26251aeab91 | function cleanfigure(varargin)
% CLEANFIGURE() removes the unnecessary objects from your MATLAB plot
% to give you a better experience with matlab2tikz.
% CLEANFIGURE comes with several options that can be combined at will.
%
% CLEANFIGURE('handle',HANDLE,...) explicitly specifies the
% handle of the figure t... |
github | ga96jul/Bachelarbeit-master | m2tUpdater.m | .m | Bachelarbeit-master/Bachelorarbeit/05_Libraries/matlab2tikz-matlab2tikz-816f875/src/private/m2tUpdater.m | 12,693 | windows_1250 | 5cdcb942826889ea6018fe3febc897df | function m2tUpdater(about, verbose)
%UPDATER Auto-update matlab2tikz.
% Only for internal usage.
% Copyright (c) 2012--2014, Nico Schlömer <nico.schloemer@gmail.com>
% All rights reserved.
%
% Redistribution and use in source and binary forms, with or without
% modification, are permitted provided that the... |
github | ga96jul/Bachelarbeit-master | formatWhitespace.m | .m | Bachelarbeit-master/Bachelorarbeit/05_Libraries/matlab2tikz-matlab2tikz-816f875/src/dev/formatWhitespace.m | 3,119 | utf_8 | f28d2958f20ad3dad9e278cff4cee942 | function formatWhitespace(filename)
% FORMATWHITESPACE Formats whitespace and indentation of a document
%
% FORMATWHITESPACE(FILENAME)
% Indents currently active document if FILENAME is empty or not
% specified. FILENAME must be the name of an open document in the
% editor.
... |
github | ga96jul/Bachelarbeit-master | makeLatexReport.m | .m | Bachelarbeit-master/Bachelorarbeit/05_Libraries/matlab2tikz-matlab2tikz-816f875/test/makeLatexReport.m | 9,713 | utf_8 | 11fa5570feeb4f29440ea1e539314532 | function makeLatexReport(status, output)
% generate a LaTeX report
%
%
if ~exist('output','var')
output = m2troot('test','output','current');
end
% first, initialize the tex output
SM = StreamMaker();
stream = SM.make(fullfile(output, 'acid.tex'), 'w');
texfile_init(stream);
print... |
github | ga96jul/Bachelarbeit-master | makeTapReport.m | .m | Bachelarbeit-master/Bachelorarbeit/05_Libraries/matlab2tikz-matlab2tikz-816f875/test/makeTapReport.m | 2,252 | utf_8 | 473406d1fab6a34f9edfe7bc4faf4241 | function makeTapReport(status, varargin)
% Makes a Test Anything Protocol report
%
% This function produces a testing report of HEADLESS tests for
% display on Jenkins (or any other TAP-compatible system)
%
% MAKETAPREPORT(status) produces the report from the `status` output of
% `testHeadless`.
%
% MAKETAPREPORT(statu... |
github | ga96jul/Bachelarbeit-master | testGraphical.m | .m | Bachelarbeit-master/Bachelorarbeit/05_Libraries/matlab2tikz-matlab2tikz-816f875/test/testGraphical.m | 1,535 | utf_8 | 98943d624f8c47a566e9393514379b88 | function [ status ] = testGraphical( varargin )
%TESTGRAPHICAL Runs the M2T test suite to produce graphical output
%
% This is quite a thin wrapper around testMatlab2tikz to run the test suite to
% produce a PDF side-by-side report.
%
% Its allowed arguments are the same as those of testMatlab2tikz.
%
% Usage:
%
% ... |
github | ga96jul/Bachelarbeit-master | testHeadless.m | .m | Bachelarbeit-master/Bachelorarbeit/05_Libraries/matlab2tikz-matlab2tikz-816f875/test/testHeadless.m | 2,211 | utf_8 | 21593a779ad2f668bd365170135646c1 | function [ status ] = testHeadless( varargin )
%TESTGRAPHICAL Runs the M2T test suite without graphical output
%
% This is quite a thin wrapper around testMatlab2tikz to run the test suite to
% produce a textual report and checks for regressions by checking the MD5 hash
% of the output
%
% Its allowed arguments are the... |
github | ga96jul/Bachelarbeit-master | codeReport.m | .m | Bachelarbeit-master/Bachelorarbeit/05_Libraries/matlab2tikz-matlab2tikz-816f875/test/codeReport.m | 9,687 | utf_8 | 04a4f77e42910607770ceb578e223006 | function [ report ] = codeReport( varargin )
%CODEREPORT Builds a report of the code health
%
% This function generates a Markdown report on the code health. At the moment
% this is limited to the McCabe (cyclomatic) complexity of a function and its
% subfunctions.
%
% This makes use of |checkcode| in MATLAB.
%
% Usage... |
github | ga96jul/Bachelarbeit-master | saveHashTable.m | .m | Bachelarbeit-master/Bachelorarbeit/05_Libraries/matlab2tikz-matlab2tikz-816f875/test/saveHashTable.m | 6,769 | utf_8 | b5bd806af103238d79cbff4578d7e8ce | function saveHashTable(status, varargin)
% SAVEHASHTABLE saves the references hashes for the Matlab2Tikz tests
%
% Usage:
% SAVEHASHTABLE(status)
%
% SAVEHASHTABLE(status, 'dryrun', BOOL, ...) determines whether or not to
% write the constructed hash table to file (false) or to stdout (true).
% Default: false
%
% ... |
github | ga96jul/Bachelarbeit-master | makeTravisReport.m | .m | Bachelarbeit-master/Bachelorarbeit/05_Libraries/matlab2tikz-matlab2tikz-816f875/test/makeTravisReport.m | 13,733 | utf_8 | 9fc69f89ebc037cf2495966892207520 | function [nErrors] = makeTravisReport(status, varargin)
% Makes a readable report for Travis/Github of test results
%
% This function produces a testing report of HEADLESS tests for
% display on GitHub and Travis.
%
% MAKETRAVISREPORT(status) produces the report from the `status` output of
% `testHeadless`.
%
% MAKETRA... |
github | ga96jul/Bachelarbeit-master | compareTimings.m | .m | Bachelarbeit-master/Bachelorarbeit/05_Libraries/matlab2tikz-matlab2tikz-816f875/test/compareTimings.m | 8,282 | utf_8 | 9e1a7fc2d1d21b259ffc79d50827c481 | function compareTimings(statusBefore, statusAfter)
% COMPARETIMINGS compare timing of matlab2tikz test suite runs
%
% This function plots some analysis plots of the timings of different test
% cases. When the test suite is run repeatedly, the median statistics are
% reported as well as the individual runs.
%
% Usage:
%... |
github | ga96jul/Bachelarbeit-master | issues.m | .m | Bachelarbeit-master/Bachelorarbeit/05_Libraries/matlab2tikz-matlab2tikz-816f875/test/suites/issues.m | 1,221 | utf_8 | fe24b770a80dd53470798dfce281989a | function [ status ] = issues( k )
%ISSUES M2T Test cases related to issues
%
% Issue-related test cases for matlab2tikz
%
% See also: ACID, matlab2tikz_acidtest
testfunction_handles = {
@scatter3Plot3
};
numFunctions = length( testfunction_handles );
... |
github | ga96jul/Bachelarbeit-master | ACID.m | .m | Bachelarbeit-master/Bachelorarbeit/05_Libraries/matlab2tikz-matlab2tikz-816f875/test/suites/ACID.m | 97,752 | utf_8 | 215aa8933946f46d2472aea446eb2dd4 | % =========================================================================
% *** FUNCTION ACID
% ***
% *** MATLAB2TikZ ACID test functions
% ***
% =========================================================================
function [status] = ACID(k)
% assign the functions to test
testfunction_handles = { ... |
github | ga96jul/Bachelarbeit-master | testPatches.m | .m | Bachelarbeit-master/Bachelorarbeit/05_Libraries/matlab2tikz-matlab2tikz-816f875/test/suites/testPatches.m | 3,826 | utf_8 | 234dc3a01511762ef5f641ff068318c3 | function status = testPatches(k)
% TESTPATCHES Test suite for patches
%
% See also: ACID, matlab2tikz_acidtest
testfunction_handles = {
@patch01;
@patch02;
@patch03;
@patch04;
@patch05;
@patch06;
@patch07;
@patch08;
};
numFunctions = length( testfunction_handles );
if nargin < 1 |... |
github | ga96jul/Bachelarbeit-master | testSurfshader.m | .m | Bachelarbeit-master/Bachelorarbeit/05_Libraries/matlab2tikz-matlab2tikz-816f875/test/suites/testSurfshader.m | 3,244 | utf_8 | a1459ba222d417e599f3306930e71ccf | function status = testSurfshader(k)
% TESTSURFSHADER Test suite for Surf/mesh shaders (coloring)
%
% See also: ACID, matlab2tikz_acidtest
testfunction_handles = {
@surfShader1;
@surfShader2;
@surfShader3;
@surfShader4;
@surfShader5;
@surfNoShader;
@surfNoPlot;
@surfMes... |
github | ga96jul/Bachelarbeit-master | isVersionBelow.m | .m | Bachelarbeit-master/Bachelorarbeit/05_Libraries/matlab2tikz-matlab2tikz-816f875/test/suites/private/isVersionBelow.m | 1,396 | utf_8 | e27c354a6fd26c00f6b9c239ad50bbd2 | function isBelow = isVersionBelow(versionA, versionB)
% Checks if versionA is smaller than versionB
vA = versionArray(versionA);
vB = versionArray(versionB);
n = min(length(vA), length(vB));
deltaAB = vA(1:n) - vB(1:n);
difference = find(deltaAB, 1, 'first');
if isemp... |
github | ga96jul/Bachelarbeit-master | initializeGlobalState.m | .m | Bachelarbeit-master/Bachelorarbeit/05_Libraries/matlab2tikz-matlab2tikz-816f875/test/private/initializeGlobalState.m | 4,128 | utf_8 | 5cdca5d96a05a8efc1abc41f1d245972 | function [orig] = initializeGlobalState()
% Initialize global state. Set working directory and various properties of
% the graphical root to ensure reliable output of the ACID testsuite.
% See #542 and #552
%
% 1. Working directory
% 2. Bring get(0,'Default') in line with get(0,'Factory')
% 3. Set specific properties, ... |
github | ga96jul/Bachelarbeit-master | StreamMaker.m | .m | Bachelarbeit-master/Bachelorarbeit/05_Libraries/matlab2tikz-matlab2tikz-816f875/test/private/StreamMaker.m | 2,389 | utf_8 | 8241d9d3fec9eb06a1e4c5437191e3b9 | function SM = StreamMaker()
% StreamMaker (Factory for fie/input/output Streams)
%
% A StreamMaker can make Stream PseudoObjects based on either
% an "fid" or "filename" (and extra arguments for `fopen`).
% The StreamMaker also contains a method `isStream` to validate whether
% the value passed is a valid stream speci... |
github | ga96jul/Bachelarbeit-master | execute_save_stage.m | .m | Bachelarbeit-master/Bachelorarbeit/05_Libraries/matlab2tikz-matlab2tikz-816f875/test/private/execute_save_stage.m | 2,508 | utf_8 | ae0f150d3878e9f1b42ad84004424320 | function [status] = execute_save_stage(status, ipp)
% save stage: saves the figure to EPS/PDF depending on env
testNumber = status.index;
basepath = fullfile(ipp.Results.output,'data','reference');
reference_eps = fullfile(basepath, sprintf('test%d-reference.eps', testNumber));
reference_pdf = fullfile... |
github | ga96jul/Bachelarbeit-master | testMatlab2tikz.m | .m | Bachelarbeit-master/Bachelorarbeit/05_Libraries/matlab2tikz-matlab2tikz-816f875/test/private/testMatlab2tikz.m | 5,167 | utf_8 | 55b92776e6ddb66aadbb483b8e0a3949 | function [status, parameters] = testMatlab2tikz(varargin)
%TESTMATLAB2TIKZ unit test driver for matlab2tikz
%
% This function should NOT be called directly by the user (or even developer).
% If you are a developer, please use some of the following functions instead:
% * `testHeadless`
% * `testGraphical`
%
% The f... |
github | ga96jul/Bachelarbeit-master | execute_hash_stage.m | .m | Bachelarbeit-master/Bachelorarbeit/05_Libraries/matlab2tikz-matlab2tikz-816f875/test/private/execute_hash_stage.m | 1,223 | utf_8 | 6184f50e662c3c17703266f7a350ea68 | function [status] = execute_hash_stage(status, ipp)
% test stage: check recorded hash checksum
calculated = '';
expected = '';
try
expected = getReferenceHash(status, ipp);
calculated = calculateMD5Hash(status.tikzStage.texFile);
% do the actual check
if ~strcmpi(expecte... |
github | ga96jul/Bachelarbeit-master | errorHandler.m | .m | Bachelarbeit-master/Bachelorarbeit/05_Libraries/matlab2tikz-matlab2tikz-816f875/test/private/errorHandler.m | 1,593 | utf_8 | 192f9bd9629a58a55e84e47ed41af93c | function [stage, errorHasOccurred] = errorHandler(e)
% common error handler code: save and print to console
errorHasOccurred = true;
stage = emptyStage();
stage.message = format_error_message(e);
stage.error = errorHasOccurred;
disp_error_message(stage.message);
end
% ============================... |
github | baolinhu/face_compare-master | urlreadpost.m | .m | face_compare-master/face_com_face++_matlab/urlreadpost.m | 4,124 | utf_8 | 415c4cf82008395df7350567049758f0 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [output,status] = urlreadpost(urlChar,params)
%URLREADPOST Returns the contents of a URL POST method as a string.
% S = URLREADPOST('URL',PARAMS) passes information to the server as
% a POST request. PARAMS is a cell array of param/value pairs.
%... |
github | baolinhu/face_compare-master | parse_json.m | .m | face_compare-master/face_com_face++_matlab/parse_json.m | 5,591 | utf_8 | 511272119247075d3fa284c56d18e945 | function [data json] = parse_json(json)
% [DATA JSON] = PARSE_JSON(json)
% This function parses a JSON string and returns a cell array with the
% parsed data. JSON objects are converted to structures and JSON arrays are
% converted to cell arrays.
%
% Example:
% google_search = 'http://ajax.googleapis.com/ajax/services... |
github | johnR46/artificial-neural-network-Basic-master | LED_1.m | .m | artificial-neural-network-Basic-master/LED.M/LED_1.m | 2,551 | utf_8 | 62dc1b76560e52837a84d5c7f0a32727 | clear all %clear all variables
close all %close all figure
clc %clear screen
NUMBER_ARGS = 5
int8 numtrain;
uint8 seed;
char outputfile[100];
int8 percentnoise;
int8 noisy[7]; % /* Contains boolean values (attribute noise) */
int8 instance[10][7]; %/* Original 10 instances */... |
github | johnR46/artificial-neural-network-Basic-master | LED_2.m | .m | artificial-neural-network-Basic-master/LED.M/LED_2.m | 2,893 | utf_8 | 9b7b4b134e9e15d474f54cca73a6ab91 | clear all %clear all variables
close all %close all figure
clc %clear screen
NUMBER_ARGS = 5
%/*==== Inputs ====*/
int8 numtrain; % /*==== Input #1 ====*/
uint8 seed; % /*==== Input #2 ====*/
char outputfile[100]; % /*==== Input #3 ====*/
int8 percentnoise;
%/*==== Other global values ====*/
int8... |
github | xiaoshaoning/LTE_Reed_Muller_code-master | LTE_Reed_Muller_encode.m | .m | LTE_Reed_Muller_code-master/LTE_Reed_Muller_encode.m | 1,482 | utf_8 | 7e6b6f81d01740fe71625bae883f67ff | % LTE O(32, 11) code for CQI/PMI and ACK
function y = LTE_Reed_Muller_encode(x)
basis_sequences_for_32_O = [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1; ...
1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1; ...
1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1; ...
1, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1; ...
1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1; ...
1, 1, ... |
github | xiaoshaoning/LTE_Reed_Muller_code-master | LTE_pucch_20_A_encode.m | .m | LTE_Reed_Muller_code-master/LTE_pucch_20_A_encode.m | 1,093 | utf_8 | 9ec873d2ee9ec5fd98f5a54ebdd34afc | % LTE pucch (20, A) code
function y = LTE_pucch_20_A_encode(x)
basis_sequences_for_20_A = [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0; ...
1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0; ...
1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1; ...
1, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1; ...
1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1; .... |
github | lcnbeapp/beapp-master | set_beapp_def.m | .m | beapp-master/set_beapp_def.m | 28,266 | utf_8 | 117d2385db5f9f74defeadbe405113d3 | %% set_beapp_def
%
% initialize BEAPP grp_proc_info struct, which contains processing
% information for the whole dataset
%
%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
% The Batch Electroencephalography Automated Processing Platform (BEAPP)
% Copyright (C) 2015, 2016, 2017
%
% Developed... |
github | lcnbeapp/beapp-master | fooof_group.m | .m | beapp-master/functions/fooof_group.m | 1,475 | utf_8 | 974a8666887be9f1b2a2c5bdc3238423 | % fooof_group() run the fooof model on a group of neural power spectra
%
% Usage:
% fooof_results = fooof_group(freqs, psds, f_range, settings);
%
% Inputs:
% freqs = row vector of frequency values
% psds = matrix of power values, which each row representing a spectrum
% f_range = f... |
github | lcnbeapp/beapp-master | extract_num_attended_trials_pre_seg_rej.m | .m | beapp-master/functions/extract_num_attended_trials_pre_seg_rej.m | 3,538 | utf_8 | f9e3f1ebf9c4a03d8aca5fafe122e199 | % patch code to pull out behavioral coding information
% from BEAPP files retroactively, and stores them in a table (one for all
% files and conditions) in the out folder
% this information will eventually be included in BEAPP reporting
%
% src_dir is the string with the directory that contains the BEAPP source
% files... |
github | lcnbeapp/beapp-master | wICA.m | .m | beapp-master/functions/wICA.m | 4,582 | utf_8 | 09e191d185eef1f2e79c7eed7d143029 | %function [wIC,A,W,IC] = wICA(data, type= 'fastica', plotting= 1, Fs= 250, L=5)
function [wIC,A,W,IC] = wICA(EEG,varargin)
%--------------- function [wIC,A,W] = wICA(data,varargin) -----------------
%
% Performs ICA on data matrix (row vector) and subsequent wavelet
% thresholding to remove low-amplitude activity from ... |
github | lcnbeapp/beapp-master | beapp_pre_segmentation_version_control.m | .m | beapp-master/functions/beapp_pre_segmentation_version_control.m | 1,136 | utf_8 | b3b0e3c992754c0e21d1444d3a91efe7 | % version control for BETA testers BEAPP 4.0
function file_proc_info = beapp_pre_segmentation_version_control (file_proc_info)
file_proc_info.beapp_nchans_used = cellfun(@length,file_proc_info.beapp_indx,'UniformOutput',1)';
if ~isfield(file_proc_info, 'evt_header_tag_information')
file_proc_info.evt_header_tag_... |
github | lcnbeapp/beapp-master | batch_beapp_ica.m | .m | beapp-master/functions/batch_beapp_ica.m | 14,199 | utf_8 | 7d6826925a40b39559ef854cdd029edd | %% batch_beapp_ica (grp_proc_info)
%
% Apply ICA + MARA, HAPPE, or ICA to the data according to
% grp_proc_info.ica_type, generate output report if user selected
%
% ICA+ MARA and HAPPE outputs will have backprojected components
% output for ICA alone will be raw data + ICA weights and sphere matrices
%
% HAPP-E Versi... |
github | lcnbeapp/beapp-master | h_epoch_interp_spl.m | .m | beapp-master/functions/h_epoch_interp_spl.m | 5,579 | utf_8 | b3f72af0ca562a5a7d2b9cd9eca573ff | % Edit to the EEGLAB interpolation function to interpolate different
% channels within each epoch
% Cleaned up and removed irrelevant sections.
%
% Additions Copyright (C) 2010 Hugh Nolan, Robert Whelan and Richard Reilly, Trinity College Dublin,
% Ireland
%
% Based on:
%
% eeg_interp() - interpolate data channels
%
% ... |
github | lcnbeapp/beapp-master | batch_edf2beapp.m | .m | beapp-master/functions/batch_edf2beapp.m | 2,347 | utf_8 | 8bebbf251ff7cea3a0bb00618268507b | % this function is entirely adapted from the Biosig toolbox for EEGLAB
% and from the following functions:
% pop_readedf() - Read a European data format .EDF data file.
% Author: Arnaud Delorme, CNL / Salk Institute, 13 March 2002
%
% pop_readbdf() - Read Biosemi 24-bit BDF file
% Author: Arnaud Delorme, CNL / Salk Ins... |
github | lcnbeapp/beapp-master | read_mff_data_blocks.m | .m | beapp-master/functions/read_mff_data_blocks.m | 549 | utf_8 | 94b05f952f57bd5e1df7d8c8c662d0ab | % Original function written by Colin Davey for EGI API
% date 3/2/2012, 4/15/2014
% Copyright 2012, 2014 EGI. All rights reserved.
function data = read_mff_data_blocks(binObj, blocks, beginBlock, endBlock)
for blockInd = beginBlock-1:endBlock-1
tmpdata = read_mff_data_block(binObj, blocks, blockInd);
if blockI... |
github | lcnbeapp/beapp-master | beapp_ica_select_channels_for_file.m | .m | beapp-master/functions/beapp_ica_select_channels_for_file.m | 5,429 | utf_8 | 817deda80d2bb515b0ea4990c54dca63 | %% beapp_ica_select_channels_for_file
%
% select channels to use in ICA module. By default, uses 10-20 for net+
% user set additional channels (because of MARA).In the future, users not running MARA
% will be able to choose any channels they'd like
%
% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... |
github | lcnbeapp/beapp-master | align_segment_info_across_src_files.m | .m | beapp-master/functions/align_segment_info_across_src_files.m | 582 | utf_8 | 66dd4c2ee1e5d0a0eded65c240211ea8 | %% this functionality is not yet supported and should not be used by most users
% will eventually align segment information from hand edited files that are
% exported as segments with continuous recordings
function eeg_w = align_segment_info_across_src_files (eeg,file_proc_info_in,seg_info_dir)
subID = strsplit(fil... |
github | lcnbeapp/beapp-master | byc_plot_table.m | .m | beapp-master/functions/byc_plot_table.m | 4,131 | utf_8 | 3613f83833c88d5fce502f2b7dddef84 | %% this script plots some of the features reported in the table
function byc_plot_table(signal,signal_low_mat,result_table,time_s,byc_dir,filename,chan,seg,save_reports)
% clear
% close all
% clc
% Change the current folder to the folder of this m-file.
if(~isdeployed)
cd(fileparts(which(mfilename)));
end
cd ..
%da... |
github | lcnbeapp/beapp-master | beapp_eeglab_path_adding.m | .m | beapp-master/functions/beapp_eeglab_path_adding.m | 26,051 | utf_8 | abc4e9f1770eefbff8aeb52c5bad0ca8 | % this script calls the path initializing EEGLab code, a subset of
% the primary eeglab script
% this is done to prevent errors caused by adding EEGLab/plugin subfolders
% to the path
%
% EEGLAB is a Matlab graphic user interface environment for
% electrophysiological data analysis incorporating the ICA/EEG toolbox... |
github | lcnbeapp/beapp-master | read_mff_data_block.m | .m | beapp-master/functions/read_mff_data_block.m | 787 | utf_8 | affe9d914627a34be60349c001976ed4 | % Original function written by Colin Davey for EGI API
% date 3/2/2012, 4/15/2014
% Copyright 2012, 2014 EGI. All rights reserved.
function data = read_mff_data_block(binObj, blocks, blockInd)
blockObj = blocks.get(blockInd);
% to access the data for a block, it must be loaded first
blockObj = binObj.loadSignalBlockDa... |
github | lcnbeapp/beapp-master | mff_getObject.m | .m | beapp-master/functions/mff_getObject.m | 1,810 | utf_8 | eedf2cef694832c13457e149a12450a5 | %% mff_getObject.m
% Matlab File
% author Colin Davey
% date 3/2/2012, 12/3/2013
% Copyright 2012, 2013 EGI. All rights reserved.
% Support routine for MFF Matlab code. Not intended to be called directly.
%
% Returns objects of various types:
% com.egi.services.mff.api.MFFResourceType.kMFF_RT_Any
% com.e... |
github | lcnbeapp/beapp-master | extract_separate_file_segment_info.m | .m | beapp-master/functions/extract_separate_file_segment_info.m | 2,783 | utf_8 | 4e3b1211a56b86d3bd1a0f0c9d4eb639 | %% this functionality is not yet supported and should not be used by most users
% will eventually align segment information from hand edited files that are
% exported as segments with continuous recordings
function extract_separate_file_segment_info(grp_proc_info_in)
%% set path, generate filelist
if (exist(grp_proc_... |
github | lcnbeapp/beapp-master | beapp_calc_comod.m | .m | beapp-master/functions/beapp_calc_comod.m | 6,503 | utf_8 | 82bb8be11000ade48121e4d45affa9eb | %% beapp_calc_comod: takes a signal (eeg data section) and generates a PAC comodulogram
function [comodulogram, result_z_scores, result_surr_max, phase_bins, amp_dist, phase_dist] = beapp_calc_comod(signal,srate,low_fq_range,high_fq_range,...
method,low_fq_width,high_fq_width,low_fq_res,high_fq_res,calc_zscores,pa... |
github | lcnbeapp/beapp-master | beapp_calc_mi_zscore.m | .m | beapp-master/functions/beapp_calc_mi_zscore.m | 2,581 | utf_8 | 21ee00e3be5775927b1760ec37df1e4c | %Calculates a comodulogram of MIs, phase_biases. If user selects to calculate z-scores,
%z-scored MIs are also calculated/
%Instead of calculating the MI of each segment separately, and then
%averaging those values, this function averaged the amplitude distributions
%across the segments, and then calculated the MI on ... |
github | lcnbeapp/beapp-master | fooof.m | .m | beapp-master/functions/fooof.m | 3,761 | utf_8 | c7bd4b92ea4c9151d15a69ad556be47b | % fooof() - run the fooof model on a neural power spectrum
%
% Usage:
% >> fooof_results = fooof(freqs, psd, f_range, settings);
%
% Inputs:
% freqs = row vector of frequency values
% psd = row vector of power values
% f_range = fitting range (Hz)
% settings = fooof model ... |
github | lcnbeapp/beapp-master | beapp_create_REST_lead_matrix.m | .m | beapp-master/functions/beapp_create_REST_lead_matrix.m | 1,833 | utf_8 | a55a2a87491440a4c5d4f46b3f0e38a4 | % version of the REST_Reference_Callback function taken from the REST
% toolbox to correspond with BEAPP format.
% calls REST toolbox Lead_Field software to create lead field matrix
% The REST Toolbox:
% Li Dong*, Fali Li, Qiang Liu, Xin Wen, Yongxiu Lai, Peng Xu and Dezhong Yao*.
% MATLAB Toolboxes for Reference Elec... |
github | lcnbeapp/beapp-master | load_REST_lead_matrices_and_create_gs.m | .m | beapp-master/functions/load_REST_lead_matrices_and_create_gs.m | 1,398 | utf_8 | bf742071c1369a6a55b5e341d574d4d8 | % version of a function taken from the REST toolbox to correspond with BEAPP format:
% The REST Toolbox:
% Li Dong*, Fali Li, Qiang Liu, Xin Wen, Yongxiu Lai, Peng Xu and Dezhong Yao*.
% MATLAB Toolboxes for Reference Electrode Standardization Technique (REST) of Scalp EEG.
% Frontiers in Neuroscience, 2017:11(601).
... |
github | lcnbeapp/beapp-master | fooof_check_settings.m | .m | beapp-master/functions/fooof_check_settings.m | 735 | utf_8 | 1288684349fda0893e8d12f386f68e6c | % Check fooof settings, provided as a struct
% Any settings not specified are set to default values
function settings = fooof_check_settings(settings)
if ~isfield(settings, 'peak_width_limits')
settings.peak_width_limits = [0.5, 12];
end
if ~isfield(settings, 'max_n_peaks')
setting... |
github | lcnbeapp/beapp-master | detrend_biosig_nan.m | .m | beapp-master/functions/detrend_biosig_nan.m | 4,727 | utf_8 | b66e0b644dc203fc9f62131271b359c2 | % This function is part of the NaN-toolbox
% http://pub.ist.ac.at/~schloegl/matlab/NaN/
function [X,T]=detrend_biosig_nan(t,X,p)
% DETREND removes the trend from data, NaN's are considered as missing values
%
% DETREND is fully compatible to previous Matlab and Octave DETREND with the following features a... |
github | lcnbeapp/beapp-master | batch_eeglab2beapp.m | .m | beapp-master/functions/batch_eeglab2beapp.m | 8,091 | utf_8 | c2e837872cf68051dd87d5acd0a3094e | function grp_proc_info_in = batch_eeglab2beapp (grp_proc_info_in)
% get file list and extract file specific information from input tables
[grp_proc_info_in.src_fname_all,grp_proc_info_in.src_linenoise_all,...
grp_proc_info_in.src_offsets_in_ms_all,grp_proc_info_in.beapp_fname_all,grp_proc_info_in.src_net_typ_all]... |
github | lcnbeapp/beapp-master | compute_REST_reref.m | .m | beapp-master/functions/compute_REST_reref.m | 1,683 | utf_8 | 51c86de41591ec327439963cec28eca9 | % version of the REST_Reference_Callback function taken from the REST toolbox to correspond with BEAPP format:
% The REST Toolbox:
% Li Dong*, Fali Li, Qiang Liu, Xin Wen, Yongxiu Lai, Peng Xu and Dezhong Yao*.
% MATLAB Toolboxes for Reference Electrode Standardization Technique (REST) of Scalp EEG.
% Frontiers in Neu... |
github | lcnbeapp/beapp-master | fooof_unpack_results.m | .m | beapp-master/functions/fooof_unpack_results.m | 941 | utf_8 | 3bc34ef5c084798af19241baef790402 | % Unpack fooof_results python object into matlab struct
function results_out = fooof_unpack_results(results_in)
results_out = struct();
results_out.background_params = ...
double(py.array.array('d', results_in.background_params));
temp = double(py.array.array('d', results_in.peak_params.... |
github | lcnbeapp/beapp-master | beapp_gui_edit_seg_settings.m | .m | beapp-master/functions/gui_functions/beapp_gui_edit_seg_settings.m | 2,399 | utf_8 | 6a035e435c091bc1232971ae66b4dc5c | function grp_proc_info = beapp_gui_edit_seg_settings (grp_proc_info)
% globals -- will find a way to pass them automatically later
scrsz = get(groot,'ScreenSize');
win_width = scrsz(3)/4;
seg_sub_panel_ctr = 1;
show_back_button = 'off';
strhalt_seg_out = '';
skipline_panel = 'on';
% initialize available panels based... |
github | lcnbeapp/beapp-master | supergui_mod_for_beapp.m | .m | beapp-master/functions/gui_functions/supergui_mod_for_beapp.m | 22,954 | utf_8 | 3e46e61716eacad4934a4dfad6cf5a28 | % supergui_mod_for_beapp
% very slightly modified version of supergui (function written for eeglab)
% adds options for:
% 'backcolor' - background color for GUI
% buttoncolor - button color
% 'button_fontsize' - fontsize on buttons
% removes dependencies on EEGLAB specific parameters
% Author: Arnaud Delorme, CNL... |
github | lcnbeapp/beapp-master | unique_bc.m | .m | beapp-master/functions/gui_functions/unique_bc.m | 738 | utf_8 | e3e09500a6ce1840521829a4f979ca39 | % unique_bc - unique backward compatible with Matlab versions prior to 2013a
% also see eeglab ()
function [C,IA,IB] = unique_bc(A,varargin);
errorFlag = error_bc;
v = version;
indp = find(v == '.');
v = str2num(v(1:indp(2)-1));
if v > 7.19, v = floor(v) + rem(v,1)/10; end;
if nargin > 2
ind = strmatch('legacy'... |
github | lcnbeapp/beapp-master | beapp_gui_hide_unneeded_inputs.m | .m | beapp-master/functions/gui_functions/beapp_gui_hide_unneeded_inputs.m | 1,186 | utf_8 | 19a1c99d6d2a8deca671823207643f0c | % turn corresponding inputs invisible in GUI if checkbox is selected/field
% is set to a specific value
% checkbox_tag is the tag for the primary field
% other_input_tags are corresponding tags to mark visible or invisible
% checkbox_on_val ('On' or 'Off')-- turn inputs visible or invisible if
% checkbox/field is expec... |
github | lcnbeapp/beapp-master | beapp_gui_add_delete_rename_condition_columns.m | .m | beapp-master/functions/gui_functions/beapp_gui_add_delete_rename_condition_columns.m | 3,625 | utf_8 | f8e81d1e36355aa981e8201bf3c29d4e | % function to automatically add, delete, and rename condition columns
% Inputs:
% seg_evt_table is the GUI table with the list of conditions currently
% selected
% add_del_ren is a tag generated by the associated button push for adding,
% deleting, or renaming
function beapp_gui_add_delete_rename_condition_columns (se... |
github | lcnbeapp/beapp-master | beapp_gui_add_nets_to_library.m | .m | beapp-master/functions/gui_functions/beapp_gui_add_nets_to_library.m | 1,627 | utf_8 | f35bdf6ea3bb30681768cad2df5ec3f6 | % gui wrapper for adding nets to net library
function beapp_gui_add_nets_to_library(grp_proc_info_in,net_disp_table_tag)
empty_10_cell = cell(10,1);
empty_10_cell(:) = deal({''});
button_list=[{{'style','text','string', ...
'Enter exact names of new nets/sensor layouts to add below'}},...
{{'style','uitable'... |
github | lcnbeapp/beapp-master | reset_beapp_path_defaults.m | .m | beapp-master/functions/gui_functions/reset_beapp_path_defaults.m | 1,495 | utf_8 | d7e37a60a1827f917eda5bccb6197314 | % reset beapp ref paths on template load in case the computer has changed
function grp_proc_info = reset_beapp_path_defaults (grp_proc_info)
%% version numbers for BEAPP and packages
grp_proc_info.beapp_ver={'BEAPP_v4_1'};
grp_proc_info.eeglab_ver = {'eeglab14_1_2b'};
grp_proc_info.fieldtrip_ver = {'fieldtrip-201609... |
github | lcnbeapp/beapp-master | adv_inputgui_mod_for_beapp.m | .m | beapp-master/functions/gui_functions/adv_inputgui_mod_for_beapp.m | 19,504 | utf_8 | e7b7c964451d793642d90ac60df6dba3 | % adv_inputgui_mod_for_beapp() - Modified very slightly from EEGLAB's inputgui
% to allow for run flexibility when generating advanced input windows and
% generation of a few more kinds of elements
% inputgui() - A comprehensive gui automatic builder. This function helps
% to create GUI very quickly witho... |
github | lcnbeapp/beapp-master | finputcheck.m | .m | beapp-master/functions/gui_functions/finputcheck.m | 9,133 | utf_8 | fe838fecdd60e76a4006a13c7c1b20e4 | % finputcheck() - check Matlab function {'key','value'} input argument pairs
%
% Usage: >> result = finputcheck( varargin, fieldlist );
% >> [result varargin] = finputcheck( varargin, fieldlist, ...
% callingfunc, mode, verbose );
% Input:
% varargin - Cell array ... |
github | lcnbeapp/beapp-master | inputgui_mod_for_beapp.m | .m | beapp-master/functions/gui_functions/inputgui_mod_for_beapp.m | 20,526 | utf_8 | 5dd7ae62aa159e1226cad15b24e4f37c | % inputgui_mod_for_beapp() - Modified very slightly from EEGLAB's inputgui
% to allow for run flexibility.
%
% A comprehensive gui automatic builder. This function helps
% to create GUI very quickly without bothering about the
% positions of the elements. After creating a geometry,
% ... |
github | lcnbeapp/beapp-master | WriteMatrix2Text.m | .m | beapp-master/Packages/CSDtoolbox/func/WriteMatrix2Text.m | 1,415 | utf_8 | 40fcf238991341aab27833a32ab9aeb5 | % function WriteMatrix2Text ( X, FileName, FmtStg, CaseCol )
%
% This is a generic routine to write a data matrix to an ASCII file.
%
% Usage: WriteMatrix2Text ( X, FileName, FmtStg, CaseCol );
%
% Input arguments: X data matrix
% FileName file name string
% FmtStg... |
github | lcnbeapp/beapp-master | eeglab.m | .m | beapp-master/Packages/eeglab14_1_2b/eeglab.m | 113,212 | utf_8 | 883a8870e64e48ad66cf02195294076c | % eeglab() - Matlab graphic user interface environment for
% electrophysiological data analysis incorporating the ICA/EEG toolbox
% (Makeig et al.) developed at CNL / The Salk Institute, 1997-2001.
% Released 11/2002- as EEGLAB (Delorme, Makeig, et al.) at the Swartz Center
% for Computational Neuroscience,... |
github | lcnbeapp/beapp-master | display.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/@memmapdata/display.m | 1,180 | utf_8 | d3d679b5764eca6d062540923f669f7b | % display() - display an EEG data class underlying structure
%
% Author: Arnaud Delorme, SCCN, INC, UCSD, Nov. 2008
% Copyright (C) 2008 Arnaud Delorme, SCCN, INC, UCSD
%
% 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 ... |
github | lcnbeapp/beapp-master | reshape.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/@memmapdata/reshape.m | 1,449 | utf_8 | d59a7e256f6fc43fe77f3be9319fcc46 | % reshape() - reshape of memory mapped underlying array
%
% Author: Arnaud Delorme, SCCN, INC, UCSD, Nov. 2008
% Copyright (C) 2008 Arnaud Delorme, SCCN, INC, UCSD
%
% 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 ... |
github | lcnbeapp/beapp-master | end.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/@memmapdata/end.m | 901 | utf_8 | 0e38d125a547083cb574fbd3bb455fbd | % end() - last index to memmapdata array
%
% Author: Arnaud Delorme, SCCN, INC, UCSD, Nov. 2008
% Copyright (C) 2008 Arnaud Delorme, SCCN, INC, UCSD
%
% 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 Founda... |
github | lcnbeapp/beapp-master | subsasgn.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/@memmapdata/subsasgn.m | 1,590 | utf_8 | 6b2894eb17dab5aae0637b84992ffb7d | % subsasgn() - define index assignment for eegdata objects
%
% Author: Arnaud Delorme, SCCN, INC, UCSD, Nov. 2008
% Copyright (C) 2008 Arnaud Delorme, SCCN, INC, UCSD
%
% 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 Fr... |
github | lcnbeapp/beapp-master | isnumeric.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/@memmapdata/isnumeric.m | 877 | utf_8 | 34baf204e1b984ee69cf7f462fe2e524 | % isnumeric() - returns 1
%
% Author: Arnaud Delorme, SCCN, INC, UCSD, Nov. 2008
% Copyright (C) 2008 Arnaud Delorme, SCCN, INC, UCSD
%
% 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; either v... |
github | lcnbeapp/beapp-master | length.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/@memmapdata/length.m | 913 | utf_8 | f0841237745a123f3215e00164cc4a1a | % length() - length of memory mapped underlying array
%
% Author: Arnaud Delorme, SCCN, INC, UCSD, Nov. 2008
% Copyright (C) 2008 Arnaud Delorme, SCCN, INC, UCSD
%
% 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 So... |
github | lcnbeapp/beapp-master | sum.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/@memmapdata/sum.m | 1,913 | utf_8 | dbd7353e16ccf6a1a0b69875cd9050cb | % sum() - sum of memory mapped underlying array
%
% Author: Arnaud Delorme, SCCN, INC, UCSD, Nov. 2008
% Copyright (C) 2008 Arnaud Delorme, SCCN, INC, UCSD
%
% 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... |
github | lcnbeapp/beapp-master | size.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/@memmapdata/size.m | 1,383 | utf_8 | c7033b3ab1405ded2c8794f2c214beb9 | % size() - size of memory mapped underlying array
%
% Author: Arnaud Delorme, SCCN, INC, UCSD, Nov. 2008
% Copyright (C) 2008 Arnaud Delorme, SCCN, INC, UCSD
%
% 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 Softwa... |
github | lcnbeapp/beapp-master | subsref.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/@memmapdata/subsref.m | 4,622 | utf_8 | 096fd75b6454f11ffee5a172000a64c1 | % subsref() - index eegdata class
%
% Author: Arnaud Delorme, SCCN, INC, UCSD, Nov. 2008
% Copyright (C) 2008 Arnaud Delorme, SCCN, INC, UCSD
%
% 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; e... |
github | lcnbeapp/beapp-master | ndims.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/@memmapdata/ndims.m | 1,169 | utf_8 | 8c3ed2dde450e1422a2552d22e9c150b | % ndims() - number of dimension of memory mapped underlying array
%
% Author: Arnaud Delorme, SCCN, INC, UCSD, Nov. 2008
% Copyright (C) 2008 Arnaud Delorme, SCCN, INC, UCSD
%
% 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
%... |
github | lcnbeapp/beapp-master | memmapdata.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/@memmapdata/memmapdata.m | 1,994 | utf_8 | 5f967fcb7b637954900e09789144dde6 | % memmapdata() - create a memory-mapped data class
%
% Usage:
% >> data_class = memmapdata(data);
%
% Inputs:
% data - input data or data file
%
% Outputs:
% data_class - output dataset class
%
% Author: Arnaud Delorme, SCCN, INC, UCSD, Nov. 2008
% Copyright (C) 2008 Arnaud Delorme, SCCN, INC, UCSD
%
... |
github | lcnbeapp/beapp-master | display.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/@mmo/display.m | 1,161 | utf_8 | b43db5e3387d5dcb39fafa9aa03939f9 | % display() - display an EEG data class underlying structure
%
% Author: Arnaud Delorme, SCCN, INC, UCSD, Nov. 2008
% Copyright (C) 2008 Arnaud Delorme, SCCN, INC, UCSD
%
% 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 ... |
github | lcnbeapp/beapp-master | reshape.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/@mmo/reshape.m | 1,242 | utf_8 | cc03295fbaa6179eb2e8b266daf6b644 | % reshape() - reshape of memory mapped underlying array
%
% Author: Arnaud Delorme, SCCN, INC, UCSD, Nov. 2008
% Copyright (C) 2008 Arnaud Delorme, SCCN, INC, UCSD
%
% 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 ... |
github | lcnbeapp/beapp-master | subsasgn_old.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/@mmo/subsasgn_old.m | 9,802 | utf_8 | 0fc68a1bfa60e3118b3a4b6efd10fa52 | % subsasgn() - define index assignment for eegdata objects
%
% Author: Arnaud Delorme, SCCN, INC, UCSD, Nov. 2008
% Copyright (C) 2008 Arnaud Delorme, SCCN, INC, UCSD
%
% 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 Fr... |
github | lcnbeapp/beapp-master | end.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/@mmo/end.m | 901 | utf_8 | 0e38d125a547083cb574fbd3bb455fbd | % end() - last index to memmapdata array
%
% Author: Arnaud Delorme, SCCN, INC, UCSD, Nov. 2008
% Copyright (C) 2008 Arnaud Delorme, SCCN, INC, UCSD
%
% 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 Founda... |
github | lcnbeapp/beapp-master | subsasgn.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/@mmo/subsasgn.m | 10,655 | utf_8 | c4514f5b1f0fec385eeb19fee7a5db56 | % subsasgn() - define index assignment for eegdata objects
%
% Author: Arnaud Delorme, SCCN, INC, UCSD, Nov. 2008
% Copyright (C) 2008 Arnaud Delorme, SCCN, INC, UCSD
%
% 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 Fr... |
github | lcnbeapp/beapp-master | isnumeric.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/@mmo/isnumeric.m | 877 | utf_8 | 34baf204e1b984ee69cf7f462fe2e524 | % isnumeric() - returns 1
%
% Author: Arnaud Delorme, SCCN, INC, UCSD, Nov. 2008
% Copyright (C) 2008 Arnaud Delorme, SCCN, INC, UCSD
%
% 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; either v... |
github | lcnbeapp/beapp-master | checkcopies_local.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/@mmo/checkcopies_local.m | 634 | utf_8 | 8eb8d5fec95c91346e91a09010082b47 | % subfunction checking the number of local copies
% -----------------------------------------------
function ncopies = checkcopies_local(obj, arg);
ncopies = 0;
if isstruct(arg)
for ilen = 1:length(arg)
for index = fieldnames(arg)'
ncopies = ncopies + checkcopies_local(obj, arg(ilen).(index{1}))... |
github | lcnbeapp/beapp-master | changefile.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/@mmo/changefile.m | 187 | utf_8 | e75127c90da43ddce182d36cf0abbdee | % this function is called when the file is being saved
function obj = changefile(obj, newfile)
movefile(obj.dataFile, newfile);
obj.dataFile = newfile;
obj.writable = false; |
github | lcnbeapp/beapp-master | var.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/@mmo/var.m | 1,416 | utf_8 | 2360192fa42b3c35ebd7743ffe4fe8b6 | % var() - variance of memory mapped underlying array
%
% Author: Arnaud Delorme, SCCN, INC, UCSD, Nov. 2008
% Copyright (C) 2008 Arnaud Delorme, SCCN, INC, UCSD
%
% 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 Sof... |
github | lcnbeapp/beapp-master | length.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/@mmo/length.m | 913 | utf_8 | f0841237745a123f3215e00164cc4a1a | % length() - length of memory mapped underlying array
%
% Author: Arnaud Delorme, SCCN, INC, UCSD, Nov. 2008
% Copyright (C) 2008 Arnaud Delorme, SCCN, INC, UCSD
%
% 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 So... |
github | lcnbeapp/beapp-master | sum.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/@mmo/sum.m | 1,212 | utf_8 | 2fbce1d1b6e2a5edf32742897441a732 | % sum() - sum of memory mapped underlying array
%
% Author: Arnaud Delorme, SCCN, INC, UCSD, Nov. 2008
% Copyright (C) 2008 Arnaud Delorme, SCCN, INC, UCSD
%
% 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... |
github | lcnbeapp/beapp-master | size.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/@mmo/size.m | 1,751 | utf_8 | daf6932de04161ccb2df3df31b45203a | % size() - size of memory mapped underlying array
%
% Author: Arnaud Delorme, SCCN, INC, UCSD, Nov. 2008
% Copyright (C) 2008 Arnaud Delorme, SCCN, INC, UCSD
%
% 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 Softwa... |
github | lcnbeapp/beapp-master | subsref.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/@mmo/subsref.m | 2,711 | utf_8 | 1da2db6dbbc53f36d6d2954f095f9064 | % subsref() - index eegdata class
%
% Author: Arnaud Delorme, SCCN, INC, UCSD, Nov. 2008
% Copyright (C) 2008 Arnaud Delorme, SCCN, INC, UCSD
%
% 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; e... |
github | lcnbeapp/beapp-master | ndims.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/@mmo/ndims.m | 1,095 | utf_8 | 7ddcbafa2aaf95308a1a4de4a272f0ae | % ndims() - number of dimension of memory mapped underlying array
%
% Author: Arnaud Delorme, SCCN, INC, UCSD, Nov. 2008
% Copyright (C) 2008 Arnaud Delorme, SCCN, INC, UCSD
%
% 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
%... |
github | lcnbeapp/beapp-master | correctfit.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/timefreqfunc/correctfit.m | 3,222 | utf_8 | 69c8b2f965023329820bdfd3c7e82176 | % correctfit() - correct fit using observed p-values. Use this function
% if for some reason, the distribution of p values is
% not uniform between 0 and 1
%
% Usage:
% >> [p phat pci zerofreq] = correctfit(pval, 'key', 'val');
%
% Inputs:
% pval - input p value
%
% Optional inputs... |
github | lcnbeapp/beapp-master | timef.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/timefreqfunc/timef.m | 42,818 | utf_8 | 6663467d76d01722baccf168fec18e1b | % timef() - Returns estimates and plots of mean event-related spectral
% perturbation (ERSP) and inter-trial coherence (ITC) changes
% across event-related trials (epochs) of a single input time series.
% * Uses either fixed-window, zero-padded FFTs (fastest), wavelet
% 0-padded D... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.