symmetry_function_ani1
SymmetryFunctionsANI1
Atomic environment symmetry functions, based on the ANI-1 descriptors [1]
References
[1] J.S. Smith et al. Chem. Sci., 2017, 8, 3192-3203 https://dx.doi.org/10.1039/C6SC05720A
Source code in chmpy/descriptors/symmetry_function_ani1.py
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 | |
atoms_in_radius(c, radius, molecule=None)
Periodic atoms within radius of the Cartesian origin or, if molecule
is given, within radius of any atom in molecule.
Source code in chmpy/descriptors/symmetry_function_ani1.py
calc_angular_function(cm_xyz, nearest_atoms, cm_atom_xyz, cutoff, r_s_lst, theta_lst, eta, zeta, only_intermolecular=False, separate_angular=True, species_pairs=None)
Angular function (eq (4) of Smith et al. (2017)) For a given atom returns a list of angular functions of length r_s (and theta - they must be the same length)
list of xyz of all atoms in a finite cluster larger than cutoff
not in the central molecule
cm_atom_xyz : xyz of a given atom in the central molecule cutoff : float, max L1 distance where atom contributions are included r_s : list of hyperparameters controlling position of each gaussian theta: list of hyperparameters contrlling the angular position of each gaussian eta : float, hyperparameter controlling width of each gaussian zeta : float, hyperparameter controlling the width of each gaussian species_pairs : (Z1, Z2) pairs giving the order of the per-pair blocks (default: unique pairs among the neighbours, ordered by atomic number)
Source code in chmpy/descriptors/symmetry_function_ani1.py
234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 | |
calc_radial_function(cm_xyz, nearest_atoms, cm_atom_xyz, cutoff, r_s_lst, eta, only_intermolecular=False, separate_radial=True, species=None)
Radial function (eq (3) of Smith et al. (2017)) For a given atom returns a list of radial functions of length r_s
list of xyz of all atoms in a finite cluster larger than cutoff
not in the central molecule
cm_atom_xyz : xyz of a given atom in the central molecule cutoff : float, max L1 distance where atom contributions are included r_s : list of hyperparameters controlling position of each gaussian eta : float, hyperparameter controlling width of each gaussian species : atomic numbers giving the order of the per-element blocks (default: the unique elements among the neighbours)