We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a09db91 commit 82a847cCopy full SHA for 82a847c
gnsspy/position/position.py
@@ -47,7 +47,7 @@ def spp(station, orbit, system="G", cut_off=7.0):
47
position_list = []
48
while True:
49
epoch_step = epoch_start + epoch_interval
50
- gnss_temp = gnss.loc[(slice(epoch_start,epoch_step))].copy()
+ gnss_temp = gnss.xs((slice(epoch_start,epoch_step))).copy()
51
for iter in range(6):
52
distance = _distance_euclidean(approx_position[0],approx_position[1],approx_position[2], gnss_temp.X_Reception, gnss_temp.Y_Reception, gnss_temp.Z_Reception)
53
gnss_temp["Distance"] = distance + _sagnac(approx_position[0],approx_position[1],approx_position[2], gnss_temp.X_Reception, gnss_temp.Y_Reception, gnss_temp.Z_Reception)
0 commit comments