Mid-infrared spectroscopy coupled with chemometrics for quantitative determination of biomaterial activity