Changeset 3d8283b in sasmodels for sasmodels/models/hollow_rectangular_prism_thin_walls.py
- Timestamp:
- Mar 21, 2016 7:57:51 AM (8 years ago)
- 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:
- 3a45c2c, 02a0920
- Parents:
- 76e5041
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/hollow_rectangular_prism_thin_walls.py
r43b7eea r3d8283b 77 77 from numpy import pi, inf, sqrt 78 78 79 name = "hollow_rectangular_prism_ infinitely_thin_walls"80 title = "Hollow rectangular parallelepiped with infinitelythin walls."79 name = "hollow_rectangular_prism_thin_walls" 80 title = "Hollow rectangular parallelepiped with thin walls." 81 81 description = """ 82 I(q)= scale*V*(sld - s olvent_sld)^2*P(q)+background82 I(q)= scale*V*(sld - sld_solvent)^2*P(q)+background 83 83 with P(q) being the form factor corresponding to a hollow rectangular 84 84 parallelepiped with infinitely thin walls. … … 89 89 parameters = [["sld", "1e-6/Ang^2", 6.3, [-inf, inf], "", 90 90 "Parallelepiped scattering length density"], 91 ["s olvent_sld", "1e-6/Ang^2", 1, [-inf, inf], "",91 ["sld_solvent", "1e-6/Ang^2", 1, [-inf, inf], "", 92 92 "Solvent scattering length density"], 93 93 ["a_side", "Ang", 35, [0, inf], "volume", … … 99 99 ] 100 100 101 source = ["lib/gauss76.c", "hollow_rectangular_prism_ infinitely_thin_walls.c"]101 source = ["lib/gauss76.c", "hollow_rectangular_prism_thin_walls.c"] 102 102 103 103 def ER(a_side, b2a_ratio, c2a_ratio): … … 127 127 # parameters for demo 128 128 demo = dict(scale=1, background=0, 129 sld=6.3e-6, s olvent_sld=1.0e-6,129 sld=6.3e-6, sld_solvent=1.0e-6, 130 130 a_side=35, b2a_ratio=1, c2a_ratio=1, 131 131 a_side_pd=0.1, a_side_pd_n=10, … … 137 137 oldname = 'RectangularHollowPrismInfThinWallsModel' 138 138 oldpars = dict(a_side='short_side', b2a_ratio='b2a_ratio', c_side='c2a_ratio', 139 sld='sldPipe', s olvent_sld='sldSolv')139 sld='sldPipe', sld_solvent='sldSolv') 140 140 141 141 tests = [[{}, 0.2, 0.837719188592],
Note: See TracChangeset
for help on using the changeset viewer.