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

Coordinate transformations + centroid #75

Merged
merged 5 commits into from
Dec 6, 2024
Merged

Coordinate transformations + centroid #75

merged 5 commits into from
Dec 6, 2024

Conversation

roaldarbol
Copy link
Owner

@roaldarbol roaldarbol commented Dec 6, 2024

This PR introduced a couple of user-facing new functions:

  • translate_coords
  • map_to_polar
  • map_to_cartesian
  • add_centroid

As well as a bunch of internal functions:

  • calculate_centroid_x
  • calculate_centroid_y
  • translate_coords_keypoint
  • translate_coords_vector
  • cartesian_to_rho
  • cartesian_to_theta
  • polar_to_x
  • polar_to_y
  • rad_to_deg
  • deg_to_rad
  • constrain_angles_radians

@roaldarbol roaldarbol changed the title Consolidate tests of readers Coordinate transformations + centroid Dec 6, 2024
@roaldarbol roaldarbol changed the base branch from dev to main December 6, 2024 16:28
@roaldarbol roaldarbol merged commit a86817b into main Dec 6, 2024
4 checks passed
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.

1 participant