PEATDB/Ekin/Ekin_main.py
def update_dataset(self):
        """Update data table to reflect current dataset"""
        if len(self.E.datasets) == 0:
            return
        curr = self.currentdataset.get()
        if curr not in self.E.datasets:
            curr = self.E.datasets[0]
            self.currentdataset.set(curr)
        ekindata = self.data[curr]
        model = self.fitframe.model_type.get()
        self.tableframe.draw_Table(ekindata, model)
        self.tableframe.addBinding("<Return>", self.redrawGraph)
        #callback for table entry
        #self.tableframe.setCallback(self.redrawGraph)

        return
Update data table to reflect current dataset
Update data table to reflect current dataset
Update data table to reflect current dataset
def update_dataset(self):
        if len(self.E.datasets) == 0:
            return
        curr = self.currentdataset.get()
        if curr not in self.E.datasets:
            curr = self.E.datasets[0]
            self.currentdataset.set(curr)
        ekindata = self.data[curr]
        model = self.fitframe.model_type.get()
        self.tableframe.draw_Table(ekindata, model)
        self.tableframe.addBinding("<Return>", self.redrawGraph)
        return
def update_dataset ( self ) : if len ( self . E . datasets ) == 0 : return curr = self . currentdataset . get ( ) if curr not in self . E . datasets : curr = self . E . datasets [ 0 ] self . currentdataset . set ( curr ) ekindata = self . data [ curr ] model = self . fitframe . model_type . get ( ) self . tableframe . draw_Table ( ekindata , model ) self . tableframe . addBinding ( "<Return>" , self . redrawGraph ) return
Update data table to reflect current dataset
Update data table to reflect current dataset
"""Update data table to reflect current dataset""" #callback for table entry #self.tableframe.setCallback(self.redrawGraph)
self