bkloppenborg / simtoi

The SImulation and Modeling Tool for Optical Interferometry
GNU General Public License v3.0
7 stars 6 forks source link

Readout for gridsearch #144

Open therob762 opened 9 years ago

therob762 commented 9 years ago

Not so much of an issue, as a request. Could you have simtoi output to the screen which parameters it is currently on a gridsearch? It would allow a user to know a) if the search is working, and b) approximately how much time is remaining.

bkloppenborg commented 9 years ago

Writing to the console is very, very slow compared to the rest of the operations so it would likely drag down the performance considerably. In #80 Fabien suggested we add a percent complete bar to the main GUI for the gridsearch engine... this is probably a better way of accomplishing the same task.

In the mean time, I'll have the top-level parameter print out a status update.

fabienbaron commented 9 years ago

I wouldn't completely rule out the console. We can precompute the number of iterations, so maybe we could only print every 5% or so (starting with 0% so that user knows something is happening).