Molecular Simulation Introduction
User Guide
API References
RELEASE NOTES
get atom(s) or group.
atoms (Union[list, tuple, AtomsBase, Tensor, Parameter, ndarray]) – List of atoms.
batched (bool) – Whether the first dimension of index is the batch size. Default: False.
False
keep_in_box (bool) – Whether to displace the coordinate in PBC box. Default: False.
atoms (Union[Atoms, Group]), Atoms or group.