02.2026
This commit is contained in:
@@ -103,7 +103,7 @@ if do_elog:
|
||||
log_msg = log_msg + "BPM2: " + BPM2[U] + "\n"
|
||||
log_msg = log_msg + "MQUA center: " + str(ui) + "\n"
|
||||
sleep(0.1) #Give some time to plot to be finished - it is not sync with acquisition
|
||||
file_name = os.path.abspath(get_context().setup.getContextPath() + "/BPM_Quad_Plot.png")
|
||||
file_name = os.path.abspath(Setup.getContextPath() + "/BPM_Quad_Plot.png")
|
||||
plt.saveSnapshot(file_name , "png")
|
||||
elog(title, log_msg, [file_name,])
|
||||
|
||||
|
||||
2
script/Alignment/Gun_solenoid_alignment.py
Executable file → Normal file
2
script/Alignment/Gun_solenoid_alignment.py
Executable file → Normal file
@@ -132,7 +132,7 @@ if do_elog:
|
||||
log_msg = log_msg + "\n\n" + r.print()
|
||||
|
||||
sleep(0.1) #Give some time to plot to be finished - it is not sync with acquisition
|
||||
file_name = os.path.abspath(get_context().setup.getContextPath() + "/centroid_excursion.png")
|
||||
file_name = os.path.abspath(Setup.getContextPath() + "/centroid_excursion.png")
|
||||
centroid_plot.saveSnapshot(file_name , "png")
|
||||
elog("Gun solenoid alignment", log_msg, [file_name,])
|
||||
|
||||
|
||||
2
script/Alignment/Laser_gun_alignment.py
Executable file → Normal file
2
script/Alignment/Laser_gun_alignment.py
Executable file → Normal file
@@ -133,7 +133,7 @@ if do_elog:
|
||||
log_msg = log_msg + "\n\n" + r.print()
|
||||
|
||||
sleep(0.1) #Give some time to plot to be finished - it is not sync with acquisition
|
||||
file_name = os.path.abspath(get_context().setup.getContextPath() + "/centroid_excursion.png")
|
||||
file_name = os.path.abspath(Setup.getContextPath() + "/centroid_excursion.png")
|
||||
centroid_plot.saveSnapshot(file_name , "png")
|
||||
elog("Laser alignment with phase scan", log_msg, [file_name,])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user