Diffraction peak classification by thermal expansion