Application of Fourier transform infrared spectroscopy to legume seed flour analysis