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

Plotting in 3D #51

Merged
merged 4 commits into from
Dec 12, 2023
Merged

Plotting in 3D #51

merged 4 commits into from
Dec 12, 2023

Conversation

kaitj
Copy link
Contributor

@kaitj kaitj commented Dec 6, 2023

Proposed changes
This (work-in-progress) PR adds functionality to plot AFIDs in 3D for visualization / QC purposes. Closes #20.
Decided to add in basic functionality (similar to what has already been done in afids-validator). Can add in additional features in future PRs (e.g. surface mesh, insecting planes, etc.

Once these features are merged in v0.2.0 of afids-utils can be released.

Types of changes
What types of changes does your code introduce? Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Other (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you are unsure about any of the choices, don't hesitate to ask!

  • Changes have been tested to ensure that fix is effective or that a feature works.
  • Changes pass the unit tests
  • Code has been run through the poe quality task
  • I have included necessary documentation or comments (as necessary)
  • Any dependent changes have been merged and published

Notes
All PRs will undergo the unit testing before being reviewed. You may be requested to explain or make additional changes before the PR is accepted.

@kaitj kaitj added the enhancement New feature or request label Dec 6, 2023
@kaitj kaitj self-assigned this Dec 6, 2023
Copy link

codecov bot commented Dec 6, 2023

Codecov Report

Merging #51 (2ae1a60) into main (801f263) will not change coverage.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #51   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           14        14           
  Lines          965      1033   +68     
=========================================
+ Hits           965      1033   +68     
Components Coverage Δ
afids_utils/afids.py 100.00% <ø> (ø)
afids_utils/ext 100.00% <ø> (ø)
afids_utils/metrics.py 100.00% <ø> (ø)
afids_utils/plotting.py 100.00% <100.00%> (ø)
afids_utils/transforms.py 100.00% <ø> (ø)

This commit allows lone afids to be plotted in 3d, as well as plot
comparisons against "template" afids, optionally drawing lines between
corresponding points.
@kaitj kaitj marked this pull request as ready for review December 7, 2023 19:37
@kaitj kaitj changed the title [WIP] Plotting in 3D ~[WIP]~ Plotting in 3D Dec 7, 2023
@kaitj kaitj changed the title ~[WIP]~ Plotting in 3D Plotting in 3D Dec 7, 2023
@kaitj kaitj merged commit caed712 into afids:main Dec 12, 2023
25 checks passed
@kaitj kaitj deleted the enh/3d-viz branch December 12, 2023 15:01
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.

[ENH] AFID QC plots
1 participant