{"action":"opened","issue":{"url":"https://api.github.com/repos/guaix-ucm/numina/issues/41","labels_url":"https://api.github.com/repos/guaix-ucm/numina/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/guaix-ucm/numina/issues/41/comments","events_url":"https://api.github.com/repos/guaix-ucm/numina/issues/41/events","html_url":"https://github.com/guaix-ucm/numina/issues/41","id":95691736,"number":41,"title":"numina.array.wavecal.findpeaks1d with method =2 fails when small peaks","user":{"login":"sergiopasra","id":890104,"avatar_url":"https://avatars.githubusercontent.com/u/890104?v=3","gravatar_id":"","url":"https://api.github.com/users/sergiopasra","html_url":"https://github.com/sergiopasra","followers_url":"https://api.github.com/users/sergiopasra/followers","following_url":"https://api.github.com/users/sergiopasra/following{/other_user}","gists_url":"https://api.github.com/users/sergiopasra/gists{/gist_id}","starred_url":"https://api.github.com/users/sergiopasra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergiopasra/subscriptions","organizations_url":"https://api.github.com/users/sergiopasra/orgs","repos_url":"https://api.github.com/users/sergiopasra/repos","events_url":"https://api.github.com/users/sergiopasra/events{/privacy}","received_events_url":"https://api.github.com/users/sergiopasra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-17T16:23:08Z","updated_at":"2015-07-17T16:23:08Z","closed_at":null,"body":"In method=2, data is fitted to a gaussian by taken log of Y and then fitting a parabola. If Y has negative values, then \r\n\r\nRuntimeWarning: invalid value encountered in log\r\n  poly = np.polyfit(x_fit, np.log(y_fit), 2)\r\n\r\nis raised"}}