Skip to content

Spatial slice select update #200

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

Merged
merged 11 commits into from
Apr 8, 2025
Merged

Spatial slice select update #200

merged 11 commits into from
Apr 8, 2025

Conversation

felix-e-h-p
Copy link
Contributor

Main refactor aspects are as follows:

CoordinateConverter Class - introduced to encapsulate coordinate transformations.

Combined Pixel Index Function - two pixel-index functions merged into one, using the CoordinateConverter class to handle different coordinate systems.

Improved Padding Logic - pre-existing padding logic simplified by calculating quantities explicitly.

New test added to cover cases with allow_partial_slice=False (not sure if truly necessary).

@felix-e-h-p felix-e-h-p marked this pull request as ready for review March 4, 2025 13:23
@felix-e-h-p felix-e-h-p requested a review from Sukh-P March 4, 2025 13:23
@felix-e-h-p
Copy link
Contributor Author

Think all OK here - perhaps would benefit with the next mob programming session

@Sukh-P Sukh-P requested a review from dfulu March 10, 2025 11:54
@dfulu
Copy link
Member

dfulu commented Apr 7, 2025

@felix-e-h-p this looks really good! There are just a few little things I think we should tighten up on

Copy link
Member

@dfulu dfulu left a comment

Choose a reason for hiding this comment

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

Looks great @felix-e-h-p! Thanks for taking this on

@felix-e-h-p felix-e-h-p merged commit 19dd09f into main Apr 8, 2025
4 checks passed
@felix-e-h-p felix-e-h-p deleted the spatial-slice-select-update branch April 8, 2025 08:34
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.

2 participants