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 | lcnbeapp/beapp-master | reslice_vol.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/realtime/online_mri/private/reslice_vol.m | 942 | utf_8 | 081ab7897d7a4e33ecb3ade31f6263c0 | function [Va, Mask] = reslice_vol(Vo, M, interp)
% function [Va, Mask] = reslice_vol(Vo, M, interp)
% Ripped out of SPM 8 and modified (2010, S.Klanke)
dim = size(Vo);
wrap = [1;1;0];
d = [interp*[1;1;1] wrap];
[x1,x2] = ndgrid(1:dim(1), 1:dim(2));
C = spm_bsplinc(Vo, d);
Va = zeros(dim);
Mask = zeros(dim);
for x3 ... |
github | lcnbeapp/beapp-master | ft_realtime_signalviewer.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/realtime/example/ft_realtime_signalviewer.m | 9,980 | utf_8 | 80b047f2f1e4ef4fbb3c7f3a8124588a | function ft_realtime_signalviewer(cfg)
% FT_REALTIME_SIGNALVIEWER is an example realtime application for online viewing of
% the data. It should work both for EEG and MEG.
%
% Use as
% ft_realtime_signalviewer(cfg)
% with the following configuration options
% cfg.blocksize = number, size of the blocks/chuncks tha... |
github | lcnbeapp/beapp-master | ft_realtime_packettimer.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/realtime/example/ft_realtime_packettimer.m | 2,522 | utf_8 | ce7334780040a70c9e396dd0e8aa858d | function ft_realtime_packettimer(cfg)
% FT_REALTIME_PACKETTIMER can be used to time the rate at which data can be processed
%
% Use as
% ft_realtime_packettimer(cfg)
% with the following configuration options
% cfg.bcifun = processing of the data (default = @bcifun_timer)
% cfg.npackets = the number of packe... |
github | lcnbeapp/beapp-master | ft_realtime_topography.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/realtime/example/ft_realtime_topography.m | 7,588 | utf_8 | a80a1641c2aa67f4120d9f7bd114d8c8 | function ft_realtime_topography(cfg)
% FT_REALTIME_TOPOGRAPHY reads continuous data from a file or from a data stream,
% estimates the power and plots the scalp topography in real time.
%
% Use as
% ft_realtime_topography(cfg)
% with the following configuration options
% cfg.blocksize = number, size of ... |
github | lcnbeapp/beapp-master | ft_realtime_heartbeatdetect.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/realtime/example/ft_realtime_heartbeatdetect.m | 9,725 | utf_8 | a64cf7e75558cb8c89ea26c459849f8f | function ft_realtime_heartbeatdetect(cfg)
% FT_REALTIME_HEARTBEATDETECT is an example realtime application for online
% detection of heart beats. It should work both for EEG and MEG.
%
% Use as
% ft_realtime_heartbeatdetect(cfg)
% with the following configuration options
% cfg.blocksize = number, size of the bloc... |
github | lcnbeapp/beapp-master | ft_realtime_powerestimate.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/realtime/example/ft_realtime_powerestimate.m | 6,443 | utf_8 | 361c8a8f141a0cc16b24d8c40614a42f | function ft_realtime_powerestimate(cfg)
% FT_REALTIME_POWERESTIMATE is an example realtime application for online
% power estimation. It should work both for EEG and MEG.
%
% Use as
% ft_realtime_powerestimate(cfg)
% with the following configuration options
% cfg.channel = cell-array, see FT_CHANNELSELECTION (d... |
github | lcnbeapp/beapp-master | ft_realtime_average.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/realtime/example/ft_realtime_average.m | 5,663 | utf_8 | b0174ada31b4f5780645667fbe5b9251 | function ft_realtime_average(cfg)
% FT_REALTIME_AVERAGE is an example realtime application for online
% averaging of the data. It should work both for EEG and MEG.
%
% Use as
% ft_realtime_average(cfg)
% with the following configuration options
% cfg.channel = cell-array, see FT_CHANNELSELECTION (default = 'all... |
github | lcnbeapp/beapp-master | ft_realtime_selectiveaverage.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/realtime/example/ft_realtime_selectiveaverage.m | 7,947 | utf_8 | 2d90d2683d30fc029fd00490a76696c1 | function ft_realtime_selectiveaverage(cfg)
% FT_REALTIME_SELECTIVEAVERAGE is an example realtime application for online
% averaging of the data. It should work both for EEG and MEG.
%
% Use as
% ft_realtime_selectiveaverage(cfg)
% with the following configuration options
% cfg.channel = cell-array, see FT_CHANN... |
github | lcnbeapp/beapp-master | encode_nifti1.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/realtime/example/private/encode_nifti1.m | 4,870 | utf_8 | 9cf92a03587c511a5cec2c8c76a3c2c3 | function blob = encode_nifti1(H)
%function blob = encode_nifti1(H)
%
% Encodes a NIFTI-1 header (=> raw 348 bytes (uint8)) from a Matlab structure
% that matches the C struct defined in nifti1.h.
%
% WARNING: This function currently ignores endianness !!!
% (C) 2010 S.Klanke
blob = uint8(zeros(1,348));
if ~isstruct(... |
github | lcnbeapp/beapp-master | ft_realtime_headlocalizer.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/realtime/online_meg/ft_realtime_headlocalizer.m | 34,879 | utf_8 | da6be976bfcbd763152dc11de64b3c1b | function ft_realtime_headlocalizer(cfg)
% FT_REALTIME_HEADLOCALIZER is a realtime application for online visualization of the
% head position indicator (HPI) coils in CTF275 and Elekta/Neuromag systems.
%
% Repositioning within a recording session can be achieved by marking the HPI
% coil positions at an arbitrary poi... |
github | lcnbeapp/beapp-master | readBESAimage.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/besa/readBESAimage.m | 8,358 | utf_8 | 4969e3fff82f74a3094d9595d66499e3 | function image = readBESAimage(filename)
% readBESAimage reads information from exported BESA images (Beamformer,
% LAURA, sLORETA, swLORETA, LORETA, sSLOFO, User-Defined image, surface
% minimum norm, Probe scan, Sensitivity). The function poutput is a struct
% with fields containing all relevant information from t... |
github | lcnbeapp/beapp-master | load_audio0123.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/videomeg/load_audio0123.m | 3,277 | utf_8 | 010d2cece743343ca3b509e44403cb33 | function [ts, ids, offset, data, srate, site_id, is_sender] = load_audio0123(filename)
% Read an audio file from the disk.
%--------------------------------------------------------------------------
% Copyright (C) 2015 BioMag Laboratory, Helsinki University Central Hospital
%
% This program is free software: ... |
github | lcnbeapp/beapp-master | comp_tstamps.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/videomeg/comp_tstamps.m | 3,190 | utf_8 | f9969e0dd7f6d27c544b26a34bf20649 | function data_tstamps = comp_tstamps(inp, sfreq)
% COMP_TSTAMPS - extract timestamps from a trigger channel
% INP - vector of samples for the trigger channel
% SFREQ - sampling frequency
% Return the vector of the same length as INP, containing timestamps for
% each entry of INP. For detecting timestamps use pa... |
github | lcnbeapp/beapp-master | mff_micros2Sample.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/egi_mff/mff_micros2Sample.m | 527 | utf_8 | 97dfab73c9d72c1615c28404bc7ca63a | %% mff_micros2Sample.m
% Matlab File
% author Colin Davey
% date 3/2/2012
% Copyright 2012, 2013 EGI. All rights reserved.
% Support routine for MFF Matlab code. Not intended to be called directly.
%
% Converts from microseconds to samples, given the sampling rate.
%%
function [sampleNum, remainder] = mff_micros... |
github | lcnbeapp/beapp-master | mff_valid.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/egi_mff/mff_valid.m | 2,663 | utf_8 | 04a88daab90374c3cfc10d82a25c9c9e | %% mff_valid.m
% Matlab File
% author Colin Davey
% date 12/3/2013
% Copyright 2013 EGI. All rights reserved.
% Support routine for MFF Matlab code. Not intended to be called directly.
%
% Tests whether a file is valid, and throws an exception if not. Gives an
% informational warning if filename doesn't end in '... |
github | lcnbeapp/beapp-master | read_mff_header.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/egi_mff/read_mff_header.m | 2,673 | utf_8 | 3709cd08e3c235fbeeed3cc7e8419f1e | %% read_mff_header.m
% Matlab File
% author Colin Davey
% date 3/2/2012, 4/15/2014
% Copyright 2012, 2014 EGI. All rights reserved.
%
% Takes the path to the data and returns the header in the structure
% described at http://www.fieldtriptoolbox.org/reference/ft_read_header.
%
% filePath ? The path to the .mff ... |
github | lcnbeapp/beapp-master | write_mff_data.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/egi_mff/write_mff_data.m | 4,329 | utf_8 | 6446ec1b98cec6e10279f1c1891567ed | %% write_mff_data.m
% Matlab File
% author Colin Davey
% date 3/2/2012, 4/15/2014
% Copyright 2012, 2014 EGI. All rights reserved.
%
% Writes channel data (newData) in newData to an MFF file. NewData is a 2-D
% matrix of size Nchans*Nsamples as described at
% http://www.fieldtriptoolbox.org/reference/ft_read_da... |
github | lcnbeapp/beapp-master | read_mff_data.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/egi_mff/read_mff_data.m | 8,057 | utf_8 | dec75b9fc9150ef62661f59c76e781b1 | %% read_mff_data.m
% Matlab File
% author Colin Davey
% date 3/2/2012, 4/15/2014
% Copyright 2012, 2014 EGI. All rights reserved.
%
% Takes the path to the data and returns the 2-D matrix of size
% Nchans*Nsamples as described at
% http://www.fieldtriptoolbox.org/reference/ft_read_data.
%
% filePath ? The pat... |
github | lcnbeapp/beapp-master | write_mff_event.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/egi_mff/write_mff_event.m | 6,173 | utf_8 | a2125898d8e7a7d9b5d0b39224e9575b | %% write_mff_event.m
% Matlab File
% author Colin Davey
% date 3/2/2012, 4/15/2014
% Copyright 2012, 2014 EGI. All rights reserved.
%
% Writes an events structure (as described at
% http://www.fieldtriptoolbox.org/reference/ft_read_event) to an event-track
% file in an existing MFF file (filePath).
%
% filePa... |
github | lcnbeapp/beapp-master | write_mff_history.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/egi_mff/write_mff_history.m | 4,440 | utf_8 | c40dcab28c29f1f1502200d38126b463 | %% write_mff_history.m
% Matlab File
% author Colin Davey
% date 4/15/2014
% Copyright 2014 EGI. All rights reserved.
%
% This function adds an item to the list of history items. It is intended
% to be run after running code that either a) creates a new mff file based
% on an existing one, or b) modifies an exis... |
github | lcnbeapp/beapp-master | read_mff_event.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/egi_mff/read_mff_event.m | 8,001 | utf_8 | 8f54b92417702a6bde1b09e9ea67c6a0 | %% read_mff_event.m
% Matlab File
% author Colin Davey
% date 3/2/2012, 4/15/2014
% Copyright 2012, 2014 EGI. All rights reserved.
%
% Takes the path to the data and returns the events in the structure
% described at http://www.fieldtriptoolbox.org/reference/ft_read_event.
%
% filePath ? The path to the .mff fi... |
github | lcnbeapp/beapp-master | efficiency_bin.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/bct/efficiency_bin.m | 2,700 | utf_8 | 276bfa775a0cb36ac38e13fcb06ff32a | function E=efficiency_bin(A,local)
%EFFICIENCY_BIN Global efficiency, local efficiency.
%
% Eglob = efficiency_bin(A);
% Eloc = efficiency_bin(A,1);
%
% The global efficiency is the average of inverse shortest path length,
% and is inversely related to the characteristic path length.
%
% The local efficie... |
github | lcnbeapp/beapp-master | reachdist.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/bct/reachdist.m | 1,995 | utf_8 | fe609993c33b1602c328e2a662f2f8a5 | function [R,D] = reachdist(CIJ)
%REACHDIST Reachability and distance matrices
%
% [R,D] = reachdist(CIJ);
%
% The binary reachability matrix describes reachability between all pairs
% of nodes. An entry (u,v)=1 means that there exists a path from node u
% to node v; alternatively (u,v)=0.
%
% The distan... |
github | lcnbeapp/beapp-master | consensus_und.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/bct/consensus_und.m | 3,133 | utf_8 | 2399e05c584d7327bb19ba25e2c89812 | function ciu = consensus_und(d,tau,reps)
%CONSENSUS consensus clustering
%
% CIU = CONSENSUS(D,TAU,REPS) seeks a consensus partition of the
% agreement matrix D. The algorithm used here is almost identical to the
% one introduced in Lancichinetti & Fortunato (2012): The agreement
% matrix D is thresholded... |
github | lcnbeapp/beapp-master | efficiency_wei.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/bct/efficiency_wei.m | 4,166 | utf_8 | d7b86059eb2ec0a923ab289c876fd9b0 | function E=efficiency_wei(W,local)
%EFFICIENCY_WEI Global efficiency, local efficiency.
%
% Eglob = efficiency_wei(W);
% Eloc = efficiency_wei(W,1);
%
% The global efficiency is the average of inverse shortest path length,
% and is inversely related to the characteristic path length.
%
% The local efficie... |
github | lcnbeapp/beapp-master | efficiency.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/bct/efficiency.m | 1,888 | utf_8 | 6f4bd3c62d773c46f3e2ac7d16e67a86 | function E=efficiency(G,local)
%EFFICIENCY Global efficiency, local efficiency.
%
% Eglob = efficiency(A);
% Eloc = efficiency(A,1);
%
% The global efficiency is the average of inverse shortest path length,
% and is inversely related to the characteristic path length.
%
% The local efficiency is the glob... |
github | lcnbeapp/beapp-master | generative_model.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/bct/generative_model.m | 23,153 | utf_8 | dd5cd182d827c9ede9fb54855b0cafd8 | function b = generative_model(A,D,m,modeltype,modelvar,params,epsilon)
%GENERATIVE_MODEL run generative model code
%
% B = GENERATIVE_MODEL(A,D,m,modeltype,modelvar,params)
%
% Generates synthetic networks using the models described in the study by
% Betzel et al (2016) in Neuroimage.
%
% Inputs:
% ... |
github | lcnbeapp/beapp-master | evaluate_generative_model.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/bct/evaluate_generative_model.m | 3,625 | utf_8 | 6c6df608db42f67c0908af434bff6aca | function [B,E,K] = evaluate_generative_model(A,Atgt,D,modeltype,modelvar,params)
% EVALUATE_GENERATIVE_MODEL generate and evaluate synthetic networks
%
% [B,E,K] = EVALUATE_GENERATIVE_MODEL(A,Atgt,D,m,modeltype,modelvar,params)
%
% Generates synthetic networks and evaluates their energy function (see
% below... |
github | lcnbeapp/beapp-master | make_motif34lib.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/bct/make_motif34lib.m | 2,838 | utf_8 | 68f4ca45316fc99ab16adbd5bda80236 | function make_motif34lib
%MAKE_MOTIF34LIB Auxiliary motif library function
%
% make_motif34lib;
%
% This function generates the motif34lib.mat library required for all
% other motif computations.
%
%
% Mika Rubinov, UNSW, 2007-2010
%#ok<*ASGLU>
[M3,M3n,ID3,N3]=motif3generate;
[M4,M4n,ID4,N4]=motif4gen... |
github | lcnbeapp/beapp-master | LoadBinary.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/neuroscope/LoadBinary.m | 9,722 | iso_8859_13 | ac6b47d239db8b0b4e76bb90c8d6263b | function data = LoadBinary(filename,varargin)
%LoadBinary - Load data from a multiplexed binary file.
%
% Reading a subset of the data can be done in two different manners: either
% by specifying start time and duration (more intuitive), or by indicating
% the position and size of the subset in terms of number of r... |
github | lcnbeapp/beapp-master | isivector.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/neuroscope/private/isivector.m | 2,128 | iso_8859_13 | 1468dbe277d48ba93d39a34470a2a792 | %isivector - Test if parameter is a vector of integers satisfying an optional list of tests.
%
% USAGE
%
% test = isivector(x,test1,test2,...)
%
% x parameter to test
% test1... optional list of additional tests (see examples below)
%
% EXAMPLES
%
% % Test if x is a vector of doubles
% ... |
github | lcnbeapp/beapp-master | isradians.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/neuroscope/private/isradians.m | 1,179 | iso_8859_13 | b6d8ed7786fab2bd646134c1424d8304 | %isradians - Test if parameter is in range [0,2pi] or [-pi,pi].
%
% USAGE
%
% test = isradians(x)
%
% x array to test (NaNs are ignored)
%
% OUTPUT
%
% range 0 if uncertain (issues a warning)
% 1 for [-pi,pi]
% 2 for [0,2pi]
% SEE ALSO
%
% See als... |
github | lcnbeapp/beapp-master | isiscalar.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/neuroscope/private/isiscalar.m | 1,623 | iso_8859_13 | 6b14f01efdb2893077da44a97760eecd | %isiscalar - Test if parameter is a scalar (integer) satisfying an optional list of tests.
%
% USAGE
%
% test = isiscalar(x,test1,test2,...)
%
% x parameter to test
% test1... optional list of additional tests
%
% EXAMPLES
%
% % Test if x is a scalar (double)
% isiscalar(x)
%
% % ... |
github | lcnbeapp/beapp-master | islvector.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/neuroscope/private/islvector.m | 1,685 | iso_8859_13 | 0dfac49b5831a12166d7cfbeafcd5445 | %islvector - Test if parameter is a (pseudo) logical vector satisfying an optional list of tests.
%
% USAGE
%
% test = islvector(x,test1,test2,...)
%
% x parameter to test
% test1... optional list of additional tests (see examples below)
%
% EXAMPLES
%
% % Test if x is a logical vector
... |
github | lcnbeapp/beapp-master | wrap.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/neuroscope/private/wrap.m | 974 | iso_8859_13 | 9fba4315faafeb5a9184f843e7593872 | %wrap - Set radian angles in range [0,2pi] or [-pi,pi].
%
% USAGE
%
% y = wrap(x,range)
%
% x angles in radians
% range optional: 1 for [-pi,pi] (default)
% 2 for [0,2pi]
%
% SEE ALSO
%
% See also isradians.
%
% Copyright (C) 2010-2011 by Michaël Zugaro... |
github | lcnbeapp/beapp-master | isimatrix.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/neuroscope/private/isimatrix.m | 1,711 | iso_8859_13 | 301153c731a86f3cf9ab2cd3471a5d60 | %isimatrix - Test if parameter is a matrix of integers (>= 2 columns).
%
% USAGE
%
% test = isimatrix(x,test1,test2,...)
%
% x parameter to test
% test1... optional list of additional tests
%
% EXAMPLES
%
% % Test if x is a matrix of doubles
% isimatrix(x)
%
% % Test if x is a mat... |
github | lcnbeapp/beapp-master | islscalar.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/neuroscope/private/islscalar.m | 1,077 | iso_8859_13 | af0d9269f1590dee3176575b0083aced | %islscalar - Test if parameter is a (pseudo) logical scalar.
%
% USAGE
%
% test = islscalar(x)
%
% x parameter to test
%
% NOTE
%
% To be considered logical, the scalar should be equal to 0 or 1, but it does
% not need to actually be of class 'logical' (class(x) could be e.g. 'double').
%
% ... |
github | lcnbeapp/beapp-master | isdvector.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/neuroscope/private/isdvector.m | 2,081 | iso_8859_13 | 5ef70521f0fa1b770ada8d42d0fe9bee | %isdvector - Test if parameter is a vector of doubles satisfying an optional list of tests.
%
% USAGE
%
% test = isdvector(x,test1,test2,...)
%
% x parameter to test
% test1... optional list of additional tests (see examples below)
%
% EXAMPLES
%
% % Test if x is a vector of doubles
% ... |
github | lcnbeapp/beapp-master | isstring.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/neuroscope/private/isstring.m | 992 | iso_8859_13 | 3f0150034c5c2e51b50c80fc3828fd12 | %isstring - Test if parameter is an (admissible) character string.
%
% USAGE
%
% test = isstring(x,string1,string2,...)
%
% x item to test
% string1... optional list of admissible strings
%
% SEE ALSO
%
% See also isdmatrix, isdvector, isdscalar, isimatrix, isivector, isiscalar.
%
% Copy... |
github | lcnbeapp/beapp-master | islmatrix.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/neuroscope/private/islmatrix.m | 1,149 | iso_8859_13 | 2e0a52b0be376a939b2c68ef383358b2 | %islmatrix - Test if parameter is a logical matrix (>= 2 columns).
%
% USAGE
%
% test = islmatrix(x)
%
% x parameter to test
%
% NOTE
%
% To be considered logical, the matrix should contain only values 0 and 1, but it
% does not need to actually be of class 'logical' (class(x) could be e.g. '... |
github | lcnbeapp/beapp-master | isdscalar.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/neuroscope/private/isdscalar.m | 1,575 | iso_8859_13 | 01e7b8dfec919c2f708c7a25d96262e3 | %isdscalar - Test if parameter is a scalar (double) satisfying an optional list of tests.
%
% USAGE
%
% test = isdscalar(x,test1,test2,...)
%
% x parameter to test
% test1... optional list of additional tests
%
% EXAMPLES
%
% % Test if x is a scalar (double)
% isdscalar(x)
%
% % T... |
github | lcnbeapp/beapp-master | isdmatrix.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/neuroscope/private/isdmatrix.m | 1,656 | iso_8859_13 | ba7943baf9c16023dd749f34097850df | %isdmatrix - Test if parameter is a matrix of doubles (>= 2 columns).
%
% USAGE
%
% test = isdmatrix(x,test1,test2,...)
%
% x parameter to test
% test1... optional list of additional tests
%
% EXAMPLES
%
% % Test if x is a matrix of doubles
% isdmatrix(x)
%
% % Test if x is a matr... |
github | lcnbeapp/beapp-master | readneuronedata.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/neurone/readneuronedata.m | 3,668 | utf_8 | 8b13da2d37c92187282b24464ba2d0cf | % readneuronedata() - Read NeurOne Binary files
%
% Usage: >> data = readneuronedata(dataFiles,nChannels,chans)
%
% ===================================================================
% Inputs:
% dataFiles - A cell structure containing full paths for data
% files to be read. Th... |
github | lcnbeapp/beapp-master | pop_readneurone.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/neurone/pop_readneurone.m | 8,116 | utf_8 | c755af0f65d561b1d3adaa77368be5ff | % pop_readneurone() - A function for reading NeurOne data.
%
% Usage: >> [EEGOUT,command] = pop_readneurone() % Launches GUI for user input
% OR
% >> [EEGOUT,command] = pop_readneurone(dataPath, sessionPhaseNumber, chans)
%
% Please note that if this function is called without using the menu item
% in EEGL... |
github | lcnbeapp/beapp-master | eegplugin_neurone.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/neurone/eegplugin_neurone.m | 1,598 | utf_8 | 1b5fe8ed27d31f4de4608dd4b652f905 | % eegplugin_neurone() - EEGLAB plugin to import data from a NeurOne device.
%
% Usage:
% >> eegplugin_neurone(fig,try_strings,catch_strings)
%
% Inputs:
% fig - [integer] handle to EEGLAB figure
% try_strings - [struct] "try" strings for menu callbacks.
% catch_strings - [struct] "catch" string... |
github | lcnbeapp/beapp-master | readneuroneevents.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/neurone/readneuroneevents.m | 4,947 | utf_8 | b51f19a943ed465494de552dfeb3b250 | % readneuroneevents() - Read events from a Mega NeurOne device.
%
% Usage: >> event = readneuroneevents(dataPath)
%
% =======================================================================
% Input:
% dataPath - Direct path for the folder containing the event
% data (file 'ev... |
github | lcnbeapp/beapp-master | readneurone.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/neurone/readneurone.m | 11,773 | utf_8 | cf4bc45088b4719e91b7b6b87c7300f1 | % readneurone() - Read data from a Mega NeurOne device and arrange it
% into a struct.
%
% Usage: >> NEURONE = readneurone(dataPath, sessionPhaseNumber, chans)
%
% =======================================================================
% Inputs:
% dataPath - Path to directory conta... |
github | lcnbeapp/beapp-master | guireadneurone.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/neurone/guireadneurone.m | 4,818 | utf_8 | 88c8053fef247ef0eff9f0bcd3992657 | function varargout = guireadneurone(varargin)
% GUIREADNEURONE Application M-file for guireadneurone.fig
% FIG = GUIREADNEURONE launch guireadneurone GUI.
% GUIREADNEURONE('callback_name', ...) invoke the named callback.
%
% ========================================================================
% NOTE:
% This f... |
github | lcnbeapp/beapp-master | floatread.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/eeglab/floatread.m | 5,572 | utf_8 | 942a49968bcce849dfc9d359ac7d2651 | % floatread() - Read matrix from float file ssuming four byte floating point number
% Can use fseek() to read an arbitary (continguous) submatrix.
%
% Usage: >> a = floatread(filename,size,'format',offset)
%
% Inputs:
% filename - name of the file
% size - determine the number of float ele... |
github | lcnbeapp/beapp-master | floatwrite.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/eeglab/floatwrite.m | 3,169 | utf_8 | 8472e61c3208f7a445ec052e9cc52b4b | % floatwrite() - Write data matrix to float file.
%
% Usage: >> floatwrite(data,filename, 'format')
%
% Inputs:
% data - write matrix data to specified file as four-byte floating point numbers.
% filename - name of the file
% 'format' - The option FORMAT argument specifies the storage format as
% ... |
github | lcnbeapp/beapp-master | eeglab2fieldtrip.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/eeglab/eeglab2fieldtrip.m | 5,477 | utf_8 | bdb52aada07dc61861584ca6a70c7482 | % eeglab2fieldtrip() - do this ...
%
% Usage: >> data = eeglab2fieldtrip( EEG, fieldbox, transform );
%
% Inputs:
% EEG - [struct] EEGLAB structure
% fieldbox - ['preprocessing'|'freqanalysis'|'timelockanalysis'|'companalysis']
% transform - ['none'|'dipfit'] transform channel locations for DIPFIT
% ... |
github | lcnbeapp/beapp-master | sobi.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/eeglab/sobi.m | 5,094 | utf_8 | ce6035ad7a3d7312fee7cf1a37d8e04e | % sobi() - Second Order Blind Identification (SOBI) by joint diagonalization of
% correlation matrices. THIS CODE ASSUMES TEMPORALLY CORRELATED SIGNALS,
% and uses correlations across times in performing the signal separation.
% Thus, estimated time delayed covariance matrices must be nonsi... |
github | lcnbeapp/beapp-master | varimax.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/eeglab/varimax.m | 4,437 | utf_8 | d87cb189d37524e4920c2f9ad9c41aa4 | % varimax() - Perform orthogonal Varimax rotation on rows of a data
% matrix.
%
% Usage: >> V = varimax(data);
% >> [V,rotdata] = varimax(data,tol);
% >> [V,rotdata] = varimax(data,tol,'noreorder')
%
% Inputs:
% data - data matrix
% tol - set the termination tolerance to ... |
github | lcnbeapp/beapp-master | pcsquash.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/eeglab/pcsquash.m | 2,802 | utf_8 | 9e0a0372b72b09c731ef70785b8ce862 | % pcsquash() - compress data using Principal Component Analysis (PCA)
% into a principal component subspace. To project back
% into the original channel space, use pcexpand()
%
% Usage:
% >> [eigenvectors,eigenvalues] = pcsquash(data,ncomps);
% >> [eigenvectors,eigenvalues,com... |
github | lcnbeapp/beapp-master | binica.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/eeglab/binica.m | 13,069 | utf_8 | e1bfb70b5edae53d01116b6f9cf42d51 | % binica() - Run stand-alone binary version of runica() from the
% Matlab command line. Saves time and memory relative
% to runica(). If stored in a float file, data are not
% read into Matlab, and so may be larger than Matlab
% can handle owing to memory limitations.
% Usa... |
github | lcnbeapp/beapp-master | loadcnt.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/eeglab/loadcnt.m | 24,511 | utf_8 | 4c5259259e1f529ae64cfe52eec5bd9a | % loadcnt() - Load a Neuroscan continuous signal file.
%
% Usage:
% >> cnt = loadcnt(file, varargin)
%
% Inputs:
% filename - name of the file with extension
%
% Optional inputs:
% 't1' - start at time t1, default 0. Warning, events latency
% might be innacurate (this is an open issue).
% ... |
github | lcnbeapp/beapp-master | runica.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/eeglab/runica.m | 64,715 | utf_8 | 6d997fa33b536afd5abe7d1cac2c0c8d | % runica() - Perform Independent Component Analysis (ICA) decomposition
% of input data using the logistic infomax ICA algorithm of
% Bell & Sejnowski (1995) with the natural gradient feature
% of Amari, Cichocki & Yang, or optionally the extended-ICA
% algorithm of Lee, G... |
github | lcnbeapp/beapp-master | jader.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/eeglab/jader.m | 11,455 | utf_8 | 8b74fa9e0345ee0857e1e564b74dd872 | % jader() - blind separation of real signals using JADE (v1.5, Dec. 1997).
%
% Usage:
% >> B = jader(X);
% >> B = jader(X,m);
%
% Notes:
% 1) If X is an nxT data matrix (n sensors, T samples) then
% B=jader(X) is a nxn separating matrix such that S=B*X is an nxT
% matrix of estimated source signals.
% 2)... |
github | lcnbeapp/beapp-master | spm_write_sn.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm2/spm_write_sn.m | 16,446 | utf_8 | c5ee1fa9a0d128de2d7e3d4522ea5ad1 | function VO = spm_write_sn(V,prm,flags,extras)
% Write Out Warped Images.
% FORMAT VO = spm_write_sn(V,prm,flags,msk)
% V - Images to transform (filenames or volume structure).
% matname - Transformation information (filename or structure).
% flags - flags structure, with fields...
% interp - ... |
github | lcnbeapp/beapp-master | spm_affreg.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm2/spm_affreg.m | 18,476 | utf_8 | 46e5122f9bf661904177ad3e3beb09c1 | function [M,scal] = spm_affreg(VG,VF,flags,M,scal)
% Affine registration using least squares.
% FORMAT [M,scal] = spm_affreg(VG,VF,flags,M0,scal0)
%
% VG - Vector of template volumes.
% VF - Source volume.
% flags - a structure containing various options. The fields are:
% WG - Weig... |
github | lcnbeapp/beapp-master | spm_vol.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm2/spm_vol.m | 3,510 | utf_8 | fe778e6a833de2a9f5466018c571d5a6 | function V = spm_vol(P)
% Get header information etc for images.
% FORMAT V = spm_vol(P)
% P - a matrix of filenames.
% V - a vector of structures containing image volume information.
% The elements of the structures are:
% V.fname - the filename of the image.
% V.dim - the x, y and z dimensions of the vo... |
github | lcnbeapp/beapp-master | spm_read_netcdf.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm2/spm_read_netcdf.m | 3,640 | utf_8 | 9339212a576f5d67662107cebb087054 | function cdf = spm_read_netcdf(fname)
% Read the header information from a NetCDF file into a data structure.
% FORMAT cdf = spm_read_netcdf(fname)
% fname - name of NetCDF file
% cdf - data structure
%
% See: http://www.unidata.ucar.edu/packages/netcdf/
% _____________________________________________________________... |
github | lcnbeapp/beapp-master | spm_figure.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm2/spm_figure.m | 30,750 | utf_8 | 93a783638e6b9249e4ea8bb6377a5308 | function varargout=spm_figure(varargin)
% Setup and callback functions for Graphics window
% FORMAT varargout=spm_figure(varargin)
% - An embedded callback, multi-function function
% - For detailed programmers comments, see format specifications
% in main body of code
%______________________________... |
github | lcnbeapp/beapp-master | spm_smoothto8bit.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm2/spm_smoothto8bit.m | 2,262 | utf_8 | b2475a56514dcda30f94612977b6f68a | function VO = spm_smoothto8bit(V,fwhm)
% 3 dimensional convolution of an image to 8bit data in memory
% FORMAT VO = spm_smoothto8bit(V,fwhm)
% V - mapped image to be smoothed
% fwhm - FWHM of Guassian filter width in mm
% VO - smoothed volume in a form that can be used by the
% spm_*_vol.mex* functions.... |
github | lcnbeapp/beapp-master | spm_platform.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm2/spm_platform.m | 7,715 | utf_8 | c43c4cc00de257f7ef7f8f9e79552a22 | function varargout=spm_platform(varargin)
% Platform specific configuration parameters for SPM
%
% FORMAT ans = spm_platform(arg)
% arg - optional string argument, can be
% - 'bigend' - return whether this architecture is bigendian
% - Inf - is not IEEE floating point
% ... |
github | lcnbeapp/beapp-master | spm_read_hdr.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm2/spm_read_hdr.m | 5,294 | utf_8 | 674302bc6310dd07e5c76a9cc58fc5ce | function [hdr,otherendian] = spm_read_hdr(fname)
% Read (SPM customised) Analyze header
% FORMAT [hdr,otherendian] = spm_read_hdr(fname)
% fname - .hdr filename
% hdr - structure containing Analyze header
% otherendian - byte swapping necessary flag
%_______________________________________________________... |
github | lcnbeapp/beapp-master | spm_write_plane.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm2/spm_write_plane.m | 4,446 | utf_8 | 4112c03c69d90f524531bf05dc467067 | function V = spm_write_plane(V,A,p)
% Write a transverse plane of image data.
% FORMAT V = spm_write_plane(V,A,p)
% V - data structure containing image information.
% - see spm_vol for a description.
% A - the two dimensional image to write.
% p - the plane number (beginning from 1).
%
% VO - (possibly) mo... |
github | lcnbeapp/beapp-master | spm_normalise.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm2/spm_normalise.m | 12,887 | utf_8 | e8649290b7272eb0337aeae86fb737c0 | function params = spm_normalise(VG,VF,matname,VWG,VWF,flags)
% Spatial (stereotactic) normalization
%
% FORMAT params = spm_normalise(VG,VF,matname,VWG,VWF,flags)
% VG - template handle(s)
% VF - handle of image to estimate params from
% matname - name of file to store deformation definitions
% VWG ... |
github | lcnbeapp/beapp-master | spm_create_vol.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm2/spm_create_vol.m | 11,434 | utf_8 | f18edbf50d6186af1c5108b814690894 | function V = spm_create_vol(V,varargin)
% Create an image file.
% FORMAT Vo = spm_create_vol(Vi,['noopen'])
% Vi - data structure containing image information.
% - see spm_vol for a description.
% 'noopen' - optional flag to say "don't open/create the image file".
% Vo - data structure after modification for w... |
github | lcnbeapp/beapp-master | spm_segment.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm2/spm_segment.m | 23,496 | utf_8 | 9a46c30048feeec44530aa433c773546 | function VO = spm_segment(VF,PG,flags)
% Segment an MR image into Gray, White & CSF.
%
% FORMAT VO = spm_segment(PF,PG,flags)
% PF - name(s) of image(s) to segment (must have same dimensions).
% PG - name(s) of template image(s) for realignment.
% - or a 4x4 transformation matrix which maps from the image t... |
github | lcnbeapp/beapp-master | spm_vol_ecat7.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm2/spm_vol_ecat7.m | 16,814 | utf_8 | 7c015c4444d187b46b81134cf388711c | function V = spm_vol_ecat7(fname,required)
% Get header information etc. for ECAT 7 images.
% FORMAT V = spm_vol_ecat7(fname,required)
% P - an ECAT 7 filename.
% fname - a structure containing image volume information.
% required - an optional text argument specifying which volumes to
% u... |
github | lcnbeapp/beapp-master | read_wobj.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/wavefront/read_wobj.m | 14,065 | utf_8 | 9ba67412c5fae158393557fd39a68306 | function OBJ=read_wobj(fullfilename)
% Read the objects from a Wavefront OBJ file
%
% OBJ=read_wobj(filename);
%
% OBJ struct containing:
%
% OBJ.vertices : Vertices coordinates
% OBJ.vertices_texture: Texture coordinates
% OBJ.vertices_normal : Normal vectors
% OBJ.vertices_point : Vertice data used for points and li... |
github | lcnbeapp/beapp-master | write_wobj.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/wavefront/write_wobj.m | 7,933 | utf_8 | 96f334af246b0a305d8e8d354ddc7bba | function write_wobj(OBJ,fullfilename)
% Write objects to a Wavefront OBJ file
%
% write_wobj(OBJ,filename);
%
% OBJ struct containing:
%
% OBJ.vertices : Vertices coordinates
% OBJ.vertices_texture: Texture coordinates
% OBJ.vertices_normal : Normal vectors
% OBJ.vertices_point : Vertice data used for points and line... |
github | lcnbeapp/beapp-master | mne_load_coil_def.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/mne/mne_load_coil_def.m | 8,714 | utf_8 | 27f6f7c6a6d28610885a9c1be788e73a | function [CoilDef,Header] = mne_load_coil_def(fname);
%
%
% [CoilDef,Header] = mne_load_coil_def(fname);
% CoilDef = mne_load_coil_def(fname);
%
% If file name is not specified, the standard coil definition file
% $MNE_ROOT/setup/mne/coil_def.dat or $MNE_ROOT/share/mne/coil_def.dat is read
%
% The co... |
github | lcnbeapp/beapp-master | fiff_find_evoked.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/mne/fiff_find_evoked.m | 2,846 | utf_8 | f7c5e4fd4395754f0e87d3fe6e984d62 | function [data_sets] = fiff_find_evoked(fname)
%
% [data_sets] = fiff_find_evoked(fname)
%
% Find all evoked data sets in a fif file and create a list of descriptors
%
%
% Author : Matti Hamalainen, MGH Martinos Center
% License : BSD 3-clause
%
global FIFF;
if isempty(FIFF)
FIFF = fiff_define_constants();
e... |
github | lcnbeapp/beapp-master | load_dicom_series.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/freesurfer/load_dicom_series.m | 3,258 | utf_8 | b4de6c347c9d4453d512c9f0b5cfa58a | function [vol, M, tmpdcminfo, mr_parms] = load_dicom_series(seriesno,dcmdir,dcmfile)
% [vol, M, dcminfo] = load_dicom_series(seriesno,<dcmdir>,<dcmfile>)
%
% Reads in a dicom series given:
% 1. The series number and directory, or
% 2. A dicom file from the desired series
%
% If the series number is given but no dcmdi... |
github | lcnbeapp/beapp-master | load_dicom_fl.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/freesurfer/load_dicom_fl.m | 5,504 | utf_8 | a1b99a4d200049ebdb809c0b684b98a1 | function [vol, M, dcminfo, mr_parms] = load_dicom_fl(flist)
% [vol, M, dcminfo, mr_parms] = load_dicom_fl(flist)
%
% Loads a volume from the dicom files in flist.
%
% The volume dimensions are arranged such that the
% readout dimension is first, followed by the phase-encode,
% followed by the slices (this is not implem... |
github | lcnbeapp/beapp-master | tukeywin.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/signal/tukeywin.m | 2,102 | utf_8 | 92cee22ee44a0bf1650a07edd3ef943a | % Copyright (C) 2007 Laurent Mazet <mazet@crm.mot.com>
%
% 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 version 3 of the License, or (at your option) any later
% version.
%
% This progra... |
github | lcnbeapp/beapp-master | rectwin.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/signal/rectwin.m | 990 | utf_8 | 6fcae9032382b3785fa1a5fc7d35d0bd | % Copyright (C) 2007 Sylvain Pelissier <sylvain.pelissier@gmail.com>
%
% 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 version 3 of the License, or (at your option) any later
% version.
%... |
github | lcnbeapp/beapp-master | triang.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/signal/triang.m | 2,254 | utf_8 | 922302c6c872d9c51d61c97a76761328 | % Copyright (C) 2000-2002 Paul Kienzle <pkienzle@users.sf.net>
%
% 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 version 3 of the License, or (at your option) any later
% version.
%
% Thi... |
github | lcnbeapp/beapp-master | bohmanwin.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/signal/bohmanwin.m | 1,381 | utf_8 | b837d6f243c8cd46b91ac9846a12da56 | % Copyright (C) 2007 Sylvain Pelissier <sylvain.pelissier@gmail.com>
%
% 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 version 3 of the License, or (at your option) any later
% version.
%... |
github | lcnbeapp/beapp-master | hanning.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/signal/hanning.m | 1,970 | utf_8 | 78215b654e6e105faa447902fa6cc81c | function [tap] = hanning(n, str)
%HANNING Hanning window.
% HANNING(N) returns the N-point symmetric Hanning window in a column
% vector. Note that the first and last zero-weighted window samples
% are not included.
%
% HANNING(N,'symmetric') returns the same result as HANNING(N).
%
% HANNING(N,'periodic'... |
github | lcnbeapp/beapp-master | filtfilt.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/signal/filtfilt.m | 3,297 | iso_8859_1 | d01a26a827bc3379f05bbc57f46ac0a9 | % Copyright (C) 1999 Paul Kienzle
% Copyright (C) 2007 Francesco Potortì
% Copyright (C) 2008 Luca Citi
%
% 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 version 2 of the License, or
% (a... |
github | lcnbeapp/beapp-master | nuttallwin.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/signal/nuttallwin.m | 1,316 | utf_8 | 2a8b412e307f23d07700757c675abcc1 | % Copyright (C) 2007 Sylvain Pelissier <sylvain.pelissier@gmail.com>
%
% 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 version 3 of the License, or (at your option) any later
% version.
%... |
github | lcnbeapp/beapp-master | hann.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/signal/hann.m | 66 | utf_8 | 779d38839745c5c57530f4c470cc1352 | % w = hann(n)
% see hanning
function w = hann(n), w=hanning(n);
|
github | lcnbeapp/beapp-master | kaiser.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/signal/kaiser.m | 1,745 | utf_8 | bae51aff1f9eb7c65b82a58fb3049d34 | % Copyright (C) 1995, 1996, 1997 Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at>
% Copyright (C) 2000 Paul Kienzle <pkienzle@users.sf.net>
%
% 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 vers... |
github | lcnbeapp/beapp-master | window.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/signal/window.m | 1,240 | utf_8 | a1ed726ea9ff030e26b60e47cd280d12 | % Copyright (C) 2008 David Bateman
%
% 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 version 3 of the License, or (at your option) any later
% version.
%
% This program is distributed in... |
github | lcnbeapp/beapp-master | blackmanharris.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/signal/blackmanharris.m | 1,188 | utf_8 | 58ad36fc97b524266d6a9db98fb6e6ee | % Copyright (C) 2007 Sylvain Pelissier <sylvain.pelissier@gmail.com>
%
% 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 version 3 of the License, or (at your option) any later
% version.
%... |
github | lcnbeapp/beapp-master | butter.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/signal/butter.m | 3,578 | utf_8 | 696de0a27da88cbdd29b04aed067dbce | % Copyright (C) 1999 Paul Kienzle
%
% 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 version 2 of the License, or
% (at your option) any later version.
%
% This program is distributed in t... |
github | lcnbeapp/beapp-master | parzenwin.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/signal/parzenwin.m | 1,301 | utf_8 | 5e0e2262856d9c53bb520b02b54f2653 | % Copyright (C) 2007 Sylvain Pelissier <sylvain.pelissier@gmail.com>
%
% 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 version 3 of the License, or (at your option) any later
% version.
%... |
github | lcnbeapp/beapp-master | gausswin.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/signal/gausswin.m | 1,116 | utf_8 | 17daab2749d4ce5c84bb5e676271e8f0 | % Copyright (C) 1999 Paul Kienzle <pkienzle@users.sf.net>
%
% 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 version 3 of the License, or (at your option) any later
% version.
%
% This pro... |
github | lcnbeapp/beapp-master | barthannwin.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/signal/barthannwin.m | 1,173 | utf_8 | c90d57c40549a232f05664d193b8cb7a | % Copyright (C) 2007 Sylvain Pelissier <sylvain.pelissier@gmail.com>
%
% 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 version 3 of the License, or (at your option) any later
% version.
%... |
github | lcnbeapp/beapp-master | postpad.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/signal/private/postpad.m | 2,013 | utf_8 | 2c9539d77ff0f85c9f89108f4dc811e0 | % Copyright (C) 1994, 1995, 1996, 1997, 1998, 2000, 2002, 2004, 2005,
% 2006, 2007, 2008, 2009 John W. Eaton
%
% This file is part of Octave.
%
% Octave 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 | sftrans.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/signal/private/sftrans.m | 7,947 | utf_8 | f64cb2e7d19bcdc6232b39d8a6d70e7c | % Copyright (C) 1999 Paul Kienzle
%
% 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 version 2 of the License, or
% (at your option) any later version.
%
% This program is distributed in t... |
github | lcnbeapp/beapp-master | bilinear.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/signal/private/bilinear.m | 4,339 | utf_8 | 17250db27826cad87fa3384823e1242f | % Copyright (C) 1999 Paul Kienzle
%
% 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 version 2 of the License, or
% (at your option) any later version.
%
% This program is distributed in t... |
github | lcnbeapp/beapp-master | fns_region_write.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/fns/fns_region_write.m | 1,267 | utf_8 | 45ac73e5dd89386923a808a25a65dc99 | %% TODO: Need to remove this routine.
function fns_region_write(rgnfile,rgn)
%
% This routine write the region information to the HDF5 file
%
% rgnfile The output region file.
% rgn The region of interest data structure.
% @author Hung Dang, July 13, 2010
% Write the description of stored data to the output file
hdf... |
github | lcnbeapp/beapp-master | fns_contable_write.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/fns/fns_contable_write.m | 2,490 | utf_8 | 3a266284afc0ca72cdb64b914acdf643 | function cond = fns_contable_write(varargin)
% Creates the default conductivity table
%
% Use as
% cond = fns_contable_write
%
% The FNS convention for tissue types is the following:
% 0 "Clear Label"
% 1 "CSF"
% 2 "Gray Matter"
% 3 "White Matter"
% 4 "Fat"
% 5 "Muscle"... |
github | lcnbeapp/beapp-master | denoise_energy.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dss/denoise_energy.m | 2,548 | utf_8 | 276746592d3b53d810d56acb6c3c952f | function [params, s_new] = denoise_energy(params, s, state)
% Energy based DSS denoising function
% [params, s_new] = denoise_energy(params, s, state)
% params Function specific modifiable parameters
% params.usepow ... (default: 1.3)
% params.c ... (default: ?)
% params.var_noise Initi... |
github | lcnbeapp/beapp-master | denoise_filter.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dss/denoise_filter.m | 2,143 | utf_8 | ae3a9902113a9f9a705cf8295dce183c | function [params, s_new] = denoise_filter(params, s, state)
% Generic filter function. Can be used as DSS denoising function.
% [params, s_new] = denoise_filter(params, s, state)
% params Defines the used filter
% params.filter_conv Inpulse response for convolution filter
% params.filter_dct Mask ... |
github | lcnbeapp/beapp-master | report_convergence.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dss/report_convergence.m | 1,476 | utf_8 | e97824a6b7f960c982c55b90b63cc8cf | function [report_data] = report_convergence(report_data, state)
% Report convergence of the algorithm
% Copyright (C) 2004, 2005 DSS MATLAB package team (dss@cis.hut.fi).
% Distributed by Laboratory of Computer and Information Science,
% Helsinki University of Technology. http://www.cis.hut.fi/projects/dss/.
% $Id$
i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.