Skip to content

syncPatternDetectNEV

  syncPatternDetectNEV

  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 thresholded as extracted spikes and saved in the NEV file.

    INPUT

    NEVStruct:  The NEV structure containing the SYNC pulse.

    OUTPUT

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

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

    codeKeeper = syncPatternDetectNEV(NEVStruct)

    In the example above, the NEV structure, 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: July 7, 2014
    - Initial release.

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