Spatially resolved characteristics of pharmaceutical sprays