{"action":"closed","number":1169,"pull_request":{"url":"https://api.github.com/repos/hyperspy/hyperspy/pulls/1169","id":77829263,"html_url":"https://github.com/hyperspy/hyperspy/pull/1169","diff_url":"https://github.com/hyperspy/hyperspy/pull/1169.diff","patch_url":"https://github.com/hyperspy/hyperspy/pull/1169.patch","issue_url":"https://api.github.com/repos/hyperspy/hyperspy/issues/1169","number":1169,"state":"closed","locked":false,"title":"Improved access to SciPy fitting algorithms","user":{"login":"tjof2","id":6626247,"avatar_url":"https://avatars.githubusercontent.com/u/6626247?v=3","gravatar_id":"","url":"https://api.github.com/users/tjof2","html_url":"https://github.com/tjof2","followers_url":"https://api.github.com/users/tjof2/followers","following_url":"https://api.github.com/users/tjof2/following{/other_user}","gists_url":"https://api.github.com/users/tjof2/gists{/gist_id}","starred_url":"https://api.github.com/users/tjof2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjof2/subscriptions","organizations_url":"https://api.github.com/users/tjof2/orgs","repos_url":"https://api.github.com/users/tjof2/repos","events_url":"https://api.github.com/users/tjof2/events{/privacy}","received_events_url":"https://api.github.com/users/tjof2/received_events","type":"User","site_admin":false},"body":"As discussed in #1098 and a resubmission of #1100.\r\n\r\n1. Replace the calls to `scipy.optimize.fmin_XXX` with calls to [`scipy.optimize.minimize()`](http://docs.scipy.org/doc/scipy/reference/optimize.html).\r\n2. Updates `leastsq` to incorporate bounds, thus deprecating `mpfit`\r\n3. Adds global optimization algorithms from SciPy\r\n\r\n**To do:**\r\n- [x] Tests\r\n- [x] Documentation\r\n- [x] Deprecation warnings\r\n- [x] Update leastsq to take bound constraints\r\n- [x] Add global optimization method (differential evolution) \r\n- [x] Return covariance matrix using Jacobian for new `leastsq`","created_at":"2016-07-18T15:36:28Z","updated_at":"2016-07-18T16:30:48Z","closed_at":"2016-07-18T16:30:47Z","merged_at":"2016-07-18T16:30:47Z","merge_commit_sha":"2518c31728570bcd806b89ae9edec3c662387a81","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/hyperspy/hyperspy/milestones/24","html_url":"https://github.com/hyperspy/hyperspy/milestones/1.1","labels_url":"https://api.github.com/repos/hyperspy/hyperspy/milestones/24/labels","id":1889983,"number":24,"title":"1.1","description":"","creator":{"login":"francisco-dlp","id":989719,"avatar_url":"https://avatars.githubusercontent.com/u/989719?v=3","gravatar_id":"","url":"https://api.github.com/users/francisco-dlp","html_url":"https://github.com/francisco-dlp","followers_url":"https://api.github.com/users/francisco-dlp/followers","following_url":"https://api.github.com/users/francisco-dlp/following{/other_user}","gists_url":"https://api.github.com/users/francisco-dlp/gists{/gist_id}","starred_url":"https://api.github.com/users/francisco-dlp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francisco-dlp/subscriptions","organizations_url":"https://api.github.com/users/francisco-dlp/orgs","repos_url":"https://api.github.com/users/francisco-dlp/repos","events_url":"https://api.github.com/users/francisco-dlp/events{/privacy}","received_events_url":"https://api.github.com/users/francisco-dlp/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2016-07-18T16:26:21Z","updated_at":"2016-07-18T16:30:48Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/hyperspy/hyperspy/pulls/1169/commits","review_comments_url":"https://api.github.com/repos/hyperspy/hyperspy/pulls/1169/comments","review_comment_url":"https://api.github.com/repos/hyperspy/hyperspy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hyperspy/hyperspy/issues/1169/comments","statuses_url":"https://api.github.com/repos/hyperspy/hyperspy/statuses/fcd36a5bb89528fdc05d9123247357bfa0a40807","head":{"label":"tjof2:enh-fitting-algorithms","ref":"enh-fitting-algorithms","sha":"fcd36a5bb89528fdc05d9123247357bfa0a40807","user":{"login":"tjof2","id":6626247,"avatar_url":"https://avatars.githubusercontent.com/u/6626247?v=3","gravatar_id":"","url":"https://api.github.com/users/tjof2","html_url":"https://github.com/tjof2","followers_url":"https://api.github.com/users/tjof2/followers","following_url":"https://api.github.com/users/tjof2/following{/other_user}","gists_url":"https://api.github.com/users/tjof2/gists{/gist_id}","starred_url":"https://api.github.com/users/tjof2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjof2/subscriptions","organizations_url":"https://api.github.com/users/tjof2/orgs","repos_url":"https://api.github.com/users/tjof2/repos","events_url":"https://api.github.com/users/tjof2/events{/privacy}","received_events_url":"https://api.github.com/users/tjof2/received_events","type":"User","site_admin":false},"repo":{"id":61048580,"name":"hyperspy","full_name":"tjof2/hyperspy","owner":{"login":"tjof2","id":6626247,"avatar_url":"https://avatars.githubusercontent.com/u/6626247?v=3","gravatar_id":"","url":"https://api.github.com/users/tjof2","html_url":"https://github.com/tjof2","followers_url":"https://api.github.com/users/tjof2/followers","following_url":"https://api.github.com/users/tjof2/following{/other_user}","gists_url":"https://api.github.com/users/tjof2/gists{/gist_id}","starred_url":"https://api.github.com/users/tjof2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjof2/subscriptions","organizations_url":"https://api.github.com/users/tjof2/orgs","repos_url":"https://api.github.com/users/tjof2/repos","events_url":"https://api.github.com/users/tjof2/events{/privacy}","received_events_url":"https://api.github.com/users/tjof2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tjof2/hyperspy","description":"Multidimensional data analysis","fork":true,"url":"https://api.github.com/repos/tjof2/hyperspy","forks_url":"https://api.github.com/repos/tjof2/hyperspy/forks","keys_url":"https://api.github.com/repos/tjof2/hyperspy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tjof2/hyperspy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tjof2/hyperspy/teams","hooks_url":"https://api.github.com/repos/tjof2/hyperspy/hooks","issue_events_url":"https://api.github.com/repos/tjof2/hyperspy/issues/events{/number}","events_url":"https://api.github.com/repos/tjof2/hyperspy/events","assignees_url":"https://api.github.com/repos/tjof2/hyperspy/assignees{/user}","branches_url":"https://api.github.com/repos/tjof2/hyperspy/branches{/branch}","tags_url":"https://api.github.com/repos/tjof2/hyperspy/tags","blobs_url":"https://api.github.com/repos/tjof2/hyperspy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tjof2/hyperspy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tjof2/hyperspy/git/refs{/sha}","trees_url":"https://api.github.com/repos/tjof2/hyperspy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tjof2/hyperspy/statuses/{sha}","languages_url":"https://api.github.com/repos/tjof2/hyperspy/languages","stargazers_url":"https://api.github.com/repos/tjof2/hyperspy/stargazers","contributors_url":"https://api.github.com/repos/tjof2/hyperspy/contributors","subscribers_url":"https://api.github.com/repos/tjof2/hyperspy/subscribers","subscription_url":"https://api.github.com/repos/tjof2/hyperspy/subscription","commits_url":"https://api.github.com/repos/tjof2/hyperspy/commits{/sha}","git_commits_url":"https://api.github.com/repos/tjof2/hyperspy/git/commits{/sha}","comments_url":"https://api.github.com/repos/tjof2/hyperspy/comments{/number}","issue_comment_url":"https://api.github.com/repos/tjof2/hyperspy/issues/comments{/number}","contents_url":"https://api.github.com/repos/tjof2/hyperspy/contents/{+path}","compare_url":"https://api.github.com/repos/tjof2/hyperspy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tjof2/hyperspy/merges","archive_url":"https://api.github.com/repos/tjof2/hyperspy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tjof2/hyperspy/downloads","issues_url":"https://api.github.com/repos/tjof2/hyperspy/issues{/number}","pulls_url":"https://api.github.com/repos/tjof2/hyperspy/pulls{/number}","milestones_url":"https://api.github.com/repos/tjof2/hyperspy/milestones{/number}","notifications_url":"https://api.github.com/repos/tjof2/hyperspy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tjof2/hyperspy/labels{/name}","releases_url":"https://api.github.com/repos/tjof2/hyperspy/releases{/id}","deployments_url":"https://api.github.com/repos/tjof2/hyperspy/deployments","created_at":"2016-06-13T15:42:00Z","updated_at":"2016-06-13T15:42:04Z","pushed_at":"2016-07-18T16:25:10Z","git_url":"git://github.com/tjof2/hyperspy.git","ssh_url":"git@github.com:tjof2/hyperspy.git","clone_url":"https://github.com/tjof2/hyperspy.git","svn_url":"https://github.com/tjof2/hyperspy","homepage":"http://www.hyperspy.org","size":87589,"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:RELEASE_next_minor","ref":"RELEASE_next_minor","sha":"63d98d0a25da955ccf7008c8d6535bd89928b3e4","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}","deployments_url":"https://api.github.com/repos/hyperspy/hyperspy/deployments","created_at":"2011-08-19T13:14:36Z","updated_at":"2016-07-16T02:21:49Z","pushed_at":"2016-07-18T16:30:48Z","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":105970,"stargazers_count":62,"watchers_count":62,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":49,"mirror_url":null,"open_issues_count":157,"forks":49,"open_issues":157,"watchers":62,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hyperspy/hyperspy/pulls/1169"},"html":{"href":"https://github.com/hyperspy/hyperspy/pull/1169"},"issue":{"href":"https://api.github.com/repos/hyperspy/hyperspy/issues/1169"},"comments":{"href":"https://api.github.com/repos/hyperspy/hyperspy/issues/1169/comments"},"review_comments":{"href":"https://api.github.com/repos/hyperspy/hyperspy/pulls/1169/comments"},"review_comment":{"href":"https://api.github.com/repos/hyperspy/hyperspy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hyperspy/hyperspy/pulls/1169/commits"},"statuses":{"href":"https://api.github.com/repos/hyperspy/hyperspy/statuses/fcd36a5bb89528fdc05d9123247357bfa0a40807"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"francisco-dlp","id":989719,"avatar_url":"https://avatars.githubusercontent.com/u/989719?v=3","gravatar_id":"","url":"https://api.github.com/users/francisco-dlp","html_url":"https://github.com/francisco-dlp","followers_url":"https://api.github.com/users/francisco-dlp/followers","following_url":"https://api.github.com/users/francisco-dlp/following{/other_user}","gists_url":"https://api.github.com/users/francisco-dlp/gists{/gist_id}","starred_url":"https://api.github.com/users/francisco-dlp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francisco-dlp/subscriptions","organizations_url":"https://api.github.com/users/francisco-dlp/orgs","repos_url":"https://api.github.com/users/francisco-dlp/repos","events_url":"https://api.github.com/users/francisco-dlp/events{/privacy}","received_events_url":"https://api.github.com/users/francisco-dlp/received_events","type":"User","site_admin":false},"comments":0,"review_comments":1,"commits":29,"additions":266,"deletions":156,"changed_files":6}}
{"actor":{"display_login":"francisco-dlp"}}