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

Visualize slope map #118

Merged
merged 4 commits into from
Jun 26, 2024
Merged

Conversation

braden6521
Copy link
Collaborator

  • Added ability to get orthorectified slope array from mirror objects as numpy array, not just as plot. This is useful when performing unique analyses on an optic and not just plotting the slope image.
  • Pulled out generic functions into separate library (visualize_orthorectified_image.py). This is needed when you are creating unique plots not natively part of OpenCSP, but want to have the same format as OpenCSP.
  • Added unit tests.

@braden6521 braden6521 added the enhancement New feature or request label Jun 12, 2024
@braden6521 braden6521 self-assigned this Jun 12, 2024
e10harvey
e10harvey previously approved these changes Jun 18, 2024
@braden6521 braden6521 changed the base branch from main to develop June 18, 2024 16:37
@braden6521 braden6521 dismissed e10harvey’s stale review June 18, 2024 16:37

The base branch was changed.

@braden6521
Copy link
Collaborator Author

@e10harvey. Rebased on develop. Could you please review again?

Copy link
Collaborator

@e10harvey e10harvey left a comment

Choose a reason for hiding this comment

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

Thank you, @braden6521. In the future, consider strengthening the tests by generating random input sizes, e.g.:
shape = RegionXY.from_vertices(Vxy(([rand_float modulo upper_bound, ...

@e10harvey e10harvey merged commit fb5780f into sandialabs:develop Jun 26, 2024
4 checks passed
@braden6521 braden6521 deleted the visualize_slope_map branch June 26, 2024 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants