{"action":"created","issue":{"url":"https://api.github.com/repos/nipy/nibabel/issues/299","labels_url":"https://api.github.com/repos/nipy/nibabel/issues/299/labels{/name}","comments_url":"https://api.github.com/repos/nipy/nibabel/issues/299/comments","events_url":"https://api.github.com/repos/nipy/nibabel/issues/299/events","html_url":"https://github.com/nipy/nibabel/issues/299","id":62444407,"number":299,"title":"shape has 4 dimensions for a 3d image","user":{"login":"satra","id":184063,"avatar_url":"https://avatars.githubusercontent.com/u/184063?v=3","gravatar_id":"","url":"https://api.github.com/users/satra","html_url":"https://github.com/satra","followers_url":"https://api.github.com/users/satra/followers","following_url":"https://api.github.com/users/satra/following{/other_user}","gists_url":"https://api.github.com/users/satra/gists{/gist_id}","starred_url":"https://api.github.com/users/satra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satra/subscriptions","organizations_url":"https://api.github.com/users/satra/orgs","repos_url":"https://api.github.com/users/satra/repos","events_url":"https://api.github.com/users/satra/events{/privacy}","received_events_url":"https://api.github.com/users/satra/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-17T16:20:10Z","updated_at":"2015-03-17T19:37:28Z","closed_at":"2015-03-17T19:33:20Z","body":"is there a reason why shape has the 4th dimension?\r\n\r\n```\r\nimages[0] = nb.load('cope01.nii.gz')\r\nimages[0].shape\r\n(91, 109, 91, 1)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/nipy/nibabel/issues/comments/82558937","html_url":"https://github.com/nipy/nibabel/issues/299#issuecomment-82558937","issue_url":"https://api.github.com/repos/nipy/nibabel/issues/299","id":82558937,"user":{"login":"matthew-brett","id":67612,"avatar_url":"https://avatars.githubusercontent.com/u/67612?v=3","gravatar_id":"","url":"https://api.github.com/users/matthew-brett","html_url":"https://github.com/matthew-brett","followers_url":"https://api.github.com/users/matthew-brett/followers","following_url":"https://api.github.com/users/matthew-brett/following{/other_user}","gists_url":"https://api.github.com/users/matthew-brett/gists{/gist_id}","starred_url":"https://api.github.com/users/matthew-brett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthew-brett/subscriptions","organizations_url":"https://api.github.com/users/matthew-brett/orgs","repos_url":"https://api.github.com/users/matthew-brett/repos","events_url":"https://api.github.com/users/matthew-brett/events{/privacy}","received_events_url":"https://api.github.com/users/matthew-brett/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T19:37:28Z","updated_at":"2015-03-17T19:37:28Z","body":"You could try `nibabel.squeeze_image` ..."}}