sknano.io.DATAData¶
-
class
sknano.io.DATAData(fpath=None, **kwargs)[source][source]¶ Class for reading and writing
StructureIOin LAMMPS data format.Parameters: fpath : str, optional Attributes
atomscomment_lineComment line. headersdictof dump file header valuessectionsMethods
delete(key)format_spec([atom_style])get(section[, colnum, colname, colindex])Return section with section. map(*pairs)maxbox()maxtype()newxyz()read()Read data file. reorder(colname, *order)replace(section, new_data[, colnum, ...])Replace section data. viz(isnap)write([datafile])Write data file.