Changeset fa1582e in sasmodels
- Timestamp:
- Mar 29, 2016 10:38:55 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:
- 2a3e1f5, d7028dc
- Parents:
- 53215cf
- Location:
- sasmodels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/compare.py
r1671636 rfa1582e 785 785 n1 = int(args[1]) if len(args) > 1 else 1 786 786 n2 = int(args[2]) if len(args) > 2 else 1 787 use_sasview = any(engine=='sasview' and count>0 788 for engine, count in zip(engines, [n1, n2])) 787 789 788 790 # Get demo parameters from model definition, or use default parameters … … 812 814 #import pprint; pprint.pprint(model_info) 813 815 constrain_pars(model_info, pars) 814 constrain_new_to_old(model_info, pars) 816 if use_sasview: 817 constrain_new_to_old(model_info, pars) 815 818 if opts['show_pars']: 816 819 print(str(parlist(model_info, pars, opts['is2d']))) -
sasmodels/convert.py
r53215cf rfa1582e 183 183 namelist = name.split('*') if '*' in name else [name] 184 184 for name in namelist: 185 if name == 'stacked_disks':186 pars['n_stacking'] = 1187 elif name == 'pearl_necklace':185 #if name == 'stacked_disks': 186 # pars['n_stacking'] = 1 187 if name == 'pearl_necklace': 188 188 pars['string_thickness_pd_n'] = 0 189 189 pars['number_of_pearls_pd_n'] = 0
Note: See TracChangeset
for help on using the changeset viewer.