{"action":"closed","issue":{"url":"https://api.github.com/repos/kwikteam/phy/issues/94","labels_url":"https://api.github.com/repos/kwikteam/phy/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/kwikteam/phy/issues/94/comments","events_url":"https://api.github.com/repos/kwikteam/phy/issues/94/events","html_url":"https://github.com/kwikteam/phy/issues/94","id":56888169,"number":94,"title":"Better algorithm for auto WaveformView scaling","user":{"login":"nippoo","id":1363114,"avatar_url":"https://avatars.githubusercontent.com/u/1363114?v=3","gravatar_id":"","url":"https://api.github.com/users/nippoo","html_url":"https://github.com/nippoo","followers_url":"https://api.github.com/users/nippoo/followers","following_url":"https://api.github.com/users/nippoo/following{/other_user}","gists_url":"https://api.github.com/users/nippoo/gists{/gist_id}","starred_url":"https://api.github.com/users/nippoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nippoo/subscriptions","organizations_url":"https://api.github.com/users/nippoo/orgs","repos_url":"https://api.github.com/users/nippoo/repos","events_url":"https://api.github.com/users/nippoo/events{/privacy}","received_events_url":"https://api.github.com/users/nippoo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kwikteam/phy/labels/component:%20waveform","name":"component: waveform","color":"2171b5"},{"url":"https://api.github.com/repos/kwikteam/phy/labels/enhancement","name":"enhancement","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-07T00:37:23Z","updated_at":"2015-04-04T13:08:46Z","closed_at":"2015-04-04T13:08:46Z","body":"At the moment, the waveforms are just positioned based on their probe location; it is possible to pan and zoom in both axes to refine this, as well as increase/decrease amplitude but this should be automatic. Default view for IMEC-128ch is not ideal.\r\n\r\ni.e. minimize whitespace in the view: probably something along the lines of\r\n\r\n- set waveform width so that the total width takes up 80% of the view (maybe set a maximum default width for each waveform, too wide looks odd)\r\n- scale so the whitespace is evenly distributed\r\n- set waveform amplitude so that they don't overlap (maybe take ~5 spikes from each cluster when calculating this)"}}