You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear Xraylarch community,
I'm using Larch to fit multiple datasets at the same time. It works well on my windows 11 computer. However, it doesn't work correctly on my linux computer(Ubuntu 22.04.3 LTS).
I implemented the fitting by using the Cu example in Larch example folder as an example. Instead of using the same parameters for all datasets, I assigned different variables for Einstein temperature, denoted theta1, theta2, and theta3, and set them to vary, as shown in the picture below.
However, I got the result only theta3 is in the vary mod, but the program automatically to turn theta1 and theta2 to the fixed mod. This doesn't happen on my Windows computer. Here is the report:
In addition, I attemped to add the fix_unused_variables=False option in feffit function.
Although a warning was prompted to say "Feffit Warning: unused variables: theta1, theta2", the fitting is running successfully without misunderstanding parameters:
I'm really curious what happens in the codes. Is any different setting for Linux and Windows? In the attachment, I send all the files I used for the test as a compressed file.
@kaifengZheng Thanks for the report and sorry for the trouble. I can confirm that I see that too. I think I have a fix, but want to run some more tests. I hope to get a fix post later today or tomorrow.
Dear Xraylarch community,
I'm using Larch to fit multiple datasets at the same time. It works well on my windows 11 computer. However, it doesn't work correctly on my linux computer(Ubuntu 22.04.3 LTS).
I implemented the fitting by using the Cu example in Larch example folder as an example. Instead of using the same parameters for all datasets, I assigned different variables for Einstein temperature, denoted theta1, theta2, and theta3, and set them to vary, as shown in the picture below.
However, I got the result only theta3 is in the vary mod, but the program automatically to turn theta1 and theta2 to the fixed mod. This doesn't happen on my Windows computer. Here is the report:
In addition, I attemped to add the
fix_unused_variables=False
option in feffit function.Although a warning was prompted to say "Feffit Warning: unused variables: theta1, theta2", the fitting is running successfully without misunderstanding parameters:
I'm really curious what happens in the codes. Is any different setting for Linux and Windows? In the attachment, I send all the files I used for the test as a compressed file.
multi_fitting.zip
Best regards,
Kaifeng Zheng
The text was updated successfully, but these errors were encountered: