sknano.core.atoms.Snapshot.get_atoms

Snapshot.get_atoms(asarray=False)[source][source]

Get atoms.

Parameters:

asarray : bool

Returns:

ndarray or MDAtoms

if asarray is True, the atoms are returned as an ndarray, otherwise an MDAtoms instance is returned.