stk.XyzWriter
- class stk.XyzWriter[source]
Bases:
objectA writer class for
.xyzfiles.Examples
Writing to a File
import stk bb1 = stk.BuildingBlock('BrCCBr', [stk.BromoFactory()]) writer = stk.XyzWriter() writer.write(molecule=bb1, path='bb1.xyz')
Methods
Get the
.xyzstring of molecule.Write molecule to
.xyzfile format.