Skip to content

Commit

Permalink
fixing any hard coded adc channels (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
egriendeau authored Jun 14, 2024
2 parents b1eb6d6 + e4158e7 commit aa98d0a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions qickdawg/nvpulsing/lockinodmr.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,14 +157,14 @@ def body(self):
self.pulse(ch=self.cfg.mw_channel, t=0)

self.trigger(
adcs=[0],
adcs=[self.cfg.adc_channel],
pins=[self.cfg.laser_gate_pmod],
width=self.cfg.readout_integration_treg,
adc_trig_offset=0,
t=0)

self.trigger(
adcs=[0],
adcs=[self.cfg.adc_channel],
pins=[self.cfg.laser_gate_pmod],
width=self.cfg.readout_integration_treg,
adc_trig_offset=0,
Expand Down
4 changes: 2 additions & 2 deletions qickdawg/nvpulsing/nvaverageprogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def ttl_readout(self):

# measure and laser trigger at laser_readout_offset
self.trigger_no_off(
adcs=[0],
adcs=[self.cfg.adc_channel],
pins=[self.cfg.laser_gate_pmod],
adc_trig_offset=0,
t=self.cfg.laser_readout_offset_treg)
Expand All @@ -358,7 +358,7 @@ def ttl_readout(self):

# laser and measure second time at readout_reference_start
self.trigger_no_off(
adcs=[0],
adcs=[self.cfg.adc_channel],
pins=[self.cfg.laser_gate_pmod],
adc_trig_offset=0,
t=self.cfg.readout_reference_start_treg)
Expand Down
2 changes: 1 addition & 1 deletion qickdawg/nvpulsing/readoutwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def body(self):
t += self.cfg.laser_readout_offset_treg

self.trigger(
adcs=[0],
adcs=[self.cfg.adc_channel],
adc_trig_offset=0,
pins=[self.cfg.laser_gate_pmod],
t=t,
Expand Down

0 comments on commit aa98d0a

Please sign in to comment.