skrf.calibration.calibration.MultiportCal

class skrf.calibration.calibration.MultiportCal(cal_dict, isolation=None)[source]

Multi-port VNA calibration using two-port calibration method.

cal_dict should be a dictionary with key being two-tuples of port numbers, such as (0, 1), (0, 2), …

For each key it should have another dictionary as value. The two required keys are ‘method’ that should be the two-port calibration class that is used to calibrate that two-port combination (for example SOLT, EightTerm, TRL) and ‘measured’ which is a list of measured Networks. Other inputs required by the two-port calibration should be given as additional keys (for example ‘ideals’, ‘switch_terms’, …).

There should be one common port in all measurements. For example in case of 4-port calibration one possible choice would be to make three measurements between ports: 0-1, 0-2, and 0-3.

The list of measured networks can be given as either two-ports, in which case it’s assumed that the two ports corresponds to the ports in the key, or multi-ports in which case a subnetwork is taken for calibration according to the key.

Example cal_dict for three port measurement:
{(0,1): {‘method’:SOLT, ‘measured’: [list of measured networks], ‘ideals’: [list of ideal networks]},

(0,2): {‘method’:SOLT, ‘measured’: [list of measured networks], ‘ideals’: [list of ideal networks]}

}

isolation is optional N-port network of all ports matched for isolation calibration. If None, no isolation calibration is performed.

Parameters:
  • cal_dict (dictionary) – Dictionary of port pair keys as specified above.

  • isolation (Network or None) – N-port measurement of all matched ports for isolation calibration. None to skip isolation calibration.

See also

calibration.MultiportSOLT

Attributes

coefs

family

Methods

T_matrices

Intermediate matrices used for embedding and de-embedding.

__init__

apply_cal

Apply correction to a Network.

coefs_to_ntwks

Two-port 8-term error coefficients to Networks.

dut_termination

Impedance looking from DUT to VNA terminated with switch term.

embed

Embed an ideal response in the estimated error network[s]

run

Run the calibration algorithm.

run_2port

Call the two-port calibration algorithm and populate multi-port error coefficients for this port pair.

terminate_2port

Terminate a network with switch terms.

unterminate_2port

Unterminates switch terms from a raw measurement.