A mathematical method for analyzing compatibility law of Chinese herbal formula based on UD-PLS Rapid determination of loganin in Liuwei Dihuang Pills by NIR spectroscopy A mathematical method for analyzing compatibility law of Chinese herbal formula based on UD-PLS