andykee / lentil

Heart-healthy physical optics
https://andykee.github.io/lentil/
Other
14 stars 6 forks source link

Adjust how default value for npix in propagate() is computed #23

Closed andykee closed 2 years ago

andykee commented 3 years ago

Currently, if npix is not specified when calling propagate(), it defaults to planes[-1].shape. This works fine for propagations to a Pupil plane or (current implementations of) an Image plane. A more robust implementation will eventually be needed.

It could look something like this:

andykee commented 3 years ago

This will be OBE in v0.6.0

andykee commented 2 years ago

Closing in preparation for release of v0.6.0