Changeset 2c74c11 in sasmodels for sasmodels/models/porod.py
- Timestamp:
- Jul 24, 2016 8: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/porod.py
r82923a6 r2c74c11 26 26 """ 27 27 28 from numpy import sqrt,power, inf, errstate28 from numpy import power, inf, errstate 29 29 30 30 name = "porod" … … 47 47 Iq.vectorized = True # Iq accepts an array of q values 48 48 49 def Iqxy(qx, qy, *args):50 """51 @param qx: Input q_x-value52 @param qy: Input q_y-value53 @param args: Remaining arguments54 """55 return Iq(sqrt(qx ** 2 + qy ** 2), *args)56 57 Iqxy.vectorized = True # Iqxy accepts an array of qx, qy values58 59 49 demo = dict(scale=1.5, background=0.5) 60 50
Note: See TracChangeset
for help on using the changeset viewer.