-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update AlAs lattice parameter and Cij #165
Conversation
Found a newer value for AlAs lattice parameter, closer to our lab's value
Update AlAs lattice parameter and Cij
thanks for the contribution. you are welcome to add yourself to the copyright statement at the top of the file. |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
The last commit uploaded does not at all fit the scope of this pull request and should be removed. I also do not like the way its implemented since |
Ooops
sorry, I think I commit my changes to the main repository, instead of my fork. I should have not. That was just some tests, sorry I am not well use to GitHub. I made another commit please delete it.
I tried to use lmfit_kws but did not work. If you have any suggestion to do it properly, I want to switch from the method leastsq to differential_evolution.
I also want to add an offset to incident angle in the dynamical model simulation, as a fitting parameter. Perhaps I should make an issue instead of coding myself.
I apologize for the troubles...
Aristide
PS I downloaded the last version from GitHub, and I could change the method like this:
fitr = fitmdyn.fit(Int, params, scanomcorr,fit_kws={'method':'differential_evolution'})
… Le 3 juil. 2023 à 18:24, Dominik Kriegner ***@***.***> a écrit :
The last commit uploaded does not at all fit the scope of this pull request and should be removed.
I also do not like the way its implemented since FitModel is derived from lmfit.Model it should follow its way of using keyword arguments. So the method keyword argument to the class constructor seems to be against this pattern. I understand that already now I break the compatibility with lmfit.Model in some positions but I think it should not get worse. So the method must be passed to FitModel.fit and in fact this is already possible via the lmfit_kws argument of FitModel.fit. If you see a way to improve the situation and keep or improve the compatibility with lmfit.Model suggestions are welcome.
—
Reply to this email directly, view it on GitHub <#165 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADC6OBUMTZEBX73FCOKMXGLXOLW3DANCNFSM6AAAAAAZ24O6BE>.
You are receiving this because you authored the thread.
|
Deleting unwanted commit file
Hi |
I merged the change of the AlAs lattice parameters. Thanks for the contribution! I have recently changed this FitModel part myself since I realized that not all keyword arguments can be passed through. I guess it should now work (either with fit_kws or lmfit_kws), but I am not entirely happy with the way its done. If you see problems please open a github issue and we come up with a solution. |
update AlAs lattice parameter and Cij (dkriegner#165)
update Changelog with changes from dkriegner#165
Hi
Great library !
I found out the AlAs lattice parameter was inconsistent with our lab software database. I suggest to update it from this paper Appl. Phys. Lett. 66, 682–684 (1995): 5.66172 (instead of 5.6611). Our lab database indicates 5.66182 but I cannot find any reference yet.