sknano.io.DATAReader

class sknano.io.DATAReader(fpath, atom_style='full', **kwargs)[source][source]

StructureIO class for reading LAMMPS data file format.

Parameters:

fpath : str

LAMMPS data file path

atom_style : {‘full’, ‘atomic’}, optional

Attributes

atoms
comment_line Comment line.
headers dict of dump file header values
sections

Methods

get(section[, colnum, colname, colindex]) Return section with section.
read() Read data file.