Changeset 0d99a6a in sasmodels
- Timestamp:
- Apr 8, 2016 5:52:54 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:
- e62a134
- Parents:
- 7edce22
- Location:
- sasmodels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/modelinfo.py
r7edce22 r0d99a6a 1 """ 2 Model Info and Parameter Tables 3 =============================== 4 5 Defines :class:`ModelInfo` and :class:`ParameterTable` and the routines for 6 manipulating them. In particular, :func:`make_model_info` converts a kernel 7 module into the model info block as seen by the rest of the sasmodels library. 8 """ 1 9 from copy import copy 2 10 from os.path import abspath, basename, splitext … … 506 514 507 515 def user_parameters(self, pars={}, is2d=True): 508 # type: (Dict[str, float], bool) -> List[ str]516 # type: (Dict[str, float], bool) -> List[Parameter] 509 517 """ 510 518 Return the list of parameters for the given data type. -
sasmodels/sasview_model.py
r4bfd277 r0d99a6a 64 64 """ 65 65 kernel_module = generate.load_kernel_module(name) 66 model_info = modelinfo.make_model_info(kernel_module) 66 #model_info = modelinfo.make_model_info(kernel_module) 67 model_info = modelinfo.make_model_info("hello") 67 68 return _make_model_from_info(model_info) 68 69
Note: See TracChangeset
for help on using the changeset viewer.