Skip to content

syncPatternDetectNSx

  syncPatternDetectNSx

  Finds the code for the SYNC pattern on the SYNC output of Blackrock
  Microsystems Neural Signal Processor (NSP) recorded by analog input 
  channel 16 and outputs the unique code and its related timestamp.

    INPUT

    data:       The data stream containing the SYNC pulse.

    OUTPUT

    codeKeeper: A cell structure containing the unique code and their
                respective timestamps.

 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    USAGE EXAMPLE: 

    codeKeeper = syncPatternDetectNSx(data)

    In the example above, the data, containing the continueus signal from 
    the SYNC pulse is passed to the function. The output will contain the
    unique codes parsed from the signal file and their respective
    timestamps.

 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    Kian Torab
    kian@blackrockmicro.com
    Blackrock Microsystems
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  Version History

  1.0.0.0: June 8, 2014
    - Initial release.

  1.0.1.0: July 7, 2014
    - Updated the help file

 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%