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
ft_datatype_raw.m
.m
antx-master/xspm8/external/fieldtrip/utilities/ft_datatype_raw.m
10,365
utf_8
4db6184c0320dfb990e48ca6db1e95a2
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
ft_version.m
.m
antx-master/xspm8/external/fieldtrip/utilities/ft_version.m
20,525
utf_8
9447155468f1f54b38bd39fd011d3d94
function [v,ftpath] = ft_version(cmd) % FT_VERSION provides functionality for displaying version information on % the current version of FieldTrip being used, as well us for updating the % FieldTrip installation. % % To understand the different options this function provides, a little bit % of background knowledge is n...
github
philippboehmsturm/antx-master
ft_transform_geometry.m
.m
antx-master/xspm8/external/fieldtrip/utilities/ft_transform_geometry.m
3,961
utf_8
2753b4ed40defdf48f32d8603dccba02
function [output] = ft_transform_geometry(transform, input) % FT_TRANSFORM_GEOMETRY applies a homogeneous coordinate transformation to % a structure with geometric information. These objects include: % - volume conductor geometry, consisting of a mesh, a set of meshes, a % single sphere, or multiple spheres. % ...
github
philippboehmsturm/antx-master
nansum.m
.m
antx-master/xspm8/external/fieldtrip/utilities/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/utilities/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/utilities/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/utilities/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/utilities/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
ft_plot_montage.m
.m
antx-master/xspm8/external/fieldtrip/plotting/ft_plot_montage.m
6,823
utf_8
5669e1d67db8e541768e7c780f85ff2e
function ft_plot_montage(dat, varargin) % FT_PLOT_MONTAGE makes a montage of a 3-D array by selecting slices at % regular distances and combining them in one large 2-D image. % % Use as % ft_plot_montage(dat, ...) % where dat is a 3-D array. % % Additional options should be specified in key-value pairs and can be %...
github
philippboehmsturm/antx-master
ft_plot_slice.m
.m
antx-master/xspm8/external/fieldtrip/plotting/ft_plot_slice.m
13,140
utf_8
48a01c38f54d164d078bb54e122bd0e0
function [h, T2] = ft_plot_slice(dat, varargin) % FT_PLOT_SLICE cuts a 2-D slice from a 3-D volume and interpolates if needed % % Use as % ft_plot_slice(dat, ...) % ft_plot_ortho(dat, mask, ...) % where dat and mask are equal-sized 3-D arrays. % % Additional options should be specified in key-value pairs and can b...
github
philippboehmsturm/antx-master
ft_select_range.m
.m
antx-master/xspm8/external/fieldtrip/plotting/ft_select_range.m
14,023
utf_8
b3a594296f089050fedf2d5771d5715b
function ft_select_range(handle, eventdata, varargin) % FT_SELECT_RANGE is a helper function that can be used as callback function % in a figure. It allows the user to select a horizontal or a vertical % range, or one or multiple boxes. % % The callback function (and it's arguments) specified in callback is called % ...
github
philippboehmsturm/antx-master
ft_select_channel.m
.m
antx-master/xspm8/external/fieldtrip/plotting/ft_select_channel.m
5,763
utf_8
65f75d2a28a115832e61158855e728ff
function ft_select_channel(handle, eventdata, varargin) % FT_SELECT_CHANNEL is a helper function that can be used as callback function % in a figure. It allows the user to select a channel. The channel labels % are returned. % % Use as % label = ft_select_channel(h, eventdata, ...) % The first two arguments are auto...
github
philippboehmsturm/antx-master
ft_datatype_sens.m
.m
antx-master/xspm8/external/fieldtrip/plotting/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
ptriside.m
.m
antx-master/xspm8/external/fieldtrip/plotting/private/ptriside.m
1,257
utf_8
f52f0beb3731b653116c217b37b673d2
function [side] = ptriside(v1, v2, v3, r, tolerance) % PTRISIDE determines the side of a plane on which a set of points lie. it % returns 0 for the points that lie on the plane % % [side] = ptriside(v1, v2, v3, r) % % the side of points r is determined relative to the plane spanned by % vertices v1, v2 and v3. v1,v2 ...
github
philippboehmsturm/antx-master
ft_convert_units.m
.m
antx-master/xspm8/external/fieldtrip/plotting/private/ft_convert_units.m
7,014
utf_8
b6713ad4580d1dac67d2d43489f0dc55
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/plotting/private/ft_apply_montage.m
13,440
utf_8
4d1063ba5c92c5b8e6c094a1e2b611dd
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
select3dtool.m
.m
antx-master/xspm8/external/fieldtrip/plotting/private/select3dtool.m
2,713
utf_8
fdf7d572638e6ebd059c63f233d26704
function select3dtool(arg) %SELECT3DTOOL A simple tool for interactively obtaining 3-D coordinates % % SELECT3DTOOL(FIG) Specify figure handle % % Example: % surf(peaks); % select3dtool; % % click on surface if nargin<1 arg = gcf; end if ~ishandle(arg) feval(arg); return; end %% initialize gui %% fig...
github
philippboehmsturm/antx-master
warning_once.m
.m
antx-master/xspm8/external/fieldtrip/plotting/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
mesh2edge.m
.m
antx-master/xspm8/external/fieldtrip/plotting/private/mesh2edge.m
3,404
utf_8
cf32ba7233084e32af5fc6057ab2bba5
function [newbnd] = mesh2edge(bnd) % MESH2EDGE finds the edge lines from a triangulated mesh or the edge surfaces % from a tetrahedral or hexahedral mesh. % % Use as % [bnd] = mesh2edge(bnd) % Copyright (C) 2013, Robert Oostenveld % % This file is part of FieldTrip, see http://www.ru.nl/neuroimaging/fieldtrip % for...
github
philippboehmsturm/antx-master
intersect_plane.m
.m
antx-master/xspm8/external/fieldtrip/plotting/private/intersect_plane.m
2,894
utf_8
a79090a28892db20b0e30635228e2ac4
function [X, Y, Z, pnt1, dhk1, pnt2, dhk2] = intersect_plane(pnt, dhk, v1, v2, v3) % INTERSECT_PLANE intersection between a triangulated surface and a plane % it returns the coordinates of the vertices which form a contour % % Use as % [X, Y, Z] = intersect_plane(pnt, dhk, v1, v2, v3) % % where the intersecting pla...
github
philippboehmsturm/antx-master
inside_contour.m
.m
antx-master/xspm8/external/fieldtrip/plotting/private/inside_contour.m
1,106
utf_8
37d10e5d9a05c79551aac24c328e34aa
function bool = inside_contour(pos, contour); npos = size(pos,1); ncnt = size(contour,1); x = pos(:,1); y = pos(:,2); minx = min(x); miny = min(y); maxx = max(x); maxy = max(y); bool = true(npos,1); bool(x<minx) = false; bool(y<miny) = false; bool(x>maxx) = false; bool(y>maxy) = false; % the summed angle over the c...
github
philippboehmsturm/antx-master
ft_specest_mtmconvol.m
.m
antx-master/xspm8/external/fieldtrip/specest/ft_specest_mtmconvol.m
18,784
utf_8
72b84d395f1269a44bba64c70c978ee4
function [spectrum,ntaper,freqoi,timeoi] = ft_specest_mtmconvol(dat, time, varargin) % FT_SPECEST_MTMCONVOL performs wavelet convolution in the time domain % by multiplication in the frequency domain % % Use as % [spectrum,freqoi,timeoi] = specest_mtmconvol(dat,time,...) % where % dat = matrix of chan*sample...
github
philippboehmsturm/antx-master
ft_specest_mtmfft.m
.m
antx-master/xspm8/external/fieldtrip/specest/ft_specest_mtmfft.m
12,992
utf_8
9d6c9a46538d0cfc46ac075583838972
function [spectrum,ntaper,freqoi] = ft_specest_mtmfft(dat, time, varargin) % FT_SPECEST_MTMFFT computes a fast Fourier transform using multitapering with % the DPSS sequence or using a variety of single tapers % % Use as % [spectrum,freqoi] = specest_mtmfft(dat,time...) % where % dat = matrix of chan*sample %...
github
philippboehmsturm/antx-master
postpad.m
.m
antx-master/xspm8/external/fieldtrip/specest/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/specest/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
hanning.m
.m
antx-master/xspm8/external/fieldtrip/specest/private/hanning.m
2,015
utf_8
2dfc746c8c862dc8fe272cae2a733f20
function [tap] = hanning(n, str) %HANNING Hanning window. % HANNING(N) returns the N-point symmetric Hanning window in a column % vector. Note that the first and last zero-weighted window samples % are not included. % % HANNING(N,'symmetric') returns the same result as HANNING(N). % % HANNING(N,'periodic'...
github
philippboehmsturm/antx-master
filtfilt.m
.m
antx-master/xspm8/external/fieldtrip/specest/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/specest/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
warning_once.m
.m
antx-master/xspm8/external/fieldtrip/specest/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
butter.m
.m
antx-master/xspm8/external/fieldtrip/specest/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
avw_hdr_make.m
.m
antx-master/xspm8/external/fieldtrip/private/avw_hdr_make.m
4,182
utf_8
df97baf07b917c62db1cde33abfc8416
function [ avw ] = avw_hdr_make % AVW_HDR_MAKE - Create Analyze format data header (avw.hdr) % % [ avw ] = avw_hdr_make % % avw.hdr - a struct, all fields returned from the header. % For details, find a good description on the web % or see the Analyze File Format pdf in the % mri_toolb...
github
philippboehmsturm/antx-master
prepare_mesh_headshape.m
.m
antx-master/xspm8/external/fieldtrip/private/prepare_mesh_headshape.m
9,151
utf_8
390bfd19f99b4c31bf0dda1ebd8c6c37
function bnd = prepare_mesh_headshape(cfg) % PREPARE_MESH_HEADSHAPE % % See also PREPARE_MESH_MANUAL, PREPARE_MESH_SEGMENTATION % Copyrights (C) 2009, Robert Oostenveld % % This file is part of FieldTrip, see http://www.ru.nl/neuroimaging/fieldtrip % for the documentation and details. % % FieldTrip is free softwar...
github
philippboehmsturm/antx-master
normals.m
.m
antx-master/xspm8/external/fieldtrip/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
rejectvisual_trial.m
.m
antx-master/xspm8/external/fieldtrip/private/rejectvisual_trial.m
9,172
utf_8
806a4d411be2efeca6ab8e316737ed41
function [chansel, trlsel, cfg] = rejectvisual_trial(cfg, data); % SUBFUNCTION for ft_rejectvisual % determine the initial selection of trials and channels nchan = length(data.label); ntrl = length(data.trial); cfg.channel = ft_channelselection(cfg.channel, data.label); trlsel = true(1,ntrl); chansel = false(1,ncha...
github
philippboehmsturm/antx-master
wizard_base.m
.m
antx-master/xspm8/external/fieldtrip/private/wizard_base.m
11,679
utf_8
d5e26be7986669db7dbb81191ca5a328
function h = wizard_gui(filename) % This is the low level wizard function. It evaluates the matlab content % in the workspace of the calling function. To prevent overwriting % variables in the BASE workspace, this function should be called from a % wrapper function. The wrapper function whoudl pause execution untill t...
github
philippboehmsturm/antx-master
spikesort.m
.m
antx-master/xspm8/external/fieldtrip/private/spikesort.m
5,888
utf_8
07eeb9336688a2791adebdd3a8441a50
function [numA, numB, indA, indB] = spikesort(numA, numB, varargin); % SPIKESORT uses a variation on the cocktail sort algorithm in combination % with a city block distance to achieve N-D trial pairing between spike % counts. The sorting is not guaranteed to result in the optimal pairing. A % linear pre-sorting algori...
github
philippboehmsturm/antx-master
nansum.m
.m
antx-master/xspm8/external/fieldtrip/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
shiftpredict.m
.m
antx-master/xspm8/external/fieldtrip/private/shiftpredict.m
8,738
utf_8
09de5132a8fd351c7122d799783ae0ff
function [prb, cohobs, mcohrnd] = shiftpredict(cfg, dat, datindx, refindx, trltapcnt); % SHIFTPREDICT implements a shift-predictor for testing significance % of coherence within a single condition. This function is a subfunction % for SOURCESTATISTICS_SHIFTPREDICT and FREQSTATISTICS_SHIFTPREDICT. % % cfg.method % cfg...
github
philippboehmsturm/antx-master
volumeedit.m
.m
antx-master/xspm8/external/fieldtrip/private/volumeedit.m
12,966
utf_8
f4a7c8f761e54de2e765c80d04d462bb
function [dataout] = volumeedit(data, varargin) % VOLUMEEDIT allows for editing of a (booleanized) volume, in order to % remove unwanted voxels. Interaction proceeds with the keyboard and the % mouse. % Copyright (C) 2013, Jan-Mathijs Schoffelen % % This file is part of FieldTrip, see http://www.ru.nl/neuroimaging/f...
github
philippboehmsturm/antx-master
postpad.m
.m
antx-master/xspm8/external/fieldtrip/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
statistics_wrapper.m
.m
antx-master/xspm8/external/fieldtrip/private/statistics_wrapper.m
27,008
utf_8
75f15bd59bcd26d5103082e24f4a0568
function [stat, cfg] = statistics_wrapper(cfg, varargin) % STATISTICS_WRAPPER performs the selection of the biological data for % timelock, frequency or source data and sets up the design vector or % matrix. % % The specific configuration options for selecting timelock, frequency % of source data are described in FT_T...
github
philippboehmsturm/antx-master
arrow.m
.m
antx-master/xspm8/external/fieldtrip/private/arrow.m
58,174
utf_8
975de6e9378e741d3d2c993ad5c36e21
function [h,yy,zz] = arrow(varargin) % ARROW Draw a line with an arrowhead. % % ARROW(Start,Stop) draws a line with an arrow from Start to Stop (points % should be vectors of length 2 or 3, or matrices with 2 or 3 % columns), and returns the graphics handle of the arrow(s). % % ARROW uses the mouse (cl...
github
philippboehmsturm/antx-master
csp.m
.m
antx-master/xspm8/external/fieldtrip/private/csp.m
1,702
utf_8
3eb6c73192bc8163344c9b5e70a04877
function [W] = csp(C1, C2, m) % CSP calculates the common spatial pattern (CSP) projection. % % Use as: % [W] = csp(C1, C2, m) % % This function implements the intents of the CSP algorithm described in [1]. % Specifically, CSP finds m spatial projections that maximize the variance (or % band power) in one condition (...
github
philippboehmsturm/antx-master
read_besa_src.m
.m
antx-master/xspm8/external/fieldtrip/private/read_besa_src.m
2,719
utf_8
a2ac15bf2e94b068fdb5b6361310a7dd
function [src] = read_besa_src(filename); % READ_BESA_SRC reads a beamformer source reconstruction from a BESA file % % Use as % [src] = read_besa_src(filename) % % The output structure contains a minimal representation of the contents % of the file. % Copyright (C) 2005, Robert Oostenveld % % This file is part of ...
github
philippboehmsturm/antx-master
splint.m
.m
antx-master/xspm8/external/fieldtrip/private/splint.m
6,074
utf_8
ef61b12d46539bcc2f66afb96daba8f2
function [V2, L2, L1] = splint(elc1, V1, elc2) % SPLINT computes the spherical spline interpolation and the surface laplacian % of an EEG potential distribution % % Use as % [V2, L2, L1] = splint(elc1, V1, elc2) % where % elc1 electrode positions where potential is known % elc2 electrode positions where p...
github
philippboehmsturm/antx-master
find_nearest.m
.m
antx-master/xspm8/external/fieldtrip/private/find_nearest.m
6,055
utf_8
a825f646f8070b85d3838ae337adee3d
function [nearest, distance] = find_nearest(pnt1, pnt2, npart, gridflag) % FIND_NEAREST finds the nearest vertex in a cloud of points and % does this efficiently for many target vertices at once (by means % of partitioning). % % Use as % [nearest, distance] = find_nearest(pnt1, pnt2, npart) % Copyright (C) 2007, Ro...
github
philippboehmsturm/antx-master
read_besa_avr.m
.m
antx-master/xspm8/external/fieldtrip/private/read_besa_avr.m
3,929
utf_8
91f2ee59d1af564811511e0e7f201ba4
function [avr] = read_besa_avr(filename) % READ_BESA_AVR reads average EEG data in BESA format % % Use as % [avr] = read_besa_avr(filename) % % This will return a structure with the header information in % avr.npnt % avr.tsb % avr.di % avr.sb % avr.sc % avr.Nchan (optional) % avr.label (optional) %...
github
philippboehmsturm/antx-master
sftrans.m
.m
antx-master/xspm8/external/fieldtrip/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/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
nanstd.m
.m
antx-master/xspm8/external/fieldtrip/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
avw_img_write.m
.m
antx-master/xspm8/external/fieldtrip/private/avw_img_write.m
29,939
utf_8
f83bd0814830119805ffef580d768cdc
function avw_img_write(avw, fileprefix, IMGorient, machine, verbose) % avw_img_write - write Analyze image files (*.img) % % avw_img_write(avw,fileprefix,[IMGorient],[machine],[verbose]) % % avw.img - a 3D matrix of image data (double precision). % avw.hdr - a struct with image data parameters. If % ...
github
philippboehmsturm/antx-master
bilinear.m
.m
antx-master/xspm8/external/fieldtrip/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
select_channel_list.m
.m
antx-master/xspm8/external/fieldtrip/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
artifact_viewer.m
.m
antx-master/xspm8/external/fieldtrip/private/artifact_viewer.m
6,725
utf_8
0045c4b5518e2d509c8d0d9892e389c2
function artifact_viewer(cfg, artcfg, zval, artval, zindx, inputdata); % ARTIFACT_VIEWER is a subfunction that reads a segment of data % (one channel only) and displays it together with the cummulated % z-value % Copyright (C) 2004-2006, Jan-Mathijs Schoffelen & Robert Oostenveld % % This file is part of FieldTrip, s...
github
philippboehmsturm/antx-master
rejectvisual_summary.m
.m
antx-master/xspm8/external/fieldtrip/private/rejectvisual_summary.m
19,077
utf_8
37d0a7a58af84def37cd501806ceeca4
function [chansel, trlsel, cfg] = rejectvisual_summary(cfg, data) % REJECTVISUAL_SUMMARY: subfunction for ft_rejectvisual % determine the initial selection of trials and channels nchan = length(data.label); ntrl = length(data.trial); cfg.channel = ft_channelselection(cfg.channel, data.label); trlsel = true(1,ntrl)...
github
philippboehmsturm/antx-master
warning_once.m
.m
antx-master/xspm8/external/fieldtrip/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
rejectvisual_channel.m
.m
antx-master/xspm8/external/fieldtrip/private/rejectvisual_channel.m
10,456
utf_8
774bc8d49d85b915def3a1c7e08ec8e5
function [chansel, trlsel, cfg] = rejectvisual_channel(cfg, data); % SUBFUNCTION for rejectvisual % Copyright (C) 2006, 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
triangulate_seg.m
.m
antx-master/xspm8/external/fieldtrip/private/triangulate_seg.m
4,749
utf_8
43f67dbe00353d8bb75b709aa97d7ce0
function [pnt, tri] = triangulate_seg(seg, npnt, origin) % TRIANGULATE_SEG constructs a triangulation of the outer surface of a % segmented volume. It starts at the center of the volume and projects the % vertices of an evenly triangulated sphere onto the outer surface. The % resulting surface is star-shaped from the ...
github
philippboehmsturm/antx-master
browse_simpleFFT.m
.m
antx-master/xspm8/external/fieldtrip/private/browse_simpleFFT.m
3,848
utf_8
8a1561f6249a7c96e15d8a38485f6df3
function browse_simpleFFT(cfg, data) % BROWSE_SIMPLEFFT is a helper function for FT_DATABROWSER that shows a % simple FFT of the data. % % Included are a button to switch between log and non-log space, and a selection button to deselect channels, % for the purpose of zooming in on bad channels. % % % % See also BROWS...
github
philippboehmsturm/antx-master
prepare_mesh_manual.m
.m
antx-master/xspm8/external/fieldtrip/private/prepare_mesh_manual.m
29,475
utf_8
0d8c0801202308a5c8afddd585a4e695
function bnd = prepare_mesh_manual(cfg, mri) % PREPARE_MESH_MANUAL is called by PREPARE_MESH and opens a GUI to manually % select points/polygons in an mri dataset. % % It allows: % Visualization of 3d data in 3 different projections % Adjustment of brightness for every slice % Storage of the data points in an e...
github
philippboehmsturm/antx-master
nanmean.m
.m
antx-master/xspm8/external/fieldtrip/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
moviefunction.m
.m
antx-master/xspm8/external/fieldtrip/private/moviefunction.m
33,279
utf_8
c7d6d7c70dddcb8f371c2bd1260e6067
function moviefunction(cfg, data) % we need cfg.plotfun to plot the data % data needs to be 3D, N x time x freq (last can be singleton) % N needs to correspond to number of vertices (channels, gridpoints, etc) ft_defaults ft_preamble help ft_preamble callinfo ft_preamble trackconfig ft_preamble loadvar data data = ...
github
philippboehmsturm/antx-master
nanvar.m
.m
antx-master/xspm8/external/fieldtrip/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/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
prepare_timefreq_data.m
.m
antx-master/xspm8/external/fieldtrip/private/prepare_timefreq_data.m
23,749
utf_8
70b5b3af723b814cdf5e9ac09f3c3317
function [cfg, data] = prepare_timefreq_data(cfg, varargin); % PREPARE_TIMEFREQ_DATA collects the overlapping data from multiple ERPs % or ERFs according to the channel/time/freq-selection in the configuration % and returns it with a dimord of 'repl_chan_freq_time'. % % Supported input data is from TIMELOCKANALYSIS, T...
github
philippboehmsturm/antx-master
bsscca.m
.m
antx-master/xspm8/external/fieldtrip/private/bsscca.m
7,428
utf_8
d64d6dd63efc92dff2aabe9e03c7dbb1
function [w,rho] = bsscca(X, delay) % BSSCCA computes the unmixing matrix based on the canonical correlation between a signal and its lagged-one copy. It implements the algorithm described in [1] % % DeClercq et al 2006, IEEE Biomed Eng 2583. if nargin<2, delay = 1; end % hmmmm we need to observe the epochs' bound...
github
philippboehmsturm/antx-master
inside_contour.m
.m
antx-master/xspm8/external/fieldtrip/private/inside_contour.m
1,106
utf_8
37d10e5d9a05c79551aac24c328e34aa
function bool = inside_contour(pos, contour); npos = size(pos,1); ncnt = size(contour,1); x = pos(:,1); y = pos(:,2); minx = min(x); miny = min(y); maxx = max(x); maxy = max(y); bool = true(npos,1); bool(x<minx) = false; bool(y<miny) = false; bool(x>maxx) = false; bool(y>maxy) = false; % the summed angle over the c...
github
philippboehmsturm/antx-master
smudge.m
.m
antx-master/xspm8/external/fieldtrip/private/smudge.m
1,949
utf_8
a793adc32ad1bfa0f193bd20c3ca7764
function [datout, S] = smudge(datin, tri, niter, threshold) % SMUDGE(DATIN, TRI) computes a smudged version of the input data datain, % given a triangulation tri. The algorithm is according to what is in % MNE-Suite, documented in chapter 8.3 if nargin<3 || isempty(niter), niter = 1; end if nargin<4 threshold = ...
github
philippboehmsturm/antx-master
butter.m
.m
antx-master/xspm8/external/fieldtrip/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
convert_event.m
.m
antx-master/xspm8/external/fieldtrip/private/convert_event.m
7,841
utf_8
e54a2ce9399657ba01d486a361f9d234
function [obj] = convert_event(obj, target, varargin) % CONVERT_EVENT converts between the different representations of events, % which can be % 1) event structure, see FT_READ_EVENT % 2) matrix representation as in trl (Nx3), see FT_DEFINETRIAL % 3) matrix representation as in artifact (Nx2), see FT_ARTIFACT_x...
github
philippboehmsturm/antx-master
fdr.m
.m
antx-master/xspm8/external/fieldtrip/private/fdr.m
1,987
utf_8
6d3291c124f575d01ad10bf51ec8854a
function [h] = fdr(p, q); % FDR false discovery rate % % Use as % h = fdr(p, q) % % This implements % Genovese CR, Lazar NA, Nichols T. % Thresholding of statistical maps in functional neuroimaging using the false discovery rate. % Neuroimage. 2002 Apr;15(4):870-8. % Copyright (C) 2005, Robert Oostenveld % % ...
github
philippboehmsturm/antx-master
read_labview_dtlg.m
.m
antx-master/xspm8/external/fieldtrip/private/read_labview_dtlg.m
5,153
utf_8
9fc442c5cf83bbfd05e00c4acea65bed
function [dat] = read_labview_dtlg(filename, datatype); % READ_LABVIEW_DTLG % % Use as % dat = read_labview_dtlg(filename, datatype) % where datatype can be 'int32' or 'int16' % % The output of this function is a structure. % Copyright (C) 2007, Robert Oostenveld % % This file is part of FieldTrip, see http://www.r...
github
philippboehmsturm/antx-master
sphericalSplineInterpolate.m
.m
antx-master/xspm8/external/fieldtrip/private/sphericalSplineInterpolate.m
5,226
utf_8
27ce6fd83adee8c3957c477f73dad771
function [W,Gss,Gds,Hds]=sphericalSplineInterpolate(src,dest,lambda,order,type,tol) %interpolate matrix for spherical interpolation % % W = sphericalSplineInterpolate(src,dest,lambda,order,type,tol) % % Inputs: % src - [3 x N] old electrode positions % dest - [3 x M] new electrode positions % lambda - [float] r...
github
philippboehmsturm/antx-master
clusterstat.m
.m
antx-master/xspm8/external/fieldtrip/private/clusterstat.m
33,336
utf_8
40434805aa0d746d547a5ffad1b5f987
function [stat, cfg] = clusterstat(cfg, statrnd, statobs, varargin) % SUBFUNCTION for computing cluster statistic for N-D volumetric source data % or for channel-freq-time data % % This function uses % cfg.dim % cfg.inside (only for source data) % cfg.tail = -1, 0, 1 % cfg.multivariate = no, yes % cfg.ordere...
github
philippboehmsturm/antx-master
ft_chantype.m
.m
antx-master/xspm8/external/fieldtrip/fileio/ft_chantype.m
22,382
utf_8
c6505953f3663b6a747e7cc7089a5629
function type = ft_chantype(input, desired) % FT_CHANTYPE determines for each individual channel what type of data it % represents, e.g. a planar gradiometer, axial gradiometer, magnetometer, % trigger channel, etc. If you want to know what the acquisition system is % (e.g. ctf151 or neuromag306), you should not use t...
github
philippboehmsturm/antx-master
ft_read_event.m
.m
antx-master/xspm8/external/fieldtrip/fileio/ft_read_event.m
66,708
utf_8
4935be6afe902a8f429fc10ecc1b06ac
function [event] = ft_read_event(filename, varargin) % FT_READ_EVENT reads all events from an EEG/MEG dataset and returns % them in a well defined structure. It is a wrapper around different % EEG/MEG file importers, directly supported formats are CTF, Neuromag, % EEP, BrainVision, Neuroscan and Neuralynx. % % Use as ...
github
philippboehmsturm/antx-master
ft_read_header.m
.m
antx-master/xspm8/external/fieldtrip/fileio/ft_read_header.m
72,943
utf_8
21175eb77cfb3d7992b08521a46b5a36
function [hdr] = ft_read_header(filename, varargin) % FT_READ_HEADER reads header information from a variety of EEG, MEG and LFP % files and represents the header information in a common data-independent % format. The supported formats are listed below. % % Use as % hdr = ft_read_header(filename, ...) % % Additional...
github
philippboehmsturm/antx-master
ft_filetype.m
.m
antx-master/xspm8/external/fieldtrip/fileio/ft_filetype.m
59,071
utf_8
63c215c5b603d0b75250113171f7298d
function [type] = ft_filetype(filename, desired, varargin) % FT_FILETYPE determines the filetype of many EEG/MEG/MRI data files by % looking at the name, extension and optionally (part of) its contents. % It tries to determine the global type of file (which usually % corresponds to the manufacturer, the recording syst...
github
philippboehmsturm/antx-master
read_mff_bin.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_mff_bin.m
4,095
utf_8
14e1df31f92faf2b6f02cfe4a32060c9
function [output] = read_mff_bin(filename, begblock, endblock, chanindx) % READ_MFF_BIN % % Use as % [hdr] = read_mff_bin(filename) % or % [dat] = read_mff_bin(filename, begblock, endblock); fid = fopen(filename,'r'); if fid == -1 error('wrong filename') % could not find signal(n) end needhdr = (nargin==1); n...
github
philippboehmsturm/antx-master
ft_datatype_sens.m
.m
antx-master/xspm8/external/fieldtrip/fileio/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
avw_img_read.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/avw_img_read.m
29,199
utf_8
be1e5b74cfdcf9acc49582896e9fadec
function [ avw, machine ] = avw_img_read(fileprefix,IMGorient,machine,verbose) % avw_img_read - read Analyze format data image (*.img) % % [ avw, machine ] = avw_img_read(fileprefix,[orient],[machine],[verbose]) % % fileprefix - a string, the filename without the .img extension % % orient - read a specified orienta...
github
philippboehmsturm/antx-master
read_yokogawa_event.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_yokogawa_event.m
7,112
utf_8
a70ad744018275d54a5de06fbcc9d1ff
function [event] = read_yokogawa_event(filename, varargin) % READ_YOKOGAWA_EVENT reads event information from continuous, % epoched or averaged MEG data that has been generated by the Yokogawa % MEG system and software and allows those events to be used in % combination with FieldTrip. % % Use as % [event] = read_yo...
github
philippboehmsturm/antx-master
read_4d_hdr.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_4d_hdr.m
25,611
utf_8
77cce2d47b4c91e12a33138b871a54d0
function [header] = read_4d_hdr(datafile, configfile) % hdr=READ_4D_HDR(datafile, configfile) % Collects the required Fieldtrip header data from the data file 'filename' % and the associated 'config' file for that data. % % Adapted from the MSI>>Matlab code written by Eugene Kronberg % Copyright (C) 2008-2009, Centre...
github
philippboehmsturm/antx-master
decode_nifti1.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/decode_nifti1.m
2,915
utf_8
32b6ac0b0549062ef13624ad21eb55e2
function H = decode_nifti1(blob) % function H = decode_nifti1(blob) % % Decodes a NIFTI-1 header given as raw 348 bytes (uint8) into a Matlab structure % that matches the C struct defined in nifti1.h, with the only difference that the % variable length arrays "dim" and "pixdim" are cut off to the right size, e.g., the ...
github
philippboehmsturm/antx-master
read_edf.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_edf.m
14,871
utf_8
f65668521c40899923c7b7feca756f23
function [dat] = read_edf(filename, hdr, begsample, endsample, chanindx) % READ_EDF reads specified samples from an EDF continous datafile % It neglects all trial boundaries as if the data was acquired in % non-continous mode. % % Use as % [hdr] = read_edf(filename); % where % filename name of the datafile...
github
philippboehmsturm/antx-master
yokogawa2grad.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/yokogawa2grad.m
7,205
utf_8
c61a324e8fd20060380618a1f0760a72
function grad = yokogawa2grad(hdr) % YOKOGAWA2GRAD converts the position and weights of all coils that % compromise a gradiometer system into a structure that can be used % by FieldTrip. This implementation uses the old "yokogawa" toolbox. % % See also CTF2GRAD, BTI2GRAD, FIF2GRAD, MNE2GRAD, ITAB2GRAD, % FT_READ_SENS,...
github
philippboehmsturm/antx-master
read_erplabheader.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_erplabheader.m
2,048
utf_8
c72fab70eaf79706e1f1f452bc50692a
% read_erplabheader() - import ERPLAB dataset files % % Usage: % >> header = read_erplabheader(filename); % % Inputs: % filename - [string] file name % % Outputs: % header - FILEIO toolbox type structure % % Modified from read_eeglabheader %1234567890123456789012345678901234567890123456789012345678901234567890...
github
philippboehmsturm/antx-master
write_plexon_nex.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/write_plexon_nex.m
9,546
utf_8
c3e00b18b8d0d194f3b0231301f3945f
function write_plexon_nex(filename, nex) % WRITE_PLEXON_NEX writes 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). % % Use as % write_plexon_nex(filenam...
github
philippboehmsturm/antx-master
ft_convert_units.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/ft_convert_units.m
7,014
utf_8
b6713ad4580d1dac67d2d43489f0dc55
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
nansum.m
.m
antx-master/xspm8/external/fieldtrip/fileio/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
ft_datatype.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/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_apply_montage.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/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
read_erplabdata.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_erplabdata.m
2,110
utf_8
60380c3ce12bbfd85b4dd554bdc0ae20
% read_erplabdata() - import ERPLAB dataset files % % Usage: % >> dat = read_erplabdata(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
read_biosemi_bdf.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_biosemi_bdf.m
10,824
utf_8
c299fc321e8529aed582e5e6e746d24f
function dat = read_biosemi_bdf(filename, hdr, begsample, endsample, chanindx); % READ_BIOSEMI_BDF reads specified samples from a BDF continous datafile % It neglects all trial boundaries as if the data was acquired in % non-continous mode. % % Use as % [hdr] = read_biosemi_bdf(filename); % where % filename ...
github
philippboehmsturm/antx-master
read_ctf_ascii.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_ctf_ascii.m
3,218
utf_8
ed3ebfd532e8ac61a7237dede21d739b
function [file] = read_ctf_ascii(filename); % READ_CTF_ASCII reads general data from an CTF configuration file % % The file should be formatted like % Group % { % item1 : value1a value1b value1c % item2 : value2a value2b value2c % item3 : value3a value3b value3c % item4 : value4a value4b v...
github
philippboehmsturm/antx-master
read_mpi_dap.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_mpi_dap.m
7,085
utf_8
a51b5774d3dc46b048015b2b12e95e76
function [dap] = read_mpi_dap(filename) % READ_MPI_DAP read the analog channels from a DAP file % and returns the values in microvolt (uV) % % Use as % [dap] = read_mpi_dap(filename) % Copyright (C) 2005-2007, Robert Oostenveld % % This file is part of FieldTrip, see http://www.ru.nl/neuroimaging/fieldtrip % for th...
github
philippboehmsturm/antx-master
read_neuralynx_bin.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_neuralynx_bin.m
6,705
utf_8
1851b52bfcf664aadb50e417bd3ab74b
function [dat] = read_neuralynx_bin(filename, begsample, endsample); % READ_NEURALYNX_BIN % % Use as % hdr = read_neuralynx_bin(filename) % or % dat = read_neuralynx_bin(filename, begsample, endsample) % % This is not a formal Neuralynx file format, but at the % F.C. Donders Centre we use it in conjunction with N...
github
philippboehmsturm/antx-master
inifile.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/inifile.m
23,578
utf_8
f647125ffa71c22e44a119c27e73d460
function readsett = inifile(fileName,operation,keys,style) %readsett = INIFILE(fileName,operation,keys,style) % Creates, reads, or writes data from/to ini (ascii) file. % % - fileName: ini file name % - operation: can be one of the following: % 'new' (rewrites an existing or creates...
github
philippboehmsturm/antx-master
yokogawa2grad_new.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/yokogawa2grad_new.m
9,123
utf_8
a05c043b59134bedb201bba241ad57ef
function grad = yokogawa2grad_new(hdr) % YOKOGAWA2GRAD_NEW converts the position and weights of all coils that % compromise a gradiometer system into a structure that can be used % by FieldTrip. This implementation uses the new "yokogawa_meg_reader" % toolbox. % % See also FT_READ_HEADER, CTF2GRAD, BTI2GRAD, FIF2GRAD...
github
philippboehmsturm/antx-master
read_besa_avr.m
.m
antx-master/xspm8/external/fieldtrip/fileio/private/read_besa_avr.m
3,929
utf_8
91f2ee59d1af564811511e0e7f201ba4
function [avr] = read_besa_avr(filename) % READ_BESA_AVR reads average EEG data in BESA format % % Use as % [avr] = read_besa_avr(filename) % % This will return a structure with the header information in % avr.npnt % avr.tsb % avr.di % avr.sb % avr.sc % avr.Nchan (optional) % avr.label (optional) %...