{"action":"opened","number":470,"pull_request":{"url":"https://api.github.com/repos/hyperspy/hyperspy/pulls/470","id":30157279,"html_url":"https://github.com/hyperspy/hyperspy/pull/470","diff_url":"https://github.com/hyperspy/hyperspy/pull/470.diff","patch_url":"https://github.com/hyperspy/hyperspy/pull/470.patch","issue_url":"https://api.github.com/repos/hyperspy/hyperspy/issues/470","number":470,"state":"open","locked":false,"title":"Ehn background windows","user":{"login":"pburdet","id":3855190,"avatar_url":"https://avatars.githubusercontent.com/u/3855190?v=3","gravatar_id":"","url":"https://api.github.com/users/pburdet","html_url":"https://github.com/pburdet","followers_url":"https://api.github.com/users/pburdet/followers","following_url":"https://api.github.com/users/pburdet/following{/other_user}","gists_url":"https://api.github.com/users/pburdet/gists{/gist_id}","starred_url":"https://api.github.com/users/pburdet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pburdet/subscriptions","organizations_url":"https://api.github.com/users/pburdet/orgs","repos_url":"https://api.github.com/users/pburdet/repos","events_url":"https://api.github.com/users/pburdet/events{/privacy}","received_events_url":"https://api.github.com/users/pburdet/received_events","type":"User","site_admin":false},"body":"Add a method to subtract background to `get_lines_intensity`. The background is average in windows. The windows position is estimated by `estimate_background_windows`. The windows can be plotted by `plot_background_windows`","created_at":"2015-02-27T10:56:14Z","updated_at":"2015-02-27T10:56:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ab33131e3a2f587252145520ffb9089db3aa05c8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hyperspy/hyperspy/pulls/470/commits","review_comments_url":"https://api.github.com/repos/hyperspy/hyperspy/pulls/470/comments","review_comment_url":"https://api.github.com/repos/hyperspy/hyperspy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hyperspy/hyperspy/issues/470/comments","statuses_url":"https://api.github.com/repos/hyperspy/hyperspy/statuses/d0eba24ac6233f1f23db1b120f70ecbce331f22e","head":{"label":"pburdet:EHN_background_windows","ref":"EHN_background_windows","sha":"d0eba24ac6233f1f23db1b120f70ecbce331f22e","user":{"login":"pburdet","id":3855190,"avatar_url":"https://avatars.githubusercontent.com/u/3855190?v=3","gravatar_id":"","url":"https://api.github.com/users/pburdet","html_url":"https://github.com/pburdet","followers_url":"https://api.github.com/users/pburdet/followers","following_url":"https://api.github.com/users/pburdet/following{/other_user}","gists_url":"https://api.github.com/users/pburdet/gists{/gist_id}","starred_url":"https://api.github.com/users/pburdet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pburdet/subscriptions","organizations_url":"https://api.github.com/users/pburdet/orgs","repos_url":"https://api.github.com/users/pburdet/repos","events_url":"https://api.github.com/users/pburdet/events{/privacy}","received_events_url":"https://api.github.com/users/pburdet/received_events","type":"User","site_admin":false},"repo":{"id":8755182,"name":"hyperspy","full_name":"pburdet/hyperspy","owner":{"login":"pburdet","id":3855190,"avatar_url":"https://avatars.githubusercontent.com/u/3855190?v=3","gravatar_id":"","url":"https://api.github.com/users/pburdet","html_url":"https://github.com/pburdet","followers_url":"https://api.github.com/users/pburdet/followers","following_url":"https://api.github.com/users/pburdet/following{/other_user}","gists_url":"https://api.github.com/users/pburdet/gists{/gist_id}","starred_url":"https://api.github.com/users/pburdet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pburdet/subscriptions","organizations_url":"https://api.github.com/users/pburdet/orgs","repos_url":"https://api.github.com/users/pburdet/repos","events_url":"https://api.github.com/users/pburdet/events{/privacy}","received_events_url":"https://api.github.com/users/pburdet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pburdet/hyperspy","description":"A toolbox for hyperspectra data analysis","fork":true,"url":"https://api.github.com/repos/pburdet/hyperspy","forks_url":"https://api.github.com/repos/pburdet/hyperspy/forks","keys_url":"https://api.github.com/repos/pburdet/hyperspy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pburdet/hyperspy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pburdet/hyperspy/teams","hooks_url":"https://api.github.com/repos/pburdet/hyperspy/hooks","issue_events_url":"https://api.github.com/repos/pburdet/hyperspy/issues/events{/number}","events_url":"https://api.github.com/repos/pburdet/hyperspy/events","assignees_url":"https://api.github.com/repos/pburdet/hyperspy/assignees{/user}","branches_url":"https://api.github.com/repos/pburdet/hyperspy/branches{/branch}","tags_url":"https://api.github.com/repos/pburdet/hyperspy/tags","blobs_url":"https://api.github.com/repos/pburdet/hyperspy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pburdet/hyperspy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pburdet/hyperspy/git/refs{/sha}","trees_url":"https://api.github.com/repos/pburdet/hyperspy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pburdet/hyperspy/statuses/{sha}","languages_url":"https://api.github.com/repos/pburdet/hyperspy/languages","stargazers_url":"https://api.github.com/repos/pburdet/hyperspy/stargazers","contributors_url":"https://api.github.com/repos/pburdet/hyperspy/contributors","subscribers_url":"https://api.github.com/repos/pburdet/hyperspy/subscribers","subscription_url":"https://api.github.com/repos/pburdet/hyperspy/subscription","commits_url":"https://api.github.com/repos/pburdet/hyperspy/commits{/sha}","git_commits_url":"https://api.github.com/repos/pburdet/hyperspy/git/commits{/sha}","comments_url":"https://api.github.com/repos/pburdet/hyperspy/comments{/number}","issue_comment_url":"https://api.github.com/repos/pburdet/hyperspy/issues/comments{/number}","contents_url":"https://api.github.com/repos/pburdet/hyperspy/contents/{+path}","compare_url":"https://api.github.com/repos/pburdet/hyperspy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pburdet/hyperspy/merges","archive_url":"https://api.github.com/repos/pburdet/hyperspy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pburdet/hyperspy/downloads","issues_url":"https://api.github.com/repos/pburdet/hyperspy/issues{/number}","pulls_url":"https://api.github.com/repos/pburdet/hyperspy/pulls{/number}","milestones_url":"https://api.github.com/repos/pburdet/hyperspy/milestones{/number}","notifications_url":"https://api.github.com/repos/pburdet/hyperspy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pburdet/hyperspy/labels{/name}","releases_url":"https://api.github.com/repos/pburdet/hyperspy/releases{/id}","created_at":"2013-03-13T15:22:34Z","updated_at":"2014-06-24T15:51:04Z","pushed_at":"2015-02-27T10:52:17Z","git_url":"git://github.com/pburdet/hyperspy.git","ssh_url":"git@github.com:pburdet/hyperspy.git","clone_url":"https://github.com/pburdet/hyperspy.git","svn_url":"https://github.com/pburdet/hyperspy","homepage":"http://www.hyperspy.org","size":22352,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hyperspy:master","ref":"master","sha":"af2f6ce7ae32184b0df571005fcec0da81f67e94","user":{"login":"hyperspy","id":989756,"avatar_url":"https://avatars.githubusercontent.com/u/989756?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperspy","html_url":"https://github.com/hyperspy","followers_url":"https://api.github.com/users/hyperspy/followers","following_url":"https://api.github.com/users/hyperspy/following{/other_user}","gists_url":"https://api.github.com/users/hyperspy/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperspy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperspy/subscriptions","organizations_url":"https://api.github.com/users/hyperspy/orgs","repos_url":"https://api.github.com/users/hyperspy/repos","events_url":"https://api.github.com/users/hyperspy/events{/privacy}","received_events_url":"https://api.github.com/users/hyperspy/received_events","type":"Organization","site_admin":false},"repo":{"id":2233998,"name":"hyperspy","full_name":"hyperspy/hyperspy","owner":{"login":"hyperspy","id":989756,"avatar_url":"https://avatars.githubusercontent.com/u/989756?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperspy","html_url":"https://github.com/hyperspy","followers_url":"https://api.github.com/users/hyperspy/followers","following_url":"https://api.github.com/users/hyperspy/following{/other_user}","gists_url":"https://api.github.com/users/hyperspy/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperspy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperspy/subscriptions","organizations_url":"https://api.github.com/users/hyperspy/orgs","repos_url":"https://api.github.com/users/hyperspy/repos","events_url":"https://api.github.com/users/hyperspy/events{/privacy}","received_events_url":"https://api.github.com/users/hyperspy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hyperspy/hyperspy","description":"Multidimensional data analysis","fork":false,"url":"https://api.github.com/repos/hyperspy/hyperspy","forks_url":"https://api.github.com/repos/hyperspy/hyperspy/forks","keys_url":"https://api.github.com/repos/hyperspy/hyperspy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hyperspy/hyperspy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hyperspy/hyperspy/teams","hooks_url":"https://api.github.com/repos/hyperspy/hyperspy/hooks","issue_events_url":"https://api.github.com/repos/hyperspy/hyperspy/issues/events{/number}","events_url":"https://api.github.com/repos/hyperspy/hyperspy/events","assignees_url":"https://api.github.com/repos/hyperspy/hyperspy/assignees{/user}","branches_url":"https://api.github.com/repos/hyperspy/hyperspy/branches{/branch}","tags_url":"https://api.github.com/repos/hyperspy/hyperspy/tags","blobs_url":"https://api.github.com/repos/hyperspy/hyperspy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hyperspy/hyperspy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hyperspy/hyperspy/git/refs{/sha}","trees_url":"https://api.github.com/repos/hyperspy/hyperspy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hyperspy/hyperspy/statuses/{sha}","languages_url":"https://api.github.com/repos/hyperspy/hyperspy/languages","stargazers_url":"https://api.github.com/repos/hyperspy/hyperspy/stargazers","contributors_url":"https://api.github.com/repos/hyperspy/hyperspy/contributors","subscribers_url":"https://api.github.com/repos/hyperspy/hyperspy/subscribers","subscription_url":"https://api.github.com/repos/hyperspy/hyperspy/subscription","commits_url":"https://api.github.com/repos/hyperspy/hyperspy/commits{/sha}","git_commits_url":"https://api.github.com/repos/hyperspy/hyperspy/git/commits{/sha}","comments_url":"https://api.github.com/repos/hyperspy/hyperspy/comments{/number}","issue_comment_url":"https://api.github.com/repos/hyperspy/hyperspy/issues/comments{/number}","contents_url":"https://api.github.com/repos/hyperspy/hyperspy/contents/{+path}","compare_url":"https://api.github.com/repos/hyperspy/hyperspy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hyperspy/hyperspy/merges","archive_url":"https://api.github.com/repos/hyperspy/hyperspy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hyperspy/hyperspy/downloads","issues_url":"https://api.github.com/repos/hyperspy/hyperspy/issues{/number}","pulls_url":"https://api.github.com/repos/hyperspy/hyperspy/pulls{/number}","milestones_url":"https://api.github.com/repos/hyperspy/hyperspy/milestones{/number}","notifications_url":"https://api.github.com/repos/hyperspy/hyperspy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hyperspy/hyperspy/labels{/name}","releases_url":"https://api.github.com/repos/hyperspy/hyperspy/releases{/id}","created_at":"2011-08-19T13:14:36Z","updated_at":"2015-02-24T15:26:28Z","pushed_at":"2015-02-24T15:26:27Z","git_url":"git://github.com/hyperspy/hyperspy.git","ssh_url":"git@github.com:hyperspy/hyperspy.git","clone_url":"https://github.com/hyperspy/hyperspy.git","svn_url":"https://github.com/hyperspy/hyperspy","homepage":"http://www.hyperspy.org","size":24186,"stargazers_count":31,"watchers_count":31,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":81,"forks":22,"open_issues":81,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hyperspy/hyperspy/pulls/470"},"html":{"href":"https://github.com/hyperspy/hyperspy/pull/470"},"issue":{"href":"https://api.github.com/repos/hyperspy/hyperspy/issues/470"},"comments":{"href":"https://api.github.com/repos/hyperspy/hyperspy/issues/470/comments"},"review_comments":{"href":"https://api.github.com/repos/hyperspy/hyperspy/pulls/470/comments"},"review_comment":{"href":"https://api.github.com/repos/hyperspy/hyperspy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hyperspy/hyperspy/pulls/470/commits"},"statuses":{"href":"https://api.github.com/repos/hyperspy/hyperspy/statuses/d0eba24ac6233f1f23db1b120f70ecbce331f22e"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":90,"additions":647,"deletions":58,"changed_files":14}}