Asymptotic Bode Plots in Python
Project description
bodas
Asymptotic Bode plots in Python.
Installation
pip install bodas
Simple usage example
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 details)
Built Distribution
bodas-0.0.6-py3-none-any.whl
(5.6 kB
view details)
File details
Details for the file bodas-0.0.6.tar.gz
.
File metadata
- Download URL: bodas-0.0.6.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.9.7 Darwin/19.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56fc7cd12186f251f32820460f79b2534aa204c511b666595c8c33586b5be046 |
|
MD5 | 87bcac202cccba1a130c8b149ce75aa6 |
|
BLAKE2b-256 | 7e8852a7ff33da44e930526481e8fd1e84127f81ee0e41298564109b2ccefc24 |
File details
Details for the file bodas-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: bodas-0.0.6-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.9.7 Darwin/19.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 013690cc99c9cb37e25511a87d6d26335c8c99fea3aa84c12537608f7a983cb7 |
|
MD5 | 552f8f5384e8a3cacbe51d80a343bcb4 |
|
BLAKE2b-256 | 4ed32da5705524d4b35761699dbb714fe00df0d4fb2c91b9b3daaf461b5405a8 |