{"action":"closed","issue":{"url":"https://api.github.com/repos/SiLab-Bonn/testbeam_analysis/issues/57","repository_url":"https://api.github.com/repos/SiLab-Bonn/testbeam_analysis","labels_url":"https://api.github.com/repos/SiLab-Bonn/testbeam_analysis/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/SiLab-Bonn/testbeam_analysis/issues/57/comments","events_url":"https://api.github.com/repos/SiLab-Bonn/testbeam_analysis/issues/57/events","html_url":"https://github.com/SiLab-Bonn/testbeam_analysis/issues/57","id":206482267,"number":57,"title":"[dut_alignment] Crash in alignment for example","user":{"login":"DavidLP","id":6951141,"avatar_url":"https://avatars.githubusercontent.com/u/6951141?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidLP","html_url":"https://github.com/DavidLP","followers_url":"https://api.github.com/users/DavidLP/followers","following_url":"https://api.github.com/users/DavidLP/following{/other_user}","gists_url":"https://api.github.com/users/DavidLP/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidLP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidLP/subscriptions","organizations_url":"https://api.github.com/users/DavidLP/orgs","repos_url":"https://api.github.com/users/DavidLP/repos","events_url":"https://api.github.com/users/DavidLP/events{/privacy}","received_events_url":"https://api.github.com/users/DavidLP/received_events","type":"User","site_admin":false},"labels":[{"id":534349979,"url":"https://api.github.com/repos/SiLab-Bonn/testbeam_analysis/labels/regression","name":"regression","color":"b60205","default":false}],"state":"closed","locked":false,"assignee":{"login":"laborleben","id":8696773,"avatar_url":"https://avatars.githubusercontent.com/u/8696773?v=3","gravatar_id":"","url":"https://api.github.com/users/laborleben","html_url":"https://github.com/laborleben","followers_url":"https://api.github.com/users/laborleben/followers","following_url":"https://api.github.com/users/laborleben/following{/other_user}","gists_url":"https://api.github.com/users/laborleben/gists{/gist_id}","starred_url":"https://api.github.com/users/laborleben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laborleben/subscriptions","organizations_url":"https://api.github.com/users/laborleben/orgs","repos_url":"https://api.github.com/users/laborleben/repos","events_url":"https://api.github.com/users/laborleben/events{/privacy}","received_events_url":"https://api.github.com/users/laborleben/received_events","type":"User","site_admin":false},"assignees":[{"login":"laborleben","id":8696773,"avatar_url":"https://avatars.githubusercontent.com/u/8696773?v=3","gravatar_id":"","url":"https://api.github.com/users/laborleben","html_url":"https://github.com/laborleben","followers_url":"https://api.github.com/users/laborleben/followers","following_url":"https://api.github.com/users/laborleben/following{/other_user}","gists_url":"https://api.github.com/users/laborleben/gists{/gist_id}","starred_url":"https://api.github.com/users/laborleben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laborleben/subscriptions","organizations_url":"https://api.github.com/users/laborleben/orgs","repos_url":"https://api.github.com/users/laborleben/repos","events_url":"https://api.github.com/users/laborleben/events{/privacy}","received_events_url":"https://api.github.com/users/laborleben/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2017-02-09T11:52:38Z","updated_at":"2017-02-13T20:13:33Z","closed_at":"2017-02-13T20:13:33Z","body":"The `telescope_time_reference` crashes now:\r\n\r\n``` bash\r\n2017-02-09 12:46:07,190 - root - [INFO    ] (MainThread) === Calculating residuals ===\r\n2017-02-09 12:46:07,200 - root - [INFO    ] (MainThread) Use alignment data\r\nC:\\Users\\DavidLP\\Miniconda2\\lib\\site-packages\\scipy\\interpolate\\fitpack.py:731: RuntimeWarning: The number of zeros exceeds mest\r\n  warnings.warn(RuntimeWarning(\"The number of zeros exceeds mest\"))\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\DavidLP\\git\\testbeam_analysis\\testbeam_analysis\\examples\\telescope_time_reference.py\", line 247, in <module>\r\n    run_analysis()\r\n  File \"C:\\Users\\DavidLP\\git\\testbeam_analysis\\testbeam_analysis\\examples\\telescope_time_reference.py\", line 169, in run_analysis\r\n    pixel_size=pixel_size)\r\n  File \"C:\\Users\\DavidLP\\git\\testbeam_analysis\\testbeam_analysis\\dut_alignment.py\", line 936, in alignment\r\n    chunk_size=chunk_size)\r\n  File \"C:\\Users\\DavidLP\\git\\testbeam_analysis\\testbeam_analysis\\dut_alignment.py\", line 981, in _duts_alignment\r\n    chunk_size=chunk_size)\r\n  File \"C:\\Users\\DavidLP\\git\\testbeam_analysis\\testbeam_analysis\\dut_alignment.py\", line 1059, in _calculate_translation_alignment\r\n    chunk_size=chunk_size)\r\n  File \"C:\\Users\\DavidLP\\git\\testbeam_analysis\\testbeam_analysis\\result_analysis.py\", line 438, in calculate_residuals\r\n    output_pdf=output_pdf\r\n  File \"C:\\Users\\DavidLP\\git\\testbeam_analysis\\testbeam_analysis\\tools\\analysis_utils.py\", line 857, in fit_residuals_vs_position\r\n    fit, cov = curve_fit(linear, xcenter[x_sel], y_mean[x_sel], sigma=y_rel_err[x_sel], absolute_sigma=False)\r\n  File \"C:\\Users\\DavidLP\\Miniconda2\\lib\\site-packages\\scipy\\optimize\\minpack.py\", line 676, in curve_fit\r\n    res = leastsq(func, p0, Dfun=jac, full_output=1, **kwargs)\r\n  File \"C:\\Users\\DavidLP\\Miniconda2\\lib\\site-packages\\scipy\\optimize\\minpack.py\", line 380, in leastsq\r\n    raise TypeError('Improper input: N=%s must not exceed M=%s' % (n, m))\r\nTypeError: Improper input: N=2 must not exceed M=1\r\n```"}}
{"actor":{"display_login":"laborleben"}}