Changeset 2c74c11 in sasmodels for sasmodels/models/gauss_lorentz_gel.py
- Timestamp:
- Jul 24, 2016 10:56:45 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:
- a4280bd
- Parents:
- f1765a2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/gauss_lorentz_gel.py
rec45c4f r2c74c11 43 43 """ 44 44 45 from numpy import inf, sqrt,exp45 from numpy import inf, exp 46 46 47 47 name = "gauss_lorentz_gel" … … 94 94 95 95 96 def Iqxy(qx, qy, *args):97 """98 :param qx: Input q_x-value99 :param qy: Input q_y-value100 :param args: Remaining aruments101 :return: 2-D intensity102 """103 104 return Iq(sqrt(qx**2 + qy**2), *args)105 106 Iqxy.vectorized = True # Iqxy accepts an array of qx, qy values107 108 109 96 demo = dict(scale=1, background=0.1, 110 97 gauss_scale_factor=100.0,
Note: See TracChangeset
for help on using the changeset viewer.