Changeset a807206 in sasmodels for sasmodels/models/hayter_msa.py
- Timestamp:
- Sep 30, 2016 10:42:06 PM (8 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- caddb14, 5031ca3
- Parents:
- 2222134
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/hayter_msa.py
r0bef47b ra807206 51 51 # dp[2] = volfraction(); 52 52 # dp[3] = temperature(); 53 # dp[4] = salt_concentration();53 # dp[4] = concentration_salt(); 54 54 # dp[5] = dielectconst(); 55 55 … … 76 76 ["charge", "e", 19.0, [0, inf], "", "charge on sphere (in electrons)"], 77 77 ["temperature", "K", 318.16, [0, inf], "", "temperature, in Kelvin, for Debye length calculation"], 78 [" salt_concentration", "M", 0.0, [-inf, inf], "", "conc of salt, moles/litre, 1:1 electolyte, for Debye length"],78 ["concentration_salt", "M", 0.0, [-inf, inf], "", "conc of salt, moles/litre, 1:1 electolyte, for Debye length"], 79 79 ["dielectconst", "None", 71.08, [-inf, inf], "", "dielectric constant (relative permittivity) of solvent, default water, for Debye length"] 80 80 ] … … 93 93 # note the calculation varies in different limiting cases so a wide range of 94 94 # parameters will be required for a thorough test! 95 # odd that the default st has salt_concentrationzero95 # odd that the default st has concentration_salt zero 96 96 demo = dict(radius_effective=20.75, 97 97 charge=19.0, 98 98 volfraction=0.0192, 99 99 temperature=318.16, 100 salt_concentration=0.05,100 concentration_salt=0.05, 101 101 dielectconst=71.08, 102 102 radius_effective_pd=0.1, … … 113 113 'volfraction': 0.0192, 114 114 'temperature': 298.0, 115 ' salt_concentration': 0,115 'concentration_salt': 0, 116 116 'dielectconst': 78.0, 117 117 'radius_effective_pd': 0}, … … 123 123 'volfraction': 0.0192, 124 124 'temperature': 298.0, 125 ' salt_concentration': 0.05,125 'concentration_salt': 0.05, 126 126 'dielectconst': 78.0, 127 127 'radius_effective_pd': 0.1,
Note: See TracChangeset
for help on using the changeset viewer.