Skip to content

Conversation

@cmeyer
Copy link
Collaborator

@cmeyer cmeyer commented Jul 15, 2025

Fixes #70.

Please review this carefully. The tests describe the calibration assumptions for the zero frequency position: 0.5 into the "center" pixel.

NOTE: this is easiest to test if you apply nion-software/nionswift#1597 (fix drawing of spot graphics) if it hasn't already been merged.

@cmeyer cmeyer force-pushed the fix-1471-odd-fft-calibration branch from 3e7a1ad to 1cf0fad Compare July 15, 2025 23:55
@cmeyer cmeyer force-pushed the fix-1471-odd-fft-calibration branch from 1cf0fad to a9c01f0 Compare July 15, 2025 23:56
Copy link
Contributor

@KRLango KRLango left a comment

Choose a reason for hiding this comment

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

LGTM

@KRLango
Copy link
Contributor

KRLango commented Jul 16, 2025

After reviewing this I spotted nion-software/nionswift#1600, it could be related, but since I see it on both odd and even dimensions, I have assumed it is separate and added it as a new issue.

@cmeyer
Copy link
Collaborator Author

cmeyer commented Jul 16, 2025

I'm planning on holding off merging this until we re-open the projects for patches, which are on hold in order to reach a stable version. So we have time to review/fix related issues. I'd also like to put nion-software/nionswift#1596 into the fray.

@cmeyer cmeyer merged commit 3f84bec into nion-software:master Aug 14, 2025
11 checks passed
@cmeyer cmeyer deleted the fix-1471-odd-fft-calibration branch August 14, 2025 20:09
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.

FFT calibration offset incorrect for odd numbers of pixels

2 participants