Changeset a7db3c05 in sasmodels


Ignore:
Timestamp:
Oct 25, 2017 6:04:05 AM (21 months ago)
Author:
dirk
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
Message:

Fix broken explore/symint.py (calling of gauss_quad_1d)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • explore/symint.py

    r20fe0cd ra7db3c05  
    122122        Iq = np.array([Iq_trapz(qk, n) for qk in q]) 
    123123    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]) 
    125125    pylab.loglog(q, Iq, label="%s, n=%d"%(form, n)) 
    126126    pylab.xlabel("q (1/A)") 
     
    139139    Q = 0.386 
    140140    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)) 
    142142    for k in (8, 10, 13, 16, 19): 
    143143        gridded_1d(Q, n=2**k+1) 
Note: See TracChangeset for help on using the changeset viewer.