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

Support for intermediate planes? #268

Open
joncox123 opened this issue Aug 9, 2020 · 1 comment
Open

Support for intermediate planes? #268

joncox123 opened this issue Aug 9, 2020 · 1 comment

Comments

@joncox123
Copy link

The docs state that you plan to add support for modeling propagation to intermediate planes. For example, if you want to compute the field some distance behind the image plane. Has this support been added? If not, do you have a timeline?

@douglase
Copy link
Contributor

douglase commented Aug 9, 2020

Yep, you can return intermediate planes if you set return_intermediates=True when you call the calc_psf function: https://poppy-optics.readthedocs.io/en/latest/api/poppy.Instrument.html#poppy.Instrument.calc_psf

There are examples here for a Fresnel system, this will let you model diffraction at any plane in the system:
https://github.com/spacetelescope/poppy/blob/stable/notebooks/Fresnel_Propagation_Demo.ipynb

and there are examples here of returning intermediate pupil and image planes for a Fraunhofer system:
https://github.com/spacetelescope/poppy/blob/stable/notebooks/MatrixFTCoronagraph_demo.ipynb

Is that what you were looking for?

(development has moved to https://github.com/spacetelescope/poppy/ but this feature is available for the versions in either repository).

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