Coherent response of inhomogeneously broadened and spatially localized emitter ensembles in waveguide QED