Ignore:
Timestamp:
Oct 25, 2017 3:28:10 AM (6 years ago)
Author:
Adam Washington <adam.washington@…>
Children:
7d6dd6f
Parents:
a3c4217
Message:

Move to combobox to pick transformation model

File:
1 edited

Legend:

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

    ra3c4217 r6930b91  
    189189    def transform(self): 
    190190        """Calculate the real space version of the extrapolation.""" 
    191         if self.fourierBtn.isChecked(): 
    192             method = "fourier" 
    193         elif self.hilbertBtn.isChecked(): 
    194             method = "hilbert" 
     191        method = str(self.model.item(W.W_TRANSFORM).text()).lower() 
    195192 
    196193        extrap = self._canvas.extrap 
     
    233230        self.mapper.addMapping(self.qMax2, W.W_QCUTOFF) 
    234231        self.mapper.addMapping(self.bg, W.W_BACKGROUND) 
     232        self.mapper.addMapping(self.transformCombo, W.W_TRANSFORM) 
    235233 
    236234        self.mapper.addMapping(self.guinierA, W.W_GUINIERA) 
Note: See TracChangeset for help on using the changeset viewer.