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
With code similar to this, it crashes in the raytracing_app I am developing. I notice there is an aperture but it is after the image and cannot be crossed at all(?)
from raytracing import *
path = ImagingPath()
path.append(Space(d=100.0))
path.append(Lens(f=100.0, label='L1'))
path.append(Space(d=200.0))
path.append(Lens(f=50.0, label='L2'))
path.append(Space(d=100.0))
path.append(Aperture(diameter=30.0, label='Aperture'))
stop = path.fieldStop() # This crashes, sometimes? In the raytracing app, it does, but not here.
print(stop)
rays = UniformRays(yMax=5, thetaMax=0.1, M=5, N=5)
path.display(rays=rays, onlyPrincipalAndAxialRays=False, removeBlocked=True)
The text was updated successfully, but these errors were encountered:
With code similar to this, it crashes in the raytracing_app I am developing. I notice there is an aperture but it is after the image and cannot be crossed at all(?)
The text was updated successfully, but these errors were encountered: