A closer look at Bahtinov mask
A Bahtinov mask places a patterned screen over an aperture to generate diffraction spikes from a bright star.
As focus changes, one spike shifts relative to the others. The pattern gives a sensitive visual focusing cue. The point-spread function describes the image formed by an unresolved point source. Full width at half maximum measures the distance between the two places where a profile falls to half its peak above background.
Bring the moving spike midway between the outer pair, then remove the mask before collecting the science exposure.
Want to learn more about Bahtinov mask? Bahtinov mask on Wikipedia.

