dynamics-of-stellar-systems / dynamite

dynamics, age and metallicity indicators tracing evolution
MIT License
10 stars 1 forks source link

Python error in running new iteration of models #391

Open avichaturvedi opened 1 month ago

avichaturvedi commented 1 month ago

Dear Dynamite team (@maindlt),

I am running Dynamite models for one of the galaxy using its MUSE IFU observations. I managed to run initial models, however for new iterations, I am getting some python error, which stops the code from running new iterations. Following is the screenshot of the error.

Screenshot 2024-05-28 at 16 22 13

Any suggestions to solve this problem will be very helpful.

Thanks for your help and suggestions.

Regards Avinash

kinmapchi2_plot

kinmapchi2_progress_plot

maindlt commented 1 month ago

Dear @avichaturvedi,

many thanks for reaching out!

From what I see in the posted material, the problem may be in checking the $\chi^2$ improvement against the min_delta_chi2_rel or min_delta_chi2_abs (depending on the setting in the configuration file). More details in PR #392, where I implemented a more stable way to check for min_delta_chi2_... . Please try pulling that PR's branch new_specific_stopping_criteria and let me know whether the problem persists.

For a better analysis I would need at least the all_models.ecsv table, ideally also the dynamite logfile. As this is sensitive data and should not be uploaded to GitHub, you are welcome to directly send it to my personal email thomas.maindl@univie.ac.at

For deeper analysis I would need to reproduce your problem (config file, input and output directory...) but let's leave this for the moment as it would require considerable resources...

All the best, Thomas

avichaturvedi commented 1 month ago

Dear Thomas,

Many thanks for your response. I have responed to your email and sent you the files which you have asked. In the meantime, I will attempt what you have suggested. Many thanks.

Regards Avinash