FFT PSF - 2D
[1]:
from optiland.psf import FFTPSF
from optiland.samples.objectives import CookeTriplet
[2]:
lens = CookeTriplet()
lens.draw()
[2]:
(<Figure size 1000x400 with 1 Axes>, <Axes: xlabel='Z [mm]', ylabel='Y [mm]'>)
[3]:
psf = FFTPSF(lens, field=(0, 0), wavelength=0.55)
psf.view(projection="2d", num_points=256)
C:\Users\kdani\AppData\Local\Temp\ipykernel_20496\3304088282.py:2: UserWarning: The PSF view has a high oversampling factor (5.57). Results may be inaccurate.
psf.view(projection="2d", num_points=256)
[3]:
(<Figure size 700x550 with 2 Axes>,
<Axes: title={'center': 'ScalarFFT PSF'}, xlabel='X (µm)', ylabel='Y (µm)'>)