Skip to content

Conversation

@lijun99
Copy link

@lijun99 lijun99 commented Dec 11, 2025

This PR improves the deramp procedure in pycuampcor/dense_offset to address the issue of (linear) phase ramp along azimuth due to the Doppler Centroids.

  1. fix the pixelIdx error (thanks to @bhawkins)
  2. use double precision for phase correction. Using float seems to introduce spectral noises which breaks the band-limited structure and therefore lowers the correlation.
  3. add derampAxis parameter for options to deramp along certain direction, 0=azimuth 1=range and 2=both axes(default). In cfg, use deramp_axis = "azimuth", "range", or None to set this parameter.
  4. move cuDeramp from oversampler to chunk processor; making the code more readable

bhawkins and others added 4 commits December 4, 2025 18:16
 1) fix the pixelIdx error (thanks to @bhawkins)
 2) use double precision for phase correction
 3) add derampAxis parameter for options to deramp along certain
    direction
 4) move cuDeramp from oversampler to chunk processor; making the code more readable
@xhuang-jpl
Copy link
Contributor

Thanks @lijun99 and @bhawkins, I will take a test.

Copy link
Contributor

@xhuang-jpl xhuang-jpl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have tested this PR on both CPU and GPU, which show significant improvements of the correlation surface peak after the ramp phase estimation bug fix. Thanks again @lijun99 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants