Changeset b297ba9 in sasmodels for sasmodels/sasview_model.py
- Timestamp:
- Mar 20, 2019 7:03:50 PM (5 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 4e28511
- Parents:
- 0d362b7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/sasview_model.py
rfd7291e rb297ba9 15 15 import traceback 16 16 import logging 17 from os.path import basename, splitext, abspath , getmtime17 from os.path import basename, splitext, abspath 18 18 try: 19 19 import _thread as thread … … 31 31 from . import modelinfo 32 32 from .details import make_kernel_args, dispersion_mesh 33 from .kernelcl import reset_environment34 33 35 34 # pylint: disable=unused-import … … 688 687 qx, # type: Sequence[float] 689 688 qy=None # type: Optional[Sequence[float]] 690 689 ): 691 690 # type: (...) -> Tuple[np.ndarray, Callable[[], collections.OrderedDict[str, np.ndarray]]] 692 691 """ … … 938 937 # type: () -> None 939 938 """ 940 Load and run cylinder model as sas -models-CylinderModel939 Load and run cylinder model as sas.models.CylinderModel 941 940 """ 942 941 if not SUPPORT_OLD_STYLE_PLUGINS: … … 980 979 981 980 def magnetic_demo(): 981 """ 982 Demostrate call to magnetic model. 983 """ 982 984 Model = _make_standard_model('sphere') 983 985 model = Model()
Note: See TracChangeset
for help on using the changeset viewer.