Skip to main content

Asymptotic Bode Plots in Python

Project description

bodas

Downloads

Asymptotic Bode plots in Python.

Installation

pip install bodas

Simple usage example

Binder

In [1]: import bodas 

In [2]: import sympy                # import [SymPy](https://www.sympy.org) the Python 
                                    # library for symbolic mathematics

In [3]: s = sympy.Symbol('s')       # define `s` as symbol

In [4]: H = (1+s/23)/(1+s/123)**2   # assign to `H` the function you want to plot

In [5]: sympy.pretty_print(H)
  s
  ── + 1
  23
──────────
         2
 s     
⎜─── + 1
123    


In [6]: bodas.plot(H)               # call the `plot` function defined in the bodas library

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

bodas-0.0.6.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

bodas-0.0.6-py3-none-any.whl (5.6 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