Changeset facb052 in sasmodels for sasmodels/models/sphere.py


Ignore:
Timestamp:
Mar 27, 2019 10:02:32 AM (5 years ago)
Author:
richardh
Branches:
master, ticket-1257-vesicle-product, ticket_1156, ticket_822_more_unit_tests
Children:
a7db39fa, a430f5f
Parents:
0b8a1fc
Message:

added some debug print in direct_model

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/sphere.py

    r0b8a1fc rfacb052  
    9999     0.1, None, None, 120., None, 1.0], 
    100100    [{"@S": "hardsphere"}, 
    101        0.1, 0.7940350343881906], # this is current value, not verified elsewhere yet 
     101       0.1, 0.7940350343881906], # Q=0.1 this is current value, not verified elsewhere yet 
    102102        [{"@S": "hardsphere",          # hard sphere structure factor 
    103103     "structure_factor_mode": 1,  # decoupling approximation 
    104      "effective_radius_type": 1, "radius_effective":27.0  # equivalent sphere   Currently have hardwired model_test to accept radius_effective BUT doe sit get passed to S(Q)??? 
     104     "effective_radius_type": 1, "radius_effective":27.0 # equivalent sphere   Currently have hardwired model_test to accept radius_effective  
     105     # direct_model has the name & value BUT does it get passed to S(Q)???  What about volfracion, plus the many parameters used by other S(Q) ? 
     106     # effective_radius_type does NOT appear in the list, has it been stripped out??? 
    105107         }, 0.1, 0.7940350343881906], 
    106         [{"@S": "hardsphere",          # hard sphere structure factor 
    107      "structure_factor_mode": 2,  #  -  WHY same result? 
    108      "effective_radius_type": 2, "radius_effective":23.0    #  
    109          }, 0.1, 0.7940350343881906] 
     108#       [{"@S": "hardsphere",          # hard sphere structure factor 
     109#     "structure_factor_mode": 3,  #  -  WHY same result? 
     110#     "effective_radius_type": 3, "radius_effective":23.0    #  
     111#        }, 0.1, 0.7940350343881906] 
    110112] 
    111113# 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.