docs: def writexml(self, writer, indent="", addindent="", newl=""):
          """
          Write the continuous  dataset using sonic visualiser xml conventions
          """
          # dataset = self.data.appendChild(self.doc.createElement('dataset'))
          # dataset.setAttribute('id', str(imodel))
          # dataset.setAttribute('dimensions', '2')
          writer.write('%s<dataset id="%s" dimensions="%s">%s' % (indent, self.datasetid, self.dimensions, newl))
          indent2 = indent + addindent
          for l, x, y in zip(self.labels, self.frames, self.values):
              writer.write('%s<point label="%s" frame="%d" value="%f"/>%s' % (indent2, self.int2label[l], x, y, newl))
          writer.write('%s</dataset>%s' % (indent, newl))