Skip to content

Commit

Permalink
Convert Chi to str
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-pasquale committed Jul 6, 2023
1 parent 817f971 commit ac8ac55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qibocal/protocols/characterization/dispersive_shift.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ def _plot(data: DispersiveShiftData, fit: DispersiveShiftResults, qubit):
f"{qubit} | State one freq : {fit_data_1.frequency[qubit]*GHZ_TO_HZ:,.0f} Hz.<br>"
)
fitting_report = fitting_report + (
f"{qubit} | \u03A7 : {(fit_data_0.frequency[qubit]*GHZ_TO_HZ - fit_data_1.frequency[qubit]*GHZ_TO_HZ)/2:,.0f} Hz.<br>"
f"{qubit} | Chi : {(fit_data_0.frequency[qubit]*GHZ_TO_HZ - fit_data_1.frequency[qubit]*GHZ_TO_HZ)/2:,.0f} Hz.<br>"
)
fitting_report = fitting_report + (
f"{qubit} | Best frequency : {fit.best_freq[qubit]*GHZ_TO_HZ:,.0f} Hz.<br>"
Expand Down

0 comments on commit ac8ac55

Please sign in to comment.