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

Interference of wavefronts? #470

Open
mdhoney opened this issue Dec 3, 2021 · 1 comment
Open

Interference of wavefronts? #470

mdhoney opened this issue Dec 3, 2021 · 1 comment

Comments

@mdhoney
Copy link

mdhoney commented Dec 3, 2021

Thanks for this great package! I have been able to propagate a FresnelWavefront and am now trying to interfere it with a reference wave (in order to model a simple hologram). Do you think this is possible with POPPY?

@mperrin
Copy link
Collaborator

mperrin commented Dec 3, 2021

Hi, and thanks for the kind words. In principle yes I think this should be straightforward enough, though I don’t know if anyone has yet tried modeling holograms (so there may be some subtleties or gotchas that I’m not aware of; holography is not an area of optics that I have much direct familiarity with)

Two wavefronts can be added together straightforwardly, via the + operator. This is overloaded for Wavefront objects so it will add them as complex wavefront arrays. Then you can take the intensity of the resulting combined wavefront to get the interference pattern. I believe something like that should work, so please give it a try and post results or problems here - I’ll do what I can to help support, time permitting (this is a very busy time for me!)

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

No branches or pull requests

2 participants