From Memory Alpha, the free Star Trek reference
Nanites enlarged with a diffraction polarimetery scan
A diffraction polarimetery scan is a special scan that can be used to magnify tiny things.
In 2366, a difraction polarimetery scan was used to make sentient nanites visible. (TNG: "Evolution")