Effective electron displacements: A tool for time-dependent density functional theory computational spectroscopy