progression_popup

nrv.backend.progression_popup(current, max_iter, begin_message='', end_message='', endl='')[source]

Displays the progression on prompt, for single process only, nothing saved to the log

Parameters:
  • current (int) – current iteration

  • max_iter (int) – maximum iteration number

  • begin_message (str) – additional message placed at the start of the progression line

  • end_message (str) – additional message placed after iteration and max at the end of the progression line

  • endl (str) – line termination, by default empty string