{"action":"created","issue":{"url":"https://api.github.com/repos/m-labs/artiq/issues/515","repository_url":"https://api.github.com/repos/m-labs/artiq","labels_url":"https://api.github.com/repos/m-labs/artiq/issues/515/labels{/name}","comments_url":"https://api.github.com/repos/m-labs/artiq/issues/515/comments","events_url":"https://api.github.com/repos/m-labs/artiq/issues/515/events","html_url":"https://github.com/m-labs/artiq/issues/515","id":165821843,"number":515,"title":"Scale/units in datasets","user":{"login":"r-srinivas","id":11219276,"avatar_url":"https://avatars.githubusercontent.com/u/11219276?v=3","gravatar_id":"","url":"https://api.github.com/users/r-srinivas","html_url":"https://github.com/r-srinivas","followers_url":"https://api.github.com/users/r-srinivas/followers","following_url":"https://api.github.com/users/r-srinivas/following{/other_user}","gists_url":"https://api.github.com/users/r-srinivas/gists{/gist_id}","starred_url":"https://api.github.com/users/r-srinivas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r-srinivas/subscriptions","organizations_url":"https://api.github.com/users/r-srinivas/orgs","repos_url":"https://api.github.com/users/r-srinivas/repos","events_url":"https://api.github.com/users/r-srinivas/events{/privacy}","received_events_url":"https://api.github.com/users/r-srinivas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/m-labs/artiq/labels/state:needs-discussion","name":"state:needs-discussion","color":"006b75"},{"url":"https://api.github.com/repos/m-labs/artiq/labels/type:feature","name":"type:feature","color":"c2e0c6"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/m-labs/artiq/milestones/5","html_url":"https://github.com/m-labs/artiq/milestones/3.0","labels_url":"https://api.github.com/repos/m-labs/artiq/milestones/5/labels","id":1869292,"number":5,"title":"3.0","description":"","creator":{"login":"sbourdeauducq","id":720864,"avatar_url":"https://avatars.githubusercontent.com/u/720864?v=3","gravatar_id":"","url":"https://api.github.com/users/sbourdeauducq","html_url":"https://github.com/sbourdeauducq","followers_url":"https://api.github.com/users/sbourdeauducq/followers","following_url":"https://api.github.com/users/sbourdeauducq/following{/other_user}","gists_url":"https://api.github.com/users/sbourdeauducq/gists{/gist_id}","starred_url":"https://api.github.com/users/sbourdeauducq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbourdeauducq/subscriptions","organizations_url":"https://api.github.com/users/sbourdeauducq/orgs","repos_url":"https://api.github.com/users/sbourdeauducq/repos","events_url":"https://api.github.com/users/sbourdeauducq/events{/privacy}","received_events_url":"https://api.github.com/users/sbourdeauducq/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":0,"state":"open","created_at":"2016-07-07T07:05:29Z","updated_at":"2016-07-31T20:59:02Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-07-15T16:01:15Z","updated_at":"2016-08-03T22:34:24Z","closed_at":null,"body":"Would it be possible to have scale/units for datasets? Would help make some of values easier to read. "},"comment":{"url":"https://api.github.com/repos/m-labs/artiq/issues/comments/237396220","html_url":"https://github.com/m-labs/artiq/issues/515#issuecomment-237396220","issue_url":"https://api.github.com/repos/m-labs/artiq/issues/515","id":237396220,"user":{"login":"dhslichter","id":9222487,"avatar_url":"https://avatars.githubusercontent.com/u/9222487?v=3","gravatar_id":"","url":"https://api.github.com/users/dhslichter","html_url":"https://github.com/dhslichter","followers_url":"https://api.github.com/users/dhslichter/followers","following_url":"https://api.github.com/users/dhslichter/following{/other_user}","gists_url":"https://api.github.com/users/dhslichter/gists{/gist_id}","starred_url":"https://api.github.com/users/dhslichter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhslichter/subscriptions","organizations_url":"https://api.github.com/users/dhslichter/orgs","repos_url":"https://api.github.com/users/dhslichter/repos","events_url":"https://api.github.com/users/dhslichter/events{/privacy}","received_events_url":"https://api.github.com/users/dhslichter/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T22:34:24Z","updated_at":"2016-08-03T22:34:24Z","body":"Could one implement this by having datasets take optional units fields?  If populated with a recognized SI unit, display in the dataset list would handle the appropriate prefix notation for the unit (e.g. 10000 with units \"Hz\" would display as 10 kHz).  In the HDF5, the dataset would have two subfields, one containing the data and another subfield for the unit definition.  \r\n\r\nWhen creating a dataset, one would call `set_dataset(name, units=\"Hz\")` for example to set things up."}}
{"actor":{"display_login":"dhslichter"}}