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,
![image](https://private-user-images.githubusercontent.com/48105165/296505180-1727dda5-6ba5-4057-aaa6-69ea0b5d59ba.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQzMjc1MDIsIm5iZiI6MTcyNDMyNzIwMiwicGF0aCI6Ii80ODEwNTE2NS8yOTY1MDUxODAtMTcyN2RkYTUtNmJhNS00MDU3LWFhYTYtNjllYTBiNWQ1OWJhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIyVDExNDY0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIzODQ1M2YyZjk3M2RmYjlkNTFiZWQ0NWZiODljMmFjYTAyMDdhMWVkZTc3N2UzNDZkZmFmYzEwOGFhNGFlNGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.gP64l9flNpIYtVQI7m6jMb-McwmNXrHlRnjadQxLjjc)
![image](https://private-user-images.githubusercontent.com/48105165/296505431-0a696d27-38d4-4a00-bd91-b802ccae1c85.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQzMjc1MDIsIm5iZiI6MTcyNDMyNzIwMiwicGF0aCI6Ii80ODEwNTE2NS8yOTY1MDU0MzEtMGE2OTZkMjctMzhkNC00YTAwLWJkOTEtYjgwMmNjYWUxYzg1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIyVDExNDY0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE4YzdjODU2M2ZhY2Y2ZDljNmE0ZjcyMmQxNzZhODNhM2NiOTBiNjAxOTM3NGFjODYzYjc2MTI3MzA1MWRmNDImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.mzStBTr5nra_2DA64fzriNGPG0D8-kUFIh2SgZFIigY)
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
![image](https://private-user-images.githubusercontent.com/48105165/296505851-ab979026-24c6-467d-b649-27a44398082c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQzMjc1MDIsIm5iZiI6MTcyNDMyNzIwMiwicGF0aCI6Ii80ODEwNTE2NS8yOTY1MDU4NTEtYWI5NzkwMjYtMjRjNi00NjdkLWI2NDktMjdhNDQzOTgwODJjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIyVDExNDY0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY2ZDk2NzY0ZmQwOTQ3MTUxZjdmZTU2MjY0NDNhOTA3ZDgzZTQwMjRhZjI0ZDE1YTljNTNjMWRmMWM3ZTIyMzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.6xl0u6g0vooRdYN-EcH_fTGiRgJpgGwAuSBfvoWMUzs)
![image](https://private-user-images.githubusercontent.com/48105165/296505691-13864f0c-4fe2-41bd-bcf0-841c16c23d87.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQzMjc1MDIsIm5iZiI6MTcyNDMyNzIwMiwicGF0aCI6Ii80ODEwNTE2NS8yOTY1MDU2OTEtMTM4NjRmMGMtNGZlMi00MWJkLWJjZjAtODQxYzE2YzIzZDg3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIyVDExNDY0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg0YmJkODY0ZDFjMmExNjEyYjAwMjJhOTgyMDFkY2E1ZDU5NzEwODBiYjE3MTkyNmNhZTIyNTMxNzEzOGNlZTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.x2XyKrdisHWefU3t37MVkb08L_MEFTiFiEKUiER3IYg)
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: