Skip to content

Commit

Permalink
fix: remove sampling rate from Drag.envelope_waveform_q
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros11 committed Apr 30, 2024
1 parent 76def93 commit ad50c8c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/qibolab/pulses.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,6 @@ def envelope_waveform_q(self, sampling_rate=SAMPLING_RATE) -> Waveform:
self.beta
* (-(x - (num_samples - 1) / 2) / ((num_samples / self.rel_sigma) ** 2))
* i
* sampling_rate
)
waveform = Waveform(q)
waveform.serial = f"Envelope_Waveform_Q(num_samples = {num_samples}, amplitude = {format(self.pulse.amplitude, '.6f').rstrip('0').rstrip('.')}, shape = {repr(self)})"
Expand Down

0 comments on commit ad50c8c

Please sign in to comment.