invmap_reduce_find_regpar.m



topics - functions - index - search


invmap_reduce_find_regpar.m

different shells separately, output only for specified locations possible

lfdmat1: Leadfield matrix for given source space and sensor/electrode configuration
dim: Number of dipole components, e.g. 3 for EEG (x,y,z), 2 for MEG (tangential)
regpar: Regularization parameter for Tikhonov-Regularization (e.g. chosen by
adjusting residual variance)
paths, names: list of paths and names for datafiles to be analyzed, if paths,names=='':
File list can be created via a menu (choose files, then press 'Abbrechen')
format: input data format, 'avr' for BESA-*.avr-files, 'mfxtxt' for
BTI-MFX-ASCII-output (assuming first row elements to be latency values!)
pathout: Pathname for output of results
elplist: Channel list with channels to be excluded from calculations.
If lfdmat1 has as many rows as there are remaining channels, it is used as it is,
otherwise the rows specified by elplist are also excluded from lfdmat1 (and lfdmat1
is average referenced for EEG) and output as lfdmat
locations: 3*nr_points-matrix with locations for which minimum norm values shall
be output (e.g. electrode positions) for each shell
from, to: Range of columns of data matrices to be analyzed, if from,to=='': All columns are included
out_flag: 'abs': for every location, the modulo of dipole strength is output
(only positive values), 'rad': only radial dipole component (EEG) is output (pos. and neg. values)