Changeset 32398dc in sasmodels for sasmodels/convert.py
- Timestamp:
- Nov 29, 2017 8:23:16 AM (6 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- fa79f5c
- Parents:
- e65c3ba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/convert.py
re65c3ba r32398dc 6 6 import math 7 7 import warnings 8 9 import numpy as np 8 10 9 11 from .conversion_table import CONVERSION_TABLE … … 146 148 return newpars 147 149 148 def _conversion_target(model_name, version=(3, 1,2)):150 def _conversion_target(model_name, version=(3, 1, 2)): 149 151 """ 150 152 Find the sasmodel name which translates into the sasview name. … … 600 602 601 603 pars = compare.get_pars(model_info, use_demo=False) 602 pars = compare.randomize_pars(model_info, pars, seed=seed) 604 if seed is not None: 605 np.random.seed(seed) 606 pars = compare.randomize_pars(model_info, pars) 603 607 if name == "teubner_strey": 604 608 # T-S model is underconstrained, so fix the assumptions.
Note: See TracChangeset
for help on using the changeset viewer.