Skip to main content

Wrapper for scipy's signal module, simplifying a handful of commonly used, discrete system plots.

Project description

Z-Plane

A handful of freqeuntly used plots when working with discrete systems or digital signal processing in Pyton. Z-Plane is built upon the scipy.signal module, using the TransferFunction class to pass all required system information to plot functions in a single object. This allows all plots to be executed in a single line of code, while Z-Plane handles the calculations and setup required to get the perfect plot.

The following functions are available:

  • freq: Normalized frequency response
  • pz: Pole-Zero plot
  • bode: Bode plot (Gain and Phase), non logarithmic frequency axis possible
  • impulse: Impulse response
  • norm: Normalize transfer function
  • fir2tf: Get FIR transfer function from impulse response

Installation

pip install zplane

Use

  • Import zplane
  • Call any of the available functions, and pass a valid scipy.signal TransferFunction

Have a look at the examples for a quick demonstration on how to use the functions. Please look up the TransferFunction documentation, if you are unsure how to create a valid instance of a TransferFunction.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zplane-0.1.7.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

zplane-0.1.7-py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page