find_coord_from_indices
helper.find_coord_from_indices(indices, shape, ase_atoms)
Get the cartesian coordinates from the indces of a grid mapped over an ase atoms object.
Parameters
| indices |
list | np.array(N, 3) |
indices of interest, can be a list of a (N,3) numpy array, where N is number of points |
required |
| shape |
np.shape output, so tuple | array of shape (1,3) |
overall shape of the 3D grid |
required |
| ase_atoms |
ase.atoms object |
ASE atoms object corressponding to the grid |
required |
Returns
|
numpy arry of size (N,3) where N is the number of grid points |
cartesian coordinates of the grid points |