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
om_normals.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/openmeeg/om_normals.m
1,572
utf_8
ca0342ba8f9473f946c7df879e4a82c8
function [nrm] = normals(pos, tri, opt) % NORMALS compute the surface normals of a triangular mesh % for each triangle or for each vertex % % Use as % nrm = normals(pos, tri, opt) % where opt is either 'vertex' or 'triangle' % Copyright (C) 2002-2007, Robert Oostenveld if nargin<3 opt='vertex'; elseif (opt(1)=='...
github
lcnbeapp/beapp-master
normals.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/openmeeg/private/normals.m
2,346
utf_8
fc0a8ff8ded57a42b7f5436338ed6788
function [nrm] = normals(pnt, tri, opt); % NORMALS compute the surface normals of a triangular mesh % for each triangle or for each vertex % % [nrm] = normals(pnt, tri, opt) % where opt is either 'vertex' or 'triangle' % Copyright (C) 2002-2007, Robert Oostenveld % % This file is part of FieldTrip, see http://www.ru....
github
lcnbeapp/beapp-master
dipoli.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dipoli/dipoli.m
4,457
utf_8
f2e2fe3dbd61e25b90d68adb9202f375
function [vol] = dipoli(vol, isolated) % DIPOLI computes a BEM system matrix % % Use as % [vol] = dipoli(vol, isolated) % Copyright (C) 2005-2008, Robert Oostenveld % % $Log: dipoli.m,v $ % Revision 1.3 2008/12/24 10:25:41 roboos % cleaned up the dipoli wrapper, replaced the binary by a better one and added a cop...
github
lcnbeapp/beapp-master
scpopen.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/biosig/private/scpopen.m
57,392
utf_8
efe5be2dea8235810f4b98539abfdbd1
function [HDR]=scpopen(arg1,CHAN,arg4,arg5,arg6) % SCPOPEN reads and writes SCP-ECG files % % SCPOPEN is an auxillary function to SOPEN for % opening of SCP-ECG files for reading ECG waveform data % % Use SOPEN instead of SCPOPEN % % See also: fopen, SOPEN, % $Id$ % (C) 2004,2006,2007,2008 by Alois Schloegl <a...
github
lcnbeapp/beapp-master
openxml.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/biosig/private/openxml.m
13,850
utf_8
a2522f85226716568c1d40ee7e6666f6
function [HDR]=openxml(arg1,CHAN,arg4,arg5,arg6) % OPENXML reads XML files and tries to extract biosignal data % % This is an auxilary function to SOPEN. % Use SOPEN instead of OPENXML. % % % HDR = openxml(HDR); % % HDR contains the Headerinformation and internal data % % see also: SOPEN, SREAD, SSEEK, STELL, SCLOSE,...
github
lcnbeapp/beapp-master
matread.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/biosig/private/matread.m
10,217
utf_8
0c42f4955d1ed526f04022f79b06fd87
function [HDR,data,t]=matread(HDR,arg2,idxlist) % MATRREAD Loads (parts of) data stored in Matlab-format % % [HDR,data,timeindex]=matread(HDR,block_number, [startidx, endidx]) % This is the recommended use for Matlab-files generated from ADICHT data % Before using MATREAD, HDR=MATOPEN(filename, 'ADI', ...) must be app...
github
lcnbeapp/beapp-master
GE_createSPMmat.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/afni/GE_createSPMmat.m
1,480
utf_8
9da4628d724922838247f14727e25722
%%%%%%%%%%%%%%%%%%%%%%%% % % % Write SPM mat file % % % %%%%%%%%%%%%%%%%%%%%%%%% function M = GE_createSPMmat(im_hdr, scandir) % % Put the appropriate translations and rotations to the M matrix % given the information in the image header and the direction of % acquisition % %...
github
lcnbeapp/beapp-master
NewCs.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/afni/NewCs.m
20,018
utf_8
02f4f3b94b14be6adab8ee52224b2dc3
function [cs] = NewCs(Name, win, p1, p2, p3, p4, p5) % % [cs] = NewCs (Name, Con, P1, P2) % %Purpose: % Create a command structure for passing to TellAfni % % %Input Parameters: % Name: Name of command, see AFNI's README.driver for all possibilities % Example: SET_THRESHOLD % To see a list ...
github
lcnbeapp/beapp-master
New_HEAD.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/afni/New_HEAD.m
8,432
utf_8
3213a4c8b09f49855cafdf9925e5b3d3
function [err,Info, opt] = New_HEAD (opt) % % [err,Info, Opt] = New_HEAD (Opt) % %Purpose: % A function for the likes of Greg Detre. % It makes the creation of an AFNI dataset % from a 3 or 4 dimensional matrix in matlab a breeze. % % % %Input Parameters: % opt is an options structure with the follow...
github
lcnbeapp/beapp-master
PeakFinder.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/afni/PeakFinder.m
13,081
utf_8
2f79a40d4194ae7e9ad3a34c87589a80
function [R, e] = PeakFinder(vvec, Opt) %Example: PeakFinder('Resp*.1D'); % or PeakFinder(v) where v is a column vector % if v is a matrix, each column is processed separately. % %clear all but vvec (useful if I run this function as as script) keep('vvec', 'Opt'); e = 0; R = struct([]); if (nargin < 2) Opt = struct();...
github
lcnbeapp/beapp-master
rgbdectohex.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/afni/rgbdectohex.m
6,032
utf_8
fca22486bef72eb78e71977479b7940b
function [Cs] = rgbdectohex (Mrgb,strg) % % Mode 1: % [Cs] = rgbdectohex (Mrgb,[string]) % Mode 2: % rgbdectohex % % Mode 1: %This function takes as an input the rgb matrix Mrgb (size is Nx3) % where each row represents the rgb gun values of a color. % gun values should be integers between 0 and 255 % ...
github
lcnbeapp/beapp-master
afni_niml_writesimple.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/afni/afni_niml_writesimple.m
4,503
utf_8
231807f9346f2bfcc56fa5f3eda8ff00
function D=afni_niml_writesimple(S,fn) % writes surface data in a 'simple' struct in NIML format to a file. % % D=AFNI_NIML_WRITESIMPLE(fn,S) writes surface data S to the file FN. % S should be a struct with a field S.data, and optionally S.stats, % S.labels, S.history, S.types, and S.node_indices. % This function ret...
github
lcnbeapp/beapp-master
zglobb.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/afni/zglobb.m
3,946
utf_8
508195b45ee39c7296447826b75515f4
function [err,ErrMessage, NameList] = zglobb (Identifiers, Opt) % % [err, ErrMessage, List] = zglobb (Identifiers, [Opt]) %or % [List] = zglobb (Identifiers, [Opt]) %Purpose: % returns the list of files specified in Identifiers % % %Input Parameters: % Identifiers is a cellstr identifying which briks to ...
github
lcnbeapp/beapp-master
afni_niml_parse.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/afni/afni_niml_parse.m
4,013
utf_8
928c1d463779f609cd8549cfec5a0a37
function niml = afni_niml_parse(s) % Simple parsing routine for AFNI NIML datasets % % N=AFNI_NIML_PARSE(S) parses the niml string S and returns a parsed % structure P. % % P can either be an niml element, or a group of niml elements. In the % formder case, P contains a field .data; in the latter, a cell .nodes. % % If...
github
lcnbeapp/beapp-master
afni_fig_interface.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/afni/afni_fig_interface.m
3,035
utf_8
a6e27aaa75a4fe2aebabe4db5d20acfb
function afni_fig_interface(src, evnt) cf = gcf; figure(src); % evnt ud = get(src,'UserData'); if (isempty(ud) | ~isfield(ud,'axes_lock')), ud = default_ud(); set(src,'UserData',ud); end if ( lower(evnt.Character) == 'l' ), ud.axes_lock = ~ud.axes_lock; set (src,'UserD...
github
lcnbeapp/beapp-master
TellAfni.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/afni/TellAfni.m
5,472
utf_8
77dce5f5339989af26f3e100da6bcfc3
function [err] = TellAfni (cs, opt) % % [err] = TellAfni (cs, opt) % %Purpose: % Drive AFNI % % %Input Parameters: % cs: An Nx1 vector of communication command structures % It is obtained using NewCs structure % opt: An optional options structure % .QuitOnErr (0/[1]): Return from function if ...
github
lcnbeapp/beapp-master
zinputdlg.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/afni/zinputdlg.m
16,591
utf_8
63dc0806876466dc33fef8fbdfeb45c5
function Answer=zinputdlg(Prompt, Title, NumLines, DefAns, Resize) % A copy of inputdlg.m , modified to have better looking font settings %ZINPUTDLG Input dialog box. % ANSWER = ZINPUTDLG(PROMPT) creates a modal dialog box that returns user % input for multiple prompts in the cell array ANSWER. PROMPT is a cell % ar...
github
lcnbeapp/beapp-master
afni_niml_read.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/afni/afni_niml_read.m
2,791
utf_8
3da5cff1cf07ffd470bd42539f8078b9
function [p,s]=afni_niml_read(fn) % simple function to read niml files % % P=AFNI_NIML_READ(FN) reads a file FN and returns a NIML structure P. % [P,S]=AFNI_NIML_READ(FN) also returns the file contents S % % If FN refers to a file in another format than ASCII NIML, an attempt is % made to convert the file to this forma...
github
lcnbeapp/beapp-master
afni_nel_parse.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/afni/afni_nel_parse.m
1,763
utf_8
62fbd076a3c4430f06f6385abc18b2d8
function [nel] = afni_nel_parse(nellcell) %should really check that this is nel and not ngr ... %assuming we have nel %get the header part cnel = char(nellcell); clear nellcell; ncnel = length(cnel); %break up into head and data expr = '(?<head><(\w+).*?>)(?<data>.*)<'; %usi...
github
lcnbeapp/beapp-master
afni_niml_print.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/afni/afni_niml_print.m
5,521
utf_8
9dbc69da949e82e64071c668290ac2da
function s=afni_niml_print(p) % takes a NIML data structure and converts it to string representation % % S=AFNI_NIML_PRINT(P) takes an NIML datastructure P and returns a string % representation S. % % This function is more or less the inverse of AFNI_NIML_PARSE. % % The current implementation will take any struct that...
github
lcnbeapp/beapp-master
CA_EZ_Prep.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/afni/CA_EZ_Prep.m
14,358
utf_8
af87e1ccd31dc096f0a411e877de8dd9
function [MapMPM, MapML, aur] = CA_EZ_Prep() % A function to process a new Eickhoff, Amunts and Zilles CA toolbox % The function creates new versions of AFNI's source files % thd_ttatlas_CA_EZ.c and thd_ttatlas_CA_EZ.h . % The new files created are called thd_ttatlas_CA_EZ-auto.c and thd_ttatlas_CA_EZ-auto.h % must be ...
github
lcnbeapp/beapp-master
ROIcmap.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/afni/ROIcmap.m
3,688
utf_8
93376acea9697c3dce4c73aea3838d9b
function [M] = ROIcmap(nc,opt) % [M] = ROIcmap([nc],[opt]); % creates a colormap with % no color too close to grayscale, % no two consecutive colors too close % no colors exeedingly close to another in the map % no colors too close to a background color (optional) % nc: number...
github
lcnbeapp/beapp-master
bemcp_example.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/bemcp/bemcp_example.m
21,663
utf_8
ee954ecd4779bb13a017d139b7a6acb1
function bemcp_example % Simple function to test/demonstrate how the Boundary element functions are % used in combination with Fildtrip/Forwinv routines. % % 1. A model is created as 3 concentric meshed spheres (using FT's % icosahedron routines), % 2. then random electrodes are placed on the upper part of the outer...
github
lcnbeapp/beapp-master
hcluster.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/icasso/hcluster.m
3,513
utf_8
4f1454878c289ef16d6355f9b24353ce
function [P,Z,order]=hcluster(D,link) %function [P,Z,order] = hcluster(D,link) % %PURPOSE % %To perform a hierarchical agglomerative clustering on a distance %matrix. Returns partition vectors for each level of the clustering %hierarchy and information for visualizing the clustering hierarchy %as a dendrogram. % %INPU...
github
lcnbeapp/beapp-master
cca.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/icasso/cca.m
8,088
utf_8
b5659dc842e6c1fde35175caed2d8ea2
function [P] = cca(D, P, epochs, Mdist, alpha0, lambda0) %CCA Projects data vectors using Curvilinear Component Analysis. % % P = cca(D, P, epochs, [Dist], [alpha0], [lambda0]) % % P = cca(D,2,10); % projects the given data to a plane % P = cca(D,pcaproj(D,2),5); % same, but with PCA initialization % P = ...
github
lcnbeapp/beapp-master
icassoEst.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/icasso/icassoEst.m
8,817
utf_8
adb9102f63b02f7a42b3da5bdcf803ae
function sR=icassoEst(mode,X,M,varargin) %function sR=icassoEst(mode,X,M,['FastICAparamName1',value1,'FastICAparamName2',value2,...]) % %PURPOSE % %To compute randomized ICA estimates M times from data X. Output of %this function (sR) is called 'Icasso result structure' (see %icassoStruct). sR keeps the on all the meth...
github
lcnbeapp/beapp-master
icassoStruct.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/icasso/icassoStruct.m
8,190
utf_8
d80e7670415d1867f114b16bebb620f6
function sR=icassoStruct(X) %function sR=icassoStruct([X]) % %PURPOSE % %To initiate an Icasso result data structure which is meant for %storing and keeping organized all data, parameters and results %when performing the Icasso procedure. % %EXAMPLE OF BASIC USAGE % % S=icassoStruct(X); % %creates an Icasso result st...
github
lcnbeapp/beapp-master
som_dendrogram.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/icasso/som_dendrogram.m
9,039
utf_8
43f32770e95d19d4a12855bd8bfb91f3
function [h,Coord,Color,height] = som_dendrogram(Z,varargin) %SOM_DENDROGRAM Visualize a dendrogram. % % [h,Coord,Color,height] = som_dendrogram(Z, [[argID,] value, ...]) % % Z = som_linkage(sM); % som_dendrogram(Z); % som_dendrogram(Z,sM); % som_dendrogram(Z,'coord',co); % % Input and output arguments ([]'s ...
github
lcnbeapp/beapp-master
corrw.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/icasso/corrw.m
1,654
utf_8
b24c05ddd84adfca75a0870878a9c0f7
function R=corrw(W,D) %function R=corrw(W,D) % %PURPOSE % %To compute mutual linear correlation coefficients between M %independent component estimates using the demixing matrix W and %the dewhitening matrix D of the original data. % % R=W*D*D'*W'; % %INPUT % % W (field W in Icasso struct: demixing matrices) % D (fi...
github
lcnbeapp/beapp-master
reducesim.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/icasso/reducesim.m
3,056
utf_8
d2d2a37c6d316586dbfc3da7760af840
function S=reducesim(S,minLimit,partition,scatter,scatterLimit) %function S=reducesim(S,minLimit) % or %function S=reducesim(S,minLimit,partition,scatter,scatterLimit) % %PURPOSE % %To reduce the number of lines that are drawn when the similarity %matrix is visualized. That is, to set similarities below certain %thres...
github
lcnbeapp/beapp-master
clusterhull.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/icasso/clusterhull.m
5,149
utf_8
49c19208dafd1008be107e012aa6f36e
function [h_marker,txtcoord]=clusterhull(mode,coord,partition,color) %function [h_marker,txtcoord]=clusterhull(mode,coord,partition,[color]) % %PURPOSE % %To draw a cluster visualization where the objects (represented by %points) belonging to the same cluster are presented by "cluster hulls", %polygons where the edge o...
github
lcnbeapp/beapp-master
vis_valuetype.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/icasso/vis_valuetype.m
7,502
utf_8
cb7a373fcda9120d69231b2748371740
function flag=vis_valuetype(value, valid, str); % VIS_VALUETYPE Used for type checks in SOM Toolbox visualization routines % % flag = vis_valuetype(value, valid, str) % % Input and output arguments: % value (varies) variable to be checked % valid (cell array) size 1xN, cells are strings or vectors (see below) ...
github
lcnbeapp/beapp-master
icassoGet.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/icasso/icassoGet.m
5,635
utf_8
9a56d24c879fa67d054651240e964543
function out=icassoGet(sR,field,index) %function out=icassoGet(sR,field,[index]) % %PURPOSE % %Auxiliary function for obtaining various information from the %Icasso result data structure. Using icassoGet, you can return %information related to original data, e.g.: data matrix, %(de)whitening matrix, total number of es...
github
lcnbeapp/beapp-master
spm_input.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/spm_input.m
89,257
utf_8
74a73562f0562998a037c0c5d7a512c7
function varargout = spm_input(varargin) % Comprehensive graphical and command line input function % FORMATs (given in Programmers Help) %_______________________________________________________________________ % % spm_input handles most forms of interactive user input for SPM. % (File selection is handled by spm_select...
github
lcnbeapp/beapp-master
spm_write_sn.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/spm_write_sn.m
20,195
utf_8
5bb2c4d938b07e035b1552465111fcf7
function VO = spm_write_sn(V,prm,flags,extras) % Write Out Warped Images. % FORMAT VO = spm_write_sn(V,matname,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_imatrix.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/spm_imatrix.m
1,499
utf_8
295b97abf7200bfd1af63c3e32aae6fd
function P = spm_imatrix(M) % returns the parameters for creating an affine transformation % FORMAT P = spm_imatrix(M) % M - Affine transformation matrix % P - Parameters (see spm_matrix for definitions) %___________________________________________________________________________ % Copyright (C) 2008 Wellcome...
github
lcnbeapp/beapp-master
spm_affreg.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/spm_affreg.m
20,248
utf_8
431e3807877742bdec89d07ce61e87f8
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/spm8/spm_vol.m
5,475
utf_8
41a73601c2e44259fb8f1f4f3e870558
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_jobman.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/spm_jobman.m
21,324
utf_8
970b3aa24a514dea929b79722697efdc
function varargout = spm_jobman(varargin) % Main interface for SPM Batch System % This function provides a compatibility layer between SPM and matlabbatch. % It translates spm_jobman callbacks into matlabbatch callbacks and allows % to edit and run SPM5 style batch jobs. % % FORMAT job_id = spm_jobman % job_id =...
github
lcnbeapp/beapp-master
spm_eeg_inv_vbecd_disp.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/spm_eeg_inv_vbecd_disp.m
22,913
UNKNOWN
d298cddd05dcda0aab1c23b6a9f98906
function spm_eeg_inv_vbecd_disp(action,varargin) % Display the dipoles as obtained from VB-ECD % % FORMAT spm_eeg_inv_vbecd_disp('Init',D) % Display the latest VB-ECD solution saved in the .inv{} field of the % data structure D. % % FORMAT spm_eeg_inv_vbecd_disp('Init',D, ind) % Display the ind^th .inv{} cell element, ...
github
lcnbeapp/beapp-master
spm_figure.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/spm_figure.m
32,150
utf_8
8f4bd924a038c03f7d509cc9e37b8395
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_smooth.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/spm_smooth.m
3,654
utf_8
0f00684dc1b7cb99c88cd50e6a64a20a
function spm_smooth(P,Q,s,dtype) % 3 dimensional convolution of an image % FORMAT spm_smooth(P,Q,S,dtype) % P - image to be smoothed % Q - filename for smoothed image % S - [sx sy sz] Gaussian filter width {FWHM} in mm % dtype - datatype [default: 0 == same datatype as P] %__________________________________...
github
lcnbeapp/beapp-master
spm_smoothto8bit.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/spm_smoothto8bit.m
2,377
utf_8
89653bff7e0591df6fa676885a830a16
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/spm8/spm_platform.m
8,498
utf_8
9af699511e4e0bff6555d7a1e3fe0a23
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 % - 0 - is little endian % - 1 - ...
github
lcnbeapp/beapp-master
spm_preproc.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/spm_preproc.m
20,519
utf_8
c08f55c5a2eaeb3e30508750d366f52f
function results = spm_preproc(varargin) % Combined Segmentation and Spatial Normalisation % % FORMAT results = spm_preproc(V,opts) % V - image to work with % opts - options % opts.tpm - n tissue probability images for each class % opts.ngaus - number of Gaussians per class (n+1 classes) % opts.warpreg ...
github
lcnbeapp/beapp-master
spm_preproc_write.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/spm_preproc_write.m
8,906
utf_8
9312486f72c3a8971ab0c9e847c3a465
function spm_preproc_write(p,opts) % Write out VBM preprocessed data % FORMAT spm_preproc_write(p,opts) % p - results from spm_prep2sn % opts - writing options. A struct containing these fields: % biascor - write bias corrected image % GM - flags for which images should be written % WM ...
github
lcnbeapp/beapp-master
spm.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/spm.m
44,832
utf_8
d2d75e50e191a0c29cf483d58a754d7f
function varargout=spm(varargin) % SPM: Statistical Parametric Mapping (startup function) %_______________________________________________________________________ % ___ ____ __ __ % / __)( _ \( \/ ) % \__ \ )___/ ) ( Statistical Parametric Mapping % (___/(__) (_/\/\_) SPM - http://www.fil.ion.ucl.ac.uk/...
github
lcnbeapp/beapp-master
spm_orthviews.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/spm_orthviews.m
77,288
utf_8
8878b323c3d77a20da9a6c983c6cb96a
function varargout = spm_orthviews(action,varargin) % Display Orthogonal Views of a Normalized Image % FORMAT H = spm_orthviews('Image',filename[,position]) % filename - name of image to display % area - position of image % - area(1) - position x % - area(2) - position y % - area...
github
lcnbeapp/beapp-master
spm_maff.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/spm_maff.m
11,287
utf_8
67d7a7a2de40e5f6a1c0c0e5e9f630f3
function [M,h] = spm_maff(varargin) % Affine registration to MNI space using mutual information % FORMAT M = spm_maff(P,samp,x,b0,MF,M,regtyp,ff) % P - filename or structure handle of image % x - cell array of {x1,x2,x3}, where x1 and x2 are % co-ordinates (from ndgrid), and x3 is a list of % ...
github
lcnbeapp/beapp-master
spm_normalise.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/spm_normalise.m
13,235
utf_8
5dfafbc96b6282a48b19ee3433a77167
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_minmax.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/spm_minmax.m
3,705
utf_8
58192721e506d5814be863bb8a7e2acf
function [mnv,mxv] = spm_minmax(g) % Compute a suitable range of intensities for VBM preprocessing stuff % FORMAT [mnv,mxv] = spm_minmax(g) % g - array of data % mnv - minimum value % mxv - maximum value % % A MOG with two Gaussians is fitted to the intensities. The lower % Gaussian is assumed to represent backgr...
github
lcnbeapp/beapp-master
spm_create_vol.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/spm_create_vol.m
4,914
utf_8
3d1ffa54c52618a0923d6642b8f5e471
function V = spm_create_vol(V,varargin) % Create a volume % FORMAT V = spm_create_vol(V) % V - image volume information (see spm_vol.m) %____________________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % John Ashburner % $Id$ for i=1:numel(V), ...
github
lcnbeapp/beapp-master
spm_check_installation.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/spm_check_installation.m
19,147
utf_8
5500b12cea8521a513b4ff3226dc8f4d
function spm_check_installation(action) % Check SPM installation % FORMAT spm_check_installation('basic') % Perform a superficial check of SPM installation [default]. % % FORMAT spm_check_installation('full') % Perform an in-depth diagnostic of SPM installation. % % FORMAT spm_check_installation('build') % Build signat...
github
lcnbeapp/beapp-master
spm_prep2sn.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/spm_prep2sn.m
7,345
utf_8
41b5744c0289cc48a8070de4648e82da
function [po,pin] = spm_prep2sn(p) % Convert the output from spm_preproc into an sn.mat % FORMAT [po,pin] = spm_prep2sn(p) % p - the results of spm_preproc % po - the output in a form that can be used by % spm_write_sn. % pin - the inverse transform in a form that can be % used by spm_write_sn. %________...
github
lcnbeapp/beapp-master
cfg_getfile.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/matlabbatch/cfg_getfile.m
46,070
utf_8
3e6a6877315f1b08af13c88de5044295
function [t,sts] = cfg_getfile(varargin) % File selector % FORMAT [t,sts] = cfg_getfile(n,typ,mesg,sel,wd,filt,frames) % n - Number of files % A single value or a range. e.g. % 1 - Select one file % Inf - Select any number of files % [1 Inf] - Select 1 to In...
github
lcnbeapp/beapp-master
coor2D.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@meeg/coor2D.m
4,007
utf_8
f94070275bb14e35788e110abf929115
function [res, plotind] = coor2D(this, ind, val, mindist) % returns x and y coordinates of channels in 2D plane % FORMAT coor2D(this) % _______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % Vladimir Litvak, Laurence Hunt % $Id: coor2D.m 43...
github
lcnbeapp/beapp-master
cache.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@meeg/cache.m
754
utf_8
327310c88f9e84a225af302977c46fe6
function res = cache(this, stuff) % Method for retrieving/putting stuff from/into the temporary cache % FORMAT res = cache(obj, name) % _______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % Stefan Kiebel % $Id: cache.m 1373 2008-04-11 14:2...
github
lcnbeapp/beapp-master
path.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@meeg/path.m
558
utf_8
7149045fd0a2ac178f0e2dcaf166b5e0
function res = path(this, name) % Method for getting/setting path % FORMAT res = path(this, name) % _______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % Stefan Kiebel % $Id: path.m 1373 2008-04-11 14:24:03Z spm $ switch nargin case 1...
github
lcnbeapp/beapp-master
fname.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@meeg/fname.m
538
utf_8
00404808a43026efada0ed0cb853d259
function res = fname(this, name) % Method for getting/setting file name % FORMAT res = fname(this, name) % _______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % Stefan Kiebel % $Id: fname.m 1373 2008-04-11 14:24:03Z spm $ switch nargin ...
github
lcnbeapp/beapp-master
fnamedat.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@meeg/fnamedat.m
589
utf_8
39857f5d9ecf819f3bc1581bde7009cf
function res = fnamedat(this, name) % Method for getting/setting file name of data file % FORMAT res = fnamedat(this, name) % _______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % Stefan Kiebel % $Id: fnamedat.m 1373 2008-04-11 14:24:03Z s...
github
lcnbeapp/beapp-master
privatepermission.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@file_array/privatepermission.m
827
utf_8
be8d85c3b8ab99ec9cf086139103335f
function varargout = permission(varargin) % Format % For getting the value % dat = permission(obj) % % For setting the value % obj = permission(obj,dat) % _______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % % $Id$ if nargin==2, va...
github
lcnbeapp/beapp-master
privatescl_slope.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@file_array/privatescl_slope.m
680
utf_8
4f91ac10412885a1654d520cdaf4c008
function varargout = scl_slope(varargin) % Format % For getting the value % dat = scl_slope(obj) % % For setting the value % obj = scl_slope(obj,dat) % _______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % % $Id$ if nargin==2, varar...
github
lcnbeapp/beapp-master
subsasgn.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@file_array/subsasgn.m
4,553
utf_8
8649bb5b2b003aef0a04f01504128d47
function obj = subsasgn(obj,subs,dat) % Overloaded subsasgn function for file_array objects. % _______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % % $Id$ if isempty(subs) return; end; if ~strcmp(subs(1).type,'()'), if strcmp(su...
github
lcnbeapp/beapp-master
privatedim.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@file_array/privatedim.m
762
utf_8
0ad58f05456fccb279755b25289027c4
function varargout = dim(varargin) % Format % For getting the value % dat = dim(obj) % % For setting the value % obj = dim(obj,dat) % _______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % % $Id$ if nargin==2, varargout{1} = asgn(vara...
github
lcnbeapp/beapp-master
privatescl_inter.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@file_array/privatescl_inter.m
681
utf_8
341f747372c0465de4be134d3595e133
function varargout = scl_inter(varargin) % Format % For getting the value % dat = scl_inter(obj) % % For setting the value % obj = scl_inter(obj,dat) % _______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % % $Id$ if nargin==2, varar...
github
lcnbeapp/beapp-master
privatefname.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@file_array/privatefname.m
648
utf_8
87ba48423085238dda8deb873c3a5a24
function varargout = fname(varargin) % Format % For getting the value % dat = fname(obj) % % For setting the value % obj = fname(obj,dat) % _______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % % $Id$ if nargin==2, varargout{1} = as...
github
lcnbeapp/beapp-master
privateoffset.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@file_array/privateoffset.m
697
utf_8
5b5493cb277651ae207a6e094e50f16f
function varargout = offset(varargin) % Format % For getting the value % dat = offset(obj) % % For setting the value % obj = offset(obj,dat) % _______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % % $Id$ if nargin==2, varargout{1} =...
github
lcnbeapp/beapp-master
privatedtype.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@file_array/privatedtype.m
2,225
utf_8
4e4a2cfe6a4a9d295f1b9f3eb3fd3eb1
function varargout = dtype(varargin) % Format % For getting the value % dat = dtype(obj) % % For setting the value % obj = dtype(obj,dat) % _______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % % $Id$ if nargin==2, varargout{1} = as...
github
lcnbeapp/beapp-master
subsref.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@file_array/subsref.m
5,222
utf_8
80f9298dd645012f0fe42fcb32d6beef
function varargout=subsref(obj,subs) % SUBSREF Subscripted reference % An overloaded function... %__________________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % % $Id$ if isempty(subs), return; end switch subs(1).type case '{}' er...
github
lcnbeapp/beapp-master
disp.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@file_array/disp.m
887
utf_8
64720ef6ff6e10ebb67d01f5d3a04f7f
function disp(obj) % Display a file_array object % _______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % % $Id$ if numel(struct(obj))>1, fprintf(' %s object: ', class(obj)); sz = size(obj); if length(sz)>4, fpri...
github
lcnbeapp/beapp-master
offset.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@file_array/private/offset.m
697
utf_8
5b5493cb277651ae207a6e094e50f16f
function varargout = offset(varargin) % Format % For getting the value % dat = offset(obj) % % For setting the value % obj = offset(obj,dat) % _______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % % $Id$ if nargin==2, varargout{1} =...
github
lcnbeapp/beapp-master
scl_slope.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@file_array/private/scl_slope.m
680
utf_8
4f91ac10412885a1654d520cdaf4c008
function varargout = scl_slope(varargin) % Format % For getting the value % dat = scl_slope(obj) % % For setting the value % obj = scl_slope(obj,dat) % _______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % % $Id$ if nargin==2, varar...
github
lcnbeapp/beapp-master
scl_inter.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@file_array/private/scl_inter.m
681
utf_8
341f747372c0465de4be134d3595e133
function varargout = scl_inter(varargin) % Format % For getting the value % dat = scl_inter(obj) % % For setting the value % obj = scl_inter(obj,dat) % _______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % % $Id$ if nargin==2, varar...
github
lcnbeapp/beapp-master
fname.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@file_array/private/fname.m
648
utf_8
87ba48423085238dda8deb873c3a5a24
function varargout = fname(varargin) % Format % For getting the value % dat = fname(obj) % % For setting the value % obj = fname(obj,dat) % _______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % % $Id$ if nargin==2, varargout{1} = as...
github
lcnbeapp/beapp-master
dim.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@file_array/private/dim.m
762
utf_8
0ad58f05456fccb279755b25289027c4
function varargout = dim(varargin) % Format % For getting the value % dat = dim(obj) % % For setting the value % obj = dim(obj,dat) % _______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % % $Id$ if nargin==2, varargout{1} = asgn(vara...
github
lcnbeapp/beapp-master
permission.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@file_array/private/permission.m
827
utf_8
be8d85c3b8ab99ec9cf086139103335f
function varargout = permission(varargin) % Format % For getting the value % dat = permission(obj) % % For setting the value % obj = permission(obj,dat) % _______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % % $Id$ if nargin==2, va...
github
lcnbeapp/beapp-master
dtype.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@file_array/private/dtype.m
2,225
utf_8
4e4a2cfe6a4a9d295f1b9f3eb3fd3eb1
function varargout = dtype(varargin) % Format % For getting the value % dat = dtype(obj) % % For setting the value % obj = dtype(obj,dat) % _______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % % $Id$ if nargin==2, varargout{1} = as...
github
lcnbeapp/beapp-master
subsasgn.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@nifti/subsasgn.m
14,522
utf_8
86db451a023fd9a4a9252278adcab3ab
function obj = subsasgn(obj,subs,varargin) % Subscript assignment % See subsref for meaning of fields. % _______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % % $Id$ switch subs(1).type, case {'.'}, if numel(obj)~=nargin-2, e...
github
lcnbeapp/beapp-master
subsref.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@nifti/subsref.m
8,717
utf_8
3e5580b77072a8d2a98deb98231f6bab
function varargout = subsref(opt,subs) % Subscript referencing % % Fields are: % dat - a file-array representing the image data % mat0 - a 9-parameter affine transform (from qform0) % Note that the mapping is from voxels (where the first % is considered to be at [1,1,1], to m...
github
lcnbeapp/beapp-master
create.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@nifti/create.m
1,922
utf_8
3d0a267602ecbe433be656c175acb2a2
function create(obj,wrt) % Create a NIFTI-1 file % FORMAT create(obj) % This writes out the header information for the nifti object % % create(obj,wrt) % This also writes out an empty image volume if wrt==1 % _______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Cen...
github
lcnbeapp/beapp-master
getdict.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@nifti/private/getdict.m
5,184
utf_8
eebe7d552eb3613897e82d860005c90e
function d = getdict % Dictionary of NIFTI stuff % _______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % % $Id$ persistent dict; if ~isempty(dict), d = dict; return; end; % Datatype t = true; f = false; table = {... 0 ,'UN...
github
lcnbeapp/beapp-master
write_extras.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/spm8/@nifti/private/write_extras.m
829
utf_8
598b84950ce613b42919ce1f50a59132
function extras = write_extras(fname,extras) % Write extra bits of information %_______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % % $Id$ [pth,nam,ext] = fileparts(fname); switch ext case {'.hdr','.img','.nii'} mname = fullfile(pt...
github
lcnbeapp/beapp-master
delete.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/gifti/@xmltree/delete.m
1,189
utf_8
9ca7b2db1b9fc84848585e118ac9d026
function tree = delete(tree,uid) % XMLTREE/DELETE Delete (delete a subtree given its UID) % % tree - XMLTree object % uid - array of UID's of subtrees to be deleted %__________________________________________________________________________ % % Delete a subtree given its UID % The tree parameter must be in ...
github
lcnbeapp/beapp-master
save.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/gifti/@xmltree/save.m
5,114
utf_8
1c7adbb3f79946f51f25d9031fcb515c
function varargout = save(tree, filename) % XMLTREE/SAVE Save an XML tree in an XML file % FORMAT varargout = save(tree,filename) % % tree - XMLTree % filename - XML output filename % varargout - XML string %__________________________________________________________________________ % % Convert an XML tree into a ...
github
lcnbeapp/beapp-master
branch.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/gifti/@xmltree/branch.m
1,750
utf_8
407ff520e9de6dc9150a5b4f44d75c90
function subtree = branch(tree,uid) % XMLTREE/BRANCH Branch Method % FORMAT uid = parent(tree,uid) % % tree - XMLTree object % uid - UID of the root element of the subtree % subtree - XMLTree object (a subtree from tree) %__________________________________________________________________________ % % Return a su...
github
lcnbeapp/beapp-master
flush.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/gifti/@xmltree/flush.m
1,413
utf_8
64502185e2efb9de8f36e36751a39517
function tree = flush(tree,uid) % XMLTREE/FLUSH Flush (Clear a subtree given its UID) % % tree - XMLTree object % uid - array of UID's of subtrees to be cleared % Default is root %__________________________________________________________________________ % % Clear a subtree given its UID (remove...
github
lcnbeapp/beapp-master
copy.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/gifti/@xmltree/copy.m
1,634
utf_8
e6df62a4f41243b78ed8c517b15e493b
function tree = copy(tree,subuid,uid) % XMLTREE/COPY Copy Method (copy a subtree in another branch) % FORMAT tree = copy(tree,subuid,uid) % % tree - XMLTree object % subuid - UID of the subtree to copy % uid - UID of the element where the subtree must be duplicated %______________________________________...
github
lcnbeapp/beapp-master
convert.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/gifti/@xmltree/convert.m
5,573
utf_8
05b85174fb85e5d62de81654b76ef7ab
function s = convert(tree,uid) % XMLTREE/CONVERT Converter an XML tree in a structure % % tree - XMLTree object % uid - uid of the root of the subtree, if provided. % Default is root % s - converted structure %__________________________________________________________________________ % %...
github
lcnbeapp/beapp-master
editor.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/gifti/@xmltree/editor.m
12,418
utf_8
80850644600bde45b47898d068ef0978
function editor(tree) %XMLTREE/EDITOR A Graphical User Interface for an XML tree % EDITOR(TREE) opens a new figure displaying the xmltree object TREE. % H = EDITOR(TREE) also returns the figure handle H. % % This is a beta version of <xmltree/view> successor % % See also XMLTREE %___________________________________...
github
lcnbeapp/beapp-master
find.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/gifti/@xmltree/find.m
5,901
utf_8
b241bfaac569f137b8b809b7b66765f3
function list = find(varargin) % XMLTREE/FIND Find elements in a tree with specified characteristics % FORMAT list = find(varargin) % % tree - XMLTree object % xpath - string path with specific grammar (XPath) % uid - lists of root uid's % parameter/value - pair of pattern % list - list of uid's of matched elements...
github
lcnbeapp/beapp-master
xml_parser.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/gifti/@xmltree/private/xml_parser.m
16,192
utf_8
7e44abd21a10863623b455d03e0651bb
function tree = xml_parser(xmlstr) % XML (eXtensible Markup Language) Processor % FORMAT tree = xml_parser(xmlstr) % % xmlstr - XML string to parse % tree - tree structure corresponding to the XML file %__________________________________________________________________________ % % xml_parser.m is an XML 1.0 (http:/...
github
lcnbeapp/beapp-master
save.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/gifti/@gifti/save.m
21,043
utf_8
747d3d8c45fa4a27160c0c333450a4dc
function save(this,filename,encoding) % Save GIfTI object in a GIfTI format file % FORMAT save(this,filename) % this - GIfTI object % filename - name of GIfTI file to be created [Default: 'untitled.gii'] % encoding - optional argument to specify encoding format, among % ASCII, Base64Binary, GZipBase6...
github
lcnbeapp/beapp-master
gifti.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/gifti/@gifti/gifti.m
3,728
utf_8
37f5d9e67cb8f5e79f2ac46e1486ffd0
function this = gifti(varargin) % GIfTI Geometry file format class % Geometry format under the Neuroimaging Informatics Technology Initiative % (NIfTI): % http://www.nitrc.org/projects/gifti/ % http://nifti.nimh.nih.gov/ %_____________________________________________________________...
github
lcnbeapp/beapp-master
read_gifti_file.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/gifti/@gifti/private/read_gifti_file.m
6,604
utf_8
3e691fdd0839d8cfad3929e4e181a5c1
function this = read_gifti_file(filename, this) % Low level reader of GIfTI 1.0 files % FORMAT this = read_gifti_file(filename, this) % filename - XML GIfTI filename % this - structure with fields 'metaData', 'label' and 'data'. %__________________________________________________________________________ % Cop...
github
lcnbeapp/beapp-master
isintent.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/gifti/@gifti/private/isintent.m
2,477
utf_8
611bd4b3bf09d89f88da3652cc8e6320
function [a, b] = isintent(this,intent) % Correspondance between fieldnames and NIfTI intent codes % FORMAT ind = isintent(this,intent) % this - GIfTI object % intent - fieldnames % a - indices of found intent(s) % b - indices of dataarrays of found intent(s) %_______________________________________...
github
lcnbeapp/beapp-master
sb_rhs_venant.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/simbio/sb_rhs_venant.m
1,317
utf_8
2a6743d0e11f6cd5ca8bc3f2a5bab884
function rhs = sb_rhs_venant(pos,dir,vol); % SB_RHS_VENANT % % $Id$ %find node closest to source position next_nd = sb_get_next_nd(pos,vol.pos); %find nodes neighbouring closest node if isfield(vol,'tet') ven_nd = sb_get_ven_nd(next_nd,vol.tet); elseif isfield(vol,'hex') ven_nd = sb_get_ven_nd(next_nd,vol.hex...
github
lcnbeapp/beapp-master
netcdf.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/netcdf/netcdf.m
5,097
utf_8
3cc73e65d1ed73e0a6836af118228033
function S = netcdf(File,varargin) % Function to read NetCDF files % S = netcdf(File) % Input Arguments % File = NetCDF file to read % Optional Input Arguments: % 'Var',Var - Read data for VarArray(Var), default [1:length(S.VarArray)] % 'Rec',Rec - Read data for Record(Rec), default [1:S.NumRecs] % Output Argum...
github
lcnbeapp/beapp-master
writeCPersist.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/ctf/writeCPersist.m
5,086
utf_8
0c56dc571aa56100f050678e5fe815ff
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%% Function writeCPersist %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function writeCPersist(filename,Tag) % Version 1.2 24 April 2007. Removed terminating null characters from charatcer strings % ...
github
lcnbeapp/beapp-master
getCTFBalanceCoefs.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/ctf/getCTFBalanceCoefs.m
20,490
utf_8
2c434fcbdb53fbc50ee3fbda72e98883
function [alphaMEG,MEGindex,MEGbalanceindex,alphaGref,Grefindex,Gbalanceindex]=... getCTFBalanceCoefs(ds,balanceType,unit); % Reads balance coefficients for SQUID data in phi0's, and converts to coefficients % for data in physical units. % Input : ds : (1) ds structure from readCTFds % balanceType : 'N...
github
lcnbeapp/beapp-master
writeCTFds.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/ctf/writeCTFds.m
68,946
utf_8
96615f4833d69490d5b3e47f6f86c538
function ds=writeCTFds(datasetname,ds,data,unit); %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % This program creates datasets that can be analyzed by CTF software. % % ...