Note that this reference documentation is identical to the help that is displayed in Matlab when you type “help ft_dipolesimulation”.
FT_DIPOLESIMULATION computes the field or potential of a simulated dipole and returns a datastructure identical to the FT_PREPROCESSING function. Use as data = ft_dipolesimulation(cfg) You should specify the volume conductor model as defined by FT_FETCH_VOL If the sensor information is not contained in the data itself you should also specify the sensor information, see FT_FETCH_SENS optionally cfg.channel = Nx1 cell-array with selection of channels (default = 'all'), see FT_CHANNELSELECTION for details The dipoles position and orientation have to be specified with cfg.dip.pos = [Rx Ry Rz] (size Nx3) cfg.dip.mom = [Qx Qy Qz] (size 3xN) The timecourse of the dipole activity is given as a single vector or as a cell-array with one vectors per trial cfg.dip.signal or by specifying a sine-wave signal cfg.dip.frequency in Hz cfg.dip.phase in radians cfg.dip.amplitude per dipole cfg.ntrials number of trials cfg.triallength time in seconds cfg.fsample sampling frequency in Hz Random white noise can be added to the data in each trial, either by specifying an absolute or a relative noise level cfg.relnoise = add noise with level relative to simulated signal cfg.absnoise = add noise with absolute level
Share this page: