gemdat.jumps
Jumps(transitions, *, conversion_method=_generic_transitions_to_jumps, minimal_residence=0)
Parameters:
-
transitions
(Transitions
) –pymatgen transitions in which to calculate jumps
-
conversion_method
(Callable[[Transitions,int], pd.DataFrame]:
, default:_generic_transitions_to_jumps
) –conversion method that translates the Transitions into Jumps, second parameter is the
minimal_residence
parameter -
minimal_residence
(int
, default:0
) –minimal residence, number of timesteps that an atom needs to reside on a destination site to count as a jump, passed through to conversion method
Source code in src/gemdat/jumps.py
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 |
|
jump_names: list[str]
property
Return list of jump names.
n_floating: int
property
Return number of floating species.
n_jumps: int
property
Return total number of jumps.
n_solo_jumps: int
property
Return number of solo jumps.
site_pairs: list[tuple[str, str]]
property
Return list of all unique site pairs.
solo_fraction: float
property
Fraction of solo jumps.
activation_energies(n_parts=10)
Calculate activation energies for jumps (UNITS?).
Parameters:
-
n_parts
(10
, default:10
) –Number of parts to split the data into
Returns:
-
df
(DataFrame
) –Dataframe with jump activation energies and standard deviations between site pairs.
Source code in src/gemdat/jumps.py
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 |
|
collective(max_dist=1)
Calculate collective jumps.
Parameters:
-
max_dist
(float
, default:1
) –Maximum distance for collective motions in Angstrom
Returns:
-
collective
(Collective
) –Output class with data on collective jumps
Source code in src/gemdat/jumps.py
212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 |
|
jump_diffusivity(dimensions)
Calculate jump diffusivity.
Parameters:
-
dimensions
(int
) –Number of diffusion dimensions
Returns:
-
jump_diff
(float
) –Jump diffusivity in m^2/s
Source code in src/gemdat/jumps.py
172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 |
|
jumps_counter()
Calculate number of jumps between sites.
Returns:
Source code in src/gemdat/jumps.py
302 303 304 305 306 307 308 309 310 311 312 313 |
|
matrix()
Convert list of transition events to dense matrix.
Returns:
-
transitions_matrix
(ndarray
) –Square matrix with number of each transitions
Source code in src/gemdat/jumps.py
200 201 202 203 204 205 206 207 208 209 210 |
|
plot_collective_jumps(**kwargs)
See gemdat.plots.collective_jumps for more information.
Source code in src/gemdat/jumps.py
373 374 375 376 |
|
plot_jumps_3d(**kwargs)
See gemdat.plots.jumps_3d for more information.
Source code in src/gemdat/jumps.py
378 379 380 381 |
|
plot_jumps_3d_animation(**kwargs)
See gemdat.plots.jumps_3d_animation for more information.
Source code in src/gemdat/jumps.py
383 384 385 386 |
|
plot_jumps_vs_distance(**kwargs)
See gemdat.plots.jumps_vs_distance for more information.
Source code in src/gemdat/jumps.py
363 364 365 366 |
|
plot_jumps_vs_time(**kwargs)
See gemdat.plots.jumps_vs_time for more information.
Source code in src/gemdat/jumps.py
368 369 370 371 |
|
rates(n_parts=10)
Calculate jump rates (total jumps / second).
Returns:
-
df
(DataFrame
) –Dataframe with jump rates and standard deviations between site pairs
Source code in src/gemdat/jumps.py
334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 |
|
split(n_parts)
Split the jumps into parts.
Parameters:
-
n_parts
(int
) –Number of parts to split the data into
Returns:
Source code in src/gemdat/jumps.py
315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 |
|