sarkas.tools.transport.TransportCoefficients.electrical_conductivity#

TransportCoefficients.electrical_conductivity(observable, plot=True, display_plot=False)[source]#

Calculate the transport coefficient from the Green-Kubo formula

\[\sigma = \frac{\beta}{V} \int_0^{\tau} dt J(t).\]

where \(\beta = 1/k_B T\) and \(V\) is the volum of the simulation box.

Data is retrievable at conductivity_df and conductivity_df_slices.

Parameters
  • observable (sarkas.tools.observables.ElectricCurrent) – Observable object containing the ACF whose time integral leads to the electrical conductivity.

  • plot (bool, optional) – Flag for making the dual plot of the ACF and transport coefficient.

    Default = True.

  • display_plot (bool, optional) – Flag for displaying the plot if using the IPython. Default = False.