{"action":"created","issue":{"url":"https://api.github.com/repos/healpy/healpy/issues/333","repository_url":"https://api.github.com/repos/healpy/healpy","labels_url":"https://api.github.com/repos/healpy/healpy/issues/333/labels{/name}","comments_url":"https://api.github.com/repos/healpy/healpy/issues/333/comments","events_url":"https://api.github.com/repos/healpy/healpy/issues/333/events","html_url":"https://github.com/healpy/healpy/issues/333","id":145120440,"number":333,"title":"Support nside that's not a power of two?","user":{"login":"cdeil","id":852409,"avatar_url":"https://avatars.githubusercontent.com/u/852409?v=3","gravatar_id":"","url":"https://api.github.com/users/cdeil","html_url":"https://github.com/cdeil","followers_url":"https://api.github.com/users/cdeil/followers","following_url":"https://api.github.com/users/cdeil/following{/other_user}","gists_url":"https://api.github.com/users/cdeil/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeil/subscriptions","organizations_url":"https://api.github.com/users/cdeil/orgs","repos_url":"https://api.github.com/users/cdeil/repos","events_url":"https://api.github.com/users/cdeil/events{/privacy}","received_events_url":"https://api.github.com/users/cdeil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-01T08:33:25Z","updated_at":"2016-04-01T20:33:39Z","closed_at":null,"body":"Why does healpy only support nside values that are a power of two?\r\n\r\nIs it because the use case of other nside values hasn't come up?\r\nWould pull requests removing the `isnsideok` check from functions where it's not needed be welcome?\r\n\r\nThis question came up when @tburnett tried to move some of his code over to use `healpy` and tried to call `query_disc` with `nside=12`.\r\n\r\nI see that [isnsideok](http://healpy.readthedocs.org/en/latest/generated/healpy.pixelfunc.isnsideok.html) is called for many (all?) healpy functions, and checks that `nside` is a power of two (it's docstring should say that!).\r\n\r\nEven for something like [nside2npix](http://healpy.readthedocs.org/en/latest/generated/healpy.pixelfunc.nside2npix.html), where it would be trivial to support `nside` that's not a power of 2.\r\n\r\ncc @tburnett \r\n"},"comment":{"url":"https://api.github.com/repos/healpy/healpy/issues/comments/204558562","html_url":"https://github.com/healpy/healpy/issues/333#issuecomment-204558562","issue_url":"https://api.github.com/repos/healpy/healpy/issues/333","id":204558562,"user":{"login":"zonca","id":383090,"avatar_url":"https://avatars.githubusercontent.com/u/383090?v=3","gravatar_id":"","url":"https://api.github.com/users/zonca","html_url":"https://github.com/zonca","followers_url":"https://api.github.com/users/zonca/followers","following_url":"https://api.github.com/users/zonca/following{/other_user}","gists_url":"https://api.github.com/users/zonca/gists{/gist_id}","starred_url":"https://api.github.com/users/zonca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zonca/subscriptions","organizations_url":"https://api.github.com/users/zonca/orgs","repos_url":"https://api.github.com/users/zonca/repos","events_url":"https://api.github.com/users/zonca/events{/privacy}","received_events_url":"https://api.github.com/users/zonca/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T20:33:39Z","updated_at":"2016-04-01T20:33:39Z","body":"no, actually, sorry, this one has more information, let's keep this open!"}}