{"action":"closed","number":1045,"pull_request":{"url":"https://api.github.com/repos/hyperspy/hyperspy/pulls/1045","id":71930514,"html_url":"https://github.com/hyperspy/hyperspy/pull/1045","diff_url":"https://github.com/hyperspy/hyperspy/pull/1045.diff","patch_url":"https://github.com/hyperspy/hyperspy/pull/1045.patch","issue_url":"https://api.github.com/repos/hyperspy/hyperspy/issues/1045","number":1045,"state":"closed","locked":false,"title":"Enh improve model docs + heaviside component instead of the double offset","user":{"login":"to266","id":3384140,"avatar_url":"https://avatars.githubusercontent.com/u/3384140?v=3","gravatar_id":"","url":"https://api.github.com/users/to266","html_url":"https://github.com/to266","followers_url":"https://api.github.com/users/to266/followers","following_url":"https://api.github.com/users/to266/following{/other_user}","gists_url":"https://api.github.com/users/to266/gists{/gist_id}","starred_url":"https://api.github.com/users/to266/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/to266/subscriptions","organizations_url":"https://api.github.com/users/to266/orgs","repos_url":"https://api.github.com/users/to266/repos","events_url":"https://api.github.com/users/to266/events{/privacy}","received_events_url":"https://api.github.com/users/to266/received_events","type":"User","site_admin":false},"body":"Removed the strange double eels offset component and instead added Heaviside (step) function component.\r\n\r\nAlso the docstrings of `components` module is automatically generated and includes more useful information, so that:\r\n```python\r\n>>> import hyperspy.api as hs\r\n>>> help(hs.model.components)\r\nHelp on module hyperspy.components in hyperspy:\r\n\r\nNAME\r\n    hyperspy.components - Components that can be used to define a model for e.g. curve fitting.\r\n\r\nDESCRIPTION\r\n    There are some components that are only useful for one particular kind of signal\r\n    and therefore their name are preceded by the signal name: eg. eels_cl_edge.\r\n    \r\n    For more details see each component docstring.\r\n    ====================================================================\r\n    VolumePlasmonDrude        Drude volume plasmon energy loss function c..\r\n    Logistic                  Logistic function component..\r\n    Bleasdale                 Bleasdale function component...\r\n    Gaussian                  Normalized gaussian function component..\r\n    HeavisideStep             The Heaviside step function..\r\n    Expression                Create a component from a string expression..\r\n    Spline                    ..\r\n    PowerLaw                  Power law component..\r\n    DoublePowerLaw            ..\r\n    ScalableFixedPattern      Fixed pattern component with interpolation ..\r\n    Offset                    Component to add a constant value in the y-..\r\n    PESCoreLineShape          ..\r\n    SEE                       Secondary electron emission component for P..\r\n    Exponential               Exponentian function components..\r\n    Erf                       Error function component..\r\n    RC                        ..\r\n    Lorentzian                Cauchy-Lorentz distribution (a.k.a. Lorentz..\r\n    EELSCLEdge                EELS core loss ionisation edge from hydroge..\r\n    Arctan                    Arctan function component..\r\n    Vignetting                ..\r\n    Voigt                     Voigt profile component with support for sh..\r\n    Polynomial                n-order polynomial component...\r\n\r\nFILE\r\n    /home/to266/dev/hyperspy/hyperspy/components.py\r\n```","created_at":"2016-05-30T18:59:55Z","updated_at":"2016-05-31T14:11:13Z","closed_at":"2016-05-31T14:11:13Z","merged_at":"2016-05-31T14:11:13Z","merge_commit_sha":"6f6a6f60af7cf3c7037ba745454e837e86afe743","assignee":null,"milestone":{"url":"https://api.github.com/repos/hyperspy/hyperspy/milestones/17","html_url":"https://github.com/hyperspy/hyperspy/milestones/next_maintenance_release","labels_url":"https://api.github.com/repos/hyperspy/hyperspy/milestones/17/labels","id":1580123,"number":17,"title":"next_maintenance_release","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":8,"closed_issues":58,"state":"open","created_at":"2016-02-12T17:08:52Z","updated_at":"2016-05-31T14:11:13Z","due_on":"2016-05-26T23:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/hyperspy/hyperspy/pulls/1045/commits","review_comments_url":"https://api.github.com/repos/hyperspy/hyperspy/pulls/1045/comments","review_comment_url":"https://api.github.com/repos/hyperspy/hyperspy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hyperspy/hyperspy/issues/1045/comments","statuses_url":"https://api.github.com/repos/hyperspy/hyperspy/statuses/2b9e3c0ce4f8ca3a5f776d01c58a784ff160f8e7","head":{"label":"to266:ENH_improve_model_docs","ref":"ENH_improve_model_docs","sha":"2b9e3c0ce4f8ca3a5f776d01c58a784ff160f8e7","user":{"login":"to266","id":3384140,"avatar_url":"https://avatars.githubusercontent.com/u/3384140?v=3","gravatar_id":"","url":"https://api.github.com/users/to266","html_url":"https://github.com/to266","followers_url":"https://api.github.com/users/to266/followers","following_url":"https://api.github.com/users/to266/following{/other_user}","gists_url":"https://api.github.com/users/to266/gists{/gist_id}","starred_url":"https://api.github.com/users/to266/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/to266/subscriptions","organizations_url":"https://api.github.com/users/to266/orgs","repos_url":"https://api.github.com/users/to266/repos","events_url":"https://api.github.com/users/to266/events{/privacy}","received_events_url":"https://api.github.com/users/to266/received_events","type":"User","site_admin":false},"repo":{"id":13862483,"name":"hyperspy","full_name":"to266/hyperspy","owner":{"login":"to266","id":3384140,"avatar_url":"https://avatars.githubusercontent.com/u/3384140?v=3","gravatar_id":"","url":"https://api.github.com/users/to266","html_url":"https://github.com/to266","followers_url":"https://api.github.com/users/to266/followers","following_url":"https://api.github.com/users/to266/following{/other_user}","gists_url":"https://api.github.com/users/to266/gists{/gist_id}","starred_url":"https://api.github.com/users/to266/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/to266/subscriptions","organizations_url":"https://api.github.com/users/to266/orgs","repos_url":"https://api.github.com/users/to266/repos","events_url":"https://api.github.com/users/to266/events{/privacy}","received_events_url":"https://api.github.com/users/to266/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/to266/hyperspy","description":"Hyperspectral data analysis","fork":true,"url":"https://api.github.com/repos/to266/hyperspy","forks_url":"https://api.github.com/repos/to266/hyperspy/forks","keys_url":"https://api.github.com/repos/to266/hyperspy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/to266/hyperspy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/to266/hyperspy/teams","hooks_url":"https://api.github.com/repos/to266/hyperspy/hooks","issue_events_url":"https://api.github.com/repos/to266/hyperspy/issues/events{/number}","events_url":"https://api.github.com/repos/to266/hyperspy/events","assignees_url":"https://api.github.com/repos/to266/hyperspy/assignees{/user}","branches_url":"https://api.github.com/repos/to266/hyperspy/branches{/branch}","tags_url":"https://api.github.com/repos/to266/hyperspy/tags","blobs_url":"https://api.github.com/repos/to266/hyperspy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/to266/hyperspy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/to266/hyperspy/git/refs{/sha}","trees_url":"https://api.github.com/repos/to266/hyperspy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/to266/hyperspy/statuses/{sha}","languages_url":"https://api.github.com/repos/to266/hyperspy/languages","stargazers_url":"https://api.github.com/repos/to266/hyperspy/stargazers","contributors_url":"https://api.github.com/repos/to266/hyperspy/contributors","subscribers_url":"https://api.github.com/repos/to266/hyperspy/subscribers","subscription_url":"https://api.github.com/repos/to266/hyperspy/subscription","commits_url":"https://api.github.com/repos/to266/hyperspy/commits{/sha}","git_commits_url":"https://api.github.com/repos/to266/hyperspy/git/commits{/sha}","comments_url":"https://api.github.com/repos/to266/hyperspy/comments{/number}","issue_comment_url":"https://api.github.com/repos/to266/hyperspy/issues/comments{/number}","contents_url":"https://api.github.com/repos/to266/hyperspy/contents/{+path}","compare_url":"https://api.github.com/repos/to266/hyperspy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/to266/hyperspy/merges","archive_url":"https://api.github.com/repos/to266/hyperspy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/to266/hyperspy/downloads","issues_url":"https://api.github.com/repos/to266/hyperspy/issues{/number}","pulls_url":"https://api.github.com/repos/to266/hyperspy/pulls{/number}","milestones_url":"https://api.github.com/repos/to266/hyperspy/milestones{/number}","notifications_url":"https://api.github.com/repos/to266/hyperspy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/to266/hyperspy/labels{/name}","releases_url":"https://api.github.com/repos/to266/hyperspy/releases{/id}","deployments_url":"https://api.github.com/repos/to266/hyperspy/deployments","created_at":"2013-10-25T14:12:17Z","updated_at":"2015-04-10T14:53:57Z","pushed_at":"2016-05-31T14:10:41Z","git_url":"git://github.com/to266/hyperspy.git","ssh_url":"git@github.com:to266/hyperspy.git","clone_url":"https://github.com/to266/hyperspy.git","svn_url":"https://github.com/to266/hyperspy","homepage":"http://www.hyperspy.org","size":77115,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"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":1,"default_branch":"master"}},"base":{"label":"hyperspy:0.8.x","ref":"0.8.x","sha":"8234c4f7e0f11a7d7c44f356d43cb06f8afa7ab8","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-05-21T21:11:10Z","pushed_at":"2016-05-31T14:11:13Z","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":100198,"stargazers_count":57,"watchers_count":57,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":46,"mirror_url":null,"open_issues_count":165,"forks":46,"open_issues":165,"watchers":57,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hyperspy/hyperspy/pulls/1045"},"html":{"href":"https://github.com/hyperspy/hyperspy/pull/1045"},"issue":{"href":"https://api.github.com/repos/hyperspy/hyperspy/issues/1045"},"comments":{"href":"https://api.github.com/repos/hyperspy/hyperspy/issues/1045/comments"},"review_comments":{"href":"https://api.github.com/repos/hyperspy/hyperspy/pulls/1045/comments"},"review_comment":{"href":"https://api.github.com/repos/hyperspy/hyperspy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hyperspy/hyperspy/pulls/1045/commits"},"statuses":{"href":"https://api.github.com/repos/hyperspy/hyperspy/statuses/2b9e3c0ce4f8ca3a5f776d01c58a784ff160f8e7"}},"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":2,"review_comments":2,"commits":4,"additions":146,"deletions":59,"changed_files":7}}
{"actor":{"display_login":"francisco-dlp"}}