LouisDesdoigts/dLux

Preference Using Phase over OPD in `AberratedAperture`.

Closed this issue · 1 comments

Hi all,
when I run np.finfo(np.float32) I find that the resolution is 1e-06, higher than the ~1e-08 optical path differences that may be encountered. We could through a warning if using np.float32 in OPD mode or we could make phase the default. The problem with phase is that it is harder to account for poly-chromatic sources without first going through OPD anyway.
Regards
Jordan

I realise that this doesn't really make sense and that we really should use OPD. I think this is just one more reason that we should use np.float64.