Skip to content

esromneb/sigmath

Repository files navigation

Sigmath

A bunch of helper functions jammed into the same file when they should not be.

Setup Ubuntu

Get pip:

sudo apt -y install python-pip build-essential python-dev

After you get pip:

pip install scikit-commpy python-interface

On Ubuntu 20.04 you may get this error:

UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.

Solve it with

apt-get install python3.8-tk

Show plots 💯

Show visual test coverage of all plotting types we have sugar for.

make plot

Image of available plots

Socket

  • nonblock_socket - Allows python to read from a socket without blocking when there is no data

Plotting, Nplot

Wrappers around matplotlib that make my life easier

  • nplot - Basic plot
  • ncplot - Basic plot, shows real in blue and complex in red
  • nplotdots - Plot dots without line segments

OsiBase

A horrible class that should not have been written. This should be simplified to be single directional