{"action":"created","issue":{"url":"https://api.github.com/repos/astropy/astropy/issues/3909","labels_url":"https://api.github.com/repos/astropy/astropy/issues/3909/labels{/name}","comments_url":"https://api.github.com/repos/astropy/astropy/issues/3909/comments","events_url":"https://api.github.com/repos/astropy/astropy/issues/3909/events","html_url":"https://github.com/astropy/astropy/pull/3909","id":92574573,"number":3909,"title":"WIP: Implement `bbox` model property and `render_model2sky` function ","user":{"login":"patti","id":4968596,"avatar_url":"https://avatars.githubusercontent.com/u/4968596?v=3","gravatar_id":"","url":"https://api.github.com/users/patti","html_url":"https://github.com/patti","followers_url":"https://api.github.com/users/patti/followers","following_url":"https://api.github.com/users/patti/following{/other_user}","gists_url":"https://api.github.com/users/patti/gists{/gist_id}","starred_url":"https://api.github.com/users/patti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patti/subscriptions","organizations_url":"https://api.github.com/users/patti/orgs","repos_url":"https://api.github.com/users/patti/repos","events_url":"https://api.github.com/users/patti/events{/privacy}","received_events_url":"https://api.github.com/users/patti/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/Enhancement","name":"Enhancement","color":"fad8c7"},{"url":"https://api.github.com/repos/astropy/astropy/labels/modeling","name":"modeling","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-07-02T07:54:18Z","updated_at":"2015-07-04T00:56:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/astropy/astropy/pulls/3909","html_url":"https://github.com/astropy/astropy/pull/3909","diff_url":"https://github.com/astropy/astropy/pull/3909.diff","patch_url":"https://github.com/astropy/astropy/pull/3909.patch"},"body":"A first go implementing a bounding box property for functional models. Refer to the Gaussian1D and Gaussian2D models as the others haven't been updated yet.\r\n\r\nSee a notebook demo [here](https://github.com/patti/model_rasterz/blob/master/benchmarks/Bounding-boxes.ipynb)\r\n\r\n\r\n\r\nTo Do:\r\n- Write tests\r\n- Edit doc strings\r\n- Write high level docs TBD\r\n- Incorporate extract_array and add_array\r\n- Implement for other models\r\n"},"comment":{"url":"https://api.github.com/repos/astropy/astropy/issues/comments/118447140","html_url":"https://github.com/astropy/astropy/pull/3909#issuecomment-118447140","issue_url":"https://api.github.com/repos/astropy/astropy/issues/3909","id":118447140,"user":{"login":"patti","id":4968596,"avatar_url":"https://avatars.githubusercontent.com/u/4968596?v=3","gravatar_id":"","url":"https://api.github.com/users/patti","html_url":"https://github.com/patti","followers_url":"https://api.github.com/users/patti/followers","following_url":"https://api.github.com/users/patti/following{/other_user}","gists_url":"https://api.github.com/users/patti/gists{/gist_id}","starred_url":"https://api.github.com/users/patti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patti/subscriptions","organizations_url":"https://api.github.com/users/patti/orgs","repos_url":"https://api.github.com/users/patti/repos","events_url":"https://api.github.com/users/patti/events{/privacy}","received_events_url":"https://api.github.com/users/patti/received_events","type":"User","site_admin":false},"created_at":"2015-07-04T00:56:43Z","updated_at":"2015-07-04T00:56:43Z","body":"I'm having a hard time trying to diagnose a bug where I get a row of zeros in the Gaussian2D bounded image for certain values of theta. It's reproduced in a [notebook, here](https://github.com/patti/model_rasterz/blob/master/benchmarks/Gaussian2D-bbox_bug.ipynb). Any ideas?"}}