Changeset a807206 in sasmodels for sasmodels/models/gel_fit.py
- Timestamp:
- Sep 30, 2016 10:42:06 PM (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:
- caddb14, 5031ca3
- Parents:
- 2222134
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/gel_fit.py
r40a87fa ra807206 62 62 # ["name", "units", default, [lower, upper], "type","description"], 63 63 parameters = [["guinier_scale", "cm^-1", 1.7, [-inf, inf], "", "Guinier length scale"], 64 ["lorentz ian_scale", "cm^-1", 3.5, [-inf, inf], "", "Lorentzian length scale"],65 [" gyration_radius", "Ang", 104.0, [2, inf], "", "Radius of gyration"],66 ["fractal_ exp", "", 2.0, [0, inf], "", "Fractal exponent"],64 ["lorentz_scale", "cm^-1", 3.5, [-inf, inf], "", "Lorentzian length scale"], 65 ["rg", "Ang", 104.0, [2, inf], "", "Radius of gyration"], 66 ["fractal_dim", "", 2.0, [0, inf], "", "Fractal exponent"], 67 67 ["cor_length", "Ang", 16.0, [0, inf], "", "Correlation length"] 68 68 ] … … 73 73 demo = dict(background=0.01, 74 74 guinier_scale=1.7, 75 lorentz ian_scale=3.5,76 gyration_radius=104,77 fractal_ exp=2.0,75 lorentz_scale=3.5, 76 rg=104, 77 fractal_dim=2.0, 78 78 cor_length=16.0) 79 79 80 80 tests = [[{'guinier_scale': 1.0, 81 'lorentz ian_scale': 1.0,82 ' gyration_radius': 10.0,83 'fractal_ exp': 10.0,81 'lorentz_scale': 1.0, 82 'rg': 10.0, 83 'fractal_dim': 10.0, 84 84 'cor_length': 20.0, 85 85 'background': 0.0, … … 87 87 88 88 [{'guinier_scale': 4.0, 89 'lorentz ian_scale': 10.0,90 ' gyration_radius': 500.0,91 'fractal_ exp': 1.0,89 'lorentz_scale': 10.0, 90 'rg': 500.0, 91 'fractal_dim': 1.0, 92 92 'cor_length': 20.0, 93 93 'background': 20.0,
Note: See TracChangeset
for help on using the changeset viewer.