computed-axial-lithography / VAMToolbox

Other
27 stars 10 forks source link

[bug-fix] Optimization plots freeze up between updates #22

Open alvinccli opened 8 months ago

alvinccli commented 8 months ago

During optimizations, the optimization plots (showing the target, dose, error, etc) is only updated once per iteration (i.e. every couple seconds or tens of seconds) and the plot is not responsive between the updates.

In other words, the plot window would hang for most of the time.

Solution would be moving the plotting functions to another thread or process such that the plot remains responsive.