boltzhist_cur_one_shot#
- autoplex.data.common.utils.boltzhist_cur_one_shot(atoms, descriptor, isolated_atom_energies, bolt_frac=0.1, bolt_max_num=3000, cur_num=100, kernel_exp=4, kt=0.3, energy_label='energy', pressures=None, random_seed=None)[source]#
Sample atoms from a list according to boltzmann energy weighting and CUR diversity.
- Parameters:
atoms (list[ase.Atoms] or list[list[ase.Atoms]]) – The atoms from which to select. If this is a list of lists, it is flattened.
descriptor (str) – The quippy SOAP descriptor string for CUR.
isolated_atom_energies (dict) – Dictionary of isolated energy values for species. Required for ‘boltzhist_cur’ selection method.
bolt_frac (float) – The fraction to control the flat Boltzmann selection number.
bolt_max_num (int) – The maximum number of atoms to select by Boltzmann-weighted flat histogram.
cur_num (int) – The number of atoms to select by CUR.
kernel_exp (float) – The exponent for the dot-product SOAP kernel.
kt (float) – The product of the Boltzmann constant and the temperature, in eV.
energy_label (str) – The label for the energy property in the atoms.
pressures (list[float] or list[list[float]]) – The pressures at which the atoms have been optimized, in GPa.
random_seed (int) – The seed for the random number generator.
- Returns:
The selected atoms. These are copies of the atoms in the input list.
- Return type:
list of ase.Atoms
Notes
The algorithm uses a combination of CUR selection and Boltzmann weighting to select the atoms with diversity and low energy.
Adapted from: * Title: Research data supporting “De novo exploration and self-guided learning of potential-energy surfaces” * Script: select_enthalpy_flat_histogram.py * Author: Noam Bernstein, Gábor Csányi and Volker L. Deringer * Date 11/10/2019 * Availability: https://www.repository.cam.ac.uk/items/3aff252b-a583-4e7c-afc9-9dc1540cc37e * License: Attribution 4.0 International (CC BY 4.0) license.