fragmentate

Cartesian.fragmentate(give_only_index=False)[source]

Get the indices of non bonded parts in the molecule.

Parameters:give_only_index (bool) – If True a set of indices is returned. Otherwise a new Cartesian instance.
Returns:A list of sets of indices or new Cartesian instances.
Return type:list