Changeset a34b811 in sasmodels for sasmodels/models/_spherepy.py
- Timestamp:
- Mar 28, 2019 3:02:53 PM (5 years ago)
- Branches:
- master, ticket-1257-vesicle-product, ticket_1156, ticket_822_more_unit_tests
- Children:
- db1d9d5
- Parents:
- e5cb3df
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/_spherepy.py
r0507e09 ra34b811 48 48 ---------------------------- 49 49 50 * **Author: P Kienzle** 51 * **Last Modified by:** 50 * **Author: P Kienzle** 51 * **Last Modified by:** 52 52 * **Last Reviewed by:** S King and P Parker **Date:** 2013/09/09 and 2014/01/06 53 53 * **Source added by :** Steve King **Date:** March 25, 2019 … … 83 83 return 1.333333333333333 * pi * radius ** 3 84 84 85 def effective_radius(mode, radius):85 def radius_effective(mode, radius): 86 86 """Calculate R_eff for sphere""" 87 return radius 87 return radius if mode else 0. 88 88 89 89 def Iq(q, sld, sld_solvent, radius):
Note: See TracChangeset
for help on using the changeset viewer.