View/analyze comtrade oscillograms
- Python3 ≥ 3.9 with
- numpy
- chardet
- PyQt5
- QCustomPlot-PyQt5:
- Fedora: out from box
- Debian-based: OBS repo
- Windows:
pip
- python-comtrade
open-iconicicons
sudo dnf install iosc-...noarch.rpm
# from OBS repo above
sudo apt install https://...python3-qcustomplot-pyqt5_...amd64.deb
sudo apt install iosc_..._all.deb
rpmbuild -ta iosc-<version>.tar.gz
tar xf iosc-<version>.tar.gz && cd iosc-<version> && dpkg-buildpackage
# 1. install python
# 2. install requirements
pip install numpy chardet pyqt5 QCustomPlot_PyQt5 pyinstaller
# 3. install iosc itself (in folder with unpacked sources):
pip install .
# 4. build
pyinstaller -y -w -F -n iosc-<version> contrib/win.py
- Download and unpack source tarball
- Install required dependencies (see below)
- Run main script:
PYTHONPATH="..." iosc/mainwindow.py
- Download and install Python3
- then:
pip install numpy chardet pyqt5 QCustomPlot_PyQt5
pip install .
pythonw.exe -c "from iosc.mqinwindow import main; main()"
dnf install python3-numpy python3-chardet python3-qcustomplot-pyqt5
apt install python3-numpy python3-chardet python3-pyqt5
# see above
apt install https://...python3-qcustomplot-pyqt5_...amd64.deb
(with homebrew):
brew install python3
pip3 install numpy chardet
… and install QCustomPlot_PyQt5
according to documentation.
0.3.7