class_docstr: Convenience class to encapsulate tractogram file format.
class_docstr_tok: ["Convenience","class","to","encapsulate","tractogram","file","format","."]
code: def __init__(self, tractogram, header=None):
      self._tractogram = tractogram
      self._header = (
          self.create_empty_header() if header is None else header
      )
  
imports: from abc import ABC, abstractmethod
  from .header import Field
label_desc: Use image node_id 1 to create a new TractogramFile object from inherited base classes: ABC with example: obj = TractogramFile(tractogram, header)