Note that this reference documentation is identical to the help that is displayed in MATLAB when you type “help ft_databrowser”.

  FT_DATABROWSER can be used for visual inspection of data. Artifacts that
  were detected by artifact functions (see FT_ARTIFACT_xxx functions where
  xxx is the type of artifact) are marked. Additionally data pieces can be
  marked and unmarked as artifact by manual selection. The output cfg
  contains the updated specification of the artifacts. When visually selection
  data, a right-click will bring up a context-menu containing functions to be
  executed on the selected data. You can use your own function using cfg.selfun
  and cfg.selcfg. You can use multiple functions by giving the names/cfgs as a
  In butterfly mode, you can use the "identify" button to reveal the name
  of a channel. Please be aware that it searches only vertically. This
  means that it will return the channel with the amplitude closest to the
  point you have clicked at the specific time point. This might be
  counterintuitive at first.
  Use as
    cfg = ft_databrowser(cfg)
  where the configuration structure contains the reference to the dataset
  on your hard disk (see below), or use as
    cfg = ft_databrowser(cfg, data)
  where the input data is a structure as obtained from FT_PREPROCESSING or
  If you want to browse data that is on disk, you have to specify
    cfg.dataset                 = string with the filename
  Instead of specifying the dataset, you can also explicitely specify the
  name of the file containing the header information and the name of the
  file containing the data, using
    cfg.datafile                = string with the filename
    cfg.headerfile              = string with the filename
  The following configuration options are supported:
    cfg.ylim                    = vertical scaling, can be 'maxmin', 'maxabs' or [ymin ymax] (default = 'maxabs')
    cfg.zlim                    = color scaling to apply to component topographies, 'minmax', 'maxabs' (default = 'maxmin')
    cfg.blocksize               = duration in seconds for cutting the data up
    cfg.trl                     = structure that defines the data segments of interest, only applicable for trial-based data
    cfg.continuous              = 'yes' or 'no' whether the data should be interpreted as continuous or trial-based
    cfg.channel                 = cell-array with channel labels, see FT_CHANNELSELECTION
    cfg.plotlabels              = 'yes' (default), 'no', 'some'; whether
                                  to plot channel labels in vertical viewmode ('some' plots one in every ten
                                  labels; useful when plotting a large number of channels at a time)
    cfg.ploteventlabels         = 'type=value', 'colorvalue' (default = 'type=value');
    cfg.viewmode                = string, 'butterfly', 'vertical', 'component' for visualizing components e.g. from an ICA (default is 'butterfly')
    cfg.artfctdef.xxx.artifact  = Nx2 matrix with artifact segments see FT_ARTIFACT_xxx functions
    cfg.selectfeature           = string, name of feature to be selected/added (default = 'visual')
    cfg.selectmode              = 'markartifact', 'markpeakevent', 'marktroughevent' (default = 'markartifact')
    cfg.colorgroups             = 'sequential' 'allblack' 'labelcharx' (x = xth character in label), 'chantype' or
                                   vector with length(data/hdr.label) defining groups (default = 'sequential')
    cfg.channelcolormap         = COLORMAP (default = customized lines map with 15 colors)
    cfg.selfun                  = string, name of function which is evaluated using the right-click context menu
                                   The selected data and cfg.selcfg are passed on to this function.
    cfg.selcfg                  = configuration options for function in cfg.selfun
    cfg.eegscale                = number, scaling to apply to the EEG channels prior to display
    cfg.eogscale                = number, scaling to apply to the EOG channels prior to display
    cfg.ecgscale                = number, scaling to apply to the ECG channels prior to display
    cfg.emgscale                = number, scaling to apply to the EMG channels prior to display
    cfg.megscale                = number, scaling to apply to the MEG channels prior to display
    cfg.gradscale               = number, scaling to apply to the MEG gradiometer channels prior to display (in addition to the cfg.megscale factor)
    cfg.magscale                = number, scaling to apply to the MEG magnetometer channels prior to display (in addition to the cfg.megscale factor)
    cfg.mychanscale             = number, scaling to apply to the channels specified in cfg.mychan
    cfg.mychan                  = Nx1 cell-array with selection of channels
    cfg.chanscale               = Nx1 vector with scaling factors, one per channel specified in cfg.channel
    cfg.compscale               = string, 'global' or 'local', defines whether the colormap for the topographic scaling is
                                   applied per topography or on all visualized components (default 'global')
    cfg.renderer                = string, 'opengl', 'zbuffer', 'painters',
                                   see MATLAB Figure Properties. If the
                                   databrowser crashes, set to 'painters'.
  The scaling to the EEG, EOG, ECG, EMG and MEG channels is optional and
  can be used to bring the absolute numbers of the different channel types
  in the same range (e.g. fT and uV). The channel types are determined from
  the input data using FT_CHANNELSELECTION.
  You can specify preprocessing options that are to be applied to the  data prior
  to display. Most options from FT_PREPROCESSING are supported. They should be
  specified in the sub-structure cfg.preproc like these examples
    cfg.preproc.lpfilter        = 'no' or 'yes'  lowpass filter (default = 'no')
    cfg.preproc.lpfreq          = lowpass  frequency in Hz
    cfg.preproc.demean          = 'no' or 'yes', whether to apply baseline correction (default = 'no')
    cfg.preproc.detrend         = 'no' or 'yes', remove linear trend from the data (done per trial) (default = 'no')
    cfg.preproc.baselinewindow  = [begin end] in seconds, the default is the complete trial (default = 'all')
  In case of component viewmode, a layout is required. If no layout is specified, an attempt is
  made to construct one from the sensor definition that is present in the data or specified in
  the configuration.
    cfg.layout                  = filename of the layout, see FT_PREPARE_LAYOUT
    cfg.elec                    = structure with electrode positions, see FT_DATATYPE_SENS
    cfg.grad                    = structure with gradiometer definition, see FT_DATATYPE_SENS
    cfg.elecfile                = name of file containing the electrode positions, see FT_READ_SENS
    cfg.gradfile                = name of file containing the gradiometer definition, see FT_READ_SENS
  The "artifact" field in the output cfg is a Nx2 matrix comparable to the
  "trl" matrix of FT_DEFINETRIAL. The first column of which specifying the
  beginsamples of an artifact period, the second column contains the
  endsamples of the artifactperiods.
  Note for debugging: in case the databrowser crashes, use delete(gcf) to kill
  the figure.

reference/ft_databrowser.txt · Last modified: 2015/06/09 23:02 (external edit)

You are here: startreferenceft_databrowser
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0
This DokuWiki features an Anymorphic Webdesign theme, customised by Eelke Spaak and Stephen Whitmarsh.
Mobile Analytics