{"action":"opened","issue":{"url":"https://api.github.com/repos/lmfit/lmfit-py/issues/356","repository_url":"https://api.github.com/repos/lmfit/lmfit-py","labels_url":"https://api.github.com/repos/lmfit/lmfit-py/issues/356/labels{/name}","comments_url":"https://api.github.com/repos/lmfit/lmfit-py/issues/356/comments","events_url":"https://api.github.com/repos/lmfit/lmfit-py/issues/356/events","html_url":"https://github.com/lmfit/lmfit-py/issues/356","id":165949143,"number":356,"title":"add two model which contains same parameters","user":{"login":"whitenights1","id":10759676,"avatar_url":"https://avatars.githubusercontent.com/u/10759676?v=3","gravatar_id":"","url":"https://api.github.com/users/whitenights1","html_url":"https://github.com/whitenights1","followers_url":"https://api.github.com/users/whitenights1/followers","following_url":"https://api.github.com/users/whitenights1/following{/other_user}","gists_url":"https://api.github.com/users/whitenights1/gists{/gist_id}","starred_url":"https://api.github.com/users/whitenights1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitenights1/subscriptions","organizations_url":"https://api.github.com/users/whitenights1/orgs","repos_url":"https://api.github.com/users/whitenights1/repos","events_url":"https://api.github.com/users/whitenights1/events{/privacy}","received_events_url":"https://api.github.com/users/whitenights1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-16T21:48:32Z","updated_at":"2016-07-16T21:48:32Z","closed_at":null,"body":"I'm trying to fit a data which composite of several peak in the shape of gaussian distribution. I use the feature of  Model in lmfit to create a Model for each of peak( I used the Gaussian function edited by myself, not the built one in lmfit). The I try to make a composite of them all. Because the width of those Gaussian peak are the same, so when I want the same parameter in each of Model. When I add two Model, the lmfit told me   ' Two models have parameters named 'a'. Use distinct names.'. Is there any solution to this problem? I know I can put a constraint on the parameters. But is there any other way since the number of peaks is large.\r\n\r\n"}}
{"actor":{"display_login":"whitenights1"}}