The pinhole size is a compromise between resolution and signal throughput. On the one hand the signal should be as high as possible, while on the other hand the spatial resolution should be as good as possible. A small pinhole strongly increases the depth and also the lateral resolution. However, the signal that reaches the detector is decreased.
Advanced Raman Techniques and Combinations
Why is the pinhole size important?