mirror of
https://github.com/30hours/3lips.git
synced 2024-11-18 12:33:58 +00:00
.. | ||
Dockerfile | ||
plot_accuracy.py | ||
plot_associate.py | ||
README.md | ||
requirements.txt |
This folder is for post-processing scripts on API data.
Scripts
-
plot_accuracy.py plots a comparison between ADS-B truth and target localisation data in ENU coordinates. Also generates RMS error values for the data.
python plot_associate.py <input.ndjson> <target-id> (--start_time <posix>) (--stop_time <posix>)
-
plot_associate.py plots when each radar detected a particular target in a 2D heatmap.
python plot_associate.py <input.ndjson> <target-id> (--start_time <posix>) (--stop_time <posix>)
Docker Environment
To avoid having to install extra libraries on the host machine (e.g. numpy, matplotlib), a Dockerfile is provided to create this environment.
sudo docker build -t 3lips-script .
sudo docker run -it -v /opt/3lips/save:/app/save -v /opt/3lips/script:/app/script -v /opt/3lips/event/algorithm/geometry:/app/geometry 3lips-script bash
PYTHONPATH=/app python <script> <args>