Changeset eb69cce in sasmodels for sasmodels/models/teubner_strey.py
- Timestamp:
- Nov 30, 2015 7:18:41 PM (8 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- d18f8a8
- Parents:
- d138d43
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/teubner_strey.py
r0e9048f reb69cce 40 40 1D plot using the default values (w/200 data point). 41 41 42 Reference 43 --------- 42 References 43 ---------- 44 44 45 45 M Teubner, R Strey, *J. Chem. Phys.*, 87 (1987) 3195 … … 77 77 def Iq(q, a2, c1, c2): 78 78 return 1. / np.polyval([c2, c1, a2], q**2) 79 Iq.vectorized = True # Iq accepts an array of Qvalues79 Iq.vectorized = True # Iq accepts an array of q values 80 80 81 81 def Iqxy(qx, qy, a2, c1, c2): 82 82 return Iq(sqrt(qx**2 + qy**2), a2, c1, c2) 83 Iqxy.vectorized = True # Iqxy accepts arrays of Qx, Qy values83 Iqxy.vectorized = True # Iqxy accepts arrays of qx, qy values 84 84 85 85 # ER defaults to 0.0
Note: See TracChangeset
for help on using the changeset viewer.