sknrf.device.instrument.rfreceiver.base module

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

Bases: AbstractDevice

RFReceiver base driver for CW measurements.

Base class for all RFReceiver instruments including:

  • NoRFReceiverPulsed.

  • NoRFReceiverModulated.

device_id = 16
signal_list = ['a_p', 'b_p', 'v', 'i']
transforms_list = ['Envelope', 'Time', 'Time Envelope', 'Frequency', 'Spectrum', 'Power']
display_order = ['on', 'initialized', 'port', 'a_p', 'b_p', 'v', 'i', 'num_harmonics', '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 b_p

ndarray: RF Reflected Power [freq, time] in rW.

property a_p

ndarray: RF Incident Power [freq, time] in rW.

property v

ndarray: RF Voltage [freq, time] in V.

property i

ndarray: RF Current [freq, time] in A.

property iq
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 RF Incident Power.

Sets the iq data of the Available Source Power if the device is initialized.

Args:

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

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

Bases: NoRFReceiver

display_order = ['on', 'initialized', 'port', 'a_p', 'b_p', 'v', 'i', 'delay', 'pulse_width', 'period', 'num_harmonics', '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 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 RF Incident Power.

Sets the iq data of the Available Source Power 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.rfreceiver.base.NoRFReceiverModulated(error_model, port, config_filename='', **kwargs)

Bases: NoRFReceiverPulsed

firmware_map = {}
display_order = ['on', 'initialized', 'port', 'a_p', 'b_p', 'v', 'i', 'delay', 'pulse_width', 'period', 'num_harmonics', '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.

class sknrf.device.instrument.rfreceiver.base.FromRFSource(error_model, port, config_filename='')

Bases: NoRFReceiverModulated

firmware_map = {}
display_order = ['on', 'initialized', 'port', 'a_p', 'b_p', 'v', 'i', 'delay', 'pulse_width', 'period', 'num_harmonics', 'harmonics', 'trigger_delay']