File tree Expand file tree Collapse file tree 4 files changed +16
-9
lines changed
Expand file tree Collapse file tree 4 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 44sleep 5
55
66# Start the IOC
7- fastcs-odin ioc {{ .Values.pvPrefix }} --ip {{ .Values.detectorName }}-odin-server --port 8888
7+ fastcs-jungfrau ioc {{ .Values.pvPrefix }} --config /epics/ioc/jungfrau_9m.config --odin- ip {{ .Values.detectorName }}-odin-server --odin -port 8888
Original file line number Diff line number Diff line change 126126 "hdf" : {
127127 "dataset" : {
128128 "data" : {
129- "dims" : [{{ .Values.sensorSizeY }}, {{ .Values.sensorSizeX }} ],
130- "chunks" : [1 , {{ .Values.sensorSizeY }}, {{ .Values.sensorSizeX }} ]
129+ "dims" : [512 , 1024 ],
130+ "chunks" : [1 , 512 , 1024 ]
131131 }
132132 }
133133 }
134134 },
135135 {
136136 "jungfrau" : {
137- "endpoint" : " {{ .Values.endpoint }}:{{ add 8000 .idx }}"
137+ "endpoint" : " {{ .Values.endpoint }}:{{ add 31001 .idx }}"
138138 }
139139 }
140140]
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- {{- $endpointFormat := (printf " tcp://%s-odin-data-%%d:%d" .Values.detectorName 10008) }}
3+ {{- $endpoints := list }}
4+ {{- range $i := until (int .Values.odinDataCount) }}
5+ {{- $endpoints = append $endpoints (printf " tcp://%s-odin-data-%d:10008" $.Values.detectorName $i ) }}
6+ {{- end }}
47
58/venv/bin/jungfrau_meta_writer \
69 --writer jungfrau_detector.JungfrauMetaWriter \
7- --sensor-shape {{ .Values.sensorSizeX }} {{ .Values.sensorSizeY }} \
8- --data-endpoints {{ include " odin-helm-charts.rangeJoin " (dict " separator " " ," " format " $endpointFormat " count " .Values.odinDataCount ) }}
10+ --sensor-shape 512 1024 \
11+ --data-endpoints {{ join " ," $endpoints }}
Original file line number Diff line number Diff line change @@ -7,10 +7,14 @@ adapters = fp, mw
77[tornado]
88logging = error
99
10+ {{- $endpoints := list }}
11+ {{- range $i := until (int .Values.odinDataCount) }}
12+ {{- $endpoints = append $endpoints (printf " %s-odin-data-%d:10004" $.Values.detectorName $i) }}
13+ {{- end }}
14+
1015[adapter.fp]
1116module = odin_data.control.frame_processor_adapter.FrameProcessorAdapter
12- {{- $endpointFormat := (printf " %s-odin-data-%%d:%d" .Values.detectorName 10004) }}
13- endpoints = {{ include " odin-helm-charts.rangeJoin" (dict " separator" " , " " format" $endpointFormat " count" .Values.odinDataCount ) }}
17+ endpoints = {{ join " , " $endpoints }}
1418update_interval = 0.2
1519
1620[adapter.mw]
You can’t perform that action at this time.
0 commit comments