Skip to content

ndr.format.intan.Intan_RHD2000_blockinfo

  INTAN_RHD2000_BLOCKINFO - Block information for an Intan RHD2000 file

   [BLOCK_INFO, BYTES_PER_BLOCK, BYTES_PRESENT, NUMDATABLOCKS]  = ...
          INTAN_RHD2000_BLOCKINFO(FILENAME [, HEADER])

  Computes the parameters of each data block of an Intan_RHD_2000 file.

  The Intan 2000 RHD file type is organized into a header, and then data blocks of
  samples of the various channel types that the Intan demo board can sample.
  This file, along with the HEADER, computes the structure of these data blocks that are
  needed to interpret each data block.

  FILENAME should be the name of an RHD2000 file (normally with extension
  '.rhd').  HEADER should be the header information structure that is returned
  by READ_INTAN_RHD2000_HEADER; if it is left blank, it will be read from the
  file.

  BLOCK_INFO is a structure describing the parameters of each block.
  BYTES_PER_BLOCK is the number of bytes per data block
  BYTES_PRESENT is the number of non-header bytes in the file.
  NUMDATABLOCKS is the number of data blocks in the file.

  See also: READ_INTAN_RHD2000_HEADER, READ_INTAN_RHD2000_DATAFILE, CAT_INTAN_RHD2000_FILES