Changeset eb46451 in sasmodels
- Timestamp:
- Jan 21, 2016 4:58:11 PM (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:
- caeb06d
- Parents:
- 7d256c8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/compare.py
r82c299f reb46451 86 86 elif p.endswith('_pd'): 87 87 return [0, 1] 88 elif p in ['background', 'scale']: 88 elif p == 'background': 89 return [0, 10] 90 elif p == 'scale': 89 91 return [0, 1e3] 92 elif p == 'case_num': 93 # RPA hack 94 return [0, 10] 95 elif v < 0: 96 # Kxy parameters in rpa model can be negative 97 return [2*v, -2*v] 90 98 else: 91 99 return [0, (2*v if v>0 else 1)]
Note: See TracChangeset
for help on using the changeset viewer.