diff options
author | Gary E. Miller <gem@rellim.com> | 2016-07-26 12:01:00 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2016-07-26 12:01:00 -0700 |
commit | 2cc9772319091b48df23ca60ced005c531afc06b (patch) | |
tree | fb516e1e5169428d24dc07b252f6dc85bebd3274 /gpsprof | |
parent | fb0c35f49a40db872ed3bf729fcb238e31b2e6bc (diff) | |
download | gpsd-2cc9772319091b48df23ca60ced005c531afc06b.tar.gz |
Make gpsplot use the EarthDistanceSmall() from gps/misc.py
Diffstat (limited to 'gpsprof')
-rwxr-xr-x | gpsprof | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -201,9 +201,9 @@ class spaceplot(plotter): def plot(self): # Compute CEP(50%) - cep_meters = EarthDistanceSmall(self.centroid[:2], self.fixes[int(len(self.fixes) * 0.50)][:2]) - cep95_meters = EarthDistanceSmall(self.centroid[:2], self.fixes[int(len(self.fixes) * 0.95)][:2]) - cep99_meters = EarthDistanceSmall(self.centroid[:2], self.fixes[int(len(self.fixes) * 0.99)][:2]) + cep_meters = gps.misc.EarthDistanceSmall(self.centroid[:2], self.fixes[int(len(self.fixes) * 0.50)][:2]) + cep95_meters = gps.misc.EarthDistanceSmall(self.centroid[:2], self.fixes[int(len(self.fixes) * 0.95)][:2]) + cep99_meters = gps.misc.EarthDistanceSmall(self.centroid[:2], self.fixes[int(len(self.fixes) * 0.99)][:2]) alt_sum = 0 alt_num = 0 alt_fixes = [] |