2024-03-09 01:46:39 +00:00
This folder is for post-processing scripts on API data.
## Scripts
2024-03-18 11:03:09 +00:00
- **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 > )
```
2024-03-10 08:51:58 +00:00
## 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.
```bash
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 > < a r g s >
```