In Zemax, I am trying to simulate a refractive bifocal IOL having 0 D and 3 D power using Liou Brennan's eye model for a 5 mm pupil diameter where light comes from the cornea to the retina. Now, in the through-focus MTF pannel, the focus shift is in the millimeter unit, although, in most of the research articles, MTF variation is shown in the diopter. How do I know that the created phase map is correct ( meaning that I am getting the 3-diopter power correctly from the MTF map. Please help. Thank you.
Page 1 / 1
Hi Sums,
I’m not familiar with any kind of MTF plot in which the lens power can be read directly. Could you post an example of what you mean?
If you look at Analyze...Applications...PAL/Freeform, you will see the pupil and field maps, which may give you what you want
Mark
Hi Mark, I am attaching the doi. of a publication and the TF MTF curve for your reference. Please have a look:
Yep, that’s not a currently supported format. You’d need to use ZPL or ZOS-API to transform the defocus in mm into Diopters in m^-1
Okay, can you please guide me how to do this?
@Sums
How do you calculate the defocus in diopters?
In Python, you can use ZOSPy, which is a wrapper for the ZOS-API. They actually have an interactive extension example for Through Focus MTF here. I’m copying the relevant part of the example for you here:
import zospy as zp import matplotlib.pyplot as plt
Just be careful with this example, if you use the comma as a decimal separator, you might need to replace “Field: 0.0000 (deg)” with “Field : 0,0000 (deg)”. This shows you the regular through-focus MTF, but now you have access to the X-axis via mtf.Data.index, that you can transform in diopters. I didn’t do it because I’m not sure how to make this transformation.