qcodes_contrib_drivers.drivers.CopperMountain package¶
Submodules¶
qcodes_contrib_drivers.drivers.CopperMountain.M5180 module¶
- class qcodes_contrib_drivers.drivers.CopperMountain.M5180.FrequencySweepMagPhase(name: str, start: float, stop: float, npts: int, instrument: M5180, **kwargs: Any)[source]¶
Bases:
MultiParameter
Sweep that returns magnitude and phase.
- __init__(name: str, start: float, stop: float, npts: int, instrument: M5180, **kwargs: Any) None [source]¶
Linear frequency sweep that returns magnitude and phase for a single trace.
- class qcodes_contrib_drivers.drivers.CopperMountain.M5180.M5180(*args: Any, **kwargs: Any)[source]¶
Bases:
VisaInstrument
This is the QCoDeS python driver for the VNA M5180 from Copper Mountain
- __init__(name: str, address: str, terminator: str = '\n', timeout: int = 100000, **kwargs)[source]¶
QCoDeS driver for the VNA M5180 from Copper Mountain. This driver only uses one channel.
- get_s() Tuple[ndarray, ndarray, ndarray, ndarray, ndarray, ndarray, ndarray, ndarray, ndarray] [source]¶
Return all S parameters as magnitude in dB and phase in rad.
- Returns:
frequency [GHz], s11 magnitude [dB], s11 phase [rad], s12 magnitude [dB], s12 phase [rad], s21 magnitude [dB], s21 phase [rad], s22 magnitude [dB], s22 phase [rad]
- Return type:
Tuple[np.ndarray]
- class qcodes_contrib_drivers.drivers.CopperMountain.M5180.PointIQ(name: str, instrument: M5180, **kwargs: Any)[source]¶
Bases:
MultiParameter
Returns the average Sxx of a frequency sweep, in terms of I and Q. Work around for a CW mode where only one point is read. npts=2 and stop = start + 1 (in Hz) is required.
- class qcodes_contrib_drivers.drivers.CopperMountain.M5180.PointMagPhase(name: str, instrument: M5180, **kwargs: Any)[source]¶
Bases:
MultiParameter
Returns the average Sxx of a frequency sweep. Work around for a CW mode where only one point is read. npts=2 and stop = start + 1 (in Hz) is required.
qcodes_contrib_drivers.drivers.CopperMountain.S5048 module¶
- exception qcodes_contrib_drivers.drivers.CopperMountain.S5048.TraceNotReady[source]¶
Bases:
Exception
- class qcodes_contrib_drivers.drivers.CopperMountain.S5048.CMTS5048(*args: Any, **kwargs: Any)[source]¶
Bases:
VisaInstrument
This is the QCoDeS driver for the S5048 Network Analyzer
- invalidate_trace(cmd: str, value: float | int | str) None [source]¶
Wrapper for set_cmds that make the trace not ready
- class qcodes_contrib_drivers.drivers.CopperMountain.S5048.CMTS5048Trace(name, instrument)[source]¶
Bases:
ArrayParameter
Class to hold a the trace from the S5048 network analyzer
Although the trace can have two values per frequency, this class only returns the first value