pybec.analysis.get_full_pol

pybec.analysis.get_full_pol(directory)[source]

Gets the trajectory of the polarization.

Parameters

directory (str) – The path to a directory containing all of the output files to parse for polarization data.

Returns

Nx2 array with the first column containing the time and second column containing the overall polarization. Duplicate timesteps are removed during processing.

Return type

numpy.ndarray