next up previous contents index
Next: selection.only_std_residues() select Up: The selection class: handling Previous: selection.only_atom_types() select   Contents   Index

selection.only_residue_types() -- select only atoms of given residue type

only_residue_types(residue_types)
This returns a new selection containing only atoms from the current selection in residues of the given type(s). The type is the CHARMM name, as defined in 'modlib/restyp.lib'.
Example: See selection() command.



Ben Webb 2008-05-05