Skip to content

Commit

Permalink
Update src/qibocal/protocols/characterization/rabi/utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Alessandro Candido <[email protected]>
  • Loading branch information
Edoardo-Pedicillo and alecandido authored Dec 6, 2023
1 parent e6c26b9 commit 4e2863f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qibocal/protocols/characterization/rabi/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,6 @@ def extract_rabi(data):
"""
if "RabiAmplitude" in data.__class__.__name__:
return "amp", "Amplitude [dimensionless]", rabi_amplitude_function
elif "RabiLength" in data.__class__.__name__:
if "RabiLength" in data.__class__.__name__:
return "length", "Time [ns]", rabi_length_function
raise RuntimeError("Data has to be a data structure of the Rabi routines.")

0 comments on commit 4e2863f

Please sign in to comment.