|
|
__init__(self,
path,
name='data',
samplingType='Linear',
targetNbSamples=200)
@param path Can be either the path of a sio-, cti- or touchstone file... |
source code
|
|
|
|
nbPorts(self)
number of ports @deprecated, use numberOfPorts |
source code
|
|
|
|
|
|
|
portName(self,
i)
name of the i-th port (0-based indexing) |
source code
|
|
|
|
name2id(self,
portName)
returns the index for the port with name portName |
source code
|
|
|
|
setSamplingConfiguration(self,
samplingType,
targetNbSamples)
sets the sampling configuration @param samplingType one of
['Linear', 'Logarithmic'] @param targetNbSamples target number of
samples |
source code
|
|
|
|
|
|
|
Src(self,
port1,
port2,
complexPart)
returns the dataset for S(port1, port2) @param port1 name of
the port for the matrix row @param port2 name of the port
for the matrix column @param complexPart must be in
["ComplexMagnitude", "Phase",
"RealPart" or "ImaginaryPart"] |
source code
|
|
|
|
Zrc(self,
port1,
port2,
complexPart)
returns the dataset for the impedance Z(port1, port2) @param port1
name of the port for the matrix row @param port2 name of the
port for the matrix column @param complexPart must be in
["ComplexMagnitude", "Phase",
"RealPart" or "ImaginaryPart"] |
source code
|
|
|
|
Rrc(self,
port1,
port2)
returns the dataset for the resistance R(port1, port2)... |
source code
|
|
|
|
Lrc(self,
port1,
port2)
returns the dataset for the inductance L(port1, port2)... |
source code
|
|
|
|
Crc(self,
port1,
port2)
returns the dataset for the capacitance C(port1, port2)... |
source code
|
|
|
|
Zref(self,
port,
complexPart)
returns the dataset for the reference impedance Zref(port) @param
port name of the port @param complexPart must be in
["ComplexMagnitude", "Phase",
"RealPart" or "ImaginaryPart"] |
source code
|
|
|
|
Smatrix(self,
freq)
returns the S-matrix for at freq [Hz] @param freq evaluation
frequency [Hz] |
source code
|
|
|
|
write(self,
targetFileName,
exportFormat,
precision=16)
Writes the circuit result to file @param targetFileName file to be
written @param exportFormat one of 'sio_ascii', 'sio_binary',
'cti', 'ads_dataset' or 'touchstone' @param precision number
of digits per double (6=single precision, 16=full precision) |
source code
|
|
|
|
writeReordered(self,
targetFileName,
exportFormat,
portOrder,
precision=16)
Writes the circuit result to file @param targetFileName file to be
written @param exportFormat one of 'sio_ascii', 'sio_binary',
'cti', 'ads_dataset' or 'touchstone' @param portOrder port
names, in the requested order @param precision number of
digits per double (6=single precision, 16=full precision) |
source code
|
|