Skip to content
Snippets Groups Projects
Verified Commit ffbb4d91 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Fix path

parent c225941e
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ class TriggeredHits(kp.Module):
self.detector = kp.hardware.Detector(det_id=det_id)
self.index = 0
self.triggers = None
self.dt = 180
self.dt = 180 # refresh time in seconds
self.start_time = datetime.now()
self.create_plots = kp.time.Cuckoo(self.dt, self.make_plot)
self.n_slices = 0
......@@ -242,7 +242,7 @@ class TriggeredHits(kp.Module):
self.calib.detector,
self.calib.detector.dus,
triggers,
filename="plot_",
filename=filename,
label="Trigger rate [Hz]",
)
self.cprint("Plot up to date")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment