utils

rfnetwork.utils

Functions

butterworth_prototype(n)

Prototype values for maximally flat low-pass filter.

chebyshev_prototype(n, ripple)

Prototype values for chebyshev low-pass filter.

combline_sections_nb(g, f1, f2, er, h[, wp])

Normalized capacitances for edge coupled combline narrowband filter.

combline_sections_wb(g, f1, f2, er, h[, wp])

Normalized capacitances for edge coupled combline wideband filter.

coupled_sline_fringing_cap(s, b, er)

coupled_sline_fringing_cap_old(w, s, b, er)

Odd and even mode fringing capacitance for edge coupled stripline, per unit length [m].

coupled_sline_impedance(w, s, b, er[, t])

Odd and even mode impedance for coupled stripline.

coupled_ustrip_cap(w, s, h, er)

Total odd and even mode capacitance per unit length

coupled_ustrip_fringing_cap(w, s, h, er)

Odd and even mode fringing capacitance for edge coupled microstrip line, per unit length [m].

coupled_ustrip_impedance(w, h, s, er[, ...])

Coupled microstrip line impedance for odd and even modes.

dtft(xn, frequency, fs[, downsample])

Compute the DTFT of the discrete time signal x[n] over a frequency range (cycles per second),

eng_formatter(value[, precision, zero])

Format a scalar in engineering notation.

ifft(Xw)

Computes the inverse fft on complex-valued data over a positive frequency range.

ms_z_to_width(z, er, d)

Calculate approximate microstrip width for a given characteristic impedance.

n_ports_from_snp(path)

Get the number of ports from a .snp file extension.

round_to_multiple(value[, multiple, precision])

Rounds value to nearest multiple.

setup_pv_plotter(p)

Set up key events and mouse location text for a pyvista Plotter.

synthesize_combline_stripline(Ck, Cmk, b, er)

Synthesize a stripline combline filter with thin traces (t=0).

ustrip_fringing_cap(w, h, er)

Fringing capacitance from edge of uncoupled microstrip line, per unit length [m].

ustrip_impedance(w, h, er[, frequency, t])

Microstrip impedance and effective permittivity for thin microstrip lines