Files
saresb/script/test/test_screenpanel_pipeline.py
2021-04-28 09:14:56 +02:00

18 lines
546 B
Python
Executable File

import ch.psi.pshell.device.HistogramGenerator as HistogramGenerator
cam_server.start("SARES20-PROF141-M1_sp", "SARES20-PROF141-M1_sp1")
channels = ["intensity",
"x_center_of_mass",
"x_fwhm",
"x_rms",
"x_fit_amplitude",
"x_fit_mean",
"x_fit_offset",
"x_fit_standard_deviation",
"x_profile"
]
for channel in channels:
dev = cam_server.stream.getChild(channel)
add_device(dev, True)