Changeset b032200 in sasmodels


Ignore:
Timestamp:
Jun 12, 2018 9:48:40 AM (7 years ago)
Author:
Adam Washington <adam.washington@…>
Branches:
master
Children:
f64b154
Parents:
ac995be
Message:

Fix H and H0 on the same scale for SESANS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/sesans.py

    rac995be rb032200  
    5151        G0 = np.dot(self._H0, Iq) 
    5252        G = np.dot(self._H.T, Iq) 
    53         G0 = G[0]  # FIXME: This is a kludge 
    5453        P = G - G0 
    5554        return P 
     
    7170        q = np.hstack([[0], q]) 
    7271 
    73         H0 = np.pi * (q[1:]**2 - q[:-1]**2) * (q[1:] - q[:-1]) 
     72        H0 = np.pi * (q[1:]**2 - q[:-1]**2) 
    7473 
    7574        # repq = np.tile(q, (SElength.size, 1)).T 
Note: See TracChangeset for help on using the changeset viewer.