code: def values(self):
          
          if self.ui.hzBtn.isChecked():
              fscale = SmartSpinBox.Hz
          else:
              fscale = SmartSpinBox.kHz
  
          if self.ui.msBtn.isChecked():
              tscale = SmartSpinBox.MilliSeconds
          else:
              tscale = SmartSpinBox.Seconds
  
          return fscale, tscale
docs: Gets the scales that the user chose
  
          | For frequency: 1 = Hz, 1000 = kHz
          | For time: 1 = seconds, 0.001 = ms
  
          :returns: float, float -- frequency scaling, time scaling