labscript.utils.print_time

print_time(t, description)[source]

Print time with a descriptive string.

Useful debug tool to print time at a specific point in the shot, during shot compilation. Helpful when the time is calculated.

Parameters:
  • t (float) – Time to print

  • description (str) – Descriptive label to print with it