Improvement of signal-to-noise ratio in photothermal microscopy by optimizing detection aperture