Skip to content

convTime2PhysicalEpochs

  convTime2PhysicalEpochs returns physical epoch numbers within a time range

  Example:
  epochs=convTime2PhysicalEpochs(channel, start, stop)
  where
  channel is a sigTOOL channel object
  start & stop are the beginning and end times

  Returns physical epoch numbers where
                start <= channel.tim(:, 1) <= stop 

  Toolboxes required: None
 --------------------------------------------------------------------------
  Author: Malcolm Lidierth 12/07
  Copyright © The Author & King’s College London 2007
 --------------------------------------------------------------------------
  Acknowledgements:
  Revisions: