filter_solvent#

biotite.structure.filter_solvent(array)[source]#

Filter all atoms of one array that are part of the solvent.

Parameters:
arrayAtomArray or AtomArrayStack

The array to be filtered.

Returns:
filterndarray, dtype=bool

This array is True for all indices in array, where the atom belongs to the solvent.