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
mccahill/docker-novnc-fmri-master
wizard_base.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/private/wizard_base.m
11,680
utf_8
88cd34088149d1ea2cd15d78a97926b9
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
mccahill/docker-novnc-fmri-master
spikesort.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/private/spikesort.m
5,887
utf_8
65677e89b5ce054f29bcd2c5ca491ab7
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 algorit...
github
mccahill/docker-novnc-fmri-master
shiftpredict.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/private/shiftpredict.m
8,736
utf_8
bd277cd44da5f2b263ddc0c3d1e277b6
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
mccahill/docker-novnc-fmri-master
volumeedit.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/private/volumeedit.m
15,936
utf_8
6ca38d7f776b27f2c37fa57c31694e28
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
mccahill/docker-novnc-fmri-master
csp.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
read_besa_src.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/private/read_besa_src.m
2,718
utf_8
9e96bd0d4ef60c5e07dc593195404ce5
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 F...
github
mccahill/docker-novnc-fmri-master
splint.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/private/splint.m
6,387
utf_8
18b550d734c14390dce57bb534611fb5
function [V2, L2, L1] = splint(elc1, V1, elc2, order, degree, lambda) % 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 elec...
github
mccahill/docker-novnc-fmri-master
find_nearest.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
prepare_mesh_segmentation.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/private/prepare_mesh_segmentation.m
7,418
utf_8
9b627f3f54e5be7cb10ef76c547e747c
function bnd = prepare_mesh_segmentation(cfg, mri) % PREPARE_MESH_SEGMENTATION % % See also PREPARE_MESH_MANUAL, PREPARE_MESH_HEADSHAPE, PREPARE_MESH_HEXAHEDRAL % Copyrights (C) 2009, Robert Oostenveld % % This file is part of FieldTrip, see http://www.ru.nl/neuroimaging/fieldtrip % for the documentation and details....
github
mccahill/docker-novnc-fmri-master
read_besa_avr.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
topoplot_common.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/private/topoplot_common.m
39,133
utf_8
426ec06d64ad06aa3b2363c21b69a574
function cfg = topoplot_common(cfg, varargin) % TOPOPLOT_COMMON is shared by FT_TOPOPLOTTFR, FT_TOPOPLOTER and FT_TOPOPLOTIC, which % serve as placeholder for the documentation and for the pre/postamble. % Copyright (C) 2005-2011, F.C. Donders Centre % % This file is part of FieldTrip, see http://www.ru.nl/neuroimagi...
github
mccahill/docker-novnc-fmri-master
avw_img_write.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
triangle2connectivity.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/private/triangle2connectivity.m
2,545
utf_8
2866410484defed843b3b91dd04d646f
function [connmat] = triangle2connectivity(tri, pos) % TRIANGLE2CONNECTIVITY computes a connectivity-matrix from a triangulation. % % Use as % [connmat] = triangle2connectivity(tri) % or % [connmat] = triangle2connectivity(tri, pos) % % The input tri is an Mx3 matrix describing a triangulated surface, % containing i...
github
mccahill/docker-novnc-fmri-master
mesh_spherify.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/private/mesh_spherify.m
4,971
utf_8
4878df90f00d488a3ae0fb127d66e7fa
function [pnt, tri] = mesh_spherify(pnt, tri, varargin) % Takes a cortical mesh and scales it so that it fits into a % unit sphere. % % This function determines the points of the original mesh that support a % convex hull and determines the radius of those points. Subsequently the % radius of the support points is int...
github
mccahill/docker-novnc-fmri-master
select_channel_list.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/private/select_channel_list.m
5,990
utf_8
ddfcb4ab703ed513eeaff18fa37c10fa
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, ini...
github
mccahill/docker-novnc-fmri-master
artifact_viewer.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/private/artifact_viewer.m
7,114
utf_8
f3424d3dc17b3337d8169b8449863f69
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 cumulated % z-value % Copyright (C) 2004-2006, Jan-Mathijs Schoffelen & Robert Oostenveld % % This file is part of FieldTrip, see...
github
mccahill/docker-novnc-fmri-master
rejectvisual_summary.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/private/rejectvisual_summary.m
22,319
utf_8
8bd11ac3ad25f14051ca6efff75369d2
function [chansel, trlsel, cfg] = rejectvisual_summary(cfg, data) % SUBFUNCTION for ft_rejectvisual % determine the initial selection of trials ntrl = length(data.trial); if isequal(cfg.trials, 'all') % support specification like 'all' cfg.trials = 1:ntrl; end trlsel = false(1, ntrl); trlsel(cfg.trials) = true; % ...
github
mccahill/docker-novnc-fmri-master
warning_once.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/private/warning_once.m
7,284
utf_8
379aec29f3bf6d609e71117b7068c5ab
function [ws warned] = warning_once(varargin) % % WARNING_ONCE will throw a warning for every unique point in the % stacktrace only, e.g. in a for-loop a warning is thrown only once. % % Use as one of the following % warning_once(string) % warning_once(id, string) % Alternatively, you can use warning_once using a t...
github
mccahill/docker-novnc-fmri-master
rejectvisual_channel.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/private/rejectvisual_channel.m
9,660
utf_8
64e84accf24c4c0d5e6d8d5dd55c5d92
function [chansel, trlsel, cfg] = rejectvisual_channel(cfg, data) % SUBFUNCTION for ft_rejectvisual % determine the initial selection of trials ntrl = length(data.trial); if isequal(cfg.trials, 'all') % support specification like 'all' cfg.trials = 1:ntrl; end trlsel = false(1,ntrl); trlsel(cfg.trials) = true; % d...
github
mccahill/docker-novnc-fmri-master
triangulate_seg.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/private/triangulate_seg.m
4,750
utf_8
a21b0a7c8a9b29b7b949e4ab08c11842
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
mccahill/docker-novnc-fmri-master
mesh2edge.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/private/mesh2edge.m
3,406
utf_8
843dd06aa1244bf172ca0adc4c320b73
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
mccahill/docker-novnc-fmri-master
browse_simpleFFT.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/private/browse_simpleFFT.m
4,738
utf_8
5d4fd8315e29bd80f1c621cafe3c16a5
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 BROWSE_M...
github
mccahill/docker-novnc-fmri-master
prepare_mesh_manual.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/private/prepare_mesh_manual.m
32,854
utf_8
a7f03ba7d235101ed5847b56a9108757
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
mccahill/docker-novnc-fmri-master
moviefunction.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/private/moviefunction.m
45,353
utf_8
fb2e15f235b9b52da72af0a0d335625f
function moviefunction(cfg, varargin) % 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) % new UI artwork % % [main window] -------------------------------------\ % | [uipanel: plot] ...
github
mccahill/docker-novnc-fmri-master
bsscca.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
inside_contour.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/private/inside_contour.m
1,105
utf_8
6554af9f8bc2dc7512e8ca962a63688b
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 co...
github
mccahill/docker-novnc-fmri-master
smudge.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
getdimsiz.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/private/getdimsiz.m
1,601
utf_8
bd44c3d3917f25521cd5c01d896ce113
function dimsiz = getdimsiz(data, field) % GETDIMSIZ % % Use as % dimsiz = getdimsiz(data, field) % % See also GETDIMORD if ~isfield(data, field) && isfield(data, 'avg') && isfield(data.avg, field) field = ['avg.' field]; elseif ~isfield(data, field) && isfield(data, 'trial') && isfield(data.trial, field) field...
github
mccahill/docker-novnc-fmri-master
convert_event.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
project_elec.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/private/project_elec.m
3,850
utf_8
e90024978485e89efceb8284115ce696
function [el, prj] = project_elec(elc, pnt, tri) % PROJECT_ELEC projects electrodes on a triangulated surface % and returns triangle index, la/mu parameters and distance % % Use as % [el, prj] = project_elec(elc, pnt, tri) % which returns % el = Nx4 matrix with [tri, la, mu, dist] for each electrode % prj ...
github
mccahill/docker-novnc-fmri-master
fdr.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/private/fdr.m
1,986
utf_8
c6f59bac3cf1335b9491293e8a71abe9
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 % % T...
github
mccahill/docker-novnc-fmri-master
prepare_mesh_hexahedral.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/private/prepare_mesh_hexahedral.m
18,398
utf_8
926c140178e869ddabcce212bacaa49e
function mesh=prepare_mesh_hexahedral(cfg,mri) % PREPARE_MESH_HEXAHEDRAL % % See also PREPARE_MESH_SEGMENTATION, PREPARE_MESH_MANUAL, PREPARE_MESH_HEADSHAPE % % Configuration options for generating a regular 3-D grid % cfg.tissue = cell with the names of the compartments that should be % meshed % cfg.resolution ...
github
mccahill/docker-novnc-fmri-master
read_labview_dtlg.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/private/read_labview_dtlg.m
5,153
utf_8
3fb1fd6513ffc974b402a16c26f3905c
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.ru...
github
mccahill/docker-novnc-fmri-master
sphericalSplineInterpolate.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
ft_write_cifti.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/ft_write_cifti.m
31,382
utf_8
59bae254f9ddbd0026ce3b2f2fbc1909
function ft_write_cifti(filename, source, varargin) % FT_WRITE_CIFTI writes functional data or functional connectivity to a cifti-2 % file. The geometrical description of the brainordinates can consist of % triangulated surfaces or voxels in a regular 3-D volumetric grid. The functional % data can consist of a dense o...
github
mccahill/docker-novnc-fmri-master
ft_chantype.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/ft_chantype.m
25,538
utf_8
aa460ad4dafa90a3e18fc474c633877d
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
mccahill/docker-novnc-fmri-master
ft_read_event.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/ft_read_event.m
77,891
utf_8
7045367f82670493c7da0302e24e89d2
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
mccahill/docker-novnc-fmri-master
ft_read_header.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/ft_read_header.m
86,517
utf_8
ce2d3070507f1f2cb3f3efc474b8bc49
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
mccahill/docker-novnc-fmri-master
ft_read_mri.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/ft_read_mri.m
15,468
utf_8
a921a393da75a56940c3100fde50e10a
function [mri] = ft_read_mri(filename, varargin) % FT_READ_MRI reads anatomical and functional MRI data from different % file formats. The output data is structured in such a way that it is % comparable to a FieldTrip source reconstruction. % % Use as % [mri] = ft_read_mri(filename) % % Additional options should be ...
github
mccahill/docker-novnc-fmri-master
ft_filetype.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/ft_filetype.m
63,157
utf_8
99253abe6d86f298e9e92dc7dc18cc03
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
mccahill/docker-novnc-fmri-master
getdimord.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/private/getdimord.m
18,939
utf_8
7602345b5b12d24e2e0612acc7731b4d
function dimord = getdimord(data, field, varargin) % GETDIMORD % % Use as % dimord = getdimord(data, field) % % See also GETDIMSIZ if ~isfield(data, field) && isfield(data, 'avg') && isfield(data.avg, field) field = ['avg.' field]; elseif ~isfield(data, field) && isfield(data, 'trial') && isfield(data.trial, fiel...
github
mccahill/docker-novnc-fmri-master
read_mff_bin.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
ft_datatype_sens.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/private/ft_datatype_sens.m
20,793
utf_8
1a5161e33bdd52cc9dc548f1382cb532
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
mccahill/docker-novnc-fmri-master
avw_img_read.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
read_yokogawa_event.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
read_4d_hdr.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/private/read_4d_hdr.m
26,578
utf_8
0c1de85be0ce9fbe0a604100894eb861
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
mccahill/docker-novnc-fmri-master
decode_nifti1.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/private/decode_nifti1.m
3,043
utf_8
e74c0ee902019b3883dbaf1cb0ebda26
function H = decode_nifti1(blob) % DECODE_NIFTI1 is a helper function for real-time processing of MRI data % % Use as % 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 % vari...
github
mccahill/docker-novnc-fmri-master
read_edf.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/private/read_edf.m
16,383
utf_8
76f3f3461aa550382e8ebedfe44d6326
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
mccahill/docker-novnc-fmri-master
yokogawa2grad.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
read_erplabheader.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
write_plexon_nex.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
ft_convert_units.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/private/ft_convert_units.m
9,048
utf_8
b0b47d21a2d75a5138e1d3499af2bf96
function [obj] = ft_convert_units(obj, target, varargin) % 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...
github
mccahill/docker-novnc-fmri-master
ft_datatype.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/private/ft_datatype.m
9,109
utf_8
b62515e73af0c263765a637a29fe1e29
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
mccahill/docker-novnc-fmri-master
ft_apply_montage.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/private/ft_apply_montage.m
19,718
utf_8
82280137ae6d7db9e4e24fa895096d47
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
mccahill/docker-novnc-fmri-master
read_erplabdata.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
in_fopen_manscan.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/private/in_fopen_manscan.m
11,806
utf_8
caf4a8d115834da29621c65451b195b2
function sFile = in_fopen_manscan(DataFile) % IN_FOPEN_MANSCAN: Open a MANSCAN file (continuous recordings) % % USAGE: sFile = in_fopen_manscan(DataFile) % @============================================================================= % This software is part of the Brainstorm software: % http://neuroimage.usc.edu/bra...
github
mccahill/docker-novnc-fmri-master
read_biosemi_bdf.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/private/read_biosemi_bdf.m
10,872
utf_8
51356ef9877faea1b6799cde11807eff
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
mccahill/docker-novnc-fmri-master
read_ctf_ascii.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
read_mpi_dap.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
read_neuralynx_bin.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
inifile.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
yokogawa2grad_new.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
read_besa_avr.m
.m
docker-novnc-fmri-master/mri/spm12/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) %...
github
mccahill/docker-novnc-fmri-master
ft_datatype_source.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/private/ft_datatype_source.m
11,599
utf_8
860bbf1db76786f373d55c7cd4a64746
function source = ft_datatype_source(source, varargin) % FT_DATATYPE_SOURCE describes the FieldTrip MATLAB structure for data that is % represented at the source level. This is typically obtained with a beamformer of % minimum-norm source reconstruction using FT_SOURCEANALYSIS. % % An example of a source structure obt...
github
mccahill/docker-novnc-fmri-master
xml2struct.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
in_fread_manscan.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/private/in_fread_manscan.m
4,760
utf_8
474793281d7e666aeb2bff303bd62b5b
function F = in_fread_manscan(sFile, sfid, iEpoch, SamplesBounds) % IN_FREAD_MANSCAN: Read a block of recordings from a MANSCAN file % % USAGE: F = in_fread_manscan(sFile, sfid, iEpoch, SamplesBounds) : Read all channels % F = in_fread_manscan(sFile, sfid) : Read all channels, all the...
github
mccahill/docker-novnc-fmri-master
read_ply.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/private/read_ply.m
5,986
utf_8
e7e4d22b778a98c951a9972c41d4dea3
function [vert, face] = read_ply(fn) % READ_PLY reads triangles, tetraheders or hexaheders from a Stanford *.ply file % % Use as % [vert, face, prop, face_prop] = read_ply(filename) % % Documentation is provided on % http://paulbourke.net/dataformats/ply/ % http://en.wikipedia.org/wiki/PLY_(file_format) % % See ...
github
mccahill/docker-novnc-fmri-master
read_eeglabdata.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
readbdf.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
warning_once.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/private/warning_once.m
7,284
utf_8
ea3a917360f20c39c7ff823b1c1c5028
function [ws warned] = warning_once(varargin) % % WARNING_ONCE will throw a warning for every unique point in the % stacktrace only, e.g. in a for-loop a warning is thrown only once. % % Use as one of the following % warning_once(string) % warning_once(id, string) % Alternatively, you can use warning_once using a t...
github
mccahill/docker-novnc-fmri-master
ft_hastoolbox.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/private/ft_hastoolbox.m
25,228
utf_8
0972697d520199424e9b41666dc33c04
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
mccahill/docker-novnc-fmri-master
read_yokogawa_data_new.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
read_plexon_nex.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/private/read_plexon_nex.m
7,637
utf_8
fa08ec3a9e740a63be5c6ee72ef0d1a0
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
mccahill/docker-novnc-fmri-master
read_bti_m4d.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/private/read_bti_m4d.m
5,838
utf_8
123c765eeecec5359bfdfc0af7c65fc0
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
mccahill/docker-novnc-fmri-master
read_asa.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
ft_checkdata.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/private/ft_checkdata.m
77,667
utf_8
3d2374e0adcf68d9d4265a260246aa14
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
mccahill/docker-novnc-fmri-master
read_yokogawa_data.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
decode_fif.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/private/decode_fif.m
6,033
utf_8
4edf09a0624e103cb761080e759c75ae
function [info] = decode_fif(orig) % DECODE_FIF is a helper function for real-time processing of Neuromag data. This % function is used to decode the content of the optional neuromag_fif chunk(s). % % See also DECODE_RES4, DECODE_NIFTI1, SAP2MATLAB % Copyright (C) 2013 Arjen Stolk & Robert Oostenveld % % This file is...
github
mccahill/docker-novnc-fmri-master
read_biff.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
read_eeglabheader.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
read_ctf_svl.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
read_erplabevent.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
read_yokogawa_header_new.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
ft_datatype_raw.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/private/ft_datatype_raw.m
11,132
utf_8
6f5e4610cdefe2c072fef76e5b6d6a3f
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
mccahill/docker-novnc-fmri-master
getdimsiz.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/private/getdimsiz.m
1,601
utf_8
bd44c3d3917f25521cd5c01d896ce113
function dimsiz = getdimsiz(data, field) % GETDIMSIZ % % Use as % dimsiz = getdimsiz(data, field) % % See also GETDIMORD if ~isfield(data, field) && isfield(data, 'avg') && isfield(data.avg, field) field = ['avg.' field]; elseif ~isfield(data, field) && isfield(data, 'trial') && isfield(data.trial, field) field...
github
mccahill/docker-novnc-fmri-master
read_yokogawa_header.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
encode_nifti1.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
avw_hdr_read.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
read_stl.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
read_itab_mhd.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/private/read_itab_mhd.m
12,518
utf_8
d0ebd0b4e1de627d76cb523010d16ec7
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
mccahill/docker-novnc-fmri-master
read_plexon_plx.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/private/read_plexon_plx.m
20,344
utf_8
dd04c6311c617f6001b0b3938dac087a
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
mccahill/docker-novnc-fmri-master
read_neurosim_evolution.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/private/read_neurosim_evolution.m
4,562
utf_8
e362fcc35f185715fe33ab48d889a0d9
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
mccahill/docker-novnc-fmri-master
read_eeglabevent.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/private/read_eeglabevent.m
3,698
utf_8
6acdf266f18a8591ec4ac4582b3ef28c
% 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
mccahill/docker-novnc-fmri-master
read_bti_ascii.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/fileio/private/read_bti_ascii.m
2,300
utf_8
9144223206dfa96caa46025367ac07c8
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
mccahill/docker-novnc-fmri-master
openbdf.m
.m
docker-novnc-fmri-master/mri/spm12/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
mccahill/docker-novnc-fmri-master
ft_trialfun_general.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/trialfun/ft_trialfun_general.m
13,829
utf_8
20be7f340125b8d92704f643a3edd96b
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
mccahill/docker-novnc-fmri-master
ft_trialfun_realtime.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/trialfun/ft_trialfun_realtime.m
4,486
utf_8
37d126f2b9b1ac61cef0b54453c1af92
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 was...
github
mccahill/docker-novnc-fmri-master
select_channel_list.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/trialfun/private/select_channel_list.m
5,990
utf_8
7fb6c10af08a3b0a2c4886dc331feba6
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, ini...
github
mccahill/docker-novnc-fmri-master
ft_headmodel_fns.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/forward/ft_headmodel_fns.m
5,724
utf_8
c4cafb53ffc68d2418b94b635d71bffa
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 ti...
github
mccahill/docker-novnc-fmri-master
ft_convert_units.m
.m
docker-novnc-fmri-master/mri/spm12/external/fieldtrip/forward/ft_convert_units.m
9,048
utf_8
7cf13fa53ef0a4bb1dd4c49b4b359e3e
function [obj] = ft_convert_units(obj, target, varargin) % 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...