Extracting spectral properties from Keldysh Green functions.