Skip to content

Commit

Permalink
attempt at fixing timing est corner case
Browse files Browse the repository at this point in the history
  • Loading branch information
drowe67 committed Dec 3, 2024
1 parent d05ed99 commit be6e31b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion radae_rxe.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,8 @@ def do_radae_rx(self, buffer_complex, floats_out):
self.uw_errors = 0
self.valid_count = self.Nmf_unsync
ffine_range = np.arange(self.fmax-10,self.fmax+10,0.25)
tfine_range = np.arange(self.tmax-1,self.tmax+2)
tfine_range = np.arange(max(0,self.tmax-1),self.tmax+2)
print(len(rx_buf),self.tmax,tfine_range, file=sys.stderr)
self.tmax,self.fmax = acq.refine(rx_buf, self.tmax, self.fmax, tfine_range, ffine_range)
# testing: only insert freq offset error on first sync
self.fmax += self.foff_err
Expand Down

0 comments on commit be6e31b

Please sign in to comment.