Skip to content

spPhaseRaster

  spPhaseRaster main routine for event correlation

  spPhaseRaster is called for event auto- and cross- correlations
  and peri-event time histograms

  Example:
  spPhaseRaster(fhandle, InputName1, InputValue1,....);
  spPhaseRaster(channels, InputName1, InputValue1,....);
  or
  out=spPhaseRaster(....);
  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 reslut 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
                                cycles)
      'PercentPreTime'        Percentage pre-time (% of Duration)

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

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