Changes in / [fb5914f:d0876c9d] in sasmodels
- Location:
- sasmodels
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/compare.py
rd19962c rfa1582e 784 784 n1 = int(args[1]) if len(args) > 1 else 1 785 785 n2 = int(args[2]) if len(args) > 2 else 1 786 use_sasview = any(engine=='sasview' and count>0 787 for engine, count in zip(engines, [n1, n2])) 786 788 787 789 # Get demo parameters from model definition, or use default parameters … … 811 813 #import pprint; pprint.pprint(model_info) 812 814 constrain_pars(model_info, pars) 813 constrain_new_to_old(model_info, pars) 815 if use_sasview: 816 constrain_new_to_old(model_info, pars) 814 817 if opts['show_pars']: 815 818 print(str(parlist(model_info, pars, opts['is2d']))) -
sasmodels/convert.py
rce896fd r2a3e1f5 138 138 namelist = name.split('*') if '*' in name else [name] 139 139 for name in namelist: 140 if name == 'pearl_necklace': 140 if name == 'stacked_disks': 141 _remove_pd(oldpars, 'n_stacking', name) 142 elif name == 'pearl_necklace': 141 143 _remove_pd(oldpars, 'num_pearls', name) 142 144 _remove_pd(oldpars, 'thick_string', name) -
sasmodels/models/_spherepy.py
r49da079 rd7028dc 1 1 r""" 2 For information about polarised and magnetic scattering, click here_. 3 4 .. _here: polar_mag_help.html 2 For information about polarised and magnetic scattering, see 3 the :doc:`magnetic help <../sasgui/perspectives/fitting/mag_help>` documentation. 5 4 6 5 Definition -
sasmodels/models/fuzzy_sphere.py
r0cc31e1 rd7028dc 1 1 r""" 2 For information about polarised and magnetic scattering, click here_. 3 4 .. _here: polar_mag_help.html 2 For information about polarised and magnetic scattering, see 3 the :doc:`magnetic help <../sasgui/perspectives/fitting/mag_help>` documentation. 5 4 6 5 Definition -
sasmodels/models/multilayer_vesicle.py
rc6ca41e rd7028dc 29 29 is used as the effective radius for *S(Q)* when $P(Q) * S(Q)$ is applied. 30 30 31 32 33 For information about polarised and magnetic scattering, click here_. 34 35 .. _here: polar_mag_help.html 31 For information about polarised and magnetic scattering, see 32 the :doc:`magnetic help <../sasgui/perspectives/fitting/mag_help>` documentation. 36 33 37 34 This code is based on the form factor calculations implemented in the NIST -
sasmodels/models/sphere.py
r49da079 rd7028dc 1 1 r""" 2 For information about polarised and magnetic scattering, click here_. 3 4 .. _here: polar_mag_help.html 2 For information about polarised and magnetic scattering, see 3 the :doc:`magnetic help <../sasgui/perspectives/fitting/mag_help>` documentation. 5 4 6 5 Definition -
sasmodels/models/stacked_disks.py
re664a11 r53215cf 100 100 J S Higgins and H C Benoit, *Polymers and Neutron Scattering*, Clarendon, Oxford, 1994 101 101 102 **Author:** NIST IGOR/DANSE **on:** pre 2010 103 104 **Last Modified by:** Piotr Rozyczko **on:** February 18, 2016 105 106 **Last Reviewed by:** Richard Heenan **on:** March 22, 2016 102 107 """ 103 108 … … 157 162 158 163 tests = [ 159 # Accuracy tests based on content in test/utest_extra_models.py 164 # Accuracy tests based on content in test/utest_extra_models.py. 165 # Added 2 tests with n_stacked = 5 using SasView 3.1.2 - PDB 160 166 [{'core_thick': 10.0, 161 167 'layer_thick': 15.0, … … 171 177 'background': 0.001, 172 178 }, 0.001, 5075.12], 179 180 [{'core_thick': 10.0, 181 'layer_thick': 15.0, 182 'radius': 3000.0, 183 'n_stacking': 5.0, 184 'sigma_d': 0.0, 185 'sld_core': 4.0, 186 'sld_layer': -0.4, 187 'solvent_sd': 5.0, 188 'theta': 0.0, 189 'phi': 0.0, 190 'scale': 0.01, 191 'background': 0.001, 192 }, 0.001, 5065.12793824], 193 194 [{'core_thick': 10.0, 195 'layer_thick': 15.0, 196 'radius': 3000.0, 197 'n_stacking': 5.0, 198 'sigma_d': 0.0, 199 'sld_core': 4.0, 200 'sld_layer': -0.4, 201 'solvent_sd': 5.0, 202 'theta': 0.0, 203 'phi': 0.0, 204 'scale': 0.01, 205 'background': 0.001, 206 }, 0.164, 0.0127673597265], 173 207 174 208 [{'core_thick': 10.0,
Note: See TracChangeset
for help on using the changeset viewer.