Commit 188a916b by Corey Koval

Plotting adjustments

parent 2c49f40d
......@@ -7,12 +7,12 @@
- [python-geojson](https://python-geojson.readthedocs.io/en/latest/)
- [czml3](https://github.com/poliastro/czml3)
- As of this writing, the version from pip does not support ellipses. Please use the version from GitHub.
- [geojson](https://pypi.org/project/geojson/)
## Other things you'll need:
- [Cesium Ion Token](https://cesium.com/docs/tutorials/quick-start/)
- Create a single line file named ```accesstoken.txt```
- [Extended XML KerberosSDR Software](https://github.com/ckoval7/kerberossdr)
- This is available for both Qt4 (original version) and Qt5 (Ubuntu 20.04+). Just check out the appropriate branch.
![Screenshot](https://github.com/ckoval7/df-aggregator/raw/master/screenshots/Screenshot%20from%202020-11-15%2009-31-22.png)
......@@ -71,5 +71,16 @@
Once the program is running, browse to 127.0.0.1:8080 or whatever IP/Port Number you specified.
## Credits
## Map Colors:
- A red ellipse represents the significant majority of the intersections in a particular cluster.
It makes up the full area where the transmitter is most certainly located.
- The large green dot at the center of the ellipse is the likely location of the transmitter.
It is simply computed as the mean of all intersections in that cluster.
- The smaller dots, if turned on vary in color from red to green. These dots are the individual
intersections. The color represents the age relative to the full data set. Red is older, green is
newer. This is very helpful for following moving targets.
### Attributions
Tower and car icons made by Freepik from www.flaticon.com
......@@ -289,11 +289,11 @@ def write_czml(best_point, all_the_points, ellipsedata):
scaled_time = minmax_scale(all_the_points[:,-1])
all_the_points = np.column_stack((all_the_points, scaled_time))
for x in all_the_points:
rgb = hsvtorgb(x[-1]/3, 0.8, 0.8)
rgb = hsvtorgb(x[-1]/3, 0.9, 0.9)
color_property = {"color":{"rgba": [*rgb, 255]}}
all_point_packets.append(Packet(id=str(x[1]) + ", " + str(x[0]),
point={**point_properties, **color_property},
position={"cartographicDegrees": [ x[0], x[1], 10 ]},
position={"cartographicDegrees": [ x[0], x[1], 20 ]},
))
if len(best_point) > 0:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment