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

Spatial slice select update #200

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

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

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