https://github.com/urbanij/bodas
Asymptotic Bode plots
https://github.com/urbanij/bodas
asymptotic-bode bode bode-diagram bode-plot
Last synced: about 2 months ago
JSON representation
Asymptotic Bode plots
- Host: GitHub
- URL: https://github.com/urbanij/bodas
- Owner: urbanij
- License: mit
- Created: 2021-01-17T13:50:28.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-01-11T19:34:07.000Z (about 4 years ago)
- Last Synced: 2026-01-03T23:21:24.720Z (about 2 months ago)
- Topics: asymptotic-bode, bode, bode-diagram, bode-plot
- Language: Python
- Homepage: http://pypi.org/project/bodas
- Size: 11.4 MB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
# bodas
[](https://pepy.tech/project/bodas)
Asymptotic Bode plots in Python.

## Installation
```sh
pip install bodas
```
## Simple usage example
[](https://mybinder.org/v2/gh/urbanij/bodas/HEAD?labpath=examples%2Fbasic.ipynb)
```python
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
```
## Contributing
Yes, please. A good place to start is checking out the [open issues](https://github.com/urbanij/bodas/issues).