Assuming that we have analysed a sample with SEM-EDS. If the surface of the sample was not polished (or not polished very well), then it would not be very flat. I am curious how much this rough surface will affect the analysis results (for instance, the indication of elements, the intensity of peaks, etc)? Is there a possibility that the detector will receive the X-ray which is released from the region adjacent to the investigated region (because of the roughness of the surface)?