{"action":"created","issue":{"url":"https://api.github.com/repos/StingraySoftware/stingray/issues/130","repository_url":"https://api.github.com/repos/StingraySoftware/stingray","labels_url":"https://api.github.com/repos/StingraySoftware/stingray/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/StingraySoftware/stingray/issues/130/comments","events_url":"https://api.github.com/repos/StingraySoftware/stingray/issues/130/events","html_url":"https://github.com/StingraySoftware/stingray/pull/130","id":168541704,"number":130,"title":"When rebinning logarithmically cross power spectra, use simple floats","user":{"login":"matteobachetti","id":7190189,"avatar_url":"https://avatars.githubusercontent.com/u/7190189?v=3","gravatar_id":"","url":"https://api.github.com/users/matteobachetti","html_url":"https://github.com/matteobachetti","followers_url":"https://api.github.com/users/matteobachetti/followers","following_url":"https://api.github.com/users/matteobachetti/following{/other_user}","gists_url":"https://api.github.com/users/matteobachetti/gists{/gist_id}","starred_url":"https://api.github.com/users/matteobachetti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matteobachetti/subscriptions","organizations_url":"https://api.github.com/users/matteobachetti/orgs","repos_url":"https://api.github.com/users/matteobachetti/repos","events_url":"https://api.github.com/users/matteobachetti/events{/privacy}","received_events_url":"https://api.github.com/users/matteobachetti/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/StingraySoftware/stingray/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-31T22:26:25Z","updated_at":"2016-08-11T21:11:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/StingraySoftware/stingray/pulls/130","html_url":"https://github.com/StingraySoftware/stingray/pull/130","diff_url":"https://github.com/StingraySoftware/stingray/pull/130.diff","patch_url":"https://github.com/StingraySoftware/stingray/pull/130.patch"},"body":"This avoids crashes due to scipy refusing to cast longdoubles into floats (E.g. `cannot cast array data from dtype('float128') to dtype('float64') according to the rule 'safe'` ).\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/stingraysoftware/stingray/130)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/StingraySoftware/stingray/issues/comments/239293925","html_url":"https://github.com/StingraySoftware/stingray/pull/130#issuecomment-239293925","issue_url":"https://api.github.com/repos/StingraySoftware/stingray/issues/130","id":239293925,"user":{"login":"matteobachetti","id":7190189,"avatar_url":"https://avatars.githubusercontent.com/u/7190189?v=3","gravatar_id":"","url":"https://api.github.com/users/matteobachetti","html_url":"https://github.com/matteobachetti","followers_url":"https://api.github.com/users/matteobachetti/followers","following_url":"https://api.github.com/users/matteobachetti/following{/other_user}","gists_url":"https://api.github.com/users/matteobachetti/gists{/gist_id}","starred_url":"https://api.github.com/users/matteobachetti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matteobachetti/subscriptions","organizations_url":"https://api.github.com/users/matteobachetti/orgs","repos_url":"https://api.github.com/users/matteobachetti/repos","events_url":"https://api.github.com/users/matteobachetti/events{/privacy}","received_events_url":"https://api.github.com/users/matteobachetti/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T21:11:27Z","updated_at":"2016-08-11T21:11:27Z","body":"@dhuppenkothen . In a \"real life\" situation, `self.freq` ended up being `longdouble` (probably because the light curve was derived from a long double event list), and the rebin method crashed."}}
{"actor":{"display_login":"matteobachetti"}}