def __init__(self,filename,rowattr=True): data=tfsdata().fromfile(filename) col_names=data.labels if 'name' in data.labels: elems=map(_pythonname,data['name']) else: elems=['l%05d' % i for i in range(len(data)) ] table.__init__(self,elems,col_names,data=data,rowattr=rowattr)
def __init__(self, cur, name, ref): table.__init__(self, cur, name, ref)
def __init__(self,elems,cols=_cols,rowattr=True): table.__init__(self,elems,_cols,rowattr=rowattr) (self.br,self.gr,self.betx,self.bety)=(1,7.E6/938,1,1)
def __init__(self, cur, name, ref, cmd): table.__init__(self, cur, name, ref) self.cmd = cmd self.gentestid = self.ref[0] self.results = self.ref[1]
def __init__(self, cur, name): table.__init__(self, cur, name, None)