Changeset bf8c271 in sasmodels
- Timestamp:
- Apr 10, 2017 10:57:40 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:
- 2662828
- Parents:
- b2921d0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/sasview_model.py
r749a7d4 rbf8c271 148 148 _previous_name = model.name 149 149 model.name = model.id 150 150 151 151 # If the new model name is still in the model list (for instance, 152 152 # if we put a cylinder.py in our plug-in directory), then append … … 598 598 return p_model, s_model 599 599 600 601 def calc_composition_models(self, qx): 602 with calculation_lock: 603 self._calculate_Iq(qx) 604 return self._intermediate_results 605 600 606 def calculate_Iq(self, qx, qy=None): 601 607 # type: (Sequence[float], Optional[Sequence[float]]) -> np.ndarray … … 637 643 result = calculator(call_details, values, cutoff=self.cutoff, 638 644 magnetic=is_magnetic) 645 self._intermediate_results = getattr(calculator, 'results', None) 639 646 calculator.release() 640 647 self._model.release()
Note: See TracChangeset
for help on using the changeset viewer.