PEATDB/Ekin/Base.py
def saveDataset(self, name, filename=None):
        """Save single dataset to a file"""
        import tkFileDialog, os
        if filename == None:
            filename = name + '.ekindat'

        ek = self.data[name]
        fitdata = self.getFitData(name)
        ek.addFit(fitdata)
        fd=open(filename,'w')
        import pickle
        pickle.dump(ek,fd)
        fd.close()
        return
Save single dataset to a file
Save single dataset to a file
Save single dataset to a file
def saveDataset(self, name, filename=None):
        import tkFileDialog, os
        if filename == None:
            filename = name + '.ekindat'
        ek = self.data[name]
        fitdata = self.getFitData(name)
        ek.addFit(fitdata)
        fd=open(filename,'w')
        import pickle
        pickle.dump(ek,fd)
        fd.close()
        return
def saveDataset ( self , name , filename = None ) : import tkFileDialog , os if filename == None : filename = name + '.ekindat' ek = self . data [ name ] fitdata = self . getFitData ( name ) ek . addFit ( fitdata ) fd = open ( filename , 'w' ) import pickle pickle . dump ( ek , fd ) fd . close ( ) return
Save single dataset to a file
Save single dataset to a file
"""Save single dataset to a file"""
self
name
filename