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
philippboehmsturm/antx-master
spm_latex_cfg.m
.m
antx-master/xspm8/config/spm_latex_cfg.m
6,676
utf_8
a47b123dac969fa8a766913b882670a1
function spm_latex_cfg(c) % Convert a job configuration tree into a series of LaTeX documents %__________________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % John Ashburner % $Id: spm_latex_cfg.m 3934 2010-06-17 14:58:25Z guillaume $ if ~nargin...
github
philippboehmsturm/antx-master
spm_cfg_eeg_convert.m
.m
antx-master/xspm8/config/spm_cfg_eeg_convert.m
7,130
utf_8
9bf1bea2b0e3690b8d396162b76d4d33
function S = spm_cfg_eeg_convert % configuration file for data conversion %_______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % Stefan Kiebel % $Id: spm_cfg_eeg_convert.m 3881 2010-05-07 21:02:57Z vladimir $ dataset = cfg_files; dataset....
github
philippboehmsturm/antx-master
spm_cfg_cat.m
.m
antx-master/xspm8/config/spm_cfg_cat.m
2,707
utf_8
51b661dca39a9275dd0e770ae9c3cc6c
function cat = spm_cfg_cat % SPM Configuration file for 3D to 4D volumes conversion %__________________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % John Ashburner % $Id: spm_cfg_cat.m 3613 2009-12-04 18:47:59Z guillaume $ %---------------------...
github
philippboehmsturm/antx-master
spm_cfg_minc.m
.m
antx-master/xspm8/config/spm_cfg_minc.m
3,433
utf_8
db7b8cb0f154a59326a8d72eafdb6d94
function minc = spm_cfg_minc % SPM Configuration file for MINC Import %_______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % $Id: spm_cfg_minc.m 3691 2010-01-20 17:08:30Z guillaume $ rev = '$Rev: 3691 $'; % -------------------------------...
github
philippboehmsturm/antx-master
spm_cfg_eeg_tf_rescale.m
.m
antx-master/xspm8/config/spm_cfg_eeg_tf_rescale.m
6,005
utf_8
692deed1fb1ca3d56ae284ba0ae3850b
function S = spm_cfg_eeg_tf_rescale % configuration file for rescaling spectrograms %__________________________________________________________________________ % Copyright (C) 2009 Wellcome Trust Centre for Neuroimaging % Will Penny % $Id: spm_cfg_eeg_tf_rescale.m 4287 2011-04-04 13:55:54Z vladimir $ %---------------...
github
philippboehmsturm/antx-master
spm_cfg_fmri_data.m
.m
antx-master/xspm8/config/spm_cfg_fmri_data.m
3,059
utf_8
12045b3c567f606b6bfd8daba94e14d2
function fmri_data = spm_cfg_fmri_data % SPM Configuration file % automatically generated by the MATLABBATCH utility function GENCODE %_______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % $Id: spm_cfg_fmri_data.m 1517 2008-04-29 15:46:08Z...
github
philippboehmsturm/antx-master
spm_cfg_movefile.m
.m
antx-master/xspm8/config/spm_cfg_movefile.m
2,964
utf_8
ed20756093eb13755fe0d764b20f3b79
function movefile = spm_cfg_movefile % SPM Configuration file for 'move' %_______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % $Id: spm_cfg_movefile.m 4907 2012-09-06 19:33:21Z guillaume $ % ----------------------------------------------...
github
philippboehmsturm/antx-master
spm_cfg_fmri_spec.m
.m
antx-master/xspm8/config/spm_cfg_fmri_spec.m
41,739
utf_8
34ff7beb83f6e1476649d3ad6cd9fca6
function fmri_spec = spm_cfg_fmri_spec % SPM Configuration file for fMRI model specification %_______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % $Id: spm_cfg_fmri_spec.m 3691 2010-01-20 17:08:30Z guillaume $ rev = '$Rev: 3691 $'; % ---...
github
philippboehmsturm/antx-master
spm_cfg_bms.m
.m
antx-master/xspm8/config/spm_cfg_bms.m
26,212
utf_8
e9c005333a71f641ae7d9147b7144d8d
function bms = spm_cfg_bms % Configuration file for BMS interface. %_______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % Maria Joao Rosa % $Id: spm_cfg_bms.m 3955 2010-06-29 17:26:29Z maria $ % -------------------------------------------...
github
philippboehmsturm/antx-master
spm_cfg_eeg_convert2images.m
.m
antx-master/xspm8/config/spm_cfg_eeg_convert2images.m
1,533
utf_8
278f08c7b6bc00ad2186e3d343a12b7c
function S = spm_cfg_eeg_convert2images % configuration file for writing voxel-based images from SPM M/EEG format, % as a time-series of 2Dimages %_______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % Stefan Kiebel % $Id: spm_cfg_eeg_conve...
github
philippboehmsturm/antx-master
spm_cfg_eeg_inv_results.m
.m
antx-master/xspm8/config/spm_cfg_eeg_inv_results.m
3,226
utf_8
4785178456ae76c108a54bc2b56a776c
function results = spm_cfg_eeg_inv_results % configuration file for creating images from results of source % reconstruction %_______________________________________________________________________ % Copyright (C) 2010 Wellcome Trust Centre for Neuroimaging % Vladimir Litvak % $Id: spm_cfg_eeg_inv_results.m 3976 2010-0...
github
philippboehmsturm/antx-master
spm_cfg_eeg_contrast.m
.m
antx-master/xspm8/config/spm_cfg_eeg_contrast.m
2,514
utf_8
5ef4acc26bd25c57a355ebd077aecc82
function S = spm_cfg_eeg_contrast % configuration file for computing contrast over epochs %_______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % Stefan Kiebel % $Id: spm_cfg_eeg_contrast.m 3881 2010-05-07 21:02:57Z vladimir $ D = cfg_file...
github
philippboehmsturm/antx-master
spm_cfg_checkreg.m
.m
antx-master/xspm8/config/spm_cfg_checkreg.m
2,265
utf_8
c81f7c3223052066b263026099947cec
function checkreg = spm_cfg_checkreg % SPM Configuration file for Check Reg %__________________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % $Id: spm_cfg_checkreg.m 4205 2011-02-21 15:39:08Z guillaume $ %-----------------------------------------...
github
philippboehmsturm/antx-master
spm_cfg_deletefiles.m
.m
antx-master/xspm8/config/spm_cfg_deletefiles.m
2,355
utf_8
a52badd2dedc7ae616252beab2db79b1
function deletefiles = spm_cfg_deletefiles % SPM Configuration file for 'rm' %_______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % $Id: spm_cfg_deletefiles.m 4907 2012-09-06 19:33:21Z guillaume $ rev = '$Rev: 4907 $'; % -----------------...
github
philippboehmsturm/antx-master
spm_cfg_md.m
.m
antx-master/xspm8/config/spm_cfg_md.m
2,106
utf_8
203b2cc952d61779c598ca8fd36abf74
function md = spm_cfg_md % SPM Configuration file for 'mkdir' %_______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % $Id: spm_cfg_md.m 4907 2012-09-06 19:33:21Z guillaume $ % ---------------------------------------------------------------...
github
philippboehmsturm/antx-master
spm_cfg_normalise.m
.m
antx-master/xspm8/config/spm_cfg_normalise.m
25,506
utf_8
a01a87d691294117634f2d14d848977e
function normalise = spm_cfg_normalise % SPM Configuration file % automatically generated by the MATLABBATCH utility function GENCODE %_______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % $Id: spm_cfg_normalise.m 3804 2010-03-31 16:16:21Z...
github
philippboehmsturm/antx-master
spm_cfg_disp.m
.m
antx-master/xspm8/config/spm_cfg_disp.m
4,719
utf_8
9f6f5adf2e1375a3f6df5d5daeb54bae
function disp = spm_cfg_disp % SPM Configuration file for Image Display %__________________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % $Id: spm_cfg_disp.m 4205 2011-02-21 15:39:08Z guillaume $ %-------------------------------------------------...
github
philippboehmsturm/antx-master
spm_cfg_st.m
.m
antx-master/xspm8/config/spm_cfg_st.m
8,731
utf_8
16a36edc715d472d387db03f6733781d
function st = spm_cfg_st % SPM Configuration file for Slice Timing Correction %_______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % $Id: spm_cfg_st.m 4269 2011-03-29 16:03:43Z guillaume $ % -----------------------------------------------...
github
philippboehmsturm/antx-master
spm_cfg_eeg_inv_invert.m
.m
antx-master/xspm8/config/spm_cfg_eeg_inv_invert.m
7,820
utf_8
d768c9182c47d6daeccc44b246268094
function invert = spm_cfg_eeg_inv_invert % configuration file for configuring imaging source inversion % reconstruction %_______________________________________________________________________ % Copyright (C) 2010 Wellcome Trust Centre for Neuroimaging % Vladimir Litvak % $Id: spm_cfg_eeg_inv_invert.m 4326 2011-05-13 ...
github
philippboehmsturm/antx-master
spm_cfg_eeg_inv_extract.m
.m
antx-master/xspm8/config/spm_cfg_eeg_inv_extract.m
3,307
utf_8
42d3e193e87fc5b983a7382f3f7d68e4
function extract = spm_cfg_eeg_inv_extract % configuration file for extracting source data from imaging source % reconstruction %_______________________________________________________________________ % Copyright (C) 2011 Wellcome Trust Centre for Neuroimaging % Vladimir Litvak % $Id: spm_cfg_eeg_inv_extract.m 4257 20...
github
philippboehmsturm/antx-master
spm_cfg_fmri_est.m
.m
antx-master/xspm8/config/spm_cfg_fmri_est.m
24,501
utf_8
14607a45526013760c39408f23f0d2fa
function fmri_est = spm_cfg_fmri_est % SPM Configuration file for Model Estimation %_______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % $Id: spm_cfg_fmri_est.m 3753 2010-03-05 13:06:47Z guillaume $ % ------------------------------------...
github
philippboehmsturm/antx-master
paint.m
.m
antx-master/xspm8/@slover/paint.m
10,669
utf_8
58c77775943c79df7da192623addf239
function obj = paint(obj, params) % method to display slice overlay % FORMAT paint(obj, params) % % Inputs % obj - slice overlay object % params - optional structure containing extra display parameters % - refreshf - overrides refreshf in object % - clf - overrides clf in...
github
philippboehmsturm/antx-master
pr_basic_ui.m
.m
antx-master/xspm8/@slover/private/pr_basic_ui.m
3,679
utf_8
88d91189a824825f094d4979cbdc7fb4
function obj = pr_basic_ui(imgs, dispf) % GUI to request parameters for slover routine % FORMAT obj = pr_basic_ui(imgs, dispf) % % GUI requests choices while accepting many defaults % % imgs - string or cell array of image names to display % (defaults to GUI select if no arguments passed) % dispf - optional fl...
github
philippboehmsturm/antx-master
delete.m
.m
antx-master/xspm8/@xmltree/delete.m
1,203
utf_8
f523d5fa52766f6af01c283da5bb87bf
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 inp...
github
philippboehmsturm/antx-master
save.m
.m
antx-master/xspm8/@xmltree/save.m
5,121
utf_8
fa70739c5d89fa5e5759fe4d0dd5d1b3
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 wel...
github
philippboehmsturm/antx-master
branch.m
.m
antx-master/xspm8/@xmltree/branch.m
1,763
utf_8
f109760669fd1d0e0de8fc92a2a29e7d
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 subtr...
github
philippboehmsturm/antx-master
flush.m
.m
antx-master/xspm8/@xmltree/flush.m
1,426
utf_8
fe4b3a9c9e324178be9b06001c9fec8f
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 al...
github
philippboehmsturm/antx-master
copy.m
.m
antx-master/xspm8/@xmltree/copy.m
1,644
utf_8
8cbde6d7d6e761ad86ecb0379b54b269
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
philippboehmsturm/antx-master
convert.m
.m
antx-master/xspm8/@xmltree/convert.m
5,612
utf_8
c2c0cfe54bad9ce85b1cccc7c53acfce
function s = convert(tree,uid) % XMLTREE/CONVERT Converter an XML tree in a Matlab structure % % tree - XMLTree object % uid - uid of the root of the subtree, if provided. % Default is root % s - converted structure %_______________________________________________________________________...
github
philippboehmsturm/antx-master
editor.m
.m
antx-master/xspm8/@xmltree/editor.m
12,428
utf_8
6344af0067d2405a13d1dabf8e96efc3
function editor(tree) %XMLTREE/EDITOR A Graphical User Interface for an XML tree % EDITOR(TREE) opens a new Matlab 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
philippboehmsturm/antx-master
find.m
.m
antx-master/xspm8/@xmltree/find.m
5,904
utf_8
f06a6b831a6222020bfa34df1176ccaa
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
philippboehmsturm/antx-master
xml_parser.m
.m
antx-master/xspm8/@xmltree/private/xml_parser.m
16,122
utf_8
e9c0fb44fd5c086cab09c4df5a6e0087
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://ww...
github
philippboehmsturm/antx-master
save.m
.m
antx-master/xspm8/@gifti/save.m
20,878
utf_8
9dda5745b44a50e7b47d1885c7e30435
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
philippboehmsturm/antx-master
gifti.m
.m
antx-master/xspm8/@gifti/gifti.m
3,622
utf_8
770f3ed1f17658bff49edbacd0062416
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
philippboehmsturm/antx-master
read_gifti_file.m
.m
antx-master/xspm8/@gifti/private/read_gifti_file.m
6,672
utf_8
6b1ffd0854407b6710a55c2345f19d7e
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
philippboehmsturm/antx-master
isintent.m
.m
antx-master/xspm8/@gifti/private/isintent.m
2,094
utf_8
558a3aa4dffb45d067e660999e803050
function [a, b] = isintent(this,intent) % Correspondance between fieldnames and NIfTI intents % 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
philippboehmsturm/antx-master
mne_load_coil_def.m
.m
antx-master/xspm8/external/mne/mne_load_coil_def.m
8,644
utf_8
772b6afb3be6c17199d073e9078d092f
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
philippboehmsturm/antx-master
fiff_find_evoked.m
.m
antx-master/xspm8/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
philippboehmsturm/antx-master
bemcp_example.m
.m
antx-master/xspm8/external/bemcp/bemcp_example.m
21,718
utf_8
b6bc2bc4ee1696a4f8720bd0d79be654
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
philippboehmsturm/antx-master
writeCPersist.m
.m
antx-master/xspm8/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
philippboehmsturm/antx-master
getCTFBalanceCoefs.m
.m
antx-master/xspm8/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
philippboehmsturm/antx-master
writeCTFds.m
.m
antx-master/xspm8/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. % % ...
github
philippboehmsturm/antx-master
writeRes4.m
.m
antx-master/xspm8/external/ctf/writeRes4.m
8,560
utf_8
416bc2b62624835c63140e54415d2f49
function res4=writeRes4(res4File,res4,MAX_COILS); % Write the new .res4 file. Use ieee-be (big endian) format % Character-string output is done using function writeCTFstring which % checks that strings are the correct length for the .res4 file format. % Function calls: - writeCTFstring (included in this listing)....
github
philippboehmsturm/antx-master
addCTFtrial.m
.m
antx-master/xspm8/external/ctf/addCTFtrial.m
51,483
utf_8
b59730fdb231f07741e7e87dea9e6c1c
function cntrl=addCTFtrial(datasetname,data,unit,mrk,cls,badSegments); %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % This program creates datasets that can be analyzed by CTF software. %...
github
philippboehmsturm/antx-master
setCTFDataBalance.m
.m
antx-master/xspm8/external/ctf/setCTFDataBalance.m
32,056
utf_8
894c3744554abe635876ce6944dca0cd
function [data,ds]=setCTFDataBalance(data,ds,balance1,unit,chanList,messages); % Version 1.1 13 April 2007 Mod to chanList: If chanList is omitted and % size(data,2)<ds.res4.no_channels, then setCTFDataBalance % sets chanList=1:size(data,2) and prints a war...
github
philippboehmsturm/antx-master
writeCTFMRI.m
.m
antx-master/xspm8/external/ctf/writeCTFMRI.m
8,517
utf_8
c6bdbc15d67e3621b8109f6b399f5eae
function writeCTFMRI(fileName,MRItags,MRIdata); % Version 1.2 25 April 2007 Module writeCPersist changed, and removed from this text % file. % Version 1.1 19 April 2007 : No changes from v1.0 % Version 1.0 27 Oct. 2006 % Write a CTF MRI in v4 format. % For file format and a def...
github
philippboehmsturm/antx-master
readCTFds.m
.m
antx-master/xspm8/external/ctf/readCTFds.m
36,570
utf_8
e228d972ce0710af61be4d1d0c89f3fe
function ds=readCTFds(datasetname) % ************************************************************************ % % This program is provided to users of CTF MEG systems as a courtesy only. % It's operation has not been verified for clinical use. % Please do not redistribute it without permission from CTF Systems I...
github
philippboehmsturm/antx-master
ft_prepare_layout.m
.m
antx-master/xspm8/external/fieldtrip/ft_prepare_layout.m
32,267
utf_8
18d451bdbc116b579311470991ea5e7e
function [lay, cfg] = ft_prepare_layout(cfg, data) % FT_PREPARE_LAYOUT loads or creates a 2-D layout of the channel locations. This layout % is required for plotting the topographical distribution of the potential % or field distribution, or for plotting timecourses in a topographical % arrangement. % % Use as % la...
github
philippboehmsturm/antx-master
ft_analysispipeline.m
.m
antx-master/xspm8/external/fieldtrip/ft_analysispipeline.m
20,188
utf_8
d09d01943d4f0a9fb448ce59b763a52a
function [pipeline] = ft_analysispipeline(cfg, data) % FT_ANALYSIPIPELINE reconstructs the complete analysis pipeline that was used to create % the input FieldTrip data structure. The pipeline will be visualized as a flowchart. % In the future it will be possible to output the complete pipeline as a MATLAB script % or...
github
philippboehmsturm/antx-master
ft_freqbaseline.m
.m
antx-master/xspm8/external/fieldtrip/ft_freqbaseline.m
6,365
utf_8
8e3f594a996245ab60e43110c92934ef
function [freq] = ft_freqbaseline(cfg, freq) % FT_FREQBASELINE performs baseline normalization for time-frequency data % % Use as % [freq] = ft_freqbaseline(cfg, freq) % where the freq data comes from FT_FREQANALYSIS and the configuration % should contain % cfg.baseline = [begin end] (default = 'no') % cfg....
github
philippboehmsturm/antx-master
ft_sourceinterpolate.m
.m
antx-master/xspm8/external/fieldtrip/ft_sourceinterpolate.m
18,972
utf_8
e8e4f5c04c87d8718c7769028703cede
function [interp] = ft_sourceinterpolate(cfg, functional, anatomical) % FT_SOURCEINTERPOLATE interpolates the source reconstructed activity % or a statistical distribution onto the voxels or vertices of an % anatomical description of the brain. Both the functional and the % anatomical data can either describe a 3-dim...
github
philippboehmsturm/antx-master
ft_megplanar.m
.m
antx-master/xspm8/external/fieldtrip/ft_megplanar.m
14,646
utf_8
af259a2e1ff9a0dca3919e64523a12c3
function [data] = ft_megplanar(cfg, data) % FT_MEGPLANAR computes planar MEG gradients gradients for raw data or average % event-related field data. It can also convert frequency-domain data that was computed % using FT_FREQANALYSIS, as long as it contains the complex-valued fourierspcrm and not % only the powspctrm. ...
github
philippboehmsturm/antx-master
ft_movieplotTFR.m
.m
antx-master/xspm8/external/fieldtrip/ft_movieplotTFR.m
15,885
utf_8
4629b5114994ea433b22443e6dabab05
function [cfg] = ft_movieplotTFR(cfg, data) % FT_MOVIEPLOTTFR makes a movie of a time frequency representation of power or coherence % % Use as % ft_movieplotTFR(cfg, data) % where the input data comes from FT_FREQANALYSIS or FT_FREQDESCRIPTIVES and the % configuration is a structure that can contain % cfg.parame...
github
philippboehmsturm/antx-master
ft_volumerealign.m
.m
antx-master/xspm8/external/fieldtrip/ft_volumerealign.m
36,731
utf_8
393894855ca91a6ebaba17f940cea0b8
function [realign, h] = ft_volumerealign(cfg, mri, target) % FT_VOLUMEREALIGN spatially aligns an anatomical MRI with head coordinates % based on external fiducials or anatomical landmarks. This function does % not change the volume itself, but adjusts the homogeneous transformation % matrix that describes the coordin...
github
philippboehmsturm/antx-master
ft_qualitycheck.m
.m
antx-master/xspm8/external/fieldtrip/ft_qualitycheck.m
25,639
utf_8
e995fba1c9f2599395608faaf67621ec
function [varargout] = ft_qualitycheck(cfg) % FT_QUALITYCHECK performs a quality inspection of a given MEG/EEG dataset, % stores (.mat), and visualizes the result (.png and .pdf). % % This function segments the data into 10-second pieces and performs the % following analyses: % 1) reads the properties of the dataset ...
github
philippboehmsturm/antx-master
ft_denoise_pca.m
.m
antx-master/xspm8/external/fieldtrip/ft_denoise_pca.m
16,673
utf_8
8eba524b752f9743586ca6d1507aa9fb
function data = ft_denoise_pca(cfg, varargin) % FT_DENOISE_PCA performs a principal component analysis (PCA) on specified % reference channels and subtracts the projection of the data of interest onto % this orthogonal basis from the data of interest. This is the algorithm which % is applied by 4D to compute noise can...
github
philippboehmsturm/antx-master
ft_sensorrealign.m
.m
antx-master/xspm8/external/fieldtrip/ft_sensorrealign.m
31,763
utf_8
a8c06b8f47f8da67954655edab1ec82a
function [elec_realigned] = ft_sensorrealign(cfg, elec_original) % FT_SENSORREALIGN rotates and translates electrode and gradiometer % sensor positions to template electrode positions or towards the head % surface. It can either perform a rigid body transformation, in which only % the coordinate system is changed, or ...
github
philippboehmsturm/antx-master
ft_databrowser.m
.m
antx-master/xspm8/external/fieldtrip/ft_databrowser.m
74,844
utf_8
5bf9df5cccb44bd8eeead55f5453f237
function [cfg] = ft_databrowser(cfg, data) % FT_DATABROWSER can be used for visual inspection of data. Artifacts that % were detected by artifact functions (see FT_ARTIFACT_xxx functions where % xxx is the type of artifact) are marked. Additionally data pieces can be % marked and unmarked as artifact by manual selecti...
github
philippboehmsturm/antx-master
ft_singleplotER.m
.m
antx-master/xspm8/external/fieldtrip/ft_singleplotER.m
26,306
utf_8
5939ca528f41ee990267b9257eb92fe5
function [cfg] = ft_singleplotER(cfg, varargin) % FT_SINGLEPLOTER plots the event-related fields or potentials of a single % channel or the average over multiple channels. Multiple datasets can be % overlayed. % % Use as % ft_singleplotER(cfg, data) % or % ft_singleplotER(cfg, data1, data2, ..., datan) % % The dat...
github
philippboehmsturm/antx-master
ft_analysisprotocol.m
.m
antx-master/xspm8/external/fieldtrip/ft_analysisprotocol.m
20,299
utf_8
aa755691c86b456eef58b268f25d837a
function [script, details] = ft_analysisprotocol(cfg, data) % FT_ANALYSISPROTOCOL tries to reconstruct the complete analysis protocol that % was used to create an arbitrary FieldTrip data structure. It will create % a Matlab script (as text file) and a flowchart with a graphical % representation. % % Use as % ft_ana...
github
philippboehmsturm/antx-master
ft_mvaranalysis.m
.m
antx-master/xspm8/external/fieldtrip/ft_mvaranalysis.m
17,631
utf_8
170b19b1e29004c2c509ef166d2c2e7e
function [mvardata] = ft_mvaranalysis(cfg, data) % FT_MVARANALYSIS performs multivariate autoregressive modeling on % time series data over multiple trials. % % Use as % [mvardata] = ft_mvaranalysis(cfg, data) % % The input data should be organised in a structure as obtained from % the FT_PREPROCESSING function. The...
github
philippboehmsturm/antx-master
ft_megrealign.m
.m
antx-master/xspm8/external/fieldtrip/ft_megrealign.m
18,641
utf_8
1cda98807ec99633822ecdf42991629d
function [data] = ft_megrealign(cfg, data) % FT_MEGREALIGN interpolates MEG data towards standard gradiometer locations % by projecting the individual timelocked data towards a coarse source % reconstructed representation and computing the magnetic field on % the standard gradiometer locations. % % Use as % [interp]...
github
philippboehmsturm/antx-master
ft_volumelookup.m
.m
antx-master/xspm8/external/fieldtrip/ft_volumelookup.m
11,852
utf_8
916f8874426446763ab71bbde375fd7b
function [output] = ft_volumelookup(cfg, volume) % FT_VOLUMELOOKUP can be used in to combine an anatomical or functional % atlas with source recunstruction. You can use it for forward and reverse % lookup. % % Given the anatomical or functional label, it looks up the locations and % creates a mask (as a binary volume)...
github
philippboehmsturm/antx-master
ft_multiplotTFR.m
.m
antx-master/xspm8/external/fieldtrip/ft_multiplotTFR.m
29,967
utf_8
539fb58a4046a8166a5781efb53b569c
function [cfg] = ft_multiplotTFR(cfg, data) % FT_MULTIPLOTTFR plots time-frequency representations of power or % coherence in a topographical layout. The plots of the indivual sensors % are arranged according to their location specified in the layout. % % Use as % ft_multiplotTFR(cfg, data) % % The data can be a tim...
github
philippboehmsturm/antx-master
ft_defaults.m
.m
antx-master/xspm8/external/fieldtrip/ft_defaults.m
9,592
utf_8
ca5df74513e83b199c1f0ed30f718519
function ft_defaults % FT_DEFAULTS (ending with "s") sets some general settings in the global variable % ft_default (without the "s") and takes care of the required path settings. This % function is called at the begin of all FieldTrip functions. % % The configuration defaults are stored in the global "ft_default" str...
github
philippboehmsturm/antx-master
ft_prepare_neighbours.m
.m
antx-master/xspm8/external/fieldtrip/ft_prepare_neighbours.m
12,121
utf_8
246abb4a5696ac99d7b95ab9afa6585c
function [neighbours, cfg] = ft_prepare_neighbours(cfg, data) % FT_PREPARE_NEIGHBOURS finds the neighbours of the channels based on three % different methods. Using the 'distance'-method, prepare_neighbours is % based on a minimum neighbourhood distance (in cfg.neighbourdist). The % 'triangulation'-method calculates a...
github
philippboehmsturm/antx-master
ft_conjunctionanalysis.m
.m
antx-master/xspm8/external/fieldtrip/ft_conjunctionanalysis.m
8,590
utf_8
a03da23d74c832a62651ec40acffd376
function [conjunction] = ft_conjunctionanalysis(cfg, varargin) % FT_CONJUNCTIONANALYSIS finds the minimum statistic common across two or % more contrasts, i.e. data following ft_xxxstatistics. Furthermore, it % finds the overlap of sensors/voxels that show statistically significant % results (a logical AND on the m...
github
philippboehmsturm/antx-master
ft_sliceinterp.m
.m
antx-master/xspm8/external/fieldtrip/ft_sliceinterp.m
18,439
utf_8
bd145a75e58dc47cf4ea80eb8999f6dd
function [outim]=ft_sliceinterp(cfg, ininterp) % FT_SLICEINTERP plots a 2D-montage of source reconstruction and anatomical MRI % after these have been interpolated onto the same grid. % % Use as % ft_sliceinterp(cfg, interp) % or % [rgbimage] = ft_sliceinterp(cfg, interp), rgbimage is the monatage image % % w...
github
philippboehmsturm/antx-master
ft_clusterplot.m
.m
antx-master/xspm8/external/fieldtrip/ft_clusterplot.m
16,789
utf_8
c4c3bbddd939a0c172b983f111def76a
function [cfg] = ft_clusterplot(cfg, stat) % FT_CLUSTERPLOT plots a series of topoplots with found clusters highlighted. % stat is 2D or 1D data from FT_TIMELOCKSTATISTICS or FT_FREQSTATISTICS with 'cluster' % as cfg.correctmc. 2D: stat from FT_TIMELOCKSTATISTICS not averaged over % time, or stat from FT_FREQSTATISTIC...
github
philippboehmsturm/antx-master
ft_sourcemovie.m
.m
antx-master/xspm8/external/fieldtrip/ft_sourcemovie.m
21,618
utf_8
ec436384a67196b47d56edfc701a3099
function [cfg, M] = ft_sourcemovie(cfg, source, source2) % FT_SOURCEMOVIE displays the source reconstruction on a cortical mesh % and allows the user to scroll through time with a movie % % Use as % ft_sourcemovie(cfg, source) % where the input source data is obtained from FT_SOURCEANALYSIS and cfg is % a configurat...
github
philippboehmsturm/antx-master
ft_sourcestatistics.m
.m
antx-master/xspm8/external/fieldtrip/ft_sourcestatistics.m
20,635
utf_8
1595794cee3bcfd803961c94261f78ba
function [stat] = ft_sourcestatistics(cfg, varargin) % FT_SOURCESTATISTICS computes the probability for a given null-hypothesis using % a parametric statistical test or using a non-parametric randomization test. % % Use as % [stat] = ft_sourcestatistics(cfg, source1, source2, ...) % where the input data is the resu...
github
philippboehmsturm/antx-master
ft_sourcedescriptives.m
.m
antx-master/xspm8/external/fieldtrip/ft_sourcedescriptives.m
48,234
utf_8
df813b6e3dc10a6821632c72738012e6
function [source] = ft_sourcedescriptives(cfg, source) % FT_SOURCEDESCRIPTIVES computes descriptive parameters of the source % analysis results. % % Use as % [source] = ft_sourcedescriptives(cfg, source) % % where cfg is a structure with the configuration details and source is the % result from a beamformer source e...
github
philippboehmsturm/antx-master
ft_freqanalysis_mvar.m
.m
antx-master/xspm8/external/fieldtrip/ft_freqanalysis_mvar.m
6,212
utf_8
b7a476d517585098dfe29498494e1061
function [freq] = ft_freqanalysis_mvar(cfg, data) % FT_FREQANALYSIS_MVAR performs frequency analysis on % mvar data, by fourier transformation of the coefficients. The output % contains cross-spectral density, spectral transfer matrix, and the % covariance of the innovation noise. The dimord = 'chan_chan(_freq)(_time)...
github
philippboehmsturm/antx-master
ft_math.m
.m
antx-master/xspm8/external/fieldtrip/ft_math.m
7,107
utf_8
56b3b1a3236eeb3c5433a72fb65e3ba8
function data = ft_math(cfg, varargin) % FT_MATH performs mathematical operations on FieldTrip data structures, % such as addition, subtraction, division, etc. % % Use as % data = ft_examplefunction(cfg, data1, data2, ...) % with one or multiple FieldTrip data structures as input and where cfg is a % configuration s...
github
philippboehmsturm/antx-master
ft_removetmsartifact.m
.m
antx-master/xspm8/external/fieldtrip/ft_removetmsartifact.m
7,826
utf_8
3f77889260456f76aa0f2bad5b4e70f1
function data = ft_removetmsartifact(cfg, data) % FT_REMOVETMSARTIFACT removes TMS artifacts from EEG data % % Use as % data = ft_removetmsartifact(cfg, data) % where the input data is a raw data, for example obtained from FT_PREPROCESSING, and % cfg is a configuratioun structure that should contain % cfg.method ...
github
philippboehmsturm/antx-master
ft_interactiverealign.m
.m
antx-master/xspm8/external/fieldtrip/ft_interactiverealign.m
15,020
utf_8
29855615aa0bf4f359855c52a73878b6
function cfg = ft_interactiverealign(cfg) % FT_INTERACTIVEREALIGN interactively rotates, scales and translates % electrode positions to template electrode positions or towards % the head surface. % % Use as % [cfg] = ft_interactiverealign(cfg) % % The configuration structure should contain the individuals geometrica...
github
philippboehmsturm/antx-master
ft_neighbourplot.m
.m
antx-master/xspm8/external/fieldtrip/ft_neighbourplot.m
13,837
utf_8
ca95890c5dd526a7238dfeb645702897
function [cfg] = ft_neighbourplot(cfg, data) % FT_NEIGHBOURPLOT visualizes neighbouring channels in a particular channel % configuration. The positions of the channel are specified in a % gradiometer or electrode configuration or from a layout. % % Use as % ft_neighbourplot(cfg) % or as % ft_neighbourplot(cfg, dat...
github
philippboehmsturm/antx-master
ft_topoplotTFR.m
.m
antx-master/xspm8/external/fieldtrip/ft_topoplotTFR.m
44,990
utf_8
68581358241f3de5de9302c9b0807e29
function [cfg] = ft_topoplotTFR(cfg, varargin) % FT_TOPOPLOTTFR plots the topographic distribution over the head % of a 3-dimensional data representations such as time-frequency % representation of the power or coherence spectrum. % % Use as % ft_topoplotTFR(cfg, freq) % % The input freq structrure should contain a ...
github
philippboehmsturm/antx-master
ft_appendfreq.m
.m
antx-master/xspm8/external/fieldtrip/ft_appendfreq.m
12,697
utf_8
d808aa3cf94695d0e5f63462ebf5869f
function [freq] = ft_appendfreq(cfg, varargin) % FT_APPENDFREQ concatenates multiple frequency or time-frequency data % structures that have been processed separately. If the input data % structures contain different channels, it will be concatenated along the % channel direction. If the channels are identical in the ...
github
philippboehmsturm/antx-master
ft_electroderealign.m
.m
antx-master/xspm8/external/fieldtrip/ft_electroderealign.m
28,137
utf_8
06410d99f7ae866c70c2aed5f814bd24
function [norm] = ft_electroderealign(cfg) % FT_ELECTRODEREALIGN rotates and translates electrode positions to % template electrode positions or towards the head surface. It can % either perform a rigid body transformation, in which only the % coordinate system is changed, or it can apply additional deformations % to ...
github
philippboehmsturm/antx-master
ft_singleplotTFR.m
.m
antx-master/xspm8/external/fieldtrip/ft_singleplotTFR.m
23,569
utf_8
89516bc37d55606231d19db09c9d982f
function [cfg] = ft_singleplotTFR(cfg, data) % FT_SINGLEPLOTTFR plots the time-frequency representation of power of a % single channel or the average over multiple channels. % % Use as % ft_singleplotTFR(cfg,data) % % The input freq structure should be a a time-frequency representation of % power or coherence that w...
github
philippboehmsturm/antx-master
ft_multiplotER.m
.m
antx-master/xspm8/external/fieldtrip/ft_multiplotER.m
31,382
utf_8
1bd80c2bfc256430d7fae96db74f6f5c
function [cfg] = ft_multiplotER(cfg, varargin) % FT_MULTIPLOTER plots the event-related fields or potentials versus time % or of oscillatory activity (power or coherence) versus frequency. Multiple % datasets can be overlayed. The plots are arranged according to their % location specified in the layout. % % Use as % ...
github
philippboehmsturm/antx-master
ft_prepare_mesh.m
.m
antx-master/xspm8/external/fieldtrip/ft_prepare_mesh.m
10,173
utf_8
fbd785246b232a3602fdd438fd772878
function [bnd, cfg] = ft_prepare_mesh(cfg, mri) % FT_PREPARE_MESH creates a triangulated surface mesh for the volume % conduction model. The mesh can either be selected manually from raw % mri data or can be generated starting from a segmented volume % information stored in the mri structure. The result is a bnd % str...
github
philippboehmsturm/antx-master
ft_compile_mex.m
.m
antx-master/xspm8/external/fieldtrip/ft_compile_mex.m
7,313
utf_8
99f0549ed011b3639df37378d6aa4305
function ft_compile_mex(force) % FT_COMPILE_MEX can be used for compiling most of the FieldTrip MEX files % Note that this function does not put the MEX files in the correct % location in the private folders, this is managed by SVN autosync. In case % you are not working with SVN and you want to recompile the mex file...
github
philippboehmsturm/antx-master
fieldtrip2fiff.m
.m
antx-master/xspm8/external/fieldtrip/fieldtrip2fiff.m
8,464
utf_8
64f159942bcde33deaf3ee377c4fcf68
function fieldtrip2fiff(filename, data) % FIELDTRIP2FIFF saves a FieldTrip raw data structure as a fiff-file, % in order to be useable by the Neuromag software, or in the MNE suite % software. % % Use as % fieldtrip2fiff(filename, data) % where filename is the name of the output file, and data is a raw % data struct...
github
philippboehmsturm/antx-master
ft_artifact_zvalue.m
.m
antx-master/xspm8/external/fieldtrip/ft_artifact_zvalue.m
44,375
utf_8
328e4d904f0da260a5ef1d676bee355a
function [cfg, artifact] = ft_artifact_zvalue(cfg, data) % FT_ARTIFACT_ZVALUE reads the interesting segments of data from file and % identifies artifacts by means of thresholding the z-transformed value % of the preprocessed raw data. Depending on the preprocessing options, % this method will be sensitive to EOG, musc...
github
philippboehmsturm/antx-master
besa2fieldtrip.m
.m
antx-master/xspm8/external/fieldtrip/besa2fieldtrip.m
16,161
utf_8
16dbde9bd7a8b61a3207953ffb97ae31
function [data] = besa2fieldtrip(input) % BESA2FIELDTRIP reads and converts various BESA datafiles into a FieldTrip % data structure, which subsequently can be used for statistical analysis % or other analysis methods implemented in Fieldtrip. % % Use as % [data] = besa2fieldtrip(filename) % where the filename shoul...
github
philippboehmsturm/antx-master
ft_topoplotCC.m
.m
antx-master/xspm8/external/fieldtrip/ft_topoplotCC.m
10,121
utf_8
e97031b4c8c292d5ba9f6f0a48e87f29
function [cfg] = ft_topoplotCC(cfg, freq) % FT_TOPOPLOTCC plots the coherence between channel pairs % % Use as % ft_topoplotCC(cfg, freq) % % The configuration should contain: % cfg.feedback = string (default = 'textbar') % cfg.layout = specification of the layout, see FT_PREPARE_LAYOUT % cfg.foi ...
github
philippboehmsturm/antx-master
ft_struct2single.m
.m
antx-master/xspm8/external/fieldtrip/utilities/ft_struct2single.m
2,973
utf_8
c154a80ca65e233f13e2245801ed532a
function [x] = ft_struct2single(x, maxdepth); % FT_STRUCT2SINGLE converts all double precision numeric data in a structure % into single precision, which takes up half the amount of memory compared % to double precision. It will also convert plain matrices and cell-arrays. % % Use as % x = ft_struct2single(x); % % ...
github
philippboehmsturm/antx-master
ft_datatype_sens.m
.m
antx-master/xspm8/external/fieldtrip/utilities/ft_datatype_sens.m
8,876
utf_8
776724d18f8a763419894019a25ee4de
function [sens] = ft_datatype_sens(sens, varargin) % FT_DATATYPE_SENS describes the FieldTrip structure that represents % an EEG, ECoG, or MEG sensor array. This structure is commonly called % "elec" for EEG and "grad" for MEG, or more general "sens" for either % one. % % The structure for MEG gradiometers and/or magn...
github
philippboehmsturm/antx-master
ft_datatype.m
.m
antx-master/xspm8/external/fieldtrip/utilities/ft_datatype.m
7,749
utf_8
975852e96f4caa3ccb50bbbd5f8c5248
function [type, dimord] = ft_datatype(data, desired) % FT_DATATYPE determines the type of data represented in a FieldTrip data % structure and returns a string with raw, freq, timelock source, comp, % spike, source, volume, dip. % % Use as % [type, dimord] = ft_datatype(data) % [status] = ft_datatype(data, d...
github
philippboehmsturm/antx-master
ft_checkconfig.m
.m
antx-master/xspm8/external/fieldtrip/utilities/ft_checkconfig.m
24,347
utf_8
545c5f8e319ccf687bd339ea79cbe228
function [cfg] = ft_checkconfig(cfg, varargin) % FT_CHECKCONFIG checks the input cfg of the main FieldTrip functions. % % 1: It checks whether the cfg contains all the required options, it gives % a warning when renamed or deprecated options are used, and it makes sure % no forbidden options are used. If necessary and...
github
philippboehmsturm/antx-master
ft_determine_coordsys.m
.m
antx-master/xspm8/external/fieldtrip/utilities/ft_determine_coordsys.m
11,594
utf_8
02a948edaf44283cf81dfeee7d66f5a6
function [data] = ft_determine_coordsys(data, varargin) % FT_DETERMINE_COORDSYS plots a geometrical object, allowing you to perform % a visual check on the coordinatesystem, the units and on the anatomical % labels for the coordinate system axes. % % Use as % [dataout] = ft_determine_coordsys(datain, ...) % where th...
github
philippboehmsturm/antx-master
ft_selectdata_new.m
.m
antx-master/xspm8/external/fieldtrip/utilities/ft_selectdata_new.m
19,469
utf_8
bf4cdb4378072b367c7cd985e5c4ecce
function [varargout] = ft_selectdata(cfg, varargin) % FT_SELECTDATA makes a selection in the input data along specific data % dimensions, such as channels, time, frequency, trials, etc. It can also % be used to average the data along each of the specific dimensions. % % Use as % [data] = ft_selectdata_new(cfg, data, ...
github
philippboehmsturm/antx-master
ft_hastoolbox.m
.m
antx-master/xspm8/external/fieldtrip/utilities/ft_hastoolbox.m
21,701
utf_8
04ca07a96e26de4cd2386496621c8d96
function [status] = ft_hastoolbox(toolbox, autoadd, silent) % FT_HASTOOLBOX tests whether an external toolbox is installed. Optionally % it will try to determine the path to the toolbox and install it % automatically. % % Use as % [status] = ft_hastoolbox(toolbox, autoadd, silent) % % autoadd = 0 means that it will ...
github
philippboehmsturm/antx-master
ft_checkdata.m
.m
antx-master/xspm8/external/fieldtrip/utilities/ft_checkdata.m
68,446
utf_8
d4ad62d9da37d3069bf84c4d0d5e603a
function [data] = ft_checkdata(data, varargin) % FT_CHECKDATA checks the input data of the main FieldTrip functions, e.g. whether % the type of data strucure corresponds with the required data. If neccessary % and possible, this function will adjust the data structure to the input % requirements (e.g. change dimord, a...
github
philippboehmsturm/antx-master
nearest.m
.m
antx-master/xspm8/external/fieldtrip/utilities/nearest.m
5,600
utf_8
31bee361ec4ba27b1c1a0595b6c40e2d
function [indx] = nearest(array, val, insideflag, toleranceflag) % NEAREST return the index of an array nearest to a scalar % % Use as % [indx] = nearest(array, val, insideflag, toleranceflag) % % The second input val can be a scalar, or a [minval maxval] vector for % limits selection. % % If not specified or if lef...
github
philippboehmsturm/antx-master
ft_checkopt.m
.m
antx-master/xspm8/external/fieldtrip/utilities/ft_checkopt.m
5,140
utf_8
38274e2a1d9d0ac029879a9ec80e61c9
function opt = ft_checkopt(opt, key, allowedtype, allowedval) % FT_CHECKOPT does a validity test on the types and values of a configuration % structure or cell-array with key-value pairs. % % Use as % opt = ft_checkopt(opt, key) % opt = ft_checkopt(opt, key, allowedtype) % opt = ft_checkopt(opt, key, allowedtype...
github
philippboehmsturm/antx-master
ft_struct2double.m
.m
antx-master/xspm8/external/fieldtrip/utilities/ft_struct2double.m
2,907
utf_8
95c620e84c2559c8b004c80743b12b95
function [x] = ft_struct2double(x, maxdepth); % FT_STRUCT2DOUBLE converts all single precision numeric data in a structure % into double precision. It will also convert plain matrices and % cell-arrays. % % Use as % x = ft_struct2double(x); % % Starting from Matlab 7.0, you can use single precision data in your % ...
github
philippboehmsturm/antx-master
printstruct.m
.m
antx-master/xspm8/external/fieldtrip/utilities/printstruct.m
6,214
utf_8
7d5e93679920b5cd933fb3e92cc3eddd
function str = printstruct(name, val) % PRINTSTRUCT converts a Matlab structure to text which can be interpreted by MATLAB, % resulting in the original structure. % % Use as % str = printstruct(val) % or % str = printstruct(name, val) % where "val" is any MATLAB variable, e.g. a scalar, vector, matrix, structure, ...