Skip to content

Fix null_region meshgrid axis order#185

Merged
ichristen merged 1 commit into
holodyne:mainfrom
philip-rk:patch-1
May 19, 2026
Merged

Fix null_region meshgrid axis order#185
ichristen merged 1 commit into
holodyne:mainfrom
philip-rk:patch-1

Conversation

@philip-rk

Copy link
Copy Markdown
Contributor

The shape of the mask didn't match the shape of the phase pattern because of numpy conventions.

@ichristen ichristen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for the catch. We actually already caught this on the dev branch common (ea96fb5), but it's good to fix now.

In experiment, we mostly use square (padded) farfields, and MRAF stuff has not yet been fleshed out in testing, so we previously missed this bug.

Speaking of square padded farfields, you might be able to get faster holography if you pad to a square power of two (or are you using a rectangular power of two for some reason?)

@ichristen
ichristen merged commit 39243f0 into holodyne:main May 19, 2026
5 checks passed
@philip-rk
philip-rk deleted the patch-1 branch May 26, 2026 10:39
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