uf3.data.ioΒΆ
This module provides the DataCoordinator class for reading data from atomistic codes and organizing data into DataFrames using Pandas.
Functions
Read hdf5 file and analyze table names and lengths |
|
Create ase.Atoms from DataFrame. |
|
Save dataframe from data_coordinator as ase Database. |
|
Concatenate list of dataframes with optional removal of duplicate keys. |
|
Iterator for reading DataFrames from HDF5 using a list of table names, i.e. from io.analyze_hdf_tables. |
|
Convenience function for converting tab-separated values (text) into DataFrame. |
|
Generate list of paths to files according to filename_pattern, searching recursively from experiment_path. |
|
Read LAMMPS text dump file. |
|
Parse lammps log file into pd.DataFrame. |
|
Convenience wrapper for parsing both LAMMPS log and dump in a run directory. |
|
Wrapper for ase.io.read, which is compatible with many file formats (notably VASP's vasprun.xml and extended xyz). |
|
TODO: refactor to break up into smaller, reusable functions |
|
Convenience function for arranging data into pandas DataFrame with expected column names. |
|
Read ase.db-type database file. |
|
Utility for reading external pressure (kbar) from PSTRESS INCAR tag. |
|
Simple renaming by incrementing an integer preceding file extension. |
|
Intermediate function for object-dataframe consistency |
|
Query attached calculators for energy and forces. |
|
Intermediate function for object-dataframe consistency |
Classes
Handler class for reading data from atomistic codes and organizing data into DataFrames using Pandas. |