get_potential_near_atoms

visualize.get_potential_near_atoms(
    atoms,
    potential,
    grid_shape,
    element='Zn',
    radius=1.0,
)

Get potential values near atoms of a specific element.

Parameters

Name Type Description Default
atoms ASE Atoms object required
potential 3D array of potential values required
grid_shape Shape of the potential grid required
element Element symbol to look for 'Zn'
radius Radius around the atom to check (in Angstroms) 1.0

Returns

Name Type Description
List of potential values near the specified atoms