Skip to content

getData

  getData returns the data for a specified time period

  Data are returned for the period START <= t < STOP

  Example:
  channelout=getData(channel, start, stop)
  channelout=getData(channel, [start stop])

  channel is an scchannel object
  start and stop are the times marking the beginning and end
        of the required time window.

  channelout on output is an scchannel object.
  Waveform data in channelout will be trimmed to the limits
                    START <= t < STOP.
  When the channel is a 'Custom' channeltype, all epochs with
  START <= tim(:,1) < STOP will be returned.
  The epochs are defined by the highest dimension of adc.


  Toolboxes required: None

 -------------------------------------------------------------------------
  Author: Malcolm Lidierth 09/06
  Copyright © The Author & King’s College London 2006-2007
 -------------------------------------------------------------------------

  Acknowledgements:
  Revisions: