Changeset a7db3c05 in sasmodels
- Timestamp:
- Oct 25, 2017 6:04:05 AM (7 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- f18ddc8
- Parents:
- a5f91a7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
explore/symint.py
r20fe0cd ra7db3c05 122 122 Iq = np.array([Iq_trapz(qk, n) for qk in q]) 123 123 elif form == "gauss": 124 Iq = np.array([gauss_quad (qk, n) for qk in q])124 Iq = np.array([gauss_quad_1d(qk, n) for qk in q]) 125 125 pylab.loglog(q, Iq, label="%s, n=%d"%(form, n)) 126 126 pylab.xlabel("q (1/A)") … … 139 139 Q = 0.386 140 140 for n in (20, 76, 150, 300, 1000): #, 10000, 30000): 141 print("gauss-%d"%n, gauss_quad (Q, n=n))141 print("gauss-%d"%n, gauss_quad_1d(Q, n=n)) 142 142 for k in (8, 10, 13, 16, 19): 143 143 gridded_1d(Q, n=2**k+1)
Note: See TracChangeset
for help on using the changeset viewer.