{"action":"created","issue":{"url":"https://api.github.com/repos/astropy/astropy/issues/7970","repository_url":"https://api.github.com/repos/astropy/astropy","labels_url":"https://api.github.com/repos/astropy/astropy/issues/7970/labels{/name}","comments_url":"https://api.github.com/repos/astropy/astropy/issues/7970/comments","events_url":"https://api.github.com/repos/astropy/astropy/issues/7970/events","html_url":"https://github.com/astropy/astropy/pull/7970","id":374044627,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1ODM2MDU5","number":7970,"title":"Little h equivalency","user":{"login":"eteq","id":346587,"node_id":"MDQ6VXNlcjM0NjU4Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/346587?v=4","gravatar_id":"","url":"https://api.github.com/users/eteq","html_url":"https://github.com/eteq","followers_url":"https://api.github.com/users/eteq/followers","following_url":"https://api.github.com/users/eteq/following{/other_user}","gists_url":"https://api.github.com/users/eteq/gists{/gist_id}","starred_url":"https://api.github.com/users/eteq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eteq/subscriptions","organizations_url":"https://api.github.com/users/eteq/orgs","repos_url":"https://api.github.com/users/eteq/repos","events_url":"https://api.github.com/users/eteq/events{/privacy}","received_events_url":"https://api.github.com/users/eteq/received_events","type":"User","site_admin":false},"labels":[{"id":12456977,"node_id":"MDU6TGFiZWwxMjQ1Njk3Nw==","url":"https://api.github.com/repos/astropy/astropy/labels/units","name":"units","color":"c7def8","default":false},{"id":453709432,"node_id":"MDU6TGFiZWw0NTM3MDk0MzI=","url":"https://api.github.com/repos/astropy/astropy/labels/whatsnew-needed","name":"whatsnew-needed","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/astropy/astropy/milestones/52","html_url":"https://github.com/astropy/astropy/milestone/52","labels_url":"https://api.github.com/repos/astropy/astropy/milestones/52/labels","id":2929745,"node_id":"MDk6TWlsZXN0b25lMjkyOTc0NQ==","number":52,"title":"v3.1","description":"","creator":{"login":"eteq","id":346587,"node_id":"MDQ6VXNlcjM0NjU4Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/346587?v=4","gravatar_id":"","url":"https://api.github.com/users/eteq","html_url":"https://github.com/eteq","followers_url":"https://api.github.com/users/eteq/followers","following_url":"https://api.github.com/users/eteq/following{/other_user}","gists_url":"https://api.github.com/users/eteq/gists{/gist_id}","starred_url":"https://api.github.com/users/eteq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eteq/subscriptions","organizations_url":"https://api.github.com/users/eteq/orgs","repos_url":"https://api.github.com/users/eteq/repos","events_url":"https://api.github.com/users/eteq/events{/privacy}","received_events_url":"https://api.github.com/users/eteq/received_events","type":"User","site_admin":false},"open_issues":73,"closed_issues":167,"state":"open","created_at":"2017-11-21T23:24:18Z","updated_at":"2018-10-25T20:58:57Z","due_on":"2018-10-26T07:00:00Z","closed_at":null},"comments":11,"created_at":"2018-10-25T17:06:00Z","updated_at":"2018-10-25T21:51:36Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/astropy/astropy/pulls/7970","html_url":"https://github.com/astropy/astropy/pull/7970","diff_url":"https://github.com/astropy/astropy/pull/7970.diff","patch_url":"https://github.com/astropy/astropy/pull/7970.patch"},"body":"This adds a new `littleh` equivalency. Based on my experience as a grad student, this PR will serve to rescue many students from confusion who are starting with extragalactic or cosmology work!\r\n\r\nThis has been on my to-do list for years, but it turns out it was a nearly-trivial implementation  due to what I learned from @mhvk in #7891, so hopefully it can squeak in for 3.1!"},"comment":{"url":"https://api.github.com/repos/astropy/astropy/issues/comments/433218074","html_url":"https://github.com/astropy/astropy/pull/7970#issuecomment-433218074","issue_url":"https://api.github.com/repos/astropy/astropy/issues/7970","id":433218074,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzIxODA3NA==","user":{"login":"aphearin","id":6951595,"node_id":"MDQ6VXNlcjY5NTE1OTU=","avatar_url":"https://avatars0.githubusercontent.com/u/6951595?v=4","gravatar_id":"","url":"https://api.github.com/users/aphearin","html_url":"https://github.com/aphearin","followers_url":"https://api.github.com/users/aphearin/followers","following_url":"https://api.github.com/users/aphearin/following{/other_user}","gists_url":"https://api.github.com/users/aphearin/gists{/gist_id}","starred_url":"https://api.github.com/users/aphearin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aphearin/subscriptions","organizations_url":"https://api.github.com/users/aphearin/orgs","repos_url":"https://api.github.com/users/aphearin/repos","events_url":"https://api.github.com/users/aphearin/events{/privacy}","received_events_url":"https://api.github.com/users/aphearin/received_events","type":"User","site_admin":false},"created_at":"2018-10-25T21:51:36Z","updated_at":"2018-10-25T21:51:36Z","author_association":"CONTRIBUTOR","body":"I think this approach to littleh makes sense. Doing things this way leaves the knowledge of the sense of the conversion up to the user, which is definitely the way to go (for now) since the conversion for some units such as Msun depends on context that only the user can know (e.g., halo mass is Msun/h whereas stellar mass is Msun/h/h). I know this is late in the dev cycle for this release, but from my point of view this seems like a modest change and lays some important groundwork for enabling more full-featured functionality in the future. Nice job, @eteq! \r\n\r\n"}}
{"actor":{"display_login":"aphearin"}}