A spectral analyser for the thermomechanical response of solids to low-frequency dynamic loads