Skip to content
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

LeBail fit divergence when profile fitting 2 crystal phases #57

Open
Charlaiz opened this issue Mar 21, 2023 · 1 comment
Open

LeBail fit divergence when profile fitting 2 crystal phases #57

Charlaiz opened this issue Mar 21, 2023 · 1 comment
Assignees

Comments

@Charlaiz
Copy link

Hello,

I've encountered issues when trying to perform a LeBail profile fit on a powder pattern with multiple phases. This problem does not occur when working with single phase patterns. I have fairly good lattice constants from both phases (it is a mix from two pure phases I deliberately made to try multi phase refinement), so the starting parameters should be ok.
For these particular phases, Fox profile fitting works very well when dealing with phase-pure samples; however in the mixed powder pattern I am unable to get a decent profile fit - it diverges from the start. I have verified in fullprof that this pattern that a good profile fit can be easily obtained for this pattern.
I add the input file (as .txt) as an attachment.
Thanks in advance!
gis-ana.txt

@vincefn
Copy link
Owner

vincefn commented Mar 21, 2023

Thanks for the example. Indeed it is not converging correctly. By deactivating some of the most sensitive group of parameters (asymmetric profiles, displacement. - background seems OK in this case) there is no divergence but something is wrong e.g. with the Le Bail fit.

Strange, with a slightly different procedure it works with multiple phases in python using pyobjcryst - cf https://pyobjcryst.readthedocs.io/en/latest/examples/Quantitative-phase-analysis.html

@vincefn vincefn self-assigned this Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants