Thermal diffuse scattering and Fourier analysis of charge and spin density