calculate_conductivity

mdhelper.analysis.transport.calculate_conductivity(L_ij: ndarray[float], z: ndarray[float], *, reduced: bool = False) ndarray[float][source]

Calculates the ionic conductivity κ using the Onsager transport coefficients Lij.

Parameters:
L_ijnumpy.ndarray

Onsager transport coefficients Lij for the atoms or residues in the Ng groups and Nb trajectory blocks.

Shape: (Nb,Ng,Ng).

Reference unit: mol/(kJÅps).

zarray-like

Charge numbers zi of the atoms or residues in the Ng groups.

Shape: (Ng,).

reducedbool, keyword-only, default: False

Specifies whether the data is in reduced units.

Returns:
kappasnumpy.ndarray

Conductivities κ for the Nb trajectory blocks.

Shape: (Nb,).

Reference unit: C2/(kJÅps).

To SI unit: 1×1019S/m.