# Py2port1.1

Py2port is a tool for performing two-port and one-port analysis on linear circuits.

0/5

send us
an update
USER RATING:
2.8/5 11
DEVELOPED BY:
Charles Eidsness
HOMEPAGE:
www.thedigitalmachine.net
CATEGORY:
ROOT \ Science and Engineering \ Mathematics
3 Py2port Screenshots:
Py2port is a software for performing two-port and one-port analysis on linear circuits. It was developed for analyzing PCB Power-Distribution-Systems and lossy-transmission lines but can be used as a more general purpose simulation tool.

Examples:

The following are a few examples that demonstrate the primary intended usage and capabilities of py2port:

PRBS Script

#!/usr/bin/python
"""
PRBS driving a Lossy T-Line.
"""

import py2port

# 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
vi.plotVEye('PRBS In')
vo.plotVEye('PRBS Out')
vi.plotI('PRBS In')

# Show the plot
py2port.plot.show()

Requirements:

· Python
· matplotlib
· numpy

Installation:

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.

Last updated on April 22nd, 2008