Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add margin to the LUT2d corrections #99

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hfattahi
Copy link
Contributor

@hfattahi hfattahi commented Feb 5, 2023

This is an attempt to address #98 .
We need to evaluate the default margins.

Copy link
Contributor

@LiangJYu LiangJYu left a comment

Choose a reason for hiding this comment

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

LGTM. Just formatting comments

Comment on lines +528 to +529
n_rng_margin = range_margin/self.range_pixel_spacing
n_az_margin = az_margin/self.azimuth_time_interval
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
n_rng_margin = range_margin/self.range_pixel_spacing
n_az_margin = az_margin/self.azimuth_time_interval
n_rng_margin = range_margin / self.range_pixel_spacing
n_az_margin = az_margin / self.azimuth_time_interval

Formatting nit for readability

Comment on lines +532 to +533
width = self.width + 2*n_rng_margin
length = self.length + 2*n_az_margin
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
width = self.width + 2*n_rng_margin
length = self.length + 2*n_az_margin
width = self.width + 2 * n_rng_margin
length = self.length + 2 * n_az_margin

Formatting nit for readability

@vbrancat
Copy link
Contributor

vbrancat commented Apr 2, 2023

@hfattahi do you want me or @LiangJYu to take over this PR?

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