monitoring(pr, stats=None, location=None, stats_rate=60, dump_rate=60, render=False, frame_rate=1, refresh_rate=0.5, displayed_data='precursor')[source]#

A daemon process function to manage statistics gathering and graphics update.

  • pr (Process) – object of the core deposition process

  • stats (Optional[Statistics]) – object for gathering monitoring data

  • location – file saving directory

  • stats_rate – statistics recording interval in seconds, None disables statistics recording

  • dump_rate – dumping interval in seconds, None disables structure dumping

  • render – True will enable graphical monitoring of the process

  • frame_rate – redrawing delay

  • refresh_rate – sleep time