From c3dfd64bb0f51ea12b281115dc9a3104250a4c99 Mon Sep 17 00:00:00 2001 From: Valentin Boettcher Date: Mon, 27 May 2024 13:06:45 -0400 Subject: [PATCH] minor: nice continuous angles --- scripts/experiments/.#002_rabi_detuning_scan.py | 1 + src/rabifun/plots.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 120000 scripts/experiments/.#002_rabi_detuning_scan.py diff --git a/scripts/experiments/.#002_rabi_detuning_scan.py b/scripts/experiments/.#002_rabi_detuning_scan.py new file mode 120000 index 0000000..3219c23 --- /dev/null +++ b/scripts/experiments/.#002_rabi_detuning_scan.py @@ -0,0 +1 @@ +hiro@Phillips.176003:1716495937 \ No newline at end of file diff --git a/src/rabifun/plots.py b/src/rabifun/plots.py index 1d6c989..accca69 100644 --- a/src/rabifun/plots.py +++ b/src/rabifun/plots.py @@ -45,8 +45,8 @@ def plot_simulation_result( ax2.legend() ax3.plot( - freq, - np.angle(fft), + freq[:-1], + np.cumsum(np.angle(fft[1:] / fft[:-1])), linestyle="--", color="C2", alpha=0.5,