Changeset 2c74c11 in sasmodels for sasmodels/models/poly_gauss_coil.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/poly_gauss_coil.py
r65279d8 r2c74c11 50 50 """ 51 51 52 import numpy as np 53 from numpy import inf, exp, power, sqrt 52 from numpy import inf, exp, power 54 53 55 54 name = "poly_gauss_coil" … … 83 82 Iq.vectorized = True # Iq accepts an array of q values 84 83 85 def Iqxy(qx, qy, *args):86 # pylint: disable = missing-docstring87 return Iq(sqrt(qx ** 2 + qy ** 2), *args)88 Iqxy.vectorized = True # Iqxy accepts an array of qx, qy values89 90 84 demo = dict(scale = 1.0, 91 85 i_zero = 70.0,
Note: See TracChangeset
for help on using the changeset viewer.