Skip to content

Commit

Permalink
Fixed lines that were too long
Browse files Browse the repository at this point in the history
  • Loading branch information
i-am-mounce committed Dec 5, 2023
1 parent 2ede7fe commit 84cc28c
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 10 deletions.
7 changes: 5 additions & 2 deletions qickdawg/nvpulsing/hahnechodelaysweep.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,11 @@ def plot_sequence(cfg=None):
str(cfg.readout_integration_tus)[:4]), fontsize=10)
plt.text(850, 357, "relax_delay \n = {} us".format(str(cfg.relax_delay_tus)[:4]), fontsize=10)
plt.text(400, 430, "laser_on = {} us".format(cfg.laser_on_tus), fontsize=12)
plt.text(375, 605, " Sweep delay from {} us to {} us \n\
in {} {} steps".format(int(cfg.delay_start_tns), int(cfg.delay_end_tns), cfg.nsweep_points, cfg.scaling_mode), fontsize=12)
plt.text(
375, 605,
" Sweep delay from {} us to {} us \n in {} {} steps".format(
int(cfg.delay_start_tns), int(cfg.delay_end_tns),
cfg.nsweep_points, cfg.scaling_mode), fontsize=12)
plt.title(" Hahn Echo Pulse Sequence", fontsize=20)

def time_per_rep(self):
Expand Down
5 changes: 4 additions & 1 deletion qickdawg/nvpulsing/lockinodmr.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,10 @@ def plot_sequence(cfg=None):
plt.text(295, 340, " config.reps", fontsize=16)
plt.text(200, 275, "config.readout_integration_t#", fontsize=14)
plt.text(520, 275, "config.relax_delay_t#", fontsize=14)
plt.text(145, 430, "Sweep linearly from config.mw_start_f# to config.mw_end_f# \n in steps of config.mw_delta_f#", fontsize=14)
plt.text(
145, 430,
"Sweep linearly from config.mw_start_f# to config.mw_end_f#\n\
in steps of config.mw_delta_f#", fontsize=14)
plt.title(" ODMR Pulse Sequence", fontsize=20)
else:
plt.figure(figsize=(10, 10))
Expand Down
12 changes: 9 additions & 3 deletions qickdawg/nvpulsing/rabisweep.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,10 @@ def plot_sequence(cfg=None):
plt.imshow(mpimg.imread('../graphics/RABI.png'))
plt.text(455, 510, "config.reps", fontsize=14)
plt.text(350, 440, "config.laser_on", fontsize=14)
plt.text(195, 580, " Sweep pi/2 pulse time linearly from config.mw_start to config.mw_end in config.mw_delta sized steps", fontsize=12)
plt.text(
195, 580,
" Sweep pi/2 pulse time linearly from config.mw_start to config.mw_end in config.mw_delta sized steps",
fontsize=12)
plt.text(265, 355, "config.readout_integration", fontsize=14)
plt.text(527, 355, " config.readout_integration", fontsize=14)
plt.text(190, 368, " pi/2\npulse", fontsize=14)
Expand All @@ -206,8 +209,11 @@ def plot_sequence(cfg=None):
plt.imshow(mpimg.imread('../graphics/RABI.png'))
plt.text(420, 510, "Repeat {} times".format(cfg.reps), fontsize=14)
plt.text(350, 440, "laser_on_tus = {} us".format(str(cfg.laser_on_tus)[:4]), fontsize=14)
plt.text(195, 580, " Sweep pi/2 pulse time linearly from {} time register to {} time register in steps of {} time register".format(
int(cfg.mw_start_treg), int(cfg.mw_end_treg), str(cfg.mw_delta_treg)[:4]), fontsize=12)
plt.text(
195, 580,
" Sweep pi/2 pulse time linearly from {} time register to {}\
time register in steps of {} time register".format(
int(cfg.mw_start_treg), int(cfg.mw_end_treg), str(cfg.mw_delta_treg)[:4]), fontsize=12)
plt.text(265, 370, "readout_integration \n = {} ns".format(
int(cfg.readout_integration_tns)), fontsize=14)
plt.text(527, 370, "readout_integration \n = {} ns".format(
Expand Down
12 changes: 9 additions & 3 deletions qickdawg/nvpulsing/ramsey.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,10 @@ def plot_sequence(cfg=None):
plt.text(650, 340, "config.readout_integration", fontsize=10)
plt.text(850, 340, "config.relax_delay", fontsize=10)
plt.text(400, 430, "config.laser_on", fontsize=10)
plt.text(220, 605, "Sweep delay linearly from config.delay_start to config.delay_end in config.nsweep_points \n with scaling given by config.scaling_mode", fontsize=12)
plt.text(
220, 605,
"Sweep delay linearly from config.delay_start to config.delay_end in config.nsweep_points \n\
with scaling given by config.scaling_mode", fontsize=12)
plt.title(" Ramsey Pulse Sequence", fontsize=20)
else:
plt.figure(figsize=(12, 12))
Expand All @@ -245,6 +248,9 @@ def plot_sequence(cfg=None):
str(cfg.readout_integration_tus)[:4]), fontsize=10)
plt.text(850, 357, "relax_delay \n = {} us".format(str(cfg.relax_delay_tus)[:4]), fontsize=10)
plt.text(400, 430, "laser_on = {} us".format(cfg.laser_on_tus), fontsize=12)
plt.text(375, 605, " Sweep delay linearly from {} to {} \n in {} steps".format(
int(cfg.delay_start_tns), int(cfg.delay_end_tns), cfg.nsweep_points), fontsize=12)
plt.text(
375, 605,
" Sweep delay linearly from {} to {} \n\
in {} steps".format(
int(cfg.delay_start_tns), int(cfg.delay_end_tns), cfg.nsweep_points), fontsize=12)
plt.title(" Ramsey Pulse Sequence", fontsize=20)
5 changes: 4 additions & 1 deletion qickdawg/nvpulsing/t1delaysweep.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,10 @@ def plot_sequence(cfg=None):
plt.text(650, 340, "config.readout_integration", fontsize=10)
plt.text(850, 340, "config.relax_delay", fontsize=10)
plt.text(400, 430, "config.laser_on", fontsize=10)
plt.text(220, 605, "Sweep delay from config.delay_start to config.delay_end in config.nsweep_points \n with scaling given by config.scaling_mode", fontsize=12)
plt.text(
220, 605,
"Sweep delay from config.delay_start to config.delay_end in config.nsweep_points \n\
with scaling given by config.scaling_mode", fontsize=12)
plt.title(" T1 Pulse Sequence", fontsize=20)
else:
plt.figure(figsize=(12, 12))
Expand Down

0 comments on commit 84cc28c

Please sign in to comment.