Changeset d8c53fa3 in sasview for src/sas/qtgui/Perspectives
- Timestamp:
- Oct 26, 2017 9:24:13 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:
- f582224
- Parents:
- 73a24fa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/PrInversion/dmax.py
r73a24fa rd8c53fa3 121 121 self.pr_state.d_max = x 122 122 try: 123 out, cov = self.pr_state.invert(self. nfunc)123 out, cov = self.pr_state.invert(self.pr_state.nfunc) 124 124 125 125 iq0.append(self.pr_state.iq0(out)) … … 174 174 from sas.sascalc.dataloader.loader import Loader 175 175 176 data = Loader().load(" ../../../../../test/pr_inversion/test/sphere_80.txt")[0]176 data = Loader().load("test/pr_inversion/test/sphere_80.txt")[0] 177 177 pr_state = Invertor() 178 pr_state.d_max = 1 60.0178 pr_state.d_max = 130.0 179 179 pr_state.alpha = 0.0007 180 180 pr_state.x = data.x 181 181 pr_state.y = data.y 182 pr_state.err = 0.15*np.sqrt(data.y) 182 pr_state.err = 0.15*data.y 183 pr_state.nfunc = 15 184 185 print(data.x, data.y, 0.15*np.sqrt(data.y)) 183 186 184 187 DLG = DmaxWindow(pr_state, 15, reactor)
Note: See TracChangeset
for help on using the changeset viewer.