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