Changeset a807206 in sasmodels for sasmodels/models/hayter_msa.py


Ignore:
Timestamp:
Sep 30, 2016 10:42:06 PM (8 years ago)
Author:
butler
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
Message:

updating more parameter names addressing #649

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/hayter_msa.py

    r0bef47b ra807206  
    5151#  dp[2] = volfraction(); 
    5252#  dp[3] = temperature(); 
    53 #  dp[4] = salt_concentration(); 
     53#  dp[4] = concentration_salt(); 
    5454#  dp[5] = dielectconst(); 
    5555 
     
    7676    ["charge",        "e",   19.0,    [0, inf],    "", "charge on sphere (in electrons)"], 
    7777    ["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"], 
    7979    ["dielectconst",  "None",    71.08,   [-inf, inf], "", "dielectric constant (relative permittivity) of solvent, default water, for Debye length"] 
    8080    ] 
     
    9393# note the calculation varies in different limiting cases so a wide range of 
    9494# parameters will be required for a thorough test! 
    95 # odd that the default st has salt_concentration zero 
     95# odd that the default st has concentration_salt zero 
    9696demo = dict(radius_effective=20.75, 
    9797            charge=19.0, 
    9898            volfraction=0.0192, 
    9999            temperature=318.16, 
    100             salt_concentration=0.05, 
     100            concentration_salt=0.05, 
    101101            dielectconst=71.08, 
    102102            radius_effective_pd=0.1, 
     
    113113      'volfraction': 0.0192, 
    114114      'temperature': 298.0, 
    115       'salt_concentration': 0, 
     115      'concentration_salt': 0, 
    116116      'dielectconst': 78.0, 
    117117      'radius_effective_pd': 0}, 
     
    123123      'volfraction': 0.0192, 
    124124      'temperature': 298.0, 
    125       'salt_concentration': 0.05, 
     125      'concentration_salt': 0.05, 
    126126      'dielectconst': 78.0, 
    127127      'radius_effective_pd': 0.1, 
Note: See TracChangeset for help on using the changeset viewer.