Changeset 17bbadd in sasmodels for sasmodels/sasview_model.py
- Timestamp:
- Mar 15, 2016 10:47:12 AM (8 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:
- 754e27b
- Parents:
- 5ceb7d0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/sasview_model.py
reafc9fa r17bbadd 22 22 from . import core 23 23 24 def make_class(model_ definition, dtype='single', namestyle='name'):24 def make_class(model_info, dtype='single', namestyle='name'): 25 25 """ 26 26 Load the sasview model defined in *kernel_module*. … … 32 32 compatible with SasView. 33 33 """ 34 model = core. load_model(model_definition, dtype=dtype)34 model = core.build_model(model_info, dtype=dtype) 35 35 def __init__(self, multfactor=1): 36 36 SasviewModel.__init__(self, model)
Note: See TracChangeset
for help on using the changeset viewer.