Skip to content
This repository was archived by the owner on Dec 8, 2024. It is now read-only.

Commit fbc4a46

Browse files
authored
Slatm (#28)
* Updated SLATM, removed ASE, updated docs, updated SLATM tests case * Added F90 version of get_sbot in SLATM * Added F2py implementation of get_sbop in slatm * Fixed remaining issues with f90-slatm, works for global and local now. * Added testcases for local SLATM * Removed dead code from slatm.py
1 parent 51cfa22 commit fbc4a46

9 files changed

+927
-169
lines changed

docs/source/examples.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Examples
1+
xamples
22
--------
33

44
Generating representations using the ``Compound`` class

qml/compound.py

+2
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ def generate_slatm(self, mbtypes,
264264
265265
A version that works for periodic boundary conditions will be released soon.
266266
267+
267268
NOTE: You will need to run the ``get_slatm_mbtypes()`` function to get the ``mbtypes`` input (or generate it manually).
268269
269270
:param mbtypes: Many-body types for the whole dataset, including 1-, 2- and 3-body types. Could be obtained by calling ``get_slatm_mbtypes()``.
@@ -292,6 +293,7 @@ def generate_slatm(self, mbtypes,
292293
if local: slatm = np.asarray(slatm)
293294
self.representation = slatm
294295

296+
295297
def read_xyz(self, filename):
296298
"""(Re-)initializes the Compound-object with data from an xyz-file.
297299

0 commit comments

Comments
 (0)