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

Improve docstring and validation of parameters in CameraGeometry #2361

Merged
merged 3 commits into from Jun 20, 2023

Conversation

maxnoe
Copy link
Member

@maxnoe maxnoe commented Jun 20, 2023

No description provided.

kosack
kosack previously approved these changes Jun 20, 2023
position of each pixel (y-coordinate)
pix_area : array(float)
surface area of each pixel, if None will be calculated
Copy link
Contributor

Choose a reason for hiding this comment

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

was this "if not given will be calculated" simply not correct?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, this got removed a long time ago and made a required argument

@maxnoe maxnoe requested a review from Tobychev June 20, 2023 14:48
@maxnoe maxnoe added this to the v0.19.3 milestone Jun 20, 2023
@maxnoe maxnoe requested a review from LukasNickel June 20, 2023 15:46
@maxnoe maxnoe modified the milestones: v0.19.3, v0.20.0 Jun 20, 2023
@maxnoe maxnoe merged commit 37c08be into main Jun 20, 2023
12 checks passed
@maxnoe maxnoe deleted the fix_single_pixel_area branch June 20, 2023 16:17
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.

CameraGeometry does not validate that pix_area is an array with a value for each pixel
4 participants