Changeset 9dcb21d in sasmodels
- Timestamp:
- Apr 11, 2017 10:20:36 AM (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:
- a75347f
- Parents:
- 2662828
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/sasview_model.py
rbf8c271 r9dcb21d 586 586 % type(qdist)) 587 587 588 def get_composition_models(self):589 """590 Returns usable models that compose this model591 """592 s_model = None593 p_model = None594 if hasattr(self._model_info, "composition") \595 and self._model_info.composition is not None:596 p_model = _make_model_from_info(self._model_info.composition[1][0])()597 s_model = _make_model_from_info(self._model_info.composition[1][1])()598 return p_model, s_model599 600 601 588 def calc_composition_models(self, qx): 589 """ 590 returns parts of the composition model or None if not a composition 591 model. 592 """ 602 593 with calculation_lock: 603 594 self._calculate_Iq(qx)
Note: See TracChangeset
for help on using the changeset viewer.