PEATDB/Ekin/Base.py
def printData(self):
        """Print out a summary of all the datasets"""
        for name in self.datasets:
            fitdata = self.__datatabs_fits__[name]
            if fitdata.has_key('model'):
                fit=fitdata['model']
            else:
                fit='Not fitted'
            axes = self.getAxesLabels(name)
            print '%s: %s pts, fit: %s, axes: %s' %(name,len(self.data[name][0].keys()),fit, axes)
Print out a summary of all the datasets
Print out a summary of all the datasets
Print out a summary of all the datasets
def printData(self):
        for name in self.datasets:
            fitdata = self.__datatabs_fits__[name]
            if fitdata.has_key('model'):
                fit=fitdata['model']
            else:
                fit='Not fitted'
            axes = self.getAxesLabels(name)
            print '%s: %s pts, fit: %s, axes: %s' %(name,len(self.data[name][0].keys()),fit, axes)
def printData ( self ) : for name in self . datasets : fitdata = self . __datatabs_fits__ [ name ] if fitdata . has_key ( 'model' ) : fit = fitdata [ 'model' ] else : fit = 'Not fitted' axes = self . getAxesLabels ( name ) print '%s: %s pts, fit: %s, axes: %s' % ( name , len ( self . data [ name ] [ 0 ] . keys ( ) ) , fit , axes )
Print out a summary of all the datasets
Print out a summary of all the datasets
"""Print out a summary of all the datasets"""
self