{"action":"created","issue":{"url":"https://api.github.com/repos/radio-astro-tools/spectral-cube/issues/286","repository_url":"https://api.github.com/repos/radio-astro-tools/spectral-cube","labels_url":"https://api.github.com/repos/radio-astro-tools/spectral-cube/issues/286/labels{/name}","comments_url":"https://api.github.com/repos/radio-astro-tools/spectral-cube/issues/286/comments","events_url":"https://api.github.com/repos/radio-astro-tools/spectral-cube/issues/286/events","html_url":"https://github.com/radio-astro-tools/spectral-cube/issues/286","id":140813963,"number":286,"title":"spectral_cube and radio_beam package?","user":{"login":"aakepley","id":2965853,"avatar_url":"https://avatars2.githubusercontent.com/u/2965853?v=4","gravatar_id":"","url":"https://api.github.com/users/aakepley","html_url":"https://github.com/aakepley","followers_url":"https://api.github.com/users/aakepley/followers","following_url":"https://api.github.com/users/aakepley/following{/other_user}","gists_url":"https://api.github.com/users/aakepley/gists{/gist_id}","starred_url":"https://api.github.com/users/aakepley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aakepley/subscriptions","organizations_url":"https://api.github.com/users/aakepley/orgs","repos_url":"https://api.github.com/users/aakepley/repos","events_url":"https://api.github.com/users/aakepley/events{/privacy}","received_events_url":"https://api.github.com/users/aakepley/received_events","type":"User","site_admin":false},"labels":[{"id":94000758,"url":"https://api.github.com/repos/radio-astro-tools/spectral-cube/labels/Documentation","name":"Documentation","color":"fbca04","default":false},{"id":92757167,"url":"https://api.github.com/repos/radio-astro-tools/spectral-cube/labels/level-easy","name":"level-easy","color":"bfe5bf","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-03-14T22:24:03Z","updated_at":"2017-09-20T11:39:52Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"When opening a FITS cube in spectral_cube, I get the following error message:\n\n```\nimport numpy as np\nimport matplotlib.pyplot as plt\nimport pyregion\nfrom spectral_cube import SpectralCube\n\ncube = SpectralCube.read(fitsFile)\n\n/Users/amanda/anaconda/lib/python2.7/site-packages/spectral_cube/spectral_cube.py:252: UserWarning: radio_beam is not installed. No beam can be created.\n  warnings.warn(\"radio_beam is not installed. No beam \"\n/Users/amanda/anaconda/lib/python2.7/site-packages/spectral_cube/spectral_cube.py:263: UserWarning: Could not parse beam information from header.  Exception was: UnboundLocalError(\"local variable 'Beam' referenced before assignment\",)\n  \"  Exception was: {0}\".format(ex.__repr__()))\n```\n\nLooks like radio_beam needs to be installed, but pip wasn't able to find the package (either radio_beam or radio-beam). Should I be installing it another way? Apologies if this is a really basic question.\n"},"comment":{"url":"https://api.github.com/repos/radio-astro-tools/spectral-cube/issues/comments/330825833","html_url":"https://github.com/radio-astro-tools/spectral-cube/issues/286#issuecomment-330825833","issue_url":"https://api.github.com/repos/radio-astro-tools/spectral-cube/issues/286","id":330825833,"user":{"login":"kristina-monsch","id":18168392,"avatar_url":"https://avatars2.githubusercontent.com/u/18168392?v=4","gravatar_id":"","url":"https://api.github.com/users/kristina-monsch","html_url":"https://github.com/kristina-monsch","followers_url":"https://api.github.com/users/kristina-monsch/followers","following_url":"https://api.github.com/users/kristina-monsch/following{/other_user}","gists_url":"https://api.github.com/users/kristina-monsch/gists{/gist_id}","starred_url":"https://api.github.com/users/kristina-monsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristina-monsch/subscriptions","organizations_url":"https://api.github.com/users/kristina-monsch/orgs","repos_url":"https://api.github.com/users/kristina-monsch/repos","events_url":"https://api.github.com/users/kristina-monsch/events{/privacy}","received_events_url":"https://api.github.com/users/kristina-monsch/received_events","type":"User","site_admin":false},"created_at":"2017-09-20T11:39:52Z","updated_at":"2017-09-20T11:39:52Z","author_association":"NONE","body":"Hi! I just stumbled upon this issue and I have a question that might be related in some sense. I have been working successfully with radio-beam and want to reference the package in my paper, but I can't find a proper reference for it. Is there a paper or something that I should use for reference?"}}
{"actor":{"display_login":"kristina-monsch"}}