Theoretical model of the helium pinhole microscope