-
Is there a possibility to calculate the sagittal/tangential field curvature and the maximal distortion (not only for third order?). I was searching for it but can't find it. As well as the RMS-Spot and the chromatic aberrations? I don't want to plot them, but using the information as text. I could also code it on myself, but would be way easier if there is already something, that I can use and didnt found. Thanks for the answer! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello @gniliac1, For your other requests, you can either generate the data using the classes in raytr.analyses module, such as RayFan and RayList, or by using the data in the various mpl plotting options. RayGeoPSF is a class that takes a I have a jupyter notebook repo that has a couple of notebooks using these functions. You might look at: Hope this helps. Mike Hayford |
Beta Was this translation helpful? Give feedback.
Hello @gniliac1,
There are several functions in the trace module for calculating the sagittal and tangential astigmatism values. trace_astigmatism can be called for a single field point; the function trace_astigmatism_curve will sample the optics across the field of view. I haven't written a function to generate distortion curves but it would be patterned after the
trace_astigmatism_curve
function.For your other requests, you can either generate the data using the classes in raytr.analyses module, such as RayFan and RayList, or by using the data in the various mpl plotting options. RayGeoPSF is a class that takes a
RayList
as input and produces either a spot diagram or 2D histogram; this…