Skip to content

spRaster

  spRaster generates a raster plot

  Example:
  spRaster(fhandle, InputName1, InputValue1,....);
  spRaster(channels, InputName1, InputValue1,....);
  or
  out=spRaster(....);
  where
          fhandle is a valid sigTOOL data view handle
          channels is a sigTOOL channel cell array
          out (if requested) will be a sigTOOLResultData object

  If no output is requested the result will be plotted
  Inputs are string/vlaue pairs
      'Trigger'               List of trigger channels
      'Sources'               List of source channels
      'Start'                 Start time for processing (in seconds)
      'Stop'                  End time for processing (in seconds)
      'Duration'              Duration of the required correlation (in
                              seconds)
      'PercentPreTime'        Percentage pre-time (% of Duration)
      'RetriggerFlag'         If true, all triggers will be used 
                                  (typical for an event correlation)
                              If false, triggers falling during a preceding
                                  sweep will be ignored (typical for a PETH)

  NB spRaster calls the rasterprep mex-file or the shadowing
  m-file if rasterprep.cpp has not been compiled for the current platform

  -------------------------------------------------------------------------
  Author: Malcolm Lidierth 04/08
  Copyright © The Author & King's College London 2008-
  -------------------------------------------------------------------------