- Timestamp:
- Mar 25, 2019 5:27:29 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl
- Children:
- 2e7be0d
- Parents:
- b415abc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/SmearingWidget.py
rb415abc ra5f7bf4 400 400 elif data.dqx_data.any() != 0 and data.dqy_data.any() != 0: 401 401 smear_type = "Pinhole2d" 402 dq_l = GuiUtils.formatNumber(np.average(data.dqx_data )/abs(data.qx_data)*100., high=True)403 dq_r = GuiUtils.formatNumber(np.average(data.dqy_data )/abd(data.qy_data)*100., high=True)402 dq_l = GuiUtils.formatNumber(np.average(data.dqx_data/np.abs(data.qx_data))*100., high=True) 403 dq_r = GuiUtils.formatNumber(np.average(data.dqy_data/np.abs(data.qy_data))*100., high=True) 404 404 return smear_type, dq_l, dq_r 405 405 else:
Note: See TracChangeset
for help on using the changeset viewer.