pp_spectral_function

tenpy.simulations.post_processing.pp_spectral_function(DL: DataLoader, *, correlation_key, conjugate_correlation=False, **kwargs)[source]

Given a time dependent correlation function C(t, r), calculate its Spectral Function.

After a run of TimeDependentCorrelation, a DataLoader instance should be passed, from which the underlying lattice and additional parameters (e.g. dt) can be extracted. The correlation_key must coincide with the key of the time-dep. correlation function in the output of the Simulation.

Parameters:
  • DL (DataLoader) – The data loader to read from

  • correlation_key (str) – key for correlation function

  • conjugate_correlation (bool | False) – If the correlation function should be complex conjugated

  • **kwargs – keyword arguments to spectral_function()