sknrf.app.dataviewer.model.spl module

class sknrf.app.dataviewer.model.spl.SPLBlock(sweep=None, attributes=None, independent=None, dependents=None)

Bases: MDIFBlock

class sknrf.app.dataviewer.model.spl.SPLGroup(name, type_='', sweeps=None, sweep_types=None, attributes=None, attribute_types=None, independent='', independent_type='', dependents=None, dependent_types=None, data=None)

Bases: MDIFGroup

class sknrf.app.dataviewer.model.spl.SPL(name, date='', dataBlocks=None)

Bases: MDIF

parameter_type_map = {'DUT s-para': 'bool', 'Gamma_dut': 'string', 'Load': 'complex', 'Load_2nd': 'complex', 'Load_3rd': 'complex', 'Number of power meters': 'int', 'Source': 'complex', 'Source_2nd': 'complex', 'Source_3rd': 'complex', 'User names': 'string', 'User params': 'int', 'User units': 'string', 'number of positions': 'int'}
parameter_args_map = {'DUT s-para': 1, 'Gamma_dut': 0, 'Load': 2, 'Load_2nd': 2, 'Load_3rd': 2, 'Number of power meters': 1, 'Source': 2, 'Source_2nd': 2, 'Source_3rd': 2, 'User names': 2, 'User params': 1, 'User units': 2, 'number of positions': 1}
freq_scale_map = {'GHZ': 1000000000.0, 'HZ': 1, 'KHZ': 1000.0, 'MHZ': 1000000.0}
scale_freq_map = {1: 'HZ', 1000.0: 'KHZ', 1000000.0: 'MHZ', 1000000000.0: 'GHZ'}
static read(filename)

Reads an MDIF text file into the MDIF object.

Parameters:
filenamestr

MDIF filename.

Returns:
MDIF

A new MDIF object.

write(filename)

Writes a MDIF object to an MDIF text file.

Parameters:
filenamestr

MDIF filename.