docs: def write_segment(self, objects):
          """ Write a segment of data to a TDMS file
  
          :param objects: A list of TdmsObject instances to write
          """
          segment = TdmsSegment(objects)
          segment.write(self._file)