UoA-eResearch / SPOC-Rongowai-L1

Translation of the Matlab L1 files into Python
MIT License
0 stars 1 forks source link

hotfix: 1) clock drift 2) d delay bin #19

Closed k-orzel closed 6 months ago

k-orzel commented 6 months ago

This is a tiny commit which addresses 2 issues.

  1. 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

  2. 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