Commit 838cc60a authored by Tobias Winchen's avatar Tobias Winchen

Added receiver id to data streams

parent c0dcada7
Pipeline #91085 passed with stages
in 2 minutes and 58 seconds
......@@ -33,8 +33,8 @@ data_formats = {
"port": "",
"description": "Spead stream of integrated spectra.",
"central_freq": "",
"receiver_id": "", # Passign down all informations via the data format is only a hack as any product should not what to pass down from upstream to downstream. Only a full desciption of itself should be passed. If a data writer needs all information, it should recnstrut it from the entreis in the data store.
"band_flip": ""
},
"MPIFR_EDD_Packetizer:1": {
"ip": "",
......@@ -44,6 +44,7 @@ data_formats = {
"sync_time" : 0,
"band_flip": False,
"central_freq": 0,
"receiver_id": "",
"polarization": None,
"samples_per_heap": 4096,
"description": "Spead stream of time-domain packetizer data as in EDD ICD."
......
......@@ -437,6 +437,7 @@ class GatedSpectrometerPipeline(EDDPipeline):
for l in self._config["output_data_streams"].values():
l["central_freq"] = self._config["input_data_streams"][0]["central_freq"]
l["band_flip"] = self._config["input_data_streams"][0]["band_flip"]
l["receiver_id"] = self._config["input_data_streams"][0]["receiver_id"]
self._configUpdated()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment