FT_CHANNELREPAIR

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

  FT_CHANNELREPAIR repairs bad or missing channels in MEG or EEG data by
  replacing them with the average of its neighbours (nearest-neighbour
  approach). It cannot be used reliably to repair multiple bad channels
  that lie next to each other.
 
  Use as
    [interp] = ft_channelrepair(cfg, data)
 
  The configuration must contain
    cfg.badchannel     = cell-array, see FT_CHANNELSELECTION for details
    cfg.missingchannel = cell-array, see FT_CHANNELSELECTION for details
    cfg.neighbours     = neighbourhoodstructure, see also FT_PREPARE_NEIGHBOURS
    cfg.trials         = 'all' or a selection given as a 1xN vector (default = 'all')
 
  For reconstructing channels that are absent in your data, please define
  your neighbours by setting cfg.method='template' and call
  FT_PREPARE_NEIGHBOURS *without* the data argument:
    cfg.neighbours = ft_prepare_neighbours(cfg);
  This will include channels that are missing in your in the neighbour-
  definition.
 
  You should define sensor positions as defined by FT_FETCH_SENS, but sens
  definitions in the cfg will be preferred over sens definition from the
  data
 
  To facilitate data-handling and distributed computing with the peer-to-peer
  module, this function has the following options:
    cfg.inputfile   =  ...
    cfg.outputfile  =  ...
  If you specify one of these (or both) the input data will be read from a *.mat
  file on disk and/or the output data will be written to a *.mat file. These mat
  files should contain only a single variable, corresponding with the
  input/output structure.
 
  See also FT_MEGREALIGN, FT_MEGPLANAR, FT_NEIGHBOURSELECTION,
  FT_FETCH_SENS

reference/ft_channelrepair.txt · Last modified: 2012/02/04 23:02 (external edit)

You are here: startreferenceft_channelrepair
This DokuWiki features an Anymorphic Webdesign theme, customised by Eelke Spaak and Stephen Whitmarsh.
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