Changeset 8d62008 in sasmodels for sasmodels/modelinfo.py
- Timestamp:
- Apr 15, 2016 12:16:41 PM (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:
- 8f6817d
- Parents:
- 3599d36
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/modelinfo.py
ra5b8477 r8d62008 13 13 14 14 import numpy as np # type: ignore 15 16 from .details import mono_details17 15 18 16 # Optional typing … … 22 20 pass 23 21 else: 24 from .details import CallDetails25 22 Limits = Tuple[float, float] 26 23 #LimitsOrChoice = Union[Limits, Tuple[Sequence[str]]] … … 658 655 info.hidden = getattr(kernel_module, 'hidden', None) # type: ignore 659 656 660 # Precalculate the monodisperse parameter details661 info.mono_details = mono_details(info)662 657 return info 663 658 … … 811 806 #: the SESANS correlation function. Note: not currently implemented. 812 807 sesans = None # type: Optional[Callable[[np.ndarray], np.ndarray]] 813 #: :class:details.CallDetails data for mono-disperse function evaluation.814 #: This field is created automatically by the model loader, and should815 #: not be defined as part of the model definition file.816 mono_details = None # type: CallDetails817 808 818 809 def __init__(self):
Note: See TracChangeset
for help on using the changeset viewer.