purity assessment