mirror of
https://github.com/nqrduck/quackseq.git
synced 2024-11-09 13:10:00 +00:00
Fixed a bug with phase cycles with different lengths.
This commit is contained in:
parent
1a1a2150f6
commit
50ae13f89a
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ class PhaseTable:
|
|||
for parameter, phase_values in parameters.items():
|
||||
if len(phase_values) < max_phase_values:
|
||||
phase_values = np.tile(
|
||||
phase_values, max_phase_values // len(phase_values)
|
||||
phase_values, int(np.ceil(max_phase_values / len(phase_values)))
|
||||
)
|
||||
pulse_phases[parameter] = phase_values
|
||||
logger.info(
|
||||
|
|
Loading…
Reference in a new issue