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
xml2struct.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/xml2struct.m
8,612
utf_8
3d883353ccb551f2dcd554835610a565
function [ s ] = xml2struct( file ) %Convert xml file into a MATLAB structure % [ s ] = xml2struct( file ) % % A file containing: % <XMLname attrib1="Some value"> % <Element>Some text</Element> % <DifferentElement attrib2="2">Some more text</DifferentElement> % <DifferentElement attrib3="2" attrib4="1">Even more ...
github
philippboehmsturm/antx-master
nanstd.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/nanstd.m
231
utf_8
0ff62b1c345b5ad76a9af59cf07c2983
% NANSTD provides a replacement for MATLAB's nanstd that is almost % compatible. % % For usage see STD. Note that the three-argument call with FLAG is not % supported. function Y = nanstd(varargin) Y = sqrt(nanvar(varargin{:}));
github
philippboehmsturm/antx-master
read_eeglabdata.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_eeglabdata.m
3,193
utf_8
33c4ab48f49c3929347fee8295589fbc
% read_eeglabdata() - import EEGLAB dataset files % % Usage: % >> dat = read_eeglabdata(filename); % % Inputs: % filename - [string] file name % % Optional inputs: % 'begtrial' - [integer] first trial to read % 'endtrial' - [integer] last trial to read % 'chanindx' - [integer] list with channel indices to ...
github
philippboehmsturm/antx-master
readbdf.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/readbdf.m
3,632
utf_8
9c94d90dc0c8728b0b46e5276747e847
% readbdf() - Loads selected Records of an EDF or BDF File (European Data Format % for Biosignals) into MATLAB % Usage: % >> [DAT,signal] = readedf(EDF_Struct,Records,Mode); % Notes: % Records - List of Records for Loading % Mode - 0 Default % 1 ...
github
philippboehmsturm/antx-master
warning_once.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/warning_once.m
3,832
utf_8
07dc728273934663973f4c716e7a3a1c
function [ws warned] = warning_once(varargin) % % Use as one of the following % warning_once(string) % warning_once(string, timeout) % warning_once(id, string) % warning_once(id, string, timeout) % where timeout should be inf if you don't want to see the warning ever % again. The default timeout value is 60 sec...
github
philippboehmsturm/antx-master
ft_hastoolbox.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/ft_hastoolbox.m
21,701
utf_8
7141791b922e3b46334b4d5888532adf
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
read_yokogawa_data_new.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_yokogawa_data_new.m
5,691
utf_8
0f379a92d07b29f6a231c357f4f02920
function [dat] = read_yokogawa_data_new(filename, hdr, begsample, endsample, chanindx) % READ_YOKAGAWA_DATA_NEW reads continuous, epoched or averaged MEG data % that has been generated by the Yokogawa MEG system and software % and allows that data to be used in combination with FieldTrip. % % Use as % [dat] = read_y...
github
philippboehmsturm/antx-master
read_plexon_nex.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_plexon_nex.m
7,633
utf_8
64b3b2124d2af848afb0d1746f422818
function [varargout] = read_plexon_nex(filename, varargin) % READ_PLEXON_NEX reads header or data from a Plexon *.nex file, which % is a file containing action-potential (spike) timestamps and waveforms % (spike channels), event timestamps (event channels), and continuous % variable data (continuous A/D channels). % %...
github
philippboehmsturm/antx-master
read_bti_m4d.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_bti_m4d.m
5,505
utf_8
1c319e059794d81ea2fe302a09a2ba73
function [msi] = read_bti_m4d(filename) % READ_BTI_M4D % % Use as % msi = read_bti_m4d(filename) % Copyright (C) 2007, Robert Oostenveld % % This file is part of FieldTrip, see http://www.ru.nl/neuroimaging/fieldtrip % for the documentation and details. % % FieldTrip is free software: you can redistribute it and...
github
philippboehmsturm/antx-master
read_asa.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_asa.m
3,857
utf_8
bd6525da96c296723f6a29b027b2445e
function [val] = read_asa(filename, elem, format, number, token) % READ_ASA reads a specified element from an ASA file % % val = read_asa(filename, element, type, number) % % where the element is a string such as % NumberSlices % NumberPositions % Rows % Columns % etc. % % and format specifies the datatype a...
github
philippboehmsturm/antx-master
nanmean.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/nanmean.m
165
utf_8
e6c473a49d8be6e12960af55ced45e54
% NANMEAN provides a replacement for MATLAB's nanmean. % % For usage see MEAN. function y = nanmean(x, dim) N = sum(~isnan(x), dim); y = nansum(x, dim) ./ N; end
github
philippboehmsturm/antx-master
ft_checkdata.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/ft_checkdata.m
68,446
utf_8
826e5a3878076ce68bb166d5afbfe9fd
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
nanvar.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/nanvar.m
1,093
utf_8
d9641af3bba1e2c6e3512199221e686c
% NANVAR provides a replacement for MATLAB's nanvar that is almost % compatible. % % For usage see VAR. Note that the weight-vector is not supported. If you % need it, please file a ticket at our bugtracker. function Y = nanvar(X, w, dim) switch nargin case 1 % VAR(x) % Normalize by n-1 when no dim is given...
github
philippboehmsturm/antx-master
read_yokogawa_data.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_yokogawa_data.m
11,038
utf_8
aa2c8a06c417ada7e9af353f2307443e
function [dat] = read_yokogawa_data(filename, hdr, begsample, endsample, chanindx) % READ_YOKAGAWA_DATA reads continuous, epoched or averaged MEG data % that has been generated by the Yokogawa MEG system and software % and allows that data to be used in combination with FieldTrip. % % Use as % [dat] = read_yokogawa_...
github
philippboehmsturm/antx-master
read_biff.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_biff.m
5,857
utf_8
d71281c0e6be7868430597d71c166b5d
function [this] = read_biff(filename, opt) % READ_BIFF reads data and header information from a BIFF file % % This is a attemt for a reference implementation to read the BIFF % file format as defined by the Clinical Neurophysiology department of % the University Medical Centre, Nijmegen. % % read all data and inform...
github
philippboehmsturm/antx-master
read_eeglabheader.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_eeglabheader.m
2,255
utf_8
fe4446f32b250441d57acff9ebe691a2
% read_eeglabheader() - import EEGLAB dataset files % % Usage: % >> header = read_eeglabheader(filename); % % Inputs: % filename - [string] file name % % Outputs: % header - FILEIO toolbox type structure % % Author: Arnaud Delorme, SCCN, INC, UCSD, 2008- %1234567890123456789012345678901234567890123456789012345...
github
philippboehmsturm/antx-master
read_ctf_svl.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_ctf_svl.m
3,812
utf_8
d3442d0a013cf5e0a8d4277d99e45206
% [data, hdr] = opensvl(filename) % % Reads a CTF SAM (.svl) file. function [data, hdr] = read_ctf_svl(filename) fid = fopen(filename, 'rb', 'ieee-be', 'ISO-8859-1'); if fid <= 0 error('Could not open SAM file: %s\n', filename); end % --------------------------------------------------------------...
github
philippboehmsturm/antx-master
read_erplabevent.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_erplabevent.m
1,786
utf_8
40ece49ff6bd2afd6024b46f210e65fa
% read_erplabevent() - import ERPLAB dataset events % % Usage: % >> event = read_erplabevent(filename, ...); % % Inputs: % filename - [string] file name % % Optional inputs: % 'header' - FILEIO structure header % % Outputs: % event - FILEIO toolbox event structure % % Modified from read_eeglabevent %12...
github
philippboehmsturm/antx-master
read_yokogawa_header_new.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_yokogawa_header_new.m
8,959
utf_8
654f373c60405e9a27c40d65ab0147dd
function hdr = read_yokogawa_header_new(filename) % READ_YOKOGAWA_HEADER_NEW reads the header information from continuous, % epoched or averaged MEG data that has been generated by the Yokogawa % MEG system and software and allows that data to be used in combination % with FieldTrip. % % Use as % [hdr] = read_yokoga...
github
philippboehmsturm/antx-master
ft_datatype_raw.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/ft_datatype_raw.m
10,365
utf_8
8e666a629bcfec8802a49fc7d1eb4d8c
function data = ft_datatype_raw(data, varargin) % FT_DATATYPE_RAW describes the FieldTrip MATLAB structure for raw data % % The raw datatype represents sensor-level time-domain data typically % obtained after calling FT_DEFINETRIAL and FT_PREPROCESSING. It contains % one or multiple segments of data, each represented ...
github
philippboehmsturm/antx-master
loadcnt.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/loadcnt.m
23,166
utf_8
3629cdf2a890ef76f423f15fff965b3a
% loadcnt() - Load a Neuroscan continuous signal file. % % Usage: % >> cnt = loadcnt(file, varargin) % % Inputs: % filename - name of the file with extension % % Optional inputs: % 't1' - start at time t1, default 0. Warning, events latency % might be innacurate (this is an open issue). % ...
github
philippboehmsturm/antx-master
read_yokogawa_header.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_yokogawa_header.m
8,340
utf_8
c1392a52ad7bb86127e7a704c5abce9d
function hdr = read_yokogawa_header(filename) % READ_YOKOGAWA_HEADER reads the header information from continuous, % epoched or averaged MEG data that has been generated by the Yokogawa % MEG system and software and allows that data to be used in combination % with FieldTrip. % % Use as % [hdr] = read_yokogawa_heade...
github
philippboehmsturm/antx-master
encode_nifti1.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/encode_nifti1.m
4,870
utf_8
9cf92a03587c511a5cec2c8c76a3c2c3
function blob = encode_nifti1(H) %function blob = encode_nifti1(H) % % Encodes a NIFTI-1 header (=> raw 348 bytes (uint8)) from a Matlab structure % that matches the C struct defined in nifti1.h. % % WARNING: This function currently ignores endianness !!! % (C) 2010 S.Klanke blob = uint8(zeros(1,348)); if ~isstruct(...
github
philippboehmsturm/antx-master
avw_hdr_read.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/avw_hdr_read.m
16,668
utf_8
7cb599cd5b75177fed96189188822304
function [ avw, machine ] = avw_hdr_read(fileprefix, machine, verbose) % avw_hdr_read - read Analyze format data header (*.hdr) % % [ avw, machine ] = avw_hdr_read(fileprefix, [machine], [verbose]) % % fileprefix - string filename (without .hdr); the file name % can be given as a full path or relative to ...
github
philippboehmsturm/antx-master
read_stl.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_stl.m
4,072
utf_8
f8ab163555c079a78445be6bc53cac39
function [pnt, tri, nrm] = read_stl(filename); % READ_STL reads a triangulation from an ascii or binary *.stl file, which % is a file format native to the stereolithography CAD software created by % 3D Systems. % % Use as % [pnt, tri, nrm] = read_stl(filename) % % The format is described at http://en.wikipedia.org/w...
github
philippboehmsturm/antx-master
read_itab_mhd.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_itab_mhd.m
12,499
utf_8
3f00166bb7197b9d65c619cfe0ac954d
function mhd = read_itab_mhd(filename) fid = fopen(filename, 'rb'); % Name of structure mhd.stname = fread(fid, [1 10], 'uint8=>char'); % Header identifier (VP_BIOMAG) mhd.stver = fread(fid, [1 8], 'uint8=>char'); % Header version mhd.stendian = fread(fid, [1 4], 'uint8=>char'); % ...
github
philippboehmsturm/antx-master
read_plexon_plx.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_plexon_plx.m
19,936
utf_8
a5f213ea449dd4e5bb51d240302e6364
function [varargout] = read_plexon_plx(filename, varargin) % READ_PLEXON_PLX reads header or data from a Plexon *.plx file, which % is a file containing action-potential (spike) timestamps and waveforms % (spike channels), event timestamps (event channels), and continuous % variable data (continuous A/D channels). % %...
github
philippboehmsturm/antx-master
read_neurosim_evolution.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_neurosim_evolution.m
4,562
utf_8
fef2b6110659fbc86ec755b093316cc2
function [hdr, dat] = read_neurosim_evolution(filename, varargin) % READ_NEUROSIM_EVOLUTION reads the "evolution" file that is written % by Jan van der Eerden's NeuroSim software. When a directory is used % as input, the default filename 'evolution' is read. % % Use as % [hdr, dat] = read_neurosim_evolution(filename...
github
philippboehmsturm/antx-master
read_eeglabevent.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_eeglabevent.m
4,191
utf_8
67bd5db5f42d6abb30df32d9db8277eb
% read_eeglabevent() - import EEGLAB dataset events % % Usage: % >> event = read_eeglabevent(filename, ...); % % Inputs: % filename - [string] file name % % Optional inputs: % 'header' - FILEIO structure header % % Outputs: % event - FILEIO toolbox event structure % % Author: Arnaud Delorme, SCCN, INC, ...
github
philippboehmsturm/antx-master
read_bti_ascii.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_bti_ascii.m
2,301
utf_8
1a848485b63c5722f7013276c80d4dab
function [file] = read_bti_ascii(filename); % READ_BTI_ASCII reads general data from a BTI configuration file % % The file should be formatted like % Group: % item1 : value1a value1b value1c % item2 : value2a value2b value2c % item3 : value3a value3b value3c % item4 : value4a value4b value4c...
github
philippboehmsturm/antx-master
openbdf.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/openbdf.m
6,812
utf_8
cb49358a2a955b165a5c50127c25e3d8
% openbdf() - Opens an BDF File (European Data Format for Biosignals) in MATLAB (R) % % Usage: % >> EDF=openedf(FILENAME) % % Note: About EDF -> www.biosemi.com/faq/file_format.htm % % Author: Alois Schloegl, 5.Nov.1998 % % See also: readedf() % Copyright (C) 1997-1998 by Alois Schloegl % a.schloegl@ieee.org % ...
github
philippboehmsturm/antx-master
ft_trialfun_general.m
.m
antx-master/xspm8/external/fieldtrip/trialfun/ft_trialfun_general.m
13,271
utf_8
0cfa2157a643d65e98d581477165b7b5
function [trl, event] = ft_trialfun_general(cfg) % FT_TRIALFUN_GENERAL determines trials/segments in the data that are % interesting for analysis, using the general event structure returned % by read_event. This function is independent of the dataformat % % The trialdef structure can contain the following specificatio...
github
philippboehmsturm/antx-master
ft_trialfun_realtime.m
.m
antx-master/xspm8/external/fieldtrip/trialfun/ft_trialfun_realtime.m
4,591
utf_8
643acf8caae74037ece5c0f0d5ca7057
function trl = ft_trialfun_realtime(cfg) % FT_TRIALFUN_REALTIME can be used to segment a continuous stream of % data in real-time. Trials are defined as [begsample endsample offset % condition] % % The configuration structure can contain the following specifications % cfg.minsample = the last sample number that wa...
github
philippboehmsturm/antx-master
select_channel_list.m
.m
antx-master/xspm8/external/fieldtrip/trialfun/private/select_channel_list.m
5,910
utf_8
51149b83e6eca7c0510e5a740c7f87e7
function [select] = select_channel_list(label, select, titlestr); % SELECT_CHANNEL_LIST presents a dialog for selecting multiple elements % from a cell array with strings, such as the labels of EEG channels. % The dialog presents two columns with an add and remove mechanism. % % select = select_channel_list(label, in...
github
philippboehmsturm/antx-master
ft_headmodel_fns.m
.m
antx-master/xspm8/external/fieldtrip/forward/ft_headmodel_fns.m
5,731
utf_8
2a5fde79978f74623faf81f8d9fa4af7
function vol = ft_headmodel_fns(seg, varargin) % FT_HEADMODEL_FNS creates the volume conduction structure to be used % in the FNS forward solver. % % Use as % vol = ft_headmodel_fns(seg, ...) % % Optional input arguments should be specified in key-value pairs and % can include % tissuecond = matrix C [9XN t...
github
philippboehmsturm/antx-master
ft_convert_units.m
.m
antx-master/xspm8/external/fieldtrip/forward/ft_convert_units.m
7,014
utf_8
bd2c535cfe17e9623a258e0cabe01226
function [obj] = ft_convert_units(obj, target) % FT_CONVERT_UNITS changes the geometrical dimension to the specified SI unit. % The units of the input object is determined from the structure field % object.unit, or is estimated based on the spatial extend of the structure, % e.g. a volume conduction model of the head ...
github
philippboehmsturm/antx-master
ft_apply_montage.m
.m
antx-master/xspm8/external/fieldtrip/forward/ft_apply_montage.m
13,440
utf_8
ba256ae86f2bc28cc2d9f26098e25236
function [input] = ft_apply_montage(input, montage, varargin) % FT_APPLY_MONTAGE changes the montage of an electrode or gradiometer array. A % montage can be used for EEG rereferencing, MEG synthetic gradients, MEG % planar gradients or unmixing using ICA. This function applies the montage % to the inputor array. The ...
github
philippboehmsturm/antx-master
ft_headmodel_slab.m
.m
antx-master/xspm8/external/fieldtrip/forward/ft_headmodel_slab.m
3,466
utf_8
757f6a05af6be4410be4b60f68219358
function vol = ft_headmodel_slab(geom1, geom2, Pc, varargin) % FT_HEADMODEL_SLAB creates an EEG volume conduction model that % is described with an infinite conductive slab. You can think % of this as two parallel planes containing a mass of conductive % material (e.g. water) and externally to them a non-conductive ma...
github
philippboehmsturm/antx-master
ft_prepare_vol_sens.m
.m
antx-master/xspm8/external/fieldtrip/forward/ft_prepare_vol_sens.m
23,785
utf_8
48ad68a40571bf206b4973418d72acab
function [vol, sens] = ft_prepare_vol_sens(vol, sens, varargin) % FT_PREPARE_VOL_SENS does some bookkeeping to ensure that the volume % conductor model and the sensor array are ready for subsequent forward % leadfield computations. It takes care of some pre-computations that can % be done efficiently prior to the lead...
github
philippboehmsturm/antx-master
ft_headmodel_halfspace.m
.m
antx-master/xspm8/external/fieldtrip/forward/ft_headmodel_halfspace.m
3,240
utf_8
d78abbad6c8d161643451f71b14c2877
function vol = ft_headmodel_halfspace(geom, Pc, varargin) % FT_HEADMODEL_HALFSPACE creates an EEG volume conduction model that % is described with an infinite conductive halfspace. You can think % of this as a plane with on one side a infinite mass of conductive % material (e.g. water) and on the other side non-conduc...
github
philippboehmsturm/antx-master
ft_headmodel_dipoli.m
.m
antx-master/xspm8/external/fieldtrip/forward/ft_headmodel_dipoli.m
6,816
utf_8
3465b5ee40c407eb1d5678ae6507e8f3
function vol = ft_headmodel_dipoli(geom, varargin) % FT_HEADMODEL_DIPOLI creates a volume conduction model of the head % using the boundary element method (BEM) for EEG. This function takes % as input the triangulated surfaces that describe the boundaries and % returns as output a volume conduction model which can be ...
github
philippboehmsturm/antx-master
ft_headmodel_openmeeg.m
.m
antx-master/xspm8/external/fieldtrip/forward/ft_headmodel_openmeeg.m
7,299
utf_8
471a50b0b7a3a9726773a1f15bcfa4f3
function vol = ft_headmodel_openmeeg(geom, varargin) % FT_HEADMODEL_OPENMEEG creates a volume conduction model of the % head using the boundary element method (BEM). This function takes % as input the triangulated surfaces that describe the boundaries and % returns as output a volume conduction model which can be used...
github
philippboehmsturm/antx-master
ft_datatype_sens.m
.m
antx-master/xspm8/external/fieldtrip/forward/private/ft_datatype_sens.m
8,876
utf_8
9cca02c1384fde3f0c40f1a5a3a0253a
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
normals.m
.m
antx-master/xspm8/external/fieldtrip/forward/private/normals.m
2,582
utf_8
c474f14b83010d46459376013fa6e047
function [nrm] = normals(pnt, dhk, opt); % NORMALS compute the surface normals of a triangular mesh % for each triangle or for each vertex % % [nrm] = normals(pnt, dhk, 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
philippboehmsturm/antx-master
meg_ini.m
.m
antx-master/xspm8/external/fieldtrip/forward/private/meg_ini.m
5,605
utf_8
ebfaeafe751fd7aea7baf1049e6865b4
function forwpar=meg_ini(vc,center,order,sens,refs,gradlocs,weights) % initializes MEG-forward calculation % usage: forwpar=meg_ini(vc,center,order,sens,refs,gradlocs,weights); % % input: % vc: Nx6 matrix; N is the number of surface points % the first three numbers in each row are the location % and the...
github
philippboehmsturm/antx-master
eeg_halfspace_monopole.m
.m
antx-master/xspm8/external/fieldtrip/forward/private/eeg_halfspace_monopole.m
3,531
utf_8
a30cd5fd8a55c538ea729282dd92336a
function [lf] = eeg_halfspace_monopole(rd, elc, vol) % EEG_HALFSPACE_MONOPOLE calculate the halfspace medium leadfield % on positions pnt for a monopole at position rd and conductivity cond % The halfspace solution requires a plane dividing a conductive zone of % conductivity cond, from a non coductive zone (cond = 0)...
github
philippboehmsturm/antx-master
eeg_halfspace_medium_leadfield.m
.m
antx-master/xspm8/external/fieldtrip/forward/private/eeg_halfspace_medium_leadfield.m
3,539
utf_8
1e8b5e9c0f452dc034f74f1a4035efd7
function [lf] = eeg_halfspace_medium_leadfield(rd, elc, vol) % HALFSPACE_MEDIUM_LEADFIELD calculate the halfspace medium leadfield % on positions pnt for a dipole at position rd and conductivity cond % The halfspace solution requires a plane dividing a conductive zone of % conductivity cond, from a non coductive zone ...
github
philippboehmsturm/antx-master
warning_once.m
.m
antx-master/xspm8/external/fieldtrip/forward/private/warning_once.m
3,832
utf_8
07dc728273934663973f4c716e7a3a1c
function [ws warned] = warning_once(varargin) % % Use as one of the following % warning_once(string) % warning_once(string, timeout) % warning_once(id, string) % warning_once(id, string, timeout) % where timeout should be inf if you don't want to see the warning ever % again. The default timeout value is 60 sec...
github
philippboehmsturm/antx-master
leadsphere_all.m
.m
antx-master/xspm8/external/fieldtrip/forward/private/leadsphere_all.m
2,351
utf_8
8a0c7658993d13ebbeafaa335b06386a
function out=leadsphere_chans(xloc,sensorloc,sensorori) % usage: out=leadsphere_chans(xloc,sensorloc,sensorori) % Copyright (C) 2003, Guido Nolte % % This file is part of FieldTrip, see http://www.ru.nl/neuroimaging/fieldtrip % for the documentation and details. % % FieldTrip is free software: you can redistribute ...
github
philippboehmsturm/antx-master
ft_hastoolbox.m
.m
antx-master/xspm8/external/fieldtrip/forward/private/ft_hastoolbox.m
21,701
utf_8
7141791b922e3b46334b4d5888532adf
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
eeg_slab_monopole.m
.m
antx-master/xspm8/external/fieldtrip/forward/private/eeg_slab_monopole.m
4,438
utf_8
a73da4acab82be2e433ef6b96c5da222
function [lf] = eeg_slab_monopole(rd, elc, vol) % EEG_SLAB_MONOPOLE calculate the strip medium leadfield % on positions pnt for a monopole at position rd and conductivity cond % The halfspace solution requires a plane dividing a conductive zone of % conductivity cond, from a non coductive zone (cond = 0) % % [l...
github
philippboehmsturm/antx-master
eeg_leadfield1.m
.m
antx-master/xspm8/external/fieldtrip/forward/private/eeg_leadfield1.m
3,851
utf_8
5b4189b3e0cfc474f626b46f8d47b752
function lf = eeg_leadfield1(R, elc, vol) % EEG_LEADFIELD1 electric leadfield for a dipole in a single sphere % % [lf] = eeg_leadfield1(R, elc, vol) % % with input arguments % R position dipole (vector of length 3) % elc position electrodes % and vol being a structure with the elements % vol.r radius...
github
philippboehmsturm/antx-master
meg_forward.m
.m
antx-master/xspm8/external/fieldtrip/forward/private/meg_forward.m
4,038
utf_8
ac153d74863728e2e7c2eb70a19bf210
function field=meg_forward(dip_par,forwpar) % calculates the magnetic field of n dipoles % in a realistic volume conductor % usage: field=meg_forward(dip_par,forwpar) % % input: % dip_par nx6 matrix where each row contains location (first 3 numbers) % and moment (second 3 numbers) of a dipole % forwpar st...
github
philippboehmsturm/antx-master
postpad.m
.m
antx-master/xspm8/external/fieldtrip/preproc/private/postpad.m
2,013
utf_8
2c9539d77ff0f85c9f89108f4dc811e0
% Copyright (C) 1994, 1995, 1996, 1997, 1998, 2000, 2002, 2004, 2005, % 2006, 2007, 2008, 2009 John W. Eaton % % This file is part of Octave. % % Octave is free software; you can redistribute it and/or modify it % under the terms of the GNU General Public License as published by % the Free Software Founda...
github
philippboehmsturm/antx-master
sftrans.m
.m
antx-master/xspm8/external/fieldtrip/preproc/private/sftrans.m
7,947
utf_8
f64cb2e7d19bcdc6232b39d8a6d70e7c
% Copyright (C) 1999 Paul Kienzle % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation; either version 2 of the License, or % (at your option) any later version. % % This program is distributed in t...
github
philippboehmsturm/antx-master
filtfilt.m
.m
antx-master/xspm8/external/fieldtrip/preproc/private/filtfilt.m
3,297
iso_8859_1
d01a26a827bc3379f05bbc57f46ac0a9
% Copyright (C) 1999 Paul Kienzle % Copyright (C) 2007 Francesco Potortì % Copyright (C) 2008 Luca Citi % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation; either version 2 of the License, or % (a...
github
philippboehmsturm/antx-master
bilinear.m
.m
antx-master/xspm8/external/fieldtrip/preproc/private/bilinear.m
4,339
utf_8
17250db27826cad87fa3384823e1242f
% Copyright (C) 1999 Paul Kienzle % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation; either version 2 of the License, or % (at your option) any later version. % % This program is distributed in t...
github
philippboehmsturm/antx-master
butter.m
.m
antx-master/xspm8/external/fieldtrip/preproc/private/butter.m
3,559
utf_8
ad82b4c04911a5ea11fd6bd2cc5fd590
% Copyright (C) 1999 Paul Kienzle % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation; either version 2 of the License, or % (at your option) any later version. % % This program is distributed in t...
github
philippboehmsturm/antx-master
ft_statfun_roc.m
.m
antx-master/xspm8/external/fieldtrip/statfun/ft_statfun_roc.m
5,372
utf_8
ec4b890f9fa0c3a897be1b3cc74e9910
function [s, cfg] = statfun_roc(cfg, dat, design) % STATFUN_roc computes the area under the curve (AUC) of the % Receiver Operator Characteristic (ROC). This is a measure of the % separability of the data divided over two conditions. The AUC can % be used to test statistical significance of being able to predict % on ...
github
philippboehmsturm/antx-master
nansum.m
.m
antx-master/xspm8/external/fieldtrip/statfun/private/nansum.m
185
utf_8
4859ec062780c478011dd7a8d94684a0
% NANSUM provides a replacement for MATLAB's nanmean. % % For usage see SUM. function y = nansum(x, dim) if nargin == 1 dim = 1; end idx = isnan(x); x(idx) = 0; y = sum(x, dim); end
github
philippboehmsturm/antx-master
nanstd.m
.m
antx-master/xspm8/external/fieldtrip/statfun/private/nanstd.m
231
utf_8
0ff62b1c345b5ad76a9af59cf07c2983
% NANSTD provides a replacement for MATLAB's nanstd that is almost % compatible. % % For usage see STD. Note that the three-argument call with FLAG is not % supported. function Y = nanstd(varargin) Y = sqrt(nanvar(varargin{:}));
github
philippboehmsturm/antx-master
warning_once.m
.m
antx-master/xspm8/external/fieldtrip/statfun/private/warning_once.m
3,832
utf_8
07dc728273934663973f4c716e7a3a1c
function [ws warned] = warning_once(varargin) % % Use as one of the following % warning_once(string) % warning_once(string, timeout) % warning_once(id, string) % warning_once(id, string, timeout) % where timeout should be inf if you don't want to see the warning ever % again. The default timeout value is 60 sec...
github
philippboehmsturm/antx-master
nanmean.m
.m
antx-master/xspm8/external/fieldtrip/statfun/private/nanmean.m
165
utf_8
e6c473a49d8be6e12960af55ced45e54
% NANMEAN provides a replacement for MATLAB's nanmean. % % For usage see MEAN. function y = nanmean(x, dim) N = sum(~isnan(x), dim); y = nansum(x, dim) ./ N; end
github
philippboehmsturm/antx-master
nanvar.m
.m
antx-master/xspm8/external/fieldtrip/statfun/private/nanvar.m
1,093
utf_8
d9641af3bba1e2c6e3512199221e686c
% NANVAR provides a replacement for MATLAB's nanvar that is almost % compatible. % % For usage see VAR. Note that the weight-vector is not supported. If you % need it, please file a ticket at our bugtracker. function Y = nanvar(X, w, dim) switch nargin case 1 % VAR(x) % Normalize by n-1 when no dim is given...
github
philippboehmsturm/antx-master
tinv.m
.m
antx-master/xspm8/external/fieldtrip/statfun/private/tinv.m
7,634
utf_8
8fe66ec125f91e1a7ac5f8d3cb2ac51a
function x = tinv(p,v); % TINV Inverse of Student's T cumulative distribution function (cdf). % X=TINV(P,V) returns the inverse of Student's T cdf with V degrees % of freedom, at the values in P. % % The size of X is the common size of P and V. A scalar input % functions as a constant matrix of the same s...
github
philippboehmsturm/antx-master
nansum.m
.m
antx-master/xspm8/external/fieldtrip/src/nansum.m
185
utf_8
4859ec062780c478011dd7a8d94684a0
% NANSUM provides a replacement for MATLAB's nanmean. % % For usage see SUM. function y = nansum(x, dim) if nargin == 1 dim = 1; end idx = isnan(x); x(idx) = 0; y = sum(x, dim); end
github
philippboehmsturm/antx-master
nanstd.m
.m
antx-master/xspm8/external/fieldtrip/src/nanstd.m
231
utf_8
0ff62b1c345b5ad76a9af59cf07c2983
% NANSTD provides a replacement for MATLAB's nanstd that is almost % compatible. % % For usage see STD. Note that the three-argument call with FLAG is not % supported. function Y = nanstd(varargin) Y = sqrt(nanvar(varargin{:}));
github
philippboehmsturm/antx-master
nanmean.m
.m
antx-master/xspm8/external/fieldtrip/src/nanmean.m
165
utf_8
e6c473a49d8be6e12960af55ced45e54
% NANMEAN provides a replacement for MATLAB's nanmean. % % For usage see MEAN. function y = nanmean(x, dim) N = sum(~isnan(x), dim); y = nansum(x, dim) ./ N; end
github
philippboehmsturm/antx-master
nanvar.m
.m
antx-master/xspm8/external/fieldtrip/src/nanvar.m
1,093
utf_8
d9641af3bba1e2c6e3512199221e686c
% NANVAR provides a replacement for MATLAB's nanvar that is almost % compatible. % % For usage see VAR. Note that the weight-vector is not supported. If you % need it, please file a ticket at our bugtracker. function Y = nanvar(X, w, dim) switch nargin case 1 % VAR(x) % Normalize by n-1 when no dim is given...
github
philippboehmsturm/antx-master
ft_connectivity_corr.m
.m
antx-master/xspm8/external/fieldtrip/connectivity/ft_connectivity_corr.m
8,643
utf_8
ff666c57a9e6619f5cef4afbccd42832
function [c, v, outcnt] = ft_connectivity_corr(input, varargin) % FT_CONNECTIVITY_CORR computes correlation or coherence (or a related % quantity) from a data-matrix containing a covariance or cross-spectral % density. It implements the methods described in: % Coherence: Rosenberg et al, The Fourier approach to the i...
github
philippboehmsturm/antx-master
ft_connectivity_psi.m
.m
antx-master/xspm8/external/fieldtrip/connectivity/ft_connectivity_psi.m
5,704
utf_8
f3a2ec7e8d4d69aca6e1b1f88eb342cf
function [p, v, n] = ft_connectivity_psi(input, varargin) % FT_CONNECTIVITY_PSI computes the phase slope index from a data-matrix % containing the cross-spectral density. It implements the method described % in: Nolte et al., Robustly estimating the flow direction of information % in complex physical systems. Physical...
github
philippboehmsturm/antx-master
nansum.m
.m
antx-master/xspm8/external/fieldtrip/connectivity/private/nansum.m
185
utf_8
4859ec062780c478011dd7a8d94684a0
% NANSUM provides a replacement for MATLAB's nanmean. % % For usage see SUM. function y = nansum(x, dim) if nargin == 1 dim = 1; end idx = isnan(x); x(idx) = 0; y = sum(x, dim); end
github
philippboehmsturm/antx-master
sfactorization_wilson2x2.m
.m
antx-master/xspm8/external/fieldtrip/connectivity/private/sfactorization_wilson2x2.m
4,756
utf_8
9d8be7f686ab1325b21f3b94de613d12
function [H, Z, S, psi] = sfactorization_wilson2x2(S,freq,Niterations,tol,cmbindx,fb,init) % Usage : [H, Z, psi] = sfactorization_wilson(S,fs,freq); % Inputs : S (1-sided, 3D-spectral matrix in the form of Channel x Channel x frequency) % : fs (sampling frequency in Hz) % : freq (a vector of frequencie...
github
philippboehmsturm/antx-master
nanstd.m
.m
antx-master/xspm8/external/fieldtrip/connectivity/private/nanstd.m
231
utf_8
0ff62b1c345b5ad76a9af59cf07c2983
% NANSTD provides a replacement for MATLAB's nanstd that is almost % compatible. % % For usage see STD. Note that the three-argument call with FLAG is not % supported. function Y = nanstd(varargin) Y = sqrt(nanvar(varargin{:}));
github
philippboehmsturm/antx-master
warning_once.m
.m
antx-master/xspm8/external/fieldtrip/connectivity/private/warning_once.m
3,832
utf_8
07dc728273934663973f4c716e7a3a1c
function [ws warned] = warning_once(varargin) % % Use as one of the following % warning_once(string) % warning_once(string, timeout) % warning_once(id, string) % warning_once(id, string, timeout) % where timeout should be inf if you don't want to see the warning ever % again. The default timeout value is 60 sec...
github
philippboehmsturm/antx-master
nanmean.m
.m
antx-master/xspm8/external/fieldtrip/connectivity/private/nanmean.m
165
utf_8
e6c473a49d8be6e12960af55ced45e54
% NANMEAN provides a replacement for MATLAB's nanmean. % % For usage see MEAN. function y = nanmean(x, dim) N = sum(~isnan(x), dim); y = nansum(x, dim) ./ N; end
github
philippboehmsturm/antx-master
sfactorization_wilson.m
.m
antx-master/xspm8/external/fieldtrip/connectivity/private/sfactorization_wilson.m
4,706
utf_8
ebcbea0ae06debde297adbb94bfb0e5e
function [H, Z, S, psi] = sfactorization_wilson(S,freq,Niterations,tol,fb,init) % Usage : [H, Z, S, psi] = sfactorization_wilson(S,fs,freq); % Inputs : S (1-sided, 3D-spectral matrix in the form of Channel x Channel x frequency) % : fs (sampling frequency in Hz) % : freq (a vector of frequencies) at wh...
github
philippboehmsturm/antx-master
nanvar.m
.m
antx-master/xspm8/external/fieldtrip/connectivity/private/nanvar.m
1,093
utf_8
d9641af3bba1e2c6e3512199221e686c
% NANVAR provides a replacement for MATLAB's nanvar that is almost % compatible. % % For usage see VAR. Note that the weight-vector is not supported. If you % need it, please file a ticket at our bugtracker. function Y = nanvar(X, w, dim) switch nargin case 1 % VAR(x) % Normalize by n-1 when no dim is given...
github
philippboehmsturm/antx-master
beamformer_pcc.m
.m
antx-master/xspm8/external/fieldtrip/inverse/beamformer_pcc.m
11,650
utf_8
9448fde03bcc26701dc45d4191e63e50
function [dipout] = beamformer_pcc(dip, grad, vol, dat, Cf, varargin) % BEAMFORMER_PCC implements an experimental beamformer based on partial canonical % correlations or coherences. % Copyright (C) 2005-2008, Robert Oostenveld & Jan-Mathijs Schoffelen % % This file is part of FieldTrip, see http://www.ru.nl/neuroima...
github
philippboehmsturm/antx-master
beamformer_dics.m
.m
antx-master/xspm8/external/fieldtrip/inverse/beamformer_dics.m
24,638
utf_8
9201784dbd8090bd17ebbb75c3c3d1e5
function [dipout] = beamformer_dics(dip, grad, vol, dat, Cf, varargin) % BEAMFORMER_DICS scans on pre-defined dipole locations with a single dipole % and returns the beamformer spatial filter output for a dipole on every % location. Dipole locations that are outside the head will return a % NaN value. % % Use as % ...
github
philippboehmsturm/antx-master
beamformer_lcmv.m
.m
antx-master/xspm8/external/fieldtrip/inverse/beamformer_lcmv.m
16,360
utf_8
24543219357b20596a7a2d8f35070a41
function [dipout] = beamformer_lcmv(dip, grad, vol, dat, Cy, varargin) % BEAMFORMER_LCMV scans on pre-defined dipole locations with a single dipole % and returns the beamformer spatial filter output for a dipole on every % location. Dipole locations that are outside the head will return a % NaN value. % % Use as % ...
github
philippboehmsturm/antx-master
dipole_fit.m
.m
antx-master/xspm8/external/fieldtrip/inverse/dipole_fit.m
11,095
utf_8
3ed8bcfd404bb481eb98539a1e371239
function [dipout] = dipole_fit(dip, sens, vol, dat, varargin) % DIPOLE_FIT performs an equivalent current dipole fit with a single % or a small number of dipoles to explain an EEG or MEG scalp topography. % % Use as % [dipout] = dipole_fit(dip, sens, vol, dat, ...) % % Additional input arguments should be specified ...
github
philippboehmsturm/antx-master
ft_hastoolbox.m
.m
antx-master/xspm8/external/fieldtrip/inverse/private/ft_hastoolbox.m
21,701
utf_8
7141791b922e3b46334b4d5888532adf
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
subsasgn.m
.m
antx-master/xspm8/@nifti/subsasgn.m
14,541
utf_8
ffdb84b7956d93c2f9a0a980ccbe8a22
function obj = subsasgn(obj,subs,varargin) % Subscript assignment % See subsref for meaning of fields. % _______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % % $Id: subsasgn.m 4136 2010-12-09 22:22:28Z guillaume $ switch subs(1).type, c...
github
philippboehmsturm/antx-master
subsref.m
.m
antx-master/xspm8/@nifti/subsref.m
8,741
utf_8
2d67123e4dc7e0b20a7ee19962324fee
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
philippboehmsturm/antx-master
create.m
.m
antx-master/xspm8/@nifti/create.m
1,963
utf_8
3c70cc73a693e9e93f4a3f3b60c91d1c
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
philippboehmsturm/antx-master
getdict.m
.m
antx-master/xspm8/@nifti/private/getdict.m
5,226
utf_8
94716c88e3d44be3c8207f14a928510a
function d = getdict % Dictionary of NIFTI stuff % _______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % % $Id: getdict.m 1143 2008-02-07 19:33:33Z spm $ persistent dict; if ~isempty(dict), d = dict; return; end; % Datatype t = ...
github
philippboehmsturm/antx-master
write_extras.m
.m
antx-master/xspm8/@nifti/private/write_extras.m
876
utf_8
f3686c5d5d6e88449972819a302e8c5c
function extras = write_extras(fname,extras) % Write extra bits of information %_______________________________________________________________________ % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging % % $Id: write_extras.m 1143 2008-02-07 19:33:33Z spm $ [pth,nam,ext] = fileparts(fname); switch ext case...
github
philippboehmsturm/antx-master
setpath.m
.m
antx-master/freiburgLight/setpath.m
1,503
utf_8
61605b0bdc54dfec7f0f06543e7c6327
%% SET PATHS For freiburg tools % setpath or setpath(1) : SETS PATHS For freiburg tools % setpath(0) :REMOVES PATHS For freiburg tools function setpath(arg) warning off; if exist('arg')==0; arg=1; end if arg==1 addpath(genpath(fullfile(pwd,'matlab', 'matlab_new'))) ad...
github
philippboehmsturm/antx-master
buildtable.m
.m
antx-master/freiburgLight/allen/buildtable.m
1,038
utf_8
533e7574bda6931cad1b44fc010347b9
function [table idxLUT] = buildtable(tree) table = recur(tree); cnt = 1; for k = 1:length(table) for j = 1:length(table{k}) str = table{k}(j).allinfo; str.includes = [table{k}(1:j-1).id]; str.children = [table{k}(j).children]; str.nameinlist = [repmat('-',[1 j]) str.name]; ...
github
philippboehmsturm/antx-master
spm_uitab.m
.m
antx-master/freiburgLight/matlab/spm8/spm_uitab.m
7,695
utf_8
e80b69279b276644a59f0e838bc07817
function [handles] = spm_uitab(hparent,labels,callbacks,... tag,active,height,tab_height) % Create tabs in the SPM Graphics window % FORMAT [handles] = spm_uitab(hfig,labels,callbacks,... % tag,active,height,tab_height) % This functiuon creates tabs in the SPM graphics window. % These tabs may be associated with...
github
philippboehmsturm/antx-master
spm_vb_ppm_anova.m
.m
antx-master/freiburgLight/matlab/spm8/spm_vb_ppm_anova.m
3,873
utf_8
5360b2f4d1d7fe1f61c455b53a468fd5
function spm_vb_ppm_anova(SPM) % Bayesian ANOVA using model comparison % FORMAT spm_vb_ppm_anova(SPM) % % SPM - Data structure corresponding to a full model (ie. one % containing all experimental conditions). % % This function creates images of differences in log evidence % which characterise t...
github
philippboehmsturm/antx-master
spm_coreg_paul.m
.m
antx-master/freiburgLight/matlab/spm8/spm_coreg_paul.m
15,181
utf_8
9d4ef60b26a7fd206c6d5484ab26092e
function [x ffmin] = spm_coreg_paul(varargin) % Between modality coregistration using information theory % FORMAT x = spm_coreg(VG,VF,flags) % VG - handle for reference image (see spm_vol). % VF - handle for source (moved) image. % flags - a structure containing the following elements: % sep - optim...
github
philippboehmsturm/antx-master
spm_fmri_spm_ui.m
.m
antx-master/freiburgLight/matlab/spm8/spm_fmri_spm_ui.m
19,710
utf_8
9d0ac73f1907933c2ee6bdad95b8210b
function [SPM] = spm_fmri_spm_ui(SPM) % Setting up the general linear model for fMRI time-series % FORMAT [SPM] = spm_fmri_spm_ui(SPM) % % creates SPM with the following fields % % xY: [1x1 struct] - data structure % nscan: [double] - vector of scans per session % xBF: [1x1 struct] - Basis function st...
github
philippboehmsturm/antx-master
spm_input.m
.m
antx-master/freiburgLight/matlab/spm8/spm_input.m
89,728
utf_8
d9477978de23772976e2d790d78bf1f4
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
philippboehmsturm/antx-master
spm_realign.m
.m
antx-master/freiburgLight/matlab/spm8/spm_realign.m
18,205
utf_8
71e4880ae3886c6cff4d532cbaa0810a
function P = spm_realign(P,flags) % Estimation of within modality rigid body movement parameters % FORMAT P = spm_realign(P,flags) % % P - matrix of filenames {one string per row} % All operations are performed relative to the first image. % ie. Coregistration is to the first image, and resampling %...
github
philippboehmsturm/antx-master
spm_surf.m
.m
antx-master/freiburgLight/matlab/spm8/spm_surf.m
9,740
utf_8
aa92ddde8b875463a0fefee45e0a1d79
function varargout = spm_surf(P,mode,thresh) % Surface extraction % FORMAT spm_surf(P,mode,thresh) % % P - char array of filenames % Usually, this will be c1xxx.img & c2xxx.img - grey and white % matter segments created using the segmentation routine. % mode - operation mode [1: rendering, 2: s...
github
philippboehmsturm/antx-master
spm_eeg_plotScalpData.m
.m
antx-master/freiburgLight/matlab/spm8/spm_eeg_plotScalpData.m
11,761
utf_8
47767f883d6ed147946a3f14900db01d
function [ZI,f] = spm_eeg_plotScalpData(Z,pos,ChanLabel,in) % Display interpolated sensor data on the scalp in a new figure % FORMAT [ZI,f] = spm_eeg_plotScalpData(Z,pos,ChanLabel,in) % % INPUT: % Z - the data matrix at the sensors % pos - the positions of the sensors % ChanLabel - the names of t...
github
philippboehmsturm/antx-master
spm_eeg_render.m
.m
antx-master/freiburgLight/matlab/spm8/spm_eeg_render.m
10,872
utf_8
52b7ba99932d4227bf2efefcc8766540
function [out] = spm_eeg_render(m,options) % Visualisation routine for the cortical surface % FORMAT [out] = spm_eeg_render(m,options) % % INPUT: % - m = MATLAB mesh (containing the fields .faces et .vertices) or GIFTI % format file. % - options = structure variable: % .texture = texture to be projected onto the...
github
philippboehmsturm/antx-master
spm_write_sn.m
.m
antx-master/freiburgLight/matlab/spm8/spm_write_sn.m
19,859
utf_8
0ea1c7ae2ba1644c71deaf8ae1518452
function VO = spm_write_sn(V,prm,flags,extras) % Write out warped images % FORMAT VO = spm_write_sn(V,prm,flags,msk) % V - Images to transform (filenames or volume structure). % prm - Transformation information (filename or structure). % flags - flags structure, with fields... % interp - i...