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

BUG: Correct coordinate transform between tike and ptychodus #81

Merged
merged 1 commit into from
May 7, 2024

Conversation

carterbox
Copy link
Contributor

@carterbox carterbox commented May 7, 2024

Closes #80

Fix position offset issue when enabling position correction with tike. This is accomplished by making two changes: 1. There is no longer a separate code path for when position correction is disabled or enabled (this should not have been the case because you should always want the positions as returned by the tool that you are using to reconstruct) 2. The offset which is added before passing position to tike is subtracted from the result returned by tike.

Copy link
Contributor

@stevehenke stevehenke left a comment

Choose a reason for hiding this comment

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

Thank you! Looks good to me.

@carterbox carterbox marked this pull request as ready for review May 7, 2024 21:07
@carterbox carterbox merged commit 9242fe7 into master May 7, 2024
1 check passed
@carterbox carterbox deleted the coordinate-transform branch May 7, 2024 21:07
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.

BUG: Positions move a large amount when position updates enabled
2 participants