mdsuite.calculators.green_kubo_self_diffusion_coefficients module¶
MDSuite: A Zincwarecode package.
License¶
This program and the accompanying materials are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v20.html
SPDX-License-Identifier: EPL-2.0
Copyright Contributors to the Zincwarecode Project.
Contact Information¶
email: zincwarecode@gmail.com github: https://github.com/zincware web: https://zincwarecode.com/
Citation¶
If you use this module please cite us with:
Summary¶
Module for the computation of diffusion coefficients using the Green-Kubo approach.
- class mdsuite.calculators.green_kubo_self_diffusion_coefficients.Args(data_range: int, correlation_time: int, atom_selection: <numpy.lib.index_tricks.IndexExpression object at 0x7f811e5ba760>, tau_values: <numpy.lib.index_tricks.IndexExpression object at 0x7f811e5ba760>, molecules: bool, species: list, integration_range: int)[source]¶
Bases:
object
Data class for the saved properties.
- atom_selection: <numpy.lib.index_tricks.IndexExpression object at 0x7f811e5ba760>¶
- tau_values: <numpy.lib.index_tricks.IndexExpression object at 0x7f811e5ba760>¶
- class mdsuite.calculators.green_kubo_self_diffusion_coefficients.GreenKuboDiffusionCoefficients(**kwargs)[source]¶
Bases:
TrajectoryCalculator
,ABC
Class for the Green-Kubo diffusion coefficient implementation .. attribute:: experiment
Experiment class to call from
- type:
object
Examples
- experiment.run_computation.GreenKuboSelfDiffusionCoefficients(data_range=500,
plot=True, correlation_time=10)
- ensemble_operation(ensemble)[source]¶
Calculate and return the msd.
- Parameters:
ensemble –
- Return type:
MSD of the tensor_values.
- plot_data(data: dict)[source]¶
Plot the data.
- Parameters:
data (dict) – Data loaded from the sql database to be plotted.