Changeset 16bb433 in sasmodels
- Timestamp:
- Feb 17, 2016 3:53:40 PM (9 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:
- 3a45c2c
- Parents:
- 19b6d28
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/porod.py
r19b6d28 r16bb433 10 10 to the data directly without any need for linearisation (cf. Log I(q) vs Log q). 11 11 12 Here $C$ is the scale factor and $S_v$ is the specific surface area (ie, surface area / volume) 12 Here $C$ is the scale factor and $S_v$ is the specific surface area (ie, surface area / volume) 13 13 of the sample, and $\Delta\rho$ is the contrast factor. 14 14 15 For 2D data: The 2D scattering intensity is calculated in the same way as 1D, where the q vector is defined as 15 For 2D data: The 2D scattering intensity is calculated in the same way as 1D, 16 where the q vector is defined as 16 17 17 18 .. math:: … … 36 37 @param q: Input q-value 37 38 """ 38 return 1.0/power(q, 4)39 return 1.0/power(q, 4) 39 40 40 41 Iq.vectorized = True # Iq accepts an array of q values
Note: See TracChangeset
for help on using the changeset viewer.