atoms_around_point

mdtools.select.atoms_around_point(ag, point, cutoff, **kwargs)[source]

Select Atoms from an MDAnalysis AtomGroup instance that are within a cutoff of a point in space.

Parameters:
Returns:

selection (MDAnalysis.core.groups.AtomGroup) – An MDAnalysis AtomGroup containing the selected Atoms.

See also

mdtools.select.atoms()

Select

class:Atoms <MDAnalysis.core.groups.Atom> from an

MDAnalysis

class:~MDAnalysis.core.groups.AtomGroup

Notes

This function uses the MDAnalysis selection syntax point x y z distance. It is just a convenient wrapper around mdtools.select.atoms() that allows you to simply parse an array like point and a cutoff without the need to assemble them to an MDAnalysis selection string yourself.