mirror of
https://github.com/nqrduck/quackseq-simulator.git
synced 2025-01-02 09:58:09 +00:00
Fixed bug with wrong dimensions when no RX event was set.
This commit is contained in:
parent
14d1101591
commit
5b26112aea
1 changed files with 2 additions and 1 deletions
|
@ -71,7 +71,8 @@ class SimulatorController(SpectrometerController):
|
|||
tdx = tdx[evidx]
|
||||
result = result[evidx]
|
||||
# Add empty second dimension to result so it has shape (n_points, 1)
|
||||
result = np.expand_dims(result, axis=1)
|
||||
|
||||
result = np.expand_dims(result, axis=1)
|
||||
|
||||
# Measurement name date + module + target frequency + averages + sequence name
|
||||
name = f"{datetime.now().strftime('%Y-%m-%d %H:%M:%S')} - Simulator - {self.simulator.model.target_frequency / 1e6} MHz - {self.simulator.model.averages} averages - {sequence.name}"
|
||||
|
|
Loading…
Reference in a new issue