Note that this reference documentation is identical to the help that is displayed in Matlab when you type “help ft_sourcewrite”.
FT_SOURCEWRITE exports source analysis results to gifti or nifti format, depending on whether the source locations are described by on a cortically constrained sheet (gifti) or by a regular 3D lattice (nifti) Use as ft_sourcewrite(cfg, source) where source is a source structure obtained after FT_SOURCEANALYSIS and cfg is a configuratioun structure that should contain cfg.filename = string, name of the file cfg.parameter = string, functional parameter to be written to file To facilitate data-handling and distributed computing with the peer-to-peer module, this function has the following options: cfg.inputfile = ... If you specify this the input data will be read from a *.mat file on disk. This mat file should contain only a single variable, corresponding with the input data structure. See also FT_SOURCEANALYSIS FT_SOURCEDESCRIPTIVES FT_VOLUMEWRITE
Share this page: