The operations include generating predicted data (the counts) regarding the film stack layers by inputting estimated film stack characteristics, such as thickness and composition values, into equations which model X-ray emission from the film stack layers.