Changeset 40a87fa in sasmodels for sasmodels/bumps_model.py
- Timestamp:
- Aug 8, 2016 11:24:11 AM (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:
- 2472141
- Parents:
- 2d65d51
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/bumps_model.py
r04dc697 r40a87fa 13 13 from __future__ import print_function 14 14 15 __all__ = [ "Model", "Experiment"]15 __all__ = ["Model", "Experiment"] 16 16 17 17 import numpy as np # type: ignore … … 204 204 """ 205 205 data, theory, resid = self._data, self.theory(), self.residuals() 206 plot_theory(data, theory, resid, view, Iq_calc =self.Iq_calc)206 plot_theory(data, theory, resid, view, Iq_calc=self.Iq_calc) 207 207 208 208 def simulate_data(self, noise=None): … … 223 223 if self.data_type == "sesans": 224 224 np.savetxt(basename+".dat", np.array([self._data.x, self.theory()]).T) 225 pass226 225 227 226 def __getstate__(self):
Note: See TracChangeset
for help on using the changeset viewer.