Changeset b301db9 in sasview


Ignore:
Timestamp:
Mar 9, 2017 8:59:25 AM (7 years ago)
Author:
krzywon
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
b61bd57
Parents:
984f3fc
Message:

Correct the calculation for dx_percent.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/basepage.py

    r096181d rb301db9  
    12481248            if self.dx_percent is not None: 
    12491249                if state.dx_old: 
    1250                     self.dx_percent = self.data.x[0] / self.dx_percent 
     1250                    self.dx_percent = 100 * (self.dx_percent / self.data.x[0]) 
    12511251                self.smear_pinhole_percent.SetValue("%.2f" % self.dx_percent) 
    12521252            self.onPinholeSmear(event=None) 
Note: See TracChangeset for help on using the changeset viewer.