Changeset 64614ad in sasmodels
- Timestamp:
- Dec 29, 2016 1:57:05 PM (8 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- fcb33e4
- Parents:
- fd877f5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/sasview_model.py
r8977226 r64614ad 583 583 % type(qdist)) 584 584 585 def get_composition_models(self): 586 """ 587 Returns usable models that compose this model 588 """ 589 s_model = None 590 p_model = None 591 if hasattr(self._model_info, "composition") \ 592 and self._model_info.composition is not None: 593 p_model = _make_model_from_info(self._model_info.composition[1][0])() 594 s_model = _make_model_from_info(self._model_info.composition[1][1])() 595 return p_model, s_model 596 585 597 def calculate_Iq(self, qx, qy=None): 586 598 # type: (Sequence[float], Optional[Sequence[float]]) -> np.ndarray
Note: See TracChangeset
for help on using the changeset viewer.