Open gimli2 opened 1 year ago
It seems that there is a typo on this line: https://github.com/opticspy/lightpipes/blob/master/LightPipes/core.py#L115C9-L115C29 There is Centroid(F) instead of Sigma(F).
Centroid(F)
Sigma(F)
Probably it should look something like this:
from LightPipes import * wavelength = 500*nm size = 25*mm N = 500 F = Begin(size, wavelength, N) F = CircAperture(F, 2*mm, x_shift=5*mm, y_shift=3*mm) F = Fresnel(F, 10*m) sx, sy = D4sigma(F)
Yes, you are right! I will change it. Thanks.
It seems that there is a typo on this line: https://github.com/opticspy/lightpipes/blob/master/LightPipes/core.py#L115C9-L115C29 There is
Centroid(F)
instead ofSigma(F)
.Probably it should look something like this: