You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discovered recently by @neilzim and as previously noted but not documented, the current way plate scales are calculated in the fresnel wavefront class depends on the focal length attribute carried through the sequence of propagations by the wavefront class. Thus, it breaks when you have an afocal system where plane-to-plane propagation occurs.
We need either another way of carrying focal length through a system, or more graceful failure and better documentation.
The text was updated successfully, but these errors were encountered:
Hi @mperrin! I'm running into this bug as well, where the focal length is "forgotten" in collimated space and the plate scale becomes -inf. Has there been any progress on this, or do you have a suggested quick fix?
@isa-kain Thanks for your patience & apologies for not being able to write back sooner. I have not had a chance to look at this yet.
It might help if you could share some example code that runs into this bug, maybe a simple simulation of an focal simulation like this in a script or notebook. Having a runnable code example would help me get started on looking into this. Cheers.
Issue by douglase
Tuesday Jan 03, 2017 at 18:02 GMT
Originally opened as mperrin/poppy#200
As discovered recently by @neilzim and as previously noted but not documented, the current way plate scales are calculated in the fresnel wavefront class depends on the focal length attribute carried through the sequence of propagations by the wavefront class. Thus, it breaks when you have an afocal system where plane-to-plane propagation occurs.
We need either another way of carrying focal length through a system, or more graceful failure and better documentation.
The text was updated successfully, but these errors were encountered: