Changeset 73bc8563 in sasview


Ignore:
Timestamp:
Jan 4, 2019 7:07:37 PM (5 years ago)
Author:
butler
Branches:
master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249
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.