ToolPythonIntermediate The angular spectrum method with numpy.fft: a laser beam and a slit return np.fft.ifft(np.fft.fft(E) * np.exp(1j * kz * z))spectrum = np.fft.fft(E_slit) # the same for every distanceE_after = np.fft.ifft(np.fft.fft(np.abs(x_fine) < 5e-6) * np.exp(1j * kz_float * 1e-6))
ConceptPythonIntermediate The point spread function: why two points closer than 0.61 λ/NA merge U = np.fft.fft(np.roll(p, -N // 2))