ChemCoord
v2.0.2
Installation guide
Tutorial
Documentation
Cartesian coordinates
Cartesian
chemcoord.Cartesian
xyz_functions
Symmetry
Internal coordinates
Configuration of settings
Exceptions
References
Bugreports and Development
Previous Contribution
License
ChemCoord
Docs
»
Documentation
»
Cartesian coordinates
»
chemcoord.Cartesian
»
chemcoord.Cartesian.cut_sphere
Edit on GitHub
chemcoord.Cartesian.cut_sphere
¶
Cartesian.
cut_sphere
(
radius=15.0
,
origin=None
,
outside_sliced=True
,
preserve_bonds=False
)
¶
Cut 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:
Cartesian
Read the Docs
v: v2.0.2
Versions
latest
v2.0.2
v2.0.1
v1.2.0
master
experimental
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.