sknrf.device.instrument.lfztuner.base module

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

Bases: AbstractDevice

device_id = 4
signal_list = ['z']
transforms_list = ['Envelope', 'Time', 'Time Envelope', 'Frequency']
display_order = ['on', 'initialized', 'port', 'z_set', 'z', '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 LF Reflection Coefficient [freq, time].

property z

ndarray: Actual LF 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 Low-Frequency Impedance.

Sets the iq data of the Desired Low-Frequency Impedance if the device is initialized.

Args:

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

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

Bases: NoLFZTuner

display_order = ['on', 'initialized', 'port', 'z_set', 'z', 'delay', 'pulse_width', 'period', '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 z_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 Low-Frequency Impedance.

Sets the iq data of the Desired Low-Frequency Impedance to zero outside of the modulated pulse.

Keyword Args:

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

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

Bases: NoLFZTunerPulsed

display_order = ['on', 'initialized', 'port', 'z_set', 'z', 'delay', 'pulse_width', 'period', 'iq_files', '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 Low-Frequency Impedance.

Sets the iq data of the Desired Low-Frequency Impedance.

Keyword Args:

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