mirror of
https://github.com/nqrduck/quackseq.git
synced 2024-11-24 14:52:26 +00:00
Made phase table generation compatible with nqrduck.
This commit is contained in:
parent
f11dcbd15f
commit
1c01683f20
2 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ class PhaseTable:
|
|||
logger.info(phase_table)
|
||||
|
||||
# Now get the maximum phase group
|
||||
max_phase_group = max([phase_group for phase_group, _ in phase_table.values()])
|
||||
max_phase_group = int(max([phase_group for phase_group, _ in phase_table.values()]))
|
||||
|
||||
logger.info(f"Max phase group: {max_phase_group}")
|
||||
|
||||
|
|
|
@ -155,7 +155,7 @@ class TXPulse(PulseParameter):
|
|||
|
||||
phase = self.get_option_by_name(self.TX_PHASE).value
|
||||
|
||||
return (np.linspace(0, 360, n_phase_cycles, endpoint=False) + phase) % 360
|
||||
return (np.linspace(0, 360, int(n_phase_cycles), endpoint=False) + phase) % 360
|
||||
|
||||
|
||||
class RXReadout(PulseParameter):
|
||||
|
|
Loading…
Reference in a new issue