XYZConverter

class sknano.io.XYZConverter(**kwargs)[source] [edit on github][source]

Bases: sknano.io.StructureIOConverter

StructureDataConverter class for converting xyz data.

Attributes

fmtstr Format string.
xyzfile xyz file name.

Methods

add_atom([atom]) Add new Atom to Atoms.
add_type([atom]) Add new atom type to atom type dictionary.
convert() Convert structure data from one format to another format.
todict() Return dict of constructor parameters.

Attributes Summary

xyzfile xyz file name.

Methods Summary

add_atom([atom]) Add new Atom to Atoms.
add_type([atom]) Add new atom type to atom type dictionary.

Attributes Documentation

xyzfile

xyz file name.

Methods Documentation

add_atom(atom=None)[source] [edit on github][source]

Add new Atom to Atoms.

Parameters:atom (Atom) –
add_type(atom=None)[source] [edit on github][source]

Add new atom type to atom type dictionary.

Parameters:atom (Atom) –