Changeset 481c4f4 in sasview for src/sas/qtgui/Perspectives/PrInversion/dmax.py
- Timestamp:
- Oct 26, 2017 3:46:49 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:
- e742b63c
- Parents:
- 4aa62c8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/PrInversion/dmax.py
r4aa62c8 r481c4f4 85 85 QtGui.QStandardItem( 86 86 str(1.1*self.pr_state.d_max))) 87 self.model.setItem(W.VARIABLE, 88 QtGui.QStandardItem( "ϲ/dof")) 87 89 88 90 def setupMapper(self): … … 135 137 self.pr_state.d_max = original 136 138 137 self.plot.plot(data=Data1D(xs, rg), marker="-") 139 plotter = unicode(self.model.item(W.VARIABLE).text()) 140 if plotter == u"1-Ï positive fraction": 141 ys = pos_err 142 elif plotter == u"ϲ/dof": 143 ys = chi2 144 elif plotter == u"I(Q=0)": 145 ys = iq0 146 elif plotter == u"Rg": 147 ys = rg 148 elif plotter == u"Oscillation parameter": 149 ys = osc 150 elif plotter == u"Background": 151 ys = bck 152 elif plotter == u"Positive Fraction": 153 ys = pos 154 155 self.plot.plot(data=Data1D(xs, ys), marker="-") 138 156 139 157
Note: See TracChangeset
for help on using the changeset viewer.