Builder.slot_direction()
Get the unit direction of a slot of an atom.
Usage
Builder.slot_direction(
key,
slot,
)Parameters
key: int-
Atom index.
slot: int- Slot index, from 0 to 3.
Returns
np.ndarray- The direction.
Get the unit direction of a slot of an atom.
Usage
key: intAtom index.
slot: int np.ndarray