Changeset 15ec718 in sasmodels


Ignore:
Timestamp:
Dec 15, 2016 4:11:49 AM (8 years ago)
Author:
jhbakker
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
d5cc54c, 3a45c2c, a49cb0d, 14e948a, 1e3bf4c
Parents:
08e2af7
Message:

Change to calculation of Hankel transform q-space, now works for
arbitrarily large datasets (as long as you have enough memory!)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/sesans.py

    r08e2af7 r15ec718  
    4646        #q_min = dq = 0.1 * 2*pi / self.Rmax 
    4747 
    48         q_max = self.zaccept 
    49         q_min = dq = q_max / 100000 
     48        q_max = 2*pi / (self.SE[1]-self.SE[0]) 
     49        q_min = dq = 0.1 *2*pi / (np.size(self.SE) * self.SE[-1]) 
     50 
     51        #q_min = dq = q_max / 100000 
    5052        q=np.arange(q_min, q_max, q_min) 
    5153        self.q = q 
Note: See TracChangeset for help on using the changeset viewer.