Changeset 07a6700 in sasmodels
- Timestamp:
- Jan 27, 2016 4:01:36 AM (9 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:
- 87edabf
- Parents:
- 29da213
- Location:
- sasmodels/models
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/be_polyelectrolyte.py
r97cb037 r07a6700 133 133 polymer_concentration='c') 134 134 135 tests = [[{'contrast_factor': 10.0, 135 tests = [ 136 # Accuracy tests based on content in test/utest_other_models.py 137 [{'contrast_factor': 10.0, 138 'bjerrum_length': 7.1, 139 'virial_param': 12.0, 140 'monomer_length': 10.0, 141 'salt_concentration': 0.0, 142 'ionization_degree': 0.05, 143 'polymer_concentration': 0.7, 144 'background': 0.001, 145 }, 0.001, 0.0948379], 146 147 # Additional tests with larger range of parameters 148 [{'contrast_factor': 10.0, 136 149 'bjerrum_length': 100.0, 137 150 'virial_param': 3.0, -
sasmodels/models/gauss_lorentz_gel.py
r29da213 r07a6700 110 110 dynamic_cor_length='dyn_colength') 111 111 112 tests = [[{'gauss_scale_factor': 10.0, 112 tests = [ 113 # Accuracy tests based on content in test/utest_extra_models.py 114 [{'gauss_scale_factor': 100.0, 115 'static_cor_length': 100.0, 116 'lorentz_scale_factor': 50.0, 117 'dynamic_cor_length': 20.0, 118 }, 0.001, 149.481], 119 120 [{'gauss_scale_factor': 100.0, 121 'static_cor_length': 100.0, 122 'lorentz_scale_factor': 50.0, 123 'dynamic_cor_length': 20.0, 124 }, 0.105363, 9.1903], 125 126 [{'gauss_scale_factor': 100.0, 127 'static_cor_length': 100.0, 128 'lorentz_scale_factor': 50.0, 129 'dynamic_cor_length': 20.0, 130 }, 0.441623, 0.632811], 131 132 # Additional tests with larger range of parameters 133 [{'gauss_scale_factor': 10.0, 113 134 'static_cor_length': 100.0, 114 135 'lorentz_scale_factor': 3.0, -
sasmodels/models/mass_fractal.py
r9c461c7 r07a6700 98 98 cutoff_length='co_length') 99 99 100 tests = [[{'radius': 2.0, 100 tests = [ 101 # Accuracy tests based on content in test/utest_other_models.py 102 [{'radius': 10.0, 103 'mass_dim': 1.9, 104 'cutoff_length': 2.3, 105 }, 0.05, 279.59322], 106 107 # Additional tests with larger range of parameters 108 [{'radius': 2.0, 101 109 'mass_dim': 3.3, 102 110 'cutoff_length': 1.0, -
sasmodels/models/mass_surface_fractal.py
r9c461c7 r07a6700 106 106 primary_rg='primary_rg') 107 107 108 tests = [[{'radius': 2.0, 109 'mass_dim': 3.3, 108 tests = [ 109 # Accuracy tests based on content in test/utest_other_models.py 110 [{'mass_dim': 1.8, 111 'surface_dim': 2.3, 112 'cluster_rg': 86.7, 113 'primary_rg': 4000.0, 114 }, 0.05, 1.77537e-05], 115 116 # Additional tests with larger range of parameters 117 [{'mass_dim': 3.3, 110 118 'surface_dim': 1.0, 111 119 'cluster_rg': 90.0, … … 113 121 }, 0.001, 0.18462699016], 114 122 115 [{'radius': 1.0, 116 'mass_dim': 1.3, 123 [{'mass_dim': 1.3, 117 124 'surface_dim': 1.0, 118 125 'cluster_rg': 90.0, … … 121 128 }, 0.001, 1.16539753641], 122 129 123 [{'radius': 1.0, 124 'mass_dim': 2.3, 130 [{'mass_dim': 2.3, 125 131 'surface_dim': 1.0, 126 132 'cluster_rg': 90.0, -
sasmodels/models/polymer_excl_volume.py
r513efc5 r07a6700 157 157 porod_exp='m') 158 158 159 tests = [[{'rg': 10, 'porod_exp': 4.0}, 0.1, 0.723436675809], 159 tests = [ 160 # Accuracy tests based on content in test/polyexclvol_default_igor.txt 161 [{'rg': 60, 'porod_exp': 3.0}, 0.001, 0.998801], 162 [{'rg': 60, 'porod_exp': 3.0}, 0.105363, 0.0162751], 163 [{'rg': 60, 'porod_exp': 3.0}, 0.665075, 6.56261e-05], 160 164 165 # Additional tests with larger range of parameters 166 [{'rg': 10, 'porod_exp': 4.0}, 0.1, 0.723436675809], 161 167 [{'rg': 2.2, 'porod_exp': 22.0, 'background': 100.0}, 5.0, 100.0], 162 163 168 [{'rg': 1.1, 'porod_exp': 1, 'background': 10.0, 'scale': 1.25}, 164 169 20000., 10.0000712097] -
sasmodels/models/surface_fractal.py
r9c461c7 r07a6700 100 100 cutoff_length='co_length') 101 101 102 tests = [[{'radius': 1.0, 'surface_dim': 1.0, 'cutoff_length': 10.0, 102 tests = [ 103 # Accuracy tests based on content in test/utest_other_models.py 104 [{'radius': 10.0, 'surface_dim': 2.0, 'cutoff_length': 500.0, 105 }, 0.05, 301428.65916], 106 107 # Additional tests with larger range of parameters 108 [{'radius': 1.0, 'surface_dim': 1.0, 'cutoff_length': 10.0, 103 109 }, 0.332070182643, 1125.00321004], 104 110 -
sasmodels/models/two_lorentzian.py
r513efc5 r07a6700 117 117 lorentz_exp_1='exponent_1', lorentz_exp_2='exponent_2') 118 118 119 tests = [[{'lorentz_scale_1': 10.0, 119 tests = [ 120 # Accuracy tests based on content in test/utest_extra_models.py 121 [{'lorentz_scale_1': 10.0, 122 'lorentz_length_1': 100.0, 123 'lorentz_exp_1': 3.0, 124 'lorentz_scale_2': 1.0, 125 'lorentz_length_2': 10.0, 126 'lorentz_exp_2': 2.0, 127 'background': 0.1, 128 }, 0.001, 11.08991], 129 130 [{'lorentz_scale_1': 10.0, 131 'lorentz_length_1': 100.0, 132 'lorentz_exp_1': 3.0, 133 'lorentz_scale_2': 1.0, 134 'lorentz_length_2': 10.0, 135 'lorentz_exp_2': 2.0, 136 'background': 0.1, 137 }, 0.150141, 0.410245], 138 139 [{'lorentz_scale_1': 10.0, 140 'lorentz_length_1': 100.0, 141 'lorentz_exp_1': 3.0, 142 'lorentz_scale_2': 1.0, 143 'lorentz_length_2': 10.0, 144 'lorentz_exp_2': 2.0, 145 'background': 0.1, 146 }, 0.442528, 0.148699], 147 148 # Additional tests with larger range of parameters 149 [{'lorentz_scale_1': 10.0, 120 150 'lorentz_length_1': 100.0, 121 151 'lorentz_exp_1': 3.0,
Note: See TracChangeset
for help on using the changeset viewer.