You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
""" Generates a list of sorted Coulomb matrices, sorted either by ``"row-norm"`` or ``"distance"``, the latter refers to sorting by distance to each query atom.
67
+
``size=`` denotes the max number of atoms in the molecule (thus the size of the resulting square matrix.
68
+
The resulting matrix is the upper triangle put into the form of a 1D-vector.
69
+
70
+
:param coordinates: Input coordinates.
71
+
:type coordinates: numpy array
72
+
:param nuclear_charges: List of nuclear charges.
73
+
:type nuclear_charges: numpy array
74
+
:param size: Max number of atoms in representation.
75
+
:type size: integer
76
+
:param sorting: Matrix sorting scheme, "row-norm" or "distance".
77
+
:type sorting: string
78
+
:return: List of 1D Coulomb matrix representations.
""" Generates a bag-of-bonds (BOB) representation of the molecule. ``size=`` denotes the max number of atoms in the molecule (thus relates to the size of the resulting matrix.)
113
+
``asize=`` is the maximum number of atoms of each type (necessary to generate bags of minimal sizes).
114
+
The resulting matrix is the BOB representation put into the form of a 1D-vector.
115
+
116
+
:param coordinates: Input coordinates.
117
+
:type coordinates: numpy array
118
+
:param nuclear_charges: List of nuclear charges.
119
+
:type nuclear_charges: numpy array
120
+
:param size: Max number of atoms in representation.
0 commit comments