An investigation of heterogeneity of the degree of graphitization in carbon–carbon composites