Changeset b297ba9 in sasmodels for sasmodels/models/_spherepy.py
- Timestamp:
- Mar 20, 2019 7:03:50 PM (5 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 4e28511
- Parents:
- 0d362b7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/_spherepy.py
r304c775 rb297ba9 69 69 70 70 def form_volume(radius): 71 """Calculate volume for sphere""" 71 72 return 1.333333333333333 * pi * radius ** 3 72 73 73 74 def effective_radius(mode, radius): 75 """Calculate R_eff for sphere""" 74 76 return radius 75 77 76 78 def Iq(q, sld, sld_solvent, radius): 79 """Calculate I(q) for sphere""" 77 80 #print "q",q 78 81 #print "sld,r",sld,sld_solvent,radius
Note: See TracChangeset
for help on using the changeset viewer.