Shape of the hot topological charge density spectral function