tdtio.py 652 B

1234567891011121314151617181920
  1. from neo.io.basefromrawio import BaseFromRaw
  2. from neo.rawio.tdtrawio import TdtRawIO
  3. class TdtIO(TdtRawIO, BaseFromRaw):
  4. """
  5. Class for reading data from from Tucker Davis TTank format.
  6. Terminology:
  7. TDT holds data with tanks (actually a directory). And tanks hold sub blocks
  8. (sub directories).
  9. Tanks correspond to Neo Blocks and TDT blocks correspond to Neo Segments.
  10. """
  11. _prefered_signal_group_mode = 'group-by-same-units'
  12. _default_group_mode_have_change_in_0_9 = True
  13. mode = 'dir'
  14. def __init__(self, dirname):
  15. TdtRawIO.__init__(self, dirname=dirname)
  16. BaseFromRaw.__init__(self, dirname)