A three-step methodology to analyze the chemical composition and the spatial relationships between API and different excipients.