sisl.io.xyzSile
- class sisl.io.xyzSile(filename, mode='r', comment=None, *args, **kwargs)
Bases:
sisl.io.Sile
XYZ file object
Methods
dir_file
([filename, filename_base])File of the current
Sile
read
(*args, **kwargs)Generic read method which should be overloaded in child-classes
read_geometry
([atoms, sc])Returns Geometry object from the XYZ file
write
(*args, **kwargs)Generic write method which should be overloaded in child-classes
write_geometry
(geom[, fmt, comment])Writes the geometry to the contained file
File of the current
Sile
File of the current
Sile
- __init__(filename, mode='r', comment=None, *args, **kwargs)
- read(*args, **kwargs)
Generic read method which should be overloaded in child-classes
- Parameters
kwargs – keyword arguments will try and search for the attribute
read_<>
and call it with the remaining**kwargs
as arguments.
- write(*args, **kwargs)
Generic write method which should be overloaded in child-classes
- Parameters
**kwargs – keyword arguments will try and search for the attribute write_ and call it with the remaining
**kwargs
as arguments.