Ignore:
Timestamp:
Mar 30, 2019 6:15:51 PM (5 years ago)
Author:
GitHub <noreply@…>
Branches:
release-4.2.2
Children:
f5f8553, cc2cd5a
Parents:
09d7021 (diff), 31c1bae (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Paul Kienzle <pkienzle@…> (03/30/19 18:15:51)
git-committer:
GitHub <noreply@…> (03/30/19 18:15:51)
Message:

Merge pull request #209 from SasView?/ticket-1242-2d-resolution

Use dQ/|Q| for 2-D resolution

File:
1 edited

Legend:

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

    r82d88d5 rd4cde37  
    23652365                percent = self.dx_percent/100 
    23662366                if self._is_2D(): 
    2367                     data.dqx_data[data.dqx_data == 0] = percent * data.qx_data 
    2368                     data.dqy_data[data.dqy_data == 0] = percent * data.qy_data 
     2367                    q = np.sqrt(data.qx_data**2 + data.qy_data**2) 
     2368                    data.dqx_data = data.dqy_data = percent*q 
    23692369                else: 
    23702370                    data.dx = percent * data.x 
Note: See TracChangeset for help on using the changeset viewer.