Py2port is a tool for performing two-port and one-port analysis on linear circuits.
The following are a few examples that demonstrate the primary intended usage and capabilities of py2port:
PRBS driving a Lossy T-Line.
# Input waveform
vi = py2port.PRBS(bits=50, v1=-1, v2=1, tb='10ns', tr='1ns', tj='100ps')
# Transmission Line (approx 111Ohms) with Source Termination
cct = py2port.Series(py2port.R('100Ohms'))
cct += py2port.W(10, 6.35011e-7, 5.10343e-11, 0.0, 0.0, 0.0, 0.0)
vo = vi >> cct
# Plot the Results
# Show the plot
Uncompress it "tar xvjf py2port-x.x.x.tar.bz2" and install "sudo ./setup.py install"
What's New in This Release:
· Added phase to the forward and reverse gain plots, cleaned up some of the many, many spelling mistakes, and improved the ferrite example so that it calculates all of the filter characteristics, not just impedance.