Sampling and analysis of deposition