Changeset a807206 in sasmodels for sasmodels/models/surface_fractal.py
- Timestamp:
- Oct 1, 2016 12:42:06 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:
- caddb14, 5031ca3
- Parents:
- 2222134
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/surface_fractal.py
r33875e3 ra807206 66 66 delta = sldParticle -sldSolv. 67 67 radius = Particle radius 68 surface_dim= Surface fractal dimension (Ds)68 fractal_dim_surf = Surface fractal dimension (Ds) 69 69 co_length = Cut-off length 70 70 background = background 71 71 72 72 Ref. :Mildner, Hall,J Phys D Appl Phys(1986), 19, 1535-1545 73 Note I : This model is valid for 1< surface_dim<3 with limited q range.73 Note I : This model is valid for 1<fractal_dim_surf<3 with limited q range. 74 74 Note II: This model is not in absolute scale. 75 75 """ … … 80 80 parameters = [["radius", "Ang", 10.0, [0, inf], "", 81 81 "Particle radius"], 82 [" surface_dim", "", 2.0, [1, 3], "",82 ["fractal_dim_surf", "", 2.0, [1, 3], "", 83 83 "Surface fractal dimension"], 84 84 ["cutoff_length", "Ang", 500., [0.0, inf], "", … … 90 90 91 91 demo = dict(scale=1, background=0, 92 radius=10, surface_dim=2.0, cutoff_length=500)92 radius=10, fractal_dim_surf=2.0, cutoff_length=500) 93 93 94 94 tests = [ 95 95 # Accuracy tests based on content in test/utest_other_models.py 96 96 [{'radius': 10.0, 97 ' surface_dim': 2.0,97 'fractal_dim_surf': 2.0, 98 98 'cutoff_length': 500.0, 99 99 }, 0.05, 301428.66016], … … 101 101 # Additional tests with larger range of parameters 102 102 [{'radius': 1.0, 103 ' surface_dim': 1.0,103 'fractal_dim_surf': 1.0, 104 104 'cutoff_length': 10.0, 105 105 }, 0.332070182643, 1125.00421004], 106 106 107 107 [{'radius': 3.5, 108 ' surface_dim': 0.1,108 'fractal_dim_surf': 0.1, 109 109 'cutoff_length': 30.0, 110 110 'background': 0.01, … … 112 112 113 113 [{'radius': 3.0, 114 ' surface_dim': 1.0,114 'fractal_dim_surf': 1.0, 115 115 'cutoff_length': 33.0, 116 116 'scale': 0.1,
Note: See TracChangeset
for help on using the changeset viewer.