FT_SPIKETRIGGEREDINTERPOLATION

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

  FT_SPIKETRIGGEREDINTERPOLATION interpolates the data in the LFP channels
  around the spikes that are detected in the spike channels, or replaces
  the LFP around the spike with NaNs.
 
  Use as
    [data] = ft_spiketriggeredinterpolation(cfg, data)
 
  The input data should be organised in a structure as obtained from the
  FT_PREPROCESSING function. The configuration should be according to
 
    cfg.method       = string, The interpolation method can be 'nan',
                      'cubic', 'linear', 'nearest', spline', 'pchip'
                      (default = 'nan'). See INTERP1 for more details.
    cfg.timwin       = [begin end], time around each spike (default = [-0.001 0.002])
    cfg.interptoi    = value, time in seconds used for interpolation, which
                       must be larger than timwin (default = 0.01)
    cfg.spikechannel = string, name of single spike channel to trigger on
    cfg.channel      = Nx1 cell-array with selection of channels (default = 'all'),
                       see FT_CHANNELSELECTION for details
    cfg.feedback     = 'no', 'text', 'textbar', 'gui' (default = 'no')
 
  The output will contain all channels of the input, only the data in the
  selected channels will be interpolated or replaced with NaNs.
 
  See also FT_SPIKETRIGGEREDSPECTRUM, FT_SPIKETRIGGEREDAVERAGE

reference/ft_spiketriggeredinterpolation.txt · Last modified: 2012/05/23 23:02 (external edit)

You are here: startreferenceft_spiketriggeredinterpolation
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