Changeset b2572f4 in sasview


Ignore:
Timestamp:
Mar 19, 2019 4:25:53 AM (2 months ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl
Children:
b415abc
Parents:
12dfce6
git-author:
Piotr Rozyczko <piotr.rozyczko@…> (03/19/19 04:14:42)
git-committer:
Piotr Rozyczko <piotr.rozyczko@…> (03/19/19 04:25:53)
Message:

Use dQ/|Q| for 2D resolution. Cherry picked from master #209

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/SmearingWidget.py

    r04e1c80 rb2572f4  
    310310            data.dqx_data[data.dqx_data == 0] = percent * data.qx_data 
    311311            data.dqy_data[data.dqy_data == 0] = percent * data.qy_data 
     312            q = np.sqrt(data.qx_data**2 + data.qy_data**2) 
     313            data.dx_data = data.dqy_data = percent*q 
    312314        else: 
    313315            len_data = len(data.x) 
Note: See TracChangeset for help on using the changeset viewer.