added detector configuration

This commit is contained in:
2023-09-25 17:21:12 +02:00
parent 334d41508f
commit 5ac9ed4456
3 changed files with 61 additions and 1 deletions

View File

@ -5,11 +5,32 @@
##########################################################################################################
# BS channels
from slic.core.acquisition.detcfg import DetectorConfig
# TODO: JF settings regarding raw conversion, compression, etc.
detectors = [
"JF16T03V01",
]
# ALLOWED_PARAMS = dict(
# adc_to_energy = bool,
# compression = bool,
# crystfel_lists_laser = bool,
# disabled_modules = Sequence,
# double_pixels_action = ["mask", "interp", "keep"],
# downsample = tuple,
# factor = Number,
# geometry = bool,
# remove_raw_files = bool,
# roi = dict, #TODO: check on contents of the dict?
# save_dap_results = bool
# )
detectors_with_config = DetectorConfig(detectors)
detectors_with_config["JF16T03V01"]['save_dap_results'] = True
camera_channels = [
# "SARES30-CAMS156-PCO1:FPICTURE", # PCO edge camera for the wavefront analysis (from Alvra)
# "SARES30-CAMS156-SMX-OAV:FPICTURE", # SwissMX OAV camera picture
@ -25,6 +46,7 @@ channels_gas_monitor = [
"SARFE10-PBIG050-EVR0:CALCI", # good for correlations with total beam intensity
"SARFE10-PBPG050:HAMP-INTENSITY-CAL",
]
# RF phases and amplitudes
channels_RF = [
"SINSB01-RLLE-DSP:PHASE-VS",