From 2cc9772319091b48df23ca60ced005c531afc06b Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Tue, 26 Jul 2016 12:01:00 -0700 Subject: Make gpsplot use the EarthDistanceSmall() from gps/misc.py --- gpsprof | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gpsprof') diff --git a/gpsprof b/gpsprof index 9940056c..9f79a924 100755 --- a/gpsprof +++ b/gpsprof @@ -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 = [] -- cgit v1.2.1