SubPlotter is a Python script to visualize data from given files. It supports two types of files, which can represent different types of signals:
-
.sub
files, which represent Sub-GHz signals. In these files, the data consists of alternating positive and negative numbers, representing time intervals (in some unit) of 'on' and 'off' states, respectively. -
.ir
files, which represent IR signals. In these files, the data is a series of positive numbers, and 'on' and 'off' states alternate with every number.
The script organizes the data and then uses Plotly to create a graph. It produces a step graph where 'on' states are represented by 1 and 'off' states by 0. The x-axis represents the cumulative time.
- Clone the repository
- Navigate to the project directory in your terminal
- Install the necessary packages by running
pip install -r requirements.txt
Run the script with the filename as an argument.
python PlotSub.py filename.sub
python PlotIr.py filename.ir