Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add property to access DOPS from a Solution class.

  • Loading branch information...
commit 624dfa9dc609250e8f32868b6e51d51acac64f79 1 parent 36fb0bf
@fnoble fnoble authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 swiftnav/pvt.pyx
View
8 swiftnav/pvt.pyx
@@ -48,6 +48,14 @@ cdef class Solution:
def __get__(self):
return self.soln.time
+ property dops:
+ def __get__(self):
+ return (self.dops.pdop,
+ self.dops.gdop,
+ self.dops.tdop,
+ self.dops.hdop,
+ self.dops.vdop)
+
def calc_PVT(nav_meas):
n_used = len(nav_meas)
cdef navigation_measurement_t* nav_meas_array = <navigation_measurement_t*>malloc(n_used*sizeof(navigation_measurement_t))
Please sign in to comment.
Something went wrong with that request. Please try again.