Changeset e5d7a60 in sasmodels
- Timestamp:
- Jun 29, 2017 1:14:24 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:
- a2fcbd8
- Parents:
- 4f611f1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
explore/symint.py
r4f611f1 re5d7a60 103 103 Zq = kernel(q=q, theta=theta) 104 104 Zq *= abs(sin(theta)) 105 pylab.semilogy(degrees(theta), np.fmax(Zq, 1.e-6) )106 pylab.title("%s Z(q) for q=%g" % (KERNEL.__name__, q))105 pylab.semilogy(degrees(theta), np.fmax(Zq, 1.e-6), label="Q=%g"%q) 106 pylab.title("%s I(q, theta) sin(theta)" % (KERNEL.__name__,)) 107 107 pylab.xlabel("theta (degrees)") 108 108 pylab.ylabel("Iq 1/cm") 109 pylab.show()110 109 111 110 NORM, KERNEL = make_cylinder(radius=10., length=100000.) … … 125 124 gridded_integrals(Q, n=2**19+1) 126 125 #scipy_romberg(Q) 127 plot(Q, n=2000) 126 plot(0.5, n=2000) 127 plot(0.6, n=2000) 128 plot(0.8, n=2000) 129 pylab.legend() 130 pylab.show()
Note: See TracChangeset
for help on using the changeset viewer.