Changeset 3e20577 in sasview
- Timestamp:
- Oct 26, 2017 3:30:11 AM (7 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 4aa62c8
- Parents:
- 6060a86
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/PrInversion/dmax.py
r6060a86 r3e20577 111 111 float(self.model.item(W.NPTS).text())) 112 112 113 original = self.pr_state.d_max 113 114 for x in xs: 114 115 self.pr_state.d_max = x … … 127 128 print(msg) 128 129 # logger.error(msg) 130 self.pr_state.d_max = original 131 129 132 self.plot.plot(data=Data1D(xs, rg), marker="-") 130 133 … … 138 141 from twisted.internet import reactor 139 142 from sas.sascalc.pr.invertor import Invertor 143 from sas.sascalc.dataloader.loader import Loader 144 145 data = Loader().load("../../../../../test/pr_inversion/test/sphere_80.txt")[0] 140 146 pr_state = Invertor() 147 pr_state.x = data.x 148 pr_state.y = data.y 149 pr_state.err = data.dy+1e-3 150 141 151 DLG = DmaxWindow(pr_state, 10, reactor) 142 152 DLG.show()
Note: See TracChangeset
for help on using the changeset viewer.