{"action":"opened","issue":{"url":"https://api.github.com/repos/mantidproject/mantid/issues/20599","repository_url":"https://api.github.com/repos/mantidproject/mantid","labels_url":"https://api.github.com/repos/mantidproject/mantid/issues/20599/labels{/name}","comments_url":"https://api.github.com/repos/mantidproject/mantid/issues/20599/comments","events_url":"https://api.github.com/repos/mantidproject/mantid/issues/20599/events","html_url":"https://github.com/mantidproject/mantid/issues/20599","id":259754305,"number":20599,"title":"Procedure for error calculations used by Rebin2D is incorrect.","user":{"login":"abuts","id":1109606,"avatar_url":"https://avatars0.githubusercontent.com/u/1109606?v=4","gravatar_id":"","url":"https://api.github.com/users/abuts","html_url":"https://github.com/abuts","followers_url":"https://api.github.com/users/abuts/followers","following_url":"https://api.github.com/users/abuts/following{/other_user}","gists_url":"https://api.github.com/users/abuts/gists{/gist_id}","starred_url":"https://api.github.com/users/abuts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abuts/subscriptions","organizations_url":"https://api.github.com/users/abuts/orgs","repos_url":"https://api.github.com/users/abuts/repos","events_url":"https://api.github.com/users/abuts/events{/privacy}","received_events_url":"https://api.github.com/users/abuts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-22T09:22:31Z","updated_at":"2017-09-22T09:22:31Z","closed_at":null,"author_association":"MEMBER","body":"### Expected behavior\r\nThe code:\r\n```Python\r\n\r\nLoad(Filename=r'MAR22152_Ei15.00meV.nxspe', OutputWorkspace='Yb2_Ei15.00meV')\r\n\r\n# # To generate 1D files for Yb2 data after background subtraction\r\nSofQWNormalisedPolygon(InputWorkspace='Yb2_Ei15.00meV', OutputWorkspace='Yb2_Ei15.00meV_subt_SQW_coarse', QAxisBinning='0,0.001,5', EMode='Direct')\r\n#SofQWCentre(InputWorkspace='Yb2_Ei15.00meV_subt', OutputWorkspace='Yb2_Ei15.00meV_subt_SQW_coarse', QAxisBinning='0,0.001,5', EMode='Direct')\r\nSofQWNormalisedPolygon(InputWorkspace='Yb2_Ei15.00meV', OutputWorkspace='Yb2_Ei15.00meV_subt_SQW_fine', QAxisBinning='0,0.01,5', EMode='Direct')\r\n#SofQWCentre(InputWorkspace='Yb2_Ei15.00meV_subt', OutputWorkspace='Yb2_Ei15.00meV_subt_SQW_coarse', QAxisBinning='0,0.001,5', EMode='Direct')\r\n\r\nRebin2D(InputWorkspace='Yb2_Ei15.00meV_subt_SQW_coarse', OutputWorkspace='Yb2_Ei15.00meV_bcksubt_1D_coarseQ', Axis1Binning='-7,0.02,15', Axis2Binning='0,3,3', UseFractionalArea=True)\r\nRebin2D(InputWorkspace='Yb2_Ei15.00meV_subt_SQW_fine', OutputWorkspace='Yb2_Ei15.00meV_bcksubt_1D_fineQ', Axis1Binning='-7,0.02,15', Axis2Binning='0,3,3', UseFractionalArea=True)\r\n\r\n```\r\ncalculates signal and error along the trajectory, chosen by user with different accuracy. \r\nThe data file used by the script can be downloaded from:\r\n\r\nOne would expect the signal and error calculated by the script to be independent on the resolution\r\n\r\n### Actual behaviour\r\n\r\nWhile the signal does not depend on the resolution the error do. In fact, changing resolution one can get almost any value for error.  In addition to that, the calculated error is substantially different from the one calculated by reference code (Mslice)\r\n\r\n### Steps to reproduce the behaviour\r\nSee above\r\n### Platforms affected\r\nany.\r\n"}}
{"actor":{"display_login":"abuts"}}