Changeset 108e70e in sasmodels for sasmodels/models/line.py
- Timestamp:
- Dec 14, 2017 1:08:45 PM (6 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- ef85a09
- Parents:
- df69efa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/line.py
r2d81cfe r108e70e 57 57 Iq.vectorized = True # Iq accepts an array of q values 58 58 59 59 60 def Iqxy(qx, qy, *args): 60 61 """ … … 69 70 70 71 Iqxy.vectorized = True # Iqxy accepts an array of qx qy values 72 73 # uncomment the following to test Iqxy in C models 74 #del Iq, Iqxy 75 #c_code = """ 76 #static double Iq(double q, double b, double m) { return m*q+b; } 77 #static double Iqxy(double qx, double qy, double b, double m) 78 #{ return (m*qx+b)*(m*qy+b); } 79 #""" 71 80 72 81 def random():
Note: See TracChangeset
for help on using the changeset viewer.