skrf.networkSet.NetworkSet.scalar_mat

NetworkSet.scalar_mat(param='s')[source]

Return a scalar ndarray representing param data vs freq and element idx.

output is a 3d array with axes (freq, ns_index, port/ri)

ports is a flattened re/im components of port index (len = 2*nports**2)

Parameter

paramstr

name of the parameter to export. Default is ‘s’.

returns:

x

rtype:
class:

npy.ndarray

Parameters:

param (str)

Return type:

ndarray