Changeset c1799d3 in sasmodels for sasmodels/models/hardsphere.py
- Timestamp:
- Nov 9, 2018 12:16:05 PM (5 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- c11d09f
- Parents:
- 17695aa (diff), cf3d0ce (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/hardsphere.py
rb6dab59 rc1799d3 62 62 63 63 # ["name", "units", default, [lower, upper], "type","description"], 64 parameters = [["radius_effective", "Ang", 50.0, [0, inf], " volume",64 parameters = [["radius_effective", "Ang", 50.0, [0, inf], "", 65 65 "effective radius of hard sphere"], 66 66 ["volfraction", "", 0.2, [0, 0.74], "", 67 67 "volume fraction of hard spheres"], 68 68 ] 69 70 # No volume normalization despite having a volume parameter71 # This should perhaps be volume normalized?72 form_volume = """73 return 1.0;74 """75 69 76 70 Iq = r""" … … 168 162 return pars 169 163 170 # ER defaults to 0.0171 # VR defaults to 1.0172 173 164 # Q=0.001 is in the Taylor series, low Q part, so add Q=0.1, 174 165 # assuming double precision sasview is correct
Note: See TracChangeset
for help on using the changeset viewer.