How can I calculate the DOP values for a set of GPS satellites in Python 2.7.2?
问题 I'm trying to calculate the DOP values for a set of GPS satellites in Python 2.7.2 using numpy 1.9.3. I found a guide on how to do this but I'm having trouble translating it to python. Here's what I tried so far: import numpy as np # First I defined 3 variables for each satellite as described in the guide. sat_1_1 = np.sin(np.deg2rad(136)) * np.cos(np.deg2rad(14)) sat_1_2 = np.cos(np.deg2rad(136)) * np.cos(np.deg2rad(14)) sat_1_3 = np.sin(np.deg2rad(14)) sat_2_1 = np.sin(np.deg2rad(329)) * np