Changes in / [d0876c9d:fb5914f] in sasmodels
- Location:
- sasmodels
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/compare.py
rfa1582e rd19962c 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>0787 for engine, count in zip(engines, [n1, n2]))788 786 789 787 # Get demo parameters from model definition, or use default parameters … … 813 811 #import pprint; pprint.pprint(model_info) 814 812 constrain_pars(model_info, pars) 815 if use_sasview: 816 constrain_new_to_old(model_info, pars) 813 constrain_new_to_old(model_info, pars) 817 814 if opts['show_pars']: 818 815 print(str(parlist(model_info, pars, opts['is2d']))) -
sasmodels/convert.py
r2a3e1f5 rce896fd 138 138 namelist = name.split('*') if '*' in name else [name] 139 139 for name in namelist: 140 if name == 'stacked_disks': 141 _remove_pd(oldpars, 'n_stacking', name) 142 elif name == 'pearl_necklace': 140 if name == 'pearl_necklace': 143 141 _remove_pd(oldpars, 'num_pearls', name) 144 142 _remove_pd(oldpars, 'thick_string', name) -
sasmodels/models/_spherepy.py
rd7028dc r49da079 1 1 r""" 2 For information about polarised and magnetic scattering, see 3 the :doc:`magnetic help <../sasgui/perspectives/fitting/mag_help>` documentation. 2 For information about polarised and magnetic scattering, click here_. 3 4 .. _here: polar_mag_help.html 4 5 5 6 Definition -
sasmodels/models/fuzzy_sphere.py
rd7028dc r0cc31e1 1 1 r""" 2 For information about polarised and magnetic scattering, see 3 the :doc:`magnetic help <../sasgui/perspectives/fitting/mag_help>` documentation. 2 For information about polarised and magnetic scattering, click here_. 3 4 .. _here: polar_mag_help.html 4 5 5 6 Definition -
sasmodels/models/multilayer_vesicle.py
rd7028dc rc6ca41e 29 29 is used as the effective radius for *S(Q)* when $P(Q) * S(Q)$ is applied. 30 30 31 For information about polarised and magnetic scattering, see 32 the :doc:`magnetic help <../sasgui/perspectives/fitting/mag_help>` documentation. 31 32 33 For information about polarised and magnetic scattering, click here_. 34 35 .. _here: polar_mag_help.html 33 36 34 37 This code is based on the form factor calculations implemented in the NIST -
sasmodels/models/sphere.py
rd7028dc r49da079 1 1 r""" 2 For information about polarised and magnetic scattering, see 3 the :doc:`magnetic help <../sasgui/perspectives/fitting/mag_help>` documentation. 2 For information about polarised and magnetic scattering, click here_. 3 4 .. _here: polar_mag_help.html 4 5 5 6 Definition -
sasmodels/models/stacked_disks.py
r53215cf re664a11 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 2010103 104 **Last Modified by:** Piotr Rozyczko **on:** February 18, 2016105 106 **Last Reviewed by:** Richard Heenan **on:** March 22, 2016107 102 """ 108 103 … … 162 157 163 158 tests = [ 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 159 # Accuracy tests based on content in test/utest_extra_models.py 166 160 [{'core_thick': 10.0, 167 161 'layer_thick': 15.0, … … 177 171 'background': 0.001, 178 172 }, 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],207 173 208 174 [{'core_thick': 10.0,
Note: See TracChangeset
for help on using the changeset viewer.