“focal_blur” creates an image of the current scene with the addition of an approximated focal blur.
focal_blur [ aperture [, samples [, ray [, filename [, quiet ]]]]]
aperture = float {default: 2.0 (current)} aperture angle in degrees
samples = integer {default: 10 (current)} number of images for averaging
ray = integer {default: -1 (use antialias setting)} whether or not PyMOL should ray trace each image sampled
filename = integer {default: -1 (use antialias setting)} filename if saving the output directly
focal_blur focal_blur 4.4, samples=55, ray=1