Changeset 33d7be3 in sasmodels
- Timestamp:
- Sep 7, 2018 11:04:17 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:
- b763f9d
- Parents:
- 2a12351b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/product.py
r5399809 r33d7be3 18 18 import numpy as np # type: ignore 19 19 20 from .modelinfo import ParameterTable, ModelInfo, Parameter 20 from .modelinfo import ParameterTable, ModelInfo, Parameter, parse_parameter 21 21 from .kernel import KernelModel, Kernel 22 22 from .details import make_details, dispersion_mesh … … 42 42 pars = [] 43 43 if p_info.have_Fq: 44 par = Parameter("structure_factor_mode", ["P*S","P*(1+beta*(S-1))"], 0, None, "",44 par = parse_parameter("structure_factor_mode", "", 0, [["P*S","P*(1+beta*(S-1))"]], "", 45 45 "Structure factor calculation") 46 46 pars.append(par) 47 47 if p_info.effective_radius_type is not None: 48 par = Parameter("radius_effective_mode", ["unconstrained"] + p_info.effective_radius_type, 0, None, "",48 par = parse_parameter("radius_effective_mode", "", 0, [["unconstrained"] + p_info.effective_radius_type], "", 49 49 "Effective radius calculation") 50 50 pars.append(par)
Note: See TracChangeset
for help on using the changeset viewer.