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

Add invert param to slice method of Scene #201

Merged
merged 2 commits into from
May 2, 2022
Merged

Add invert param to slice method of Scene #201

merged 2 commits into from
May 2, 2022

Conversation

RobertoDF
Copy link
Contributor

@RobertoDF RobertoDF commented Mar 25, 2022

HI Federico,
I added a "invert" parameter to the slice method in the Scene class to easily invert the slice direction. Maybe useful to others too.

Cheers!

It multiplies tuple elements by -1
@FedeClaudi
Copy link
Collaborator

Hi,

I guess that makes sense. One can always pass the normal vector directly but this feels like an intuitive way to deal with the 'named' planes, thank you.

@FedeClaudi FedeClaudi merged commit 70268b1 into brainglobe:master May 2, 2022
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.

None yet

2 participants