Changeset d277229 in sasmodels for sasmodels/models/core_shell_sphere.py
- Timestamp:
- Sep 7, 2018 3:29:38 AM (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:
- 3c60146
- Parents:
- 2a12351b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_shell_sphere.py
r71b751d rd277229 78 78 source = ["lib/sas_3j1x_x.c", "lib/core_shell.c", "core_shell_sphere.c"] 79 79 have_Fq = True 80 effective_radius_type = ["outer radius", "core radius"] 80 81 81 82 demo = dict(scale=1, background=0, radius=60, thickness=10, 82 83 sld_core=1.0, sld_shell=2.0, sld_solvent=0.0) 83 84 84 def ER(radius, thickness):85 """86 Equivalent radius87 @param radius: core radius88 @param thickness: shell thickness89 """90 return radius + thickness85 #def ER(radius, thickness): 86 # """ 87 # Equivalent radius 88 # @param radius: core radius 89 # @param thickness: shell thickness 90 # """ 91 # return radius + thickness 91 92 92 93 def VR(radius, thickness):
Note: See TracChangeset
for help on using the changeset viewer.