Radial Distribution Function (RDF) Parser¶
Handles parsing and validation of RDF files.
- class kbkit.io.rdf.RdfParser(path: str | Path)[source]¶
Bases:
objectClass to handle RDF (Radial Distribution Function) data.
Reads RDF data from a file provides methods to plot the RDF and extract molecular information.
- Parameters:
filepath (str) – Path to the RDF text file.
- Variables:
fname (str) – File name.
r (np.ndarray) – Array of radial distances (nm).
gr (np.ndarray) – Array of radial distribution function values.