Changeset 40a87fa in sasmodels for sasmodels/models/adsorbed_layer.py
- Timestamp:
- Aug 8, 2016 9:24:11 AM (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:
- 2472141
- Parents:
- 2d65d51
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/adsorbed_layer.py
r2c74c11 r40a87fa 93 93 inten = 6.0e-02 * pi * volfraction * aa**2 * exp(-bb**2) / radius 94 94 return inten 95 Iq.vectorized = 95 Iq.vectorized = True # Iq accepts an array of q values 96 96 97 97 # unit test values taken from SasView 3.1.2 98 tests = 98 tests = [ 99 99 [{'scale': 1.0, 'second_moment': 23.0, 'adsorbed_amount': 1.9, 100 100 'density_shell': 0.7, 'radius': 500.0, 'volfraction': 0.14,
Note: See TracChangeset
for help on using the changeset viewer.