paramagpy.metal.Metal.spec_dens

static Metal.spec_dens(tau, omega)[source]

A spectral density function with Lorentzian shape:

\[\mathbb{J}(\tau,\omega)=\frac{\tau}{1+(\omega\tau)^2}\]
Parameters
  • tau (float) – correaltion time

  • omega (float) – frequency

Returns

value – the value of the spectral denstiy

Return type

float