Changeset 40a87fa in sasmodels for sasmodels/models/hayter_msa.py


Ignore:
Timestamp:
Aug 8, 2016 11:24:11 AM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
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:
2472141
Parents:
2d65d51
Message:

lint and latex cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/hayter_msa.py

    rd2bb604 r40a87fa  
    1616there is no provision for entering the ionic strength directly nor for use 
    1717of any multivalent salts, though it should be possible to simulate the effect 
    18 of this by increasing the salt concentration. The counterions are also assumed to  
    19 be monovalent. 
     18of this by increasing the salt concentration. The counterions are also 
     19assumed to be monovalent. 
    2020 
    2121In sasview the effective radius may be calculated from the parameters 
    2222used in the form factor $P(q)$ that this $S(q)$ is combined with. 
    2323 
    24 The computation uses a Taylor series expansion at very small rescaled $qR$, to  
    25 avoid some serious rounding error issues, this may result in a minor artefact  
     24The computation uses a Taylor series expansion at very small rescaled $qR$, to 
     25avoid some serious rounding error issues, this may result in a minor artefact 
    2626in the transition region under some circumstances. 
    2727 
     
    103103            radius_effective_pd_n=40) 
    104104# 
    105 # attempt to use same values as old sasview unit test at Q=.001 was 0.0712928,  
    106 # then add lots new ones assuming values from new model are OK, need some low Q values to test the small Q Taylor expansion 
     105# attempt to use same values as old sasview unit test at Q=.001 was 0.0712928, 
     106# then add lots new ones assuming values from new model are OK, need some 
     107# low Q values to test the small Q Taylor expansion 
    107108tests = [ 
    108109    [{'scale': 1.0, 
     
    115116      'dielectconst': 78.0, 
    116117      'radius_effective_pd': 0}, 
    117      [0.00001,0.0010,0.01,0.075], [0.0711646,0.0712928,0.0847006,1.07150]], 
     118     [0.00001, 0.0010, 0.01, 0.075], [0.0711646, 0.0712928, 0.0847006, 1.07150]], 
    118119    [{'scale': 1.0, 
    119120      'background': 0.0, 
     
    126127      'radius_effective_pd': 0.1, 
    127128      'radius_effective_pd_n': 40}, 
    128      [0.00001,0.0010,0.01,0.075], [0.450272,0.450420,0.465116,1.039625]] 
     129     [0.00001, 0.0010, 0.01, 0.075], [0.450272, 0.450420, 0.465116, 1.039625]] 
    129130    ] 
    130131# ADDED by:  RKH  ON: 16Mar2016 converted from sasview, new Taylor expansion at smallest rescaled Q 
Note: See TracChangeset for help on using the changeset viewer.