We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f919ed commit 9444c8aCopy full SHA for 9444c8a
1 file changed
gnss_lib_py/algorithms/gnss_filters.py
@@ -98,7 +98,7 @@ def solve_gnss_ekf(measurements, init_dict = None,
98
corr_pr_m = measurement_subset["corr_pr_m"].reshape(-1,1)
99
100
# remove NaN indexes
101
- not_nan_indexes = ~np.isnan(pos_sv_m).any(axis=1)
+ not_nan_indexes = ~np.isnan(pos_sv_m).any(axis=1) & ~np.isnan(corr_pr_m).any(axis=1)
102
pos_sv_m = pos_sv_m[not_nan_indexes]
103
corr_pr_m = corr_pr_m[not_nan_indexes]
104
0 commit comments