Changeset 9235fc3 in sasmodels
- Timestamp:
- Sep 28, 2018 7:48:06 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:
- c78d677
- Parents:
- d8b4c5a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/be_polyelectrolyte.py
rd8b4c5a r9235fc3 64 64 dimensionally useful units of 1/|Ang|^3, only the converted version of the 65 65 polymer concentration was actually being used in the calculation while the 66 unconverted salt concentration (still in units of mol/L) was being used. This67 was carried through to sasmodels today (except thatthe line of code converting68 the salt concentration to the new units was dropped somewhere along the line).69 Simple dimensional analysis of the calculation shows that it is in factthe70 converted salt concentration must be used and the original code suggests that71 was the intention . We therefore believe this is now correct.Once better66 unconverted salt concentration (still in apparent units of mol/L) was being used. This 67 was carried through to sasmodels as used for sasview 4.1(though the line of code converting 68 the salt concentration to the new units was removed somewhere along the line). 69 Simple dimensional analysis of the calculation shows that the 70 converted salt concentration should be used, which the original code suggests 71 was the intention, so this has now been corrected (for sasview 4.2). Once better 72 72 validation has been performed this note will be removed. 73 73
Note: See TracChangeset
for help on using the changeset viewer.