cutsphere¶
-
Cartesian.
cutsphere
(radius=15.0, origin=[0.0, 0.0, 0.0], outside_sliced=True, preserve_bonds=False)[source]¶ Cuts a sphere specified by origin and radius.
Parameters: - radius (float) –
- origin (list) – Please note that you can also pass an integer. In this case it is interpreted as the index of the atom which is taken as origin.
- outside_sliced (bool) – Atoms outside/inside the sphere are cut out.
- preserve_bonds (bool) – Do not cut covalent bonds.
Returns: Return type: