autoplex.data.common.utils#
Utility functions for training data jobs.
Functions
Execute sampling with two iterations. |
|
Sample atoms from a list according to boltzmann energy weighting and CUR diversity. |
|
Take in a pymatgen Structure object and check minimum distances between atoms using minimum image convention. |
|
Sample atoms from a list according to Boltzmann energy weighting relative to convex hull and CUR diversity. |
|
Generate a SOAP descriptor string based on the given parameters. |
|
Perform CUR selection on a set of atoms to get representative SOAP descriptors. |
|
For data distillation. |
|
Plot the distribution of energy per atom on the output vs the input. |
|
Extract the base of a file name to easier manipulate other file names. |
|
Filter data outliers per energy criteria and write them into files. |
|
Filter data outliers per force criteria and write them into files. |
|
Flatten an iterable fully, but excluding Atoms objects. |
|
Flatten a nested list into a single list if necessary. |
|
Plot the distribution of force components per atom on the output vs the input. |
|
Handle trajectory and associated information. |
|
Take in a pymatgen Structure object and generates rattled structures. |
|
Calculate the SOAP descriptor vector for a given atom and hypers in parallel. |
|
Plot energy and forces of the data. |
|
Take in a pymatgen Structure object and generates angle-distorted structures. |
|
Compute RMSE and standard deviation of predictions with reference data. |
|
Take in a pymatgen Structure object and generates stretched or compressed structures. |
|
Take in a pymatgen Structure object and generates rattled structures. |
|
Split the dataset. |
|
Convert to an ASE .Trajectory. |
Classes
A class to handle different species operations for a collection of atoms. |
|
Convert a string or number to a floating point number, if possible. |
|
bool(x) -> bool |