{"action":"created","issue":{"url":"https://api.github.com/repos/astropy/astropy/issues/3800","labels_url":"https://api.github.com/repos/astropy/astropy/issues/3800/labels{/name}","comments_url":"https://api.github.com/repos/astropy/astropy/issues/3800/comments","events_url":"https://api.github.com/repos/astropy/astropy/issues/3800/events","html_url":"https://github.com/astropy/astropy/pull/3800","id":81394642,"number":3800,"title":"Cannot use `coordinates.angle_utilities.position_angle` with `floats`","user":{"login":"ycopin","id":812050,"avatar_url":"https://avatars.githubusercontent.com/u/812050?v=3","gravatar_id":"","url":"https://api.github.com/users/ycopin","html_url":"https://github.com/ycopin","followers_url":"https://api.github.com/users/ycopin/followers","following_url":"https://api.github.com/users/ycopin/following{/other_user}","gists_url":"https://api.github.com/users/ycopin/gists{/gist_id}","starred_url":"https://api.github.com/users/ycopin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ycopin/subscriptions","organizations_url":"https://api.github.com/users/ycopin/orgs","repos_url":"https://api.github.com/users/ycopin/repos","events_url":"https://api.github.com/users/ycopin/events{/privacy}","received_events_url":"https://api.github.com/users/ycopin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/astropy/astropy/labels/Affects-release","name":"Affects-release","color":"0052cc"},{"url":"https://api.github.com/repos/astropy/astropy/labels/Bug","name":"Bug","color":"eb6420"},{"url":"https://api.github.com/repos/astropy/astropy/labels/coordinates","name":"coordinates","color":"c7def8"}],"state":"open","locked":false,"assignee":{"login":"eteq","id":346587,"avatar_url":"https://avatars.githubusercontent.com/u/346587?v=3","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},"milestone":null,"comments":14,"created_at":"2015-05-27T10:43:29Z","updated_at":"2015-06-12T01:40:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/astropy/astropy/pulls/3800","html_url":"https://github.com/astropy/astropy/pull/3800","diff_url":"https://github.com/astropy/astropy/pull/3800.diff","patch_url":"https://github.com/astropy/astropy/pull/3800.patch"},"body":"While the documentation states that `position_angle` can be used with `float`s (in radians), it crashes during the conversion to `Angle`:\r\n```\r\nUnitsError: No unit was given - must be some kind of angle\r\n```\r\nShouldn't `position_angle` returns a `Quantity`, as `angular_separation`, rather than an `Angle`?"},"comment":{"url":"https://api.github.com/repos/astropy/astropy/issues/comments/111321598","html_url":"https://github.com/astropy/astropy/pull/3800#issuecomment-111321598","issue_url":"https://api.github.com/repos/astropy/astropy/issues/3800","id":111321598,"user":{"login":"mhvk","id":2789820,"avatar_url":"https://avatars.githubusercontent.com/u/2789820?v=3","gravatar_id":"","url":"https://api.github.com/users/mhvk","html_url":"https://github.com/mhvk","followers_url":"https://api.github.com/users/mhvk/followers","following_url":"https://api.github.com/users/mhvk/following{/other_user}","gists_url":"https://api.github.com/users/mhvk/gists{/gist_id}","starred_url":"https://api.github.com/users/mhvk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhvk/subscriptions","organizations_url":"https://api.github.com/users/mhvk/orgs","repos_url":"https://api.github.com/users/mhvk/repos","events_url":"https://api.github.com/users/mhvk/events{/privacy}","received_events_url":"https://api.github.com/users/mhvk/received_events","type":"User","site_admin":false},"created_at":"2015-06-12T01:40:36Z","updated_at":"2015-06-12T01:40:36Z","body":"@adrn - I agree for `Angle` but think that for this routine it is fine to have the option to go through regular numpy arrays and thus be much faster."}}