Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add a simple parser and jupyter plotting script:
The default plotting script utilizes jupyter-notebook, matplotlib, seaborn
and pandas under python3 environment. For Ubuntu on x86_64 machine, the
following packages have to be installed:
apt install build-essential python3 python3-pip jupyter-notebook
For aarch64 machine, additional packages are also needed:
apt install pkg-config libfreetype6-dev python3-scipy
Then pip3 can install all plotting related libraries with the following cmd:
pip3 install matplotlib seaborn pandas numpy
Note, seaborn has to be installed without scipy as dependency on aarch64:
pip3 install seaborn --no-dependencies
The jupyter-notebook can be started with:
jupyter-notebook --ip 0.0.0.0 --port=8888
Now any browser should be able to access the jupyter notebook called:
lockhammer-jupyter-notebook.ipynb
Start a browser, with IP address set to the jupyter server IP and port 8888:
e.g. http://example.test.com:8888
Click the notebook named lockhammer-jupyter-notebook.ipynb, run each cell one
by one and jupyter should be able to generate the png graph locally.