Changeset 9a9f5b5 in sasmodels for compare.py
- Timestamp:
- Jul 22, 2014 11:16:56 AM (10 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:
- d772f5d
- Parents:
- 79fcc40
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
compare.py
r09e15be r9a9f5b5 15 15 16 16 def sasview_model(modelname, **pars): 17 modelname = modelname .capitalize()+"Model"17 modelname = modelname+"Model" 18 18 sans = __import__('sans.models.'+modelname) 19 19 ModelClass = getattr(getattr(sans.models,modelname,None),modelname,None) … … 54 54 ) 55 55 56 model = sasview_model(' cylinder', **pars)56 model = sasview_model('Cylinder', **pars) 57 57 tic() 58 58 for i in range(N): … … 91 91 axis_phi_pd_n=6, axis_phi_pd_nsigma=3,) 92 92 93 model = sasview_model(' ellipsoid', **pars)93 model = sasview_model('Ellipsoid', **pars) 94 94 tic() 95 95 for i in range(N): … … 130 130 length_pd=0.1, length_pd_n=1, length_pd_nsigma=0, 131 131 thickness_pd=0.1, thickness_pd_n=1, thickness_pd_nsigma=0, 132 axis_theta_pd_n= 10, axis_theta_pd_nsigma=3,133 axis_phi_pd=0.0008748, axis_phi_pd_n= 10, axis_phi_pd_nsigma=3,)132 axis_theta_pd_n=20, axis_theta_pd_nsigma=3, 133 axis_phi_pd=0.0008748, axis_phi_pd_n=60, axis_phi_pd_nsigma=3,) 134 134 135 135 model = sasview_model('CoreShellCylinder', **pars)
Note: See TracChangeset
for help on using the changeset viewer.