Builder.slot_direction()

Get the unit direction of a slot of an atom.

Usage

Source

Builder.slot_direction(
    key,
    slot,
)

Parameters

key: int

Atom index.

slot: int
Slot index, from 0 to 3.

Returns

np.ndarray
The direction.