XYZFormatter

class sknano.io.XYZFormatter(format_string=None)[source] [edit on github][source]

Bases: sknano.io.StructureIOFormatter

StructureDataFormatter class defining properties for xyz format.

Attributes

fmtstr Format string.

Methods

format(atom) Return str of atom attributes formatted for an output stream.
todict() Return dict of constructor parameters.

Methods Summary

format(atom) Return str of atom attributes formatted for an output stream.
todict() Return dict of constructor parameters.

Methods Documentation

format(atom)[source] [edit on github][source]

Return str of atom attributes formatted for an output stream.

todict()[source] [edit on github][source]

Return dict of constructor parameters.