Matplotlib extension for signal processing
Documentation can be found here.
mplsignal currently consists of four main parts:
plane_plots
: varioussplane
andzplane
for plotting pole-zero diagramsfreq_plots
: variousfreqs
andfreqz
methods for plotting magnitude and phase responses of transfer functionsticker
: tickers and formatters suitable forfreqs
/freqz
-plotsscipyplot
: convenience functions that can be directly fed toscipy.signal.freqs
andscipy.signal.freqz
mplsignal is only useful if you also have Matplotlib installed. In addition, it relies on adjustText to position the multiplicity numbers next to poles and zeros.
If SciPy is installed, mplsignal will use some functions to compute frequency responses etc, but mplsignal also has its own functions for this.
You can install using pip
:
pip install mplsignal
pip install -e ".[dev]"
If you use mplsignal in your published work, please cite https://zenodo.org/record/7699762, e.g., using the BibTeX record.
In the meantime between starting working on mplsignal and finally getting around to make it public, zplane was released. This can do most things that mplsignal can do and a few more. However, the configurability is larger for mplsignal and the tickers and locators are unique features.