filter_canonical_amino_acids#

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

Filter all atoms of one array that belong to canonical amino acid residues.

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 a canonical amino acid residue.