Changeset ee60aa7 in sasmodels for sasmodels/models/core_shell_parallelepiped.py
- Timestamp:
- Sep 10, 2018 4:16:46 PM (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:
- d299327
- Parents:
- 3f818b2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_shell_parallelepiped.py
rd277229 ree60aa7 98 98 is the scattering length of the solvent. 99 99 100 .. note:: 100 .. note:: 101 101 102 102 the code actually implements two substitutions: $d(cos\alpha)$ is … … 227 227 source = ["lib/gauss76.c", "core_shell_parallelepiped.c"] 228 228 have_Fq = True 229 effective_radius_type = ["equivalent sphere","half outer length_a", "half outer length_b", "half outer length_c", 230 "equivalent circular cross-section","half outer ab diagonal","half outer diagonal"] 231 232 #def ER(length_a, length_b, length_c, thick_rim_a, thick_rim_b, thick_rim_c): 233 # """ 234 # Return equivalent radius (ER) 235 # """ 236 # from .parallelepiped import ER as ER_p 237 # 238 # a = length_a + 2*thick_rim_a 239 # b = length_b + 2*thick_rim_b 240 # c = length_c + 2*thick_rim_c 241 # return ER_p(a, b, c) 242 243 # VR defaults to 1.0 229 effective_radius_type = [ 230 "equivalent sphere", 231 "half outer length_a", "half outer length_b", "half outer length_c", 232 "equivalent circular cross-section", 233 "half outer ab diagonal", "half outer diagonal", 234 ] 244 235 245 236 def random():
Note: See TracChangeset
for help on using the changeset viewer.