gemdat.collective
This module contains classes for computing which jumps show collective behaviour.
Collective(jumps, sites, lattice, max_steps, max_dist=1)
Data class for collective jumps.
Attributes:
-
n_solo_jumps(int) –Number of solo jumps
-
coll_jumps(list[tuple(int, int)]) –List with start/stop site indices involved in collective jumps
-
collective(list[tuple[int, int]]) –List of indices to collective jump events
Parameters:
-
jumps(Jumps) –Input jump events
-
sites(Structure) –Structure with list of jump sites
-
lattice(Lattice) –Input lattice for distance calculations (from simulation data)
-
max_steps(int) –Maximum number of time steps which would still mean correlation
-
max_dist(float, default:1) –Maximum distance for collective motions in Angstrom
Source code in src/gemdat/collective.py
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | |
multiple_collective()
Find jumps that occur collectively multiple times.
returns collective jumps and their occurence
Returns:
Source code in src/gemdat/collective.py
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 | |
site_pair_count_matrix()
Collective jumps matrix.
Returns:
-
site_pair_count_matrix(ndarray) –Matrix where all types of jumps combinations are counted
Source code in src/gemdat/collective.py
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 | |