Changeset aa90015 in sasmodels
- Timestamp:
- Feb 15, 2018 11:52:38 AM (7 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 0db7dbd, 3db96b0
- Parents:
- 547c6f0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/polymer_excl_volume.py
r547c6f0 raa90015 151 151 with errstate(divide='ignore', invalid='ignore'): 152 152 upow = power(usub, -0.5*porod_exp) 153 # Note: scipy gammainc is "regularized", being gamma(s,x)/Gamma(s), 154 # so need to scale by Gamma(s) to recover gamma(s, x). 153 155 result = (porod_exp*upow * 154 156 (gamma(0.5*porod_exp)*gammainc(0.5*porod_exp, usub) -
Note: See TracChangeset
for help on using the changeset viewer.