Skip to content

Commit

Permalink
Removed attenuator options and additional pull request comments
Browse files Browse the repository at this point in the history
  • Loading branch information
HolmPhilip committed Feb 17, 2025
1 parent 36d1730 commit d4c3d3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
12 changes: 5 additions & 7 deletions src/qcodes/instrument_drivers/Keysight/Keysight_P5004B.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,11 @@ def __init__(
max_freq=20e9,
min_power=-80,
max_power=10,
nports=2,
nports=2,
**kwargs,
)

attenuators_options = {"219", "419"}
options = set(self.get_options())
if attenuators_options.intersection(options):
self._set_power_limits(min_power=-100, max_power=10) #-80 dBm - 20 dBm power attenuator.
if "080" in options:
self._enable_fom()




7 changes: 0 additions & 7 deletions src/qcodes/instrument_drivers/Keysight/P5004B.py

This file was deleted.

0 comments on commit d4c3d3a

Please sign in to comment.