sknrf.device.instrument.rfztuner.base module

class sknrf.device.instrument.rfztuner.base.NoRFZTuner(error_model, port, config_filename='', **kwargs)

Bases: AbstractDevice

device_id = 32
signal_list = ['z_set', 'z', 'gamma_set', 'gamma']
transforms_list = ['Envelope', 'Time', 'Time Envelope', 'Frequency', 'Spectrum']
display_order = ['on', 'initialized', 'port', 'gamma_set', 'gamma', 'z_set', 'z', 'num_harmonics', 'trigger_delay']
connect_handles()

Connect to the devices handles and store references in the handles dictionary.

preset()

Preset device handles that have have unique connections.

property gamma_set

Emulate PyProperty_Type() in Objects/descrobject.c

property z_set

Emulate PyProperty_Type() in Objects/descrobject.c

property gamma

ndarray: Actual RF Reflection Coefficient [freq, time].

property z

ndarray: Actual RF Impedance [freq, time] in Ohms.

property f0
property num_harmonics

int: The total number of harmonics available to the device driver.

property harmonics

ndarray: The actual harmonic indicies that are controlled by the device driver.

property freq

ndarray: The subsection of Settings.freq available to the device driver.

property time

ndarray: The subsection of Settings.time available to the device driver.

measure()

Record measurement data.

set_iq(iq=None)

Sets the normalized iq signal of the Desired RF Impedance.

Sets the iq data of the Desired RF Impedance if the device is initialized.

Args:

iq (None/ndarray): multi-harmonic iq waveform [freq, time], default is None.

class sknrf.device.instrument.rfztuner.base.NoRFZTunerPulsed(error_model, port, config_filename='', **kwargs)

Bases: NoRFZTuner

display_order = ['on', 'initialized', 'port', 'gamma_set', 'gamma', 'z_set', 'z', 'delay', 'pulse_width', 'period', 'num_harmonics', 'trigger_delay']
connect_handles()

Connect to the devices handles and store references in the handles dictionary.

preset()

Preset device handles that have have unique connections.

property gamma_set

Emulate PyProperty_Type() in Objects/descrobject.c

property delay

float: Pulse modulation delay time in s.

property pulse_width

float: Pulse modulation pulse width time.

set_iq(iq=None)

Sets the normalized iq signal of the Desired RF Impedance.

Sets the iq data of the Desired RF Impedance to 50 Ohm outside of the modulated pulse.

Keyword Args:

iq (None/ndarray): multi-harmonic iq waveform [freq, time], default is None.

class sknrf.device.instrument.rfztuner.base.NoRFZTunerModulated(error_model, port, config_filename='', **kwargs)

Bases: NoRFZTunerPulsed

display_order = ['on', 'initialized', 'port', 'gamma_set', 'gamma', 'z_set', 'z', 'delay', 'pulse_width', 'period', 'iq_files', 'num_harmonics', 'trigger_delay']
connect_handles()

Connect to the devices handles and store references in the handles dictionary.

preset()

Preset device handles that have have unique connections.

property iq_files

list[tb.file]: Multi-harmonic modulation IQ file.

set_iq(iq=None)

Sets the normalized iq signal of the Desired RF Impedance.

Sets the iq data of the Desired RF Impedance.

Keyword Args:

iq (None/ndarray): multi-harmonic iq waveform [freq, time], default is None.