{"action":"created","issue":{"url":"https://api.github.com/repos/hyperspy/hyperspy/issues/568","labels_url":"https://api.github.com/repos/hyperspy/hyperspy/issues/568/labels{/name}","comments_url":"https://api.github.com/repos/hyperspy/hyperspy/issues/568/comments","events_url":"https://api.github.com/repos/hyperspy/hyperspy/issues/568/events","html_url":"https://github.com/hyperspy/hyperspy/issues/568","id":85556562,"number":568,"title":"Deprecate `create_model`","user":{"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},"labels":[{"url":"https://api.github.com/repos/hyperspy/hyperspy/labels/API%20change","name":"API change","color":"bfd4f2"},{"url":"https://api.github.com/repos/hyperspy/hyperspy/labels/proposal","name":"proposal","color":"02d7e1"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/hyperspy/hyperspy/milestones/12","html_url":"https://github.com/hyperspy/hyperspy/milestones/0.8.1","labels_url":"https://api.github.com/repos/hyperspy/hyperspy/milestones/12/labels","id":1050058,"number":12,"title":"0.8.1","description":"","creator":{"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},"open_issues":25,"closed_issues":9,"state":"open","created_at":"2015-04-02T09:39:20Z","updated_at":"2015-06-05T15:57:13Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-06-05T15:16:07Z","updated_at":"2015-06-08T09:00:10Z","closed_at":null,"body":"\r\nI propose to turn the `hspy.create_model` function into a `Signal` method that should allow us to write:\r\n\r\n```python\r\n m = s.create_mode()\r\n\r\n```\r\n\r\nInstead of \r\n\r\n```python\r\n\r\nm = create_model(s)\r\n\r\n```\r\n\r\nThe advantage is that, given that there are options which are specific for each `Signal` type, the docstring and argument list will be less confusing. What do you think?\r\n"},"comment":{"url":"https://api.github.com/repos/hyperspy/hyperspy/issues/comments/109917908","html_url":"https://github.com/hyperspy/hyperspy/issues/568#issuecomment-109917908","issue_url":"https://api.github.com/repos/hyperspy/hyperspy/issues/568","id":109917908,"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},"created_at":"2015-06-08T09:00:10Z","updated_at":"2015-06-08T09:00:10Z","body":"I agree with saving multiple models for a signal, but what do you mean by saving \"a model of several signals\", @pburdet? "}}