|
2 | 2 | "SPARCv2 EK + Streakcam": { |
3 | 3 | class: Microscope, |
4 | 4 | role: sparc2, |
5 | | - children: ["SEM E-beam", "SEM Detector", "Calibration Light", |
6 | | - "Optical Path Properties", "Spectrometer Vis-NIR", |
7 | | - "Camera", "CL Detector", "Spectrograph", |
8 | | - "Spec Filter Wheel", "Spec CCD Flipper", "Spectrograph focus", |
9 | | - "Mirror Actuators", "Mirror Actuators in XY referential", |
10 | | - "Slit", "CL Selector", "CL Filter Wheel", |
11 | | - "Lens1 Mover", "Lens2 Switch", |
12 | | - "Streak Readout CCD", "Streak Delay Generator", "Streak Unit", |
13 | | - "Streak Lens"], |
14 | 5 | } |
15 | 6 |
|
16 | 7 | # Light (lamp with known spectrum) |
|
150 | 141 |
|
151 | 142 | # simple simulated streak camera |
152 | 143 | "Streak Camera": { |
153 | | - class: simstreakcam.StreakCamera, |
| 144 | + class: hamamatsurx.StreakCamera, |
154 | 145 | role: streak-cam, |
155 | 146 | init: { |
| 147 | + host: "fake-synchroscan", # starts a local HPDTA simulator |
| 148 | + port: 11001, |
156 | 149 | }, |
157 | 150 | children: { |
158 | 151 | readoutcam: "Streak Readout CCD", |
|
164 | 157 | }, |
165 | 158 | } |
166 | 159 |
|
167 | | -# for testing with real HW |
168 | | -#"Streak Camera": { |
169 | | -# class: hamamatsurx.StreakCamera, |
170 | | -# role: streak-cam, |
171 | | -# init: { |
172 | | -# host: "172.16.4.2", # Braunschweig System |
173 | | -# port: 1001 |
174 | | -# }, |
175 | | -# children: { |
176 | | -# readoutcam: "Streak Readout CCD", |
177 | | -# delaybox: "Streak Delay Generator", |
178 | | -# streakunit: "Streak Unit" |
179 | | -# }, |
180 | | -# dependencies: { |
181 | | -# spectrograph: "Spectrograph" |
182 | | -# }, |
183 | | -#} |
184 | | - |
185 | 160 | "Streak Readout CCD": { |
186 | 161 | role: streak-ccd, |
187 | 162 | init: { |
188 | | - image: "sparc-ar-mirror-align.h5", # only for simulator! TODO replace with streak image |
189 | | -# device: 0, |
190 | 163 | transp: [-1, 2], # if mirrored on X axis |
| 164 | + can_photon_counting: true, |
191 | 165 | }, |
192 | | -# dependencies: {spectrograph: "Spectrograph"}, |
193 | | - # TODO does not work for now as modelgen says no component named spectrograph found |
194 | 166 | } |
195 | 167 |
|
196 | 168 | "Streak Unit": { |
197 | 169 | role: streak-unit, |
198 | 170 | init: { |
| 171 | + # Needed when using the synchroscan version |
| 172 | + # Arbitrary value -> range |
| 173 | + "time_ranges": { |
| 174 | + 1: 78.e-12, |
| 175 | + 2: 235.e-12, |
| 176 | + 3: 720.e-12, |
| 177 | + 4: 1600.e-12, |
| 178 | + 5: 3600.e-12, |
| 179 | + }, |
199 | 180 | }, |
200 | 181 | affects: ["Streak Readout CCD"], |
201 | 182 | } |
|
205 | 186 | init: { |
206 | 187 | }, |
207 | 188 | metadata: { |
208 | | - TIME_RANGE_TO_DELAY: { |
209 | | - # timeRange (s) -> triggerDelay (s) |
210 | | - 1.0e-09: 7.99e-9, # 1ns |
211 | | - 2.e-09: 9.63e-9, # 2ns |
212 | | - 5.e-09: 3.32e-8, # 5ns |
213 | | - 1.e-08: 4.59e-8, # 10ns |
214 | | - 2.e-08: 6.64e-8, # 20ns |
215 | | - 5.e-08: 1.02e-7, # 50ns |
216 | | - 1.e-07: 1.69e-7, # 100ns |
217 | | - 2.e-07: 3.02e-7, # 200ns |
218 | | - 5.e-07: 7.31e-7, # 500ns |
219 | | - 1.e-06: 1.39e-6, # 1us |
220 | | - 2.e-06: 2.69e-6, # 2us |
221 | | - 5.e-06: 7.02e-6, # 5us |
222 | | - 1.e-05: 1.38e-5, # 10us |
223 | | - 2.e-05: 2.67e-5, # 20us |
224 | | - 5.e-05: 8.16e-5, # 50us |
225 | | - 1.e-04: 1.61e-4, # 100us |
226 | | - 2.e-04: 3.20e-4, # 200us |
227 | | - 5.e-04: 7.98e-4, # 500us |
228 | | - 1.e-03: 1.62e-3, # 1ms |
229 | | - 2.e-03: 3.18e-3, # 2ms |
230 | | - 5.e-03: 7.88e-3, # 5ms |
231 | | - 1.e-02: 1.54e-2, # 10ms |
232 | | - }, |
| 189 | + # Not used with synchroscan, as the delay is dependent on the signal too. |
| 190 | +# TIME_RANGE_TO_DELAY: { |
| 191 | +# # timeRange (s) -> triggerDelay (s) |
| 192 | +# 1.0e-09: 7.99e-9, # 1ns |
| 193 | +# }, |
233 | 194 | }, |
234 | 195 | affects: ["Streak Unit", "Streak Readout CCD"], |
235 | 196 | } |
|
0 commit comments