sarkas.tools.transport.ElectricalConductivity.compute
sarkas.tools.transport.ElectricalConductivity.compute#
- ElectricalConductivity.compute(observable, plot=True, display_plot=False)[source]#
Calculate the transport coefficient from the Green-Kubo formula
- 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.