{"action":"created","issue":{"url":"https://api.github.com/repos/lebigot/uncertainties/issues/48","repository_url":"https://api.github.com/repos/lebigot/uncertainties","labels_url":"https://api.github.com/repos/lebigot/uncertainties/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/lebigot/uncertainties/issues/48/comments","events_url":"https://api.github.com/repos/lebigot/uncertainties/issues/48/events","html_url":"https://github.com/lebigot/uncertainties/issues/48","id":162169364,"number":48,"title":"Provide upper and lower bounds as array","user":{"login":"icymist","id":3083343,"avatar_url":"https://avatars.githubusercontent.com/u/3083343?v=3","gravatar_id":"","url":"https://api.github.com/users/icymist","html_url":"https://github.com/icymist","followers_url":"https://api.github.com/users/icymist/followers","following_url":"https://api.github.com/users/icymist/following{/other_user}","gists_url":"https://api.github.com/users/icymist/gists{/gist_id}","starred_url":"https://api.github.com/users/icymist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icymist/subscriptions","organizations_url":"https://api.github.com/users/icymist/orgs","repos_url":"https://api.github.com/users/icymist/repos","events_url":"https://api.github.com/users/icymist/events{/privacy}","received_events_url":"https://api.github.com/users/icymist/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-24T15:16:41Z","updated_at":"2016-07-24T17:29:25Z","closed_at":"2016-07-24T17:29:25Z","body":"We currently have:\r\n\r\n```\r\nIn [1]: from uncertainties import ufloat\r\nIn [2]: x = ufloat(10, 0.5)\r\nIn [3]: x.nominal_value\r\nOut[3]: 10.0\r\nIn [4]: x.std_dev\r\nOut[4]: 0.5\r\n```\r\n\r\nWould it be a good idea to have something along the lines of:\r\n```\r\nIn [5]: x.bounds\r\nOut[5]: (9.5, 10.5)\r\n```"},"comment":{"url":"https://api.github.com/repos/lebigot/uncertainties/issues/comments/234790199","html_url":"https://github.com/lebigot/uncertainties/issues/48#issuecomment-234790199","issue_url":"https://api.github.com/repos/lebigot/uncertainties/issues/48","id":234790199,"user":{"login":"lebigot","id":5793,"avatar_url":"https://avatars.githubusercontent.com/u/5793?v=3","gravatar_id":"","url":"https://api.github.com/users/lebigot","html_url":"https://github.com/lebigot","followers_url":"https://api.github.com/users/lebigot/followers","following_url":"https://api.github.com/users/lebigot/following{/other_user}","gists_url":"https://api.github.com/users/lebigot/gists{/gist_id}","starred_url":"https://api.github.com/users/lebigot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lebigot/subscriptions","organizations_url":"https://api.github.com/users/lebigot/orgs","repos_url":"https://api.github.com/users/lebigot/repos","events_url":"https://api.github.com/users/lebigot/events{/privacy}","received_events_url":"https://api.github.com/users/lebigot/received_events","type":"User","site_admin":false},"created_at":"2016-07-24T17:29:25Z","updated_at":"2016-07-24T17:29:25Z","body":"I prefer not to do this, because these \"bound\" values are really not bounds: in this module, 10±0.5 represents a probability distribution \"centered\" around 10 (10 could be the median, for instance), with a _standard deviation_ of 0.5. Thus, numbers with uncertainties are generally _not_ bounded in any way."}}
{"actor":{"display_login":"lebigot"}}