Ignore:
Timestamp:
Oct 24, 2017 10:31:43 AM (7 years ago)
Author:
Adam Washington <adam.washington@…>
Children:
e4a3302
Parents:
f7b73d5
Message:

Extract values from Corfunc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Corfunc/CorfuncPerspective.py

    rf7b73d5 rc1b3ffb  
    116116 
    117117    def setupSlots(self): 
    118         self.extractBtn.clicked.connect(self.action) 
    119118        self.extrapolateBtn.clicked.connect(self.extrapolate) 
    120119        self.transformBtn.clicked.connect(self.transform) 
     
    189188            self._realplot.data = transform 
    190189            self._realplot.drawRealSpace() 
     190            params = self._calculator.extract_parameters(transform) 
     191            self.avgCoreThick.setValue(params["d0"]) 
     192            self.avgHardBlock.setValue(params["Lc"]) 
     193            self.avgIntThick.setValue(params["dtr"]) 
     194            self.localCrystal.setValue(params["fill"]) 
     195            self.polydisp.setValue(params["A"]) 
     196            self.longPeriod.setValue(params["max"]) 
    191197 
    192198        self._calculator.compute_transform(extrap, method, bg, completefn, updatefn) 
Note: See TracChangeset for help on using the changeset viewer.