sknano.io.DATAData

class sknano.io.DATAData(fpath=None, **kwargs)[source][source]

Class for reading and writing StructureIO in LAMMPS data format.

Parameters:fpath : str, optional

Attributes

atoms Structure StructureAtoms.
basis Structure BasisAtoms.
comment_line Comment line.
crystal_cell Structure CrystalCell.
headers Alias for header_data.
lattice Structure Crystal3DLattice.
scaling_matrix CrystalCell.scaling_matrix.
sections Alias for section_data.
structure Pointer to self.
structure_data Alias for BaseStructureMixin.structure.
unit_cell Structure UnitCell.

Methods

clear() Clear list of BaseStructureMixin.atoms.
delete(key)
format_spec([atom_style])
get(section[, colnum, colname, colindex]) Return section with section.
make_supercell(scaling_matrix[, wrap_coords]) Make supercell.
map(*pairs)
maxbox()
maxtype()
newxyz()
read() Read data file.
read_data(*args, **kwargs)
read_dump(*args, **kwargs)
read_xyz(*args, **kwargs)
reorder(colname, *order)
replace(section, new_data[, colnum, ...]) Replace section data.
rotate(**kwargs) Rotate crystal cell lattice, basis, and unit cell.
transform_lattice(scaling_matrix[, ...])
translate(t[, fix_anchor_points]) Translate crystal cell basis.
viz(isnap)
write([datafile]) Write data file.
write_data(**kwargs)
write_dump(**kwargs)
write_xyz(**kwargs)