Broadband calculation of scattering parameters in the time domain