Changeset 73bc8563 in sasview


Ignore:
Timestamp:
Jan 4, 2019 9:07:37 PM (12 days ago)
Author:
butler
Branches:
ticket_1206
Children:
bd3a3ae
Parents:
462e019
Message:

Show %dq/q instead of dq for pinhole read from data

Display %(dq/q)_high and %(dq/q)_low rather than dq_high and dq_low in
the instrumental resolution panel for pinhole dq taken from the data
file.

File:
1 edited

Legend:

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

    r462e019 r73bc8563  
    16281628        if data.dx is not None and np.any(data.dx): 
    16291629            self.smear_type = "Pinhole" 
    1630             self.dq_l = data.dx[0] 
    1631             self.dq_r = data.dx[-1] 
     1630            #report in % for display makes more sense than absolute value 
     1631            #for pinhole smearing 
     1632            self.dq_l = data.dx[0] / data.x[0] * 100 
     1633            self.dq_r = data.dx[-1] / data.x[-1] * 100 
    16321634 
    16331635        # check if it is slit smear and get min max if it is. 
Note: See TracChangeset for help on using the changeset viewer.