code: def __init__(self, array_names=None):
      self._tempfile = NamedTemporaryFile(
          mode="w", suffix=".h5", prefix="ts_buf_", delete=True
      )
      self.fileh = tables.open_file(self._tempfile.name, mode="w")
  
      if not array_names:
          array_names = []
      if isinstance(array_names, list):
          self.array_names = array_names
      else:
          self.array_names = [array_names]
      for name in array_names:
          if not isinstance(name, str):
              raise TypeError("String argument require in array_names")
  
file_path: TimeSide/timeside/core/tools/buffering.py
imports: import tables
  from tempfile import NamedTemporaryFile
  import numpy
label_desc: Use image node_id 1 to create a new BufferTable object from inherited base classes: object with example: obj = BufferTable(array_names)