Analysing solids