Clock drift correction
fclk_drift = 150 . Value estimated from data. It is possible that it will be updated in the future. Here we hardcode it in the function, but a more elegant solution should be implemented.
doppler_hz = -1 * (term1 + term2) / _lambda - fclk_drift # this is where it is actually used
delay bins index bias
This probably related to 0-index issue. The following modification fixes the issue:
sp_delay_row1 = L0.center_delay_bin - d_delay_bin1 -1
This is a tiny commit which addresses 2 issues.
Clock drift correction fclk_drift = 150 . Value estimated from data. It is possible that it will be updated in the future. Here we hardcode it in the function, but a more elegant solution should be implemented. doppler_hz = -1 * (term1 + term2) / _lambda - fclk_drift # this is where it is actually used
delay bins index bias This probably related to 0-index issue. The following modification fixes the issue: sp_delay_row1 = L0.center_delay_bin - d_delay_bin1 -1