Changeset 265c657 in sasmodels for sasmodels/models/sphere.py


Ignore:
Timestamp:
Mar 26, 2019 7:24:03 AM (5 years ago)
Author:
richardh
Branches:
master, ticket-1257-vesicle-product, ticket_1156, ticket_822_more_unit_tests
Children:
d8b7efa
Parents:
2464785
Message:

making _mode variables consistent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/sphere.py

    r2464785 r265c657  
    9898    [{"radius": 120., "radius_pd": 0.2, "radius_pd_n":45}, 
    9999     0.1, None, None, 120., None, 1.0], 
    100     [{"@S": "hardsphere"}, 0.1, 0.7940350343881906], # this is current value, not verified elsewhere yet 
    101 #       [{"@S": "hardsphere",          # hard sphere structure factor 
    102 #     "structure_factor_mode": 1,  # decoupling approximation  -  currently objecting to these new parameters 
    103 #     "effective_radius_mode": 1   # equivalent sphere 
    104 #        }, 0.1, None], 
     100    [{"@S": "hardsphere"}, 
     101       0.1, 0.7940350343881906], # this is current value, not verified elsewhere yet 
     102        [{"@S": "hardsphere",          # hard sphere structure factor 
     103     "structure_factor_mode": 1,  # decoupling approximation 
     104     "effective_radius_mode": 1   # equivalent sphere 
     105         }, 0.1, 0.7940350343881906], 
     106        [{"@S": "hardsphere",          # hard sphere structure factor 
     107     "structure_factor_mode": 2,  #  -  WHY same result? 
     108     "effective_radius_mode": 2   #  
     109         }, 0.1, 0.7940350343881906] 
    105110] 
    106111# putting None for expected result will pass the test if there are no errors from the routine, but without any check on the value of the result 
Note: See TracChangeset for help on using the changeset viewer.