Near-Infrared Spectroscopy as a Process Analytical Tool