Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

g3 Explorer

After measuring the g3 distribution, view it interactively:

cell.measure_g3()
cell.plot_g3()

Returns a Jupyter widget (anywidget) with:

What is a rooted three-body distribution?

For every atom ii and every pair of neighbours (j,k)(j, k) the code records the three scalars

Accumulated over all central atoms of the relevant species, this gives a four-index histogram g3t(rj,rk,ϕ)g_3^{t}(r_j, r_k, \phi) for every triplet type tt (e.g. Si | Si Si). “Rooted” means the distribution is conditioned on one of the two bonds (the root bond) sitting in a specific radial shell.

The 2D viewer shows a slice of the full distribution: the root-bond length rjr_j is integrated over a user-chosen shell window (usually the first neighbour peak), leaving a 2D map of (rk,ϕ)(r_k, \phi). This is the quantity plotted in the heatmap.

How to read the static viewer embedded in the case studies

Parameters

cell.plot_g3(pair=0, normalize=True)

Requirements

measure_g3() must be called first:

cell.generate(shell_target, ...)
cell.measure_g3()       # required
cell.plot_g3()