Quantitative and qualitative phase analysis