Exemplo n.º 1
0
 def asDom(self,parent):
     element = Dommable.asDom(self,parent)
     self.appendChildObject(element,self.start.value,'start value')
     self.appendChildObject(element,self.stop.value,'stop value')
     self.appendChildObject(element,self.numberOfPoints.value,'number of points')
     self.appendChildObject(element,self.logarithmic.value,'logarithmic')
     return element
Exemplo n.º 2
0
 def asDom(self,parent):
     element = Dommable.asDom(self,parent)
     self.appendChildObject(element,self.metadata,'metadata')
     self.appendChildObject(element,self.experiment,'experiment')
     self.appendChildObject(element,self.result,'result')
     return element
Exemplo n.º 3
0
 def asDom(self,parent):
     element = Dommable.asDom(self,parent)
     self.appendTextNode(element,self.toArrayString(separator=',\n'))
     return element
Exemplo n.º 4
0
 def asDom(self, parent):
     element = Dommable.asDom(self, parent)
     self.appendTextNode(element, self.toArrayString(forDisplay=False))
     return element