code: def correct_dt(d, dt, blrange):
      
  
      data = numpyview(data_mem, 'complex64', datashape(d))
      data_resamp = numpyview(data_resamp_mem, 'complex64', datashape(d))
      bl0,bl1 = blrange
      rtlib.resample_par(data_resamp, d['freq'], d['inttime'], dt, blrange, verbose=0)
docs: Resamples data_resamp
      Drops edges, since it assumes that data is read with overlapping chunks in time.