FT_SPIKE_PLOT_RASTER

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

  FT_SPIKE_PLOT_RASTER makes a raster plot of spike-trains and allows for a
  spike-density or a PSTH plot on top.
 
  Use as
    ft_spike_plot_raster(cfg, spike)
  
  The input spike data structure should be organised as the spike or the raw
  datatype, obtained from FT_SPIKE_MAKETRIALS or FT_PREPROCESSING (in that case
  conversion is done within the function).
 
  Configuration options related to selection of spike channel and trials and latencies
    cfg.spikechannel     =  see FT_CHANNELSELECTION for details
    cfg.latency          =  [begin end]` in seconds, 'maxperiod' (default), 'minperiod',
                            'prestim' (all t<=0), or 'poststim' (all t>=0).
    cfg.linewidth        =  number indicating the width of the lines (default = 1);
    cfg.cmapneurons      =  'auto' (default), or nUnits-by-3 matrix, or cell array with
                            color strings (e.g., {'k' 'r' 'b'}). If 'auto', we are using a
                            private colormap that has good visibility on white background.
    cfg.spikelength      =  number >0 and <=1 indicating the length of the spike. If
                            cfg.spikelength = 1, then no space will be left between
                            subsequent rows representing trials (row-unit is 1).
 
  Configuration options related to additionally plotting the TOPDATA
    cfg.topdata          =  output structure from FT_SPIKE_PSTH
                            or FT_SPIKEDENSITY or FT_TIMELOCKANALYSIS. See those functions for more
                            info.
    cfg.topplotsize      =  number ranging from 0 to 1, indicating the proportion of the
                            rasterplot that the top plot will take (e.g., with 0.7 the top
                            plot will be 70% of the rasterplot in size). Default = 0.5.
    cfg.topplotfunc      =  'bar' (default) or 'line'.
 
  Outputs:
    hdl.top              =  handle of the plot of the topdata (psth or sdf)
    hdl.raster           =  handle for each individual spike.
    hdl.ax               =  axes handles: ax(1) the rasterplot and ax(2) the topplot.
    hdl.cfg

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

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