{"action":"created","issue":{"url":"https://api.github.com/repos/obspy/obspy/issues/1192","repository_url":"https://api.github.com/repos/obspy/obspy","labels_url":"https://api.github.com/repos/obspy/obspy/issues/1192/labels{/name}","comments_url":"https://api.github.com/repos/obspy/obspy/issues/1192/comments","events_url":"https://api.github.com/repos/obspy/obspy/issues/1192/events","html_url":"https://github.com/obspy/obspy/pull/1192","id":118847998,"number":1192,"title":"Plot Event far-field radiation pattern / refactor core/event.py into folder structure","user":{"login":"MMesch","id":2597803,"avatar_url":"https://avatars.githubusercontent.com/u/2597803?v=3","gravatar_id":"","url":"https://api.github.com/users/MMesch","html_url":"https://github.com/MMesch","followers_url":"https://api.github.com/users/MMesch/followers","following_url":"https://api.github.com/users/MMesch/following{/other_user}","gists_url":"https://api.github.com/users/MMesch/gists{/gist_id}","starred_url":"https://api.github.com/users/MMesch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MMesch/subscriptions","organizations_url":"https://api.github.com/users/MMesch/orgs","repos_url":"https://api.github.com/users/MMesch/repos","events_url":"https://api.github.com/users/MMesch/events{/privacy}","received_events_url":"https://api.github.com/users/MMesch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/obspy/obspy/labels/.core.event","name":".core.event","color":"0b02e1"},{"url":"https://api.github.com/repos/obspy/obspy/labels/.imaging","name":".imaging","color":"0b02e1"},{"url":"https://api.github.com/repos/obspy/obspy/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/obspy/obspy/milestones/8","html_url":"https://github.com/obspy/obspy/milestones/1.0.0","labels_url":"https://api.github.com/repos/obspy/obspy/milestones/8/labels","id":725009,"number":8,"title":"1.0.0","description":"","creator":{"login":"barsch","id":602450,"avatar_url":"https://avatars.githubusercontent.com/u/602450?v=3","gravatar_id":"","url":"https://api.github.com/users/barsch","html_url":"https://github.com/barsch","followers_url":"https://api.github.com/users/barsch/followers","following_url":"https://api.github.com/users/barsch/following{/other_user}","gists_url":"https://api.github.com/users/barsch/gists{/gist_id}","starred_url":"https://api.github.com/users/barsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barsch/subscriptions","organizations_url":"https://api.github.com/users/barsch/orgs","repos_url":"https://api.github.com/users/barsch/repos","events_url":"https://api.github.com/users/barsch/events{/privacy}","received_events_url":"https://api.github.com/users/barsch/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":90,"state":"open","created_at":"2014-07-18T08:42:03Z","updated_at":"2016-02-15T19:08:40Z","due_on":"2016-02-18T23:00:00Z","closed_at":null},"comments":61,"created_at":"2015-11-25T14:30:45Z","updated_at":"2016-02-16T11:53:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/obspy/obspy/pulls/1192","html_url":"https://github.com/obspy/obspy/pull/1192","diff_url":"https://github.com/obspy/obspy/pull/1192.diff","patch_url":"https://github.com/obspy/obspy/pull/1192.patch"},"body":"This addition to obspy allows to compute and plot P/S-wave farfield radiation patterns for (hopefully) arbitray moment tensors. You can run the test or try:\r\n\r\n```python\r\nfrom obspy.imaging.radpattern import plot_3drpattern\r\nmt = [0.91, -0.89, -0.02, 1.78, -1.55, 0.47]\r\nplot_3drpattern(mt,kind='p_sphere')\r\n```\r\n\r\nit is neither well tested nor optimized. Some improvements could be:\r\n\r\n* add colour and other things to quiver plots\r\n* making sure that axes are well aligned\r\n* plotting beachball projections on the sides of the matplotlib 3d plot\r\n* compute radiation pattern for different a set of taup phases and stations\r\n* add nearfield radiation\r\n* add single force\r\n\r\n![p_radpattern](https://cloud.githubusercontent.com/assets/2597803/11399693/46968288-9389-11e5-9472-a104a51da069.png)\r\n\r\n![p_quiver](https://cloud.githubusercontent.com/assets/2597803/11399703/4c96023a-9389-11e5-8571-44b7236301db.png)"},"comment":{"url":"https://api.github.com/repos/obspy/obspy/issues/comments/184653022","html_url":"https://github.com/obspy/obspy/pull/1192#issuecomment-184653022","issue_url":"https://api.github.com/repos/obspy/obspy/issues/1192","id":184653022,"user":{"login":"megies","id":1842780,"avatar_url":"https://avatars.githubusercontent.com/u/1842780?v=3","gravatar_id":"","url":"https://api.github.com/users/megies","html_url":"https://github.com/megies","followers_url":"https://api.github.com/users/megies/followers","following_url":"https://api.github.com/users/megies/following{/other_user}","gists_url":"https://api.github.com/users/megies/gists{/gist_id}","starred_url":"https://api.github.com/users/megies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megies/subscriptions","organizations_url":"https://api.github.com/users/megies/orgs","repos_url":"https://api.github.com/users/megies/repos","events_url":"https://api.github.com/users/megies/events{/privacy}","received_events_url":"https://api.github.com/users/megies/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T11:53:45Z","updated_at":"2016-02-16T11:53:45Z","body":"Rebased onto #1250 (a9075cc23b891afb406), hope this gets rid of stray Travis fails."}}