sknrf.app.dataviewer.model.lpc module

class sknrf.app.dataviewer.model.lpc.LPCBlock(sweep=None, attributes=None, independent=None, dependents=None)

Bases: MDIFBlock

class sknrf.app.dataviewer.model.lpc.LPCGroup(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.lpc.LPC(name, date='', dataBlocks=None)

Bases: MDIF

parameter_type_map = {'Char.Impedances': 'complex', 'Comment': 'string', 'Date': 'string', 'File': 'string', 'Frequency': 'int', 'Gamma/Phi': 'string', 'Load Frequencies': 'complex', 'Reference Plane': 'string', 'Setup': 'string', 'Source Frequencies': 'complex', 'Source Impedance': 'complex', 'Source Impedance (Polar)': 'complex', 'Source Impedances': 'complex', 'Source Impedances (Polar)': 'complex'}
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.

static import_dataset(filename)
write(filename)

Writes a MDIF object to an MDIF text file.

Parameters:
filenamestr

MDIF filename.