skrf.circuit.Circuit.ShuntAdmittance

classmethod Circuit.ShuntAdmittance(frequency, Y, name, z0=50)[source]

Return a 2-port network of a shunt admittance.

Passing the frequency and name is mandatory.

Parameters:
  • frequency (Frequency) – Frequency common to all other networks in the circuit

  • Y (complex array of shape n_freqs or complex) – Admittance

  • name (string) – Name of the shunt admittance

  • z0 (real, optional) – Characteristic impedance of the port. Default is 50 Ohm.

Returns:

shunt_admittance – 2-port network

Return type:

Network object

Examples

In [1]: freq = rf.Frequency(start=1, stop=2, npoints=101)

In [2]: short = rf.Circuit.ShuntAdmittance(freq, rf.INF, name='shunt_admittance')