File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,14 @@ class TarDataGenerator:
139
139
- ``'lattice'``: Lattice vectors as an array of shape ``(3, 3)``, where the rows are the vectors.
140
140
- ``'xyz'``: Atom xyz coordinates as an array of shape ``(n_atoms, 3)``.
141
141
- ``'Z'``: Atom atomic numbers as an array of shape ``(n_atoms,)``.
142
+
143
+ Yields dicts that contain the following:
144
+
145
+ - ``'xyzs'``: Atom xyz coordinates.
146
+ - ``'Zs'``: Atomic numbers.
147
+ - ``'qs'``: Sample Hartree potential.
148
+ - ``'rho_sample'``: Sample electron density if the sample dict contained ``rho``, or ``None`` otherwise.
149
+ - ``'rot'``: Rotation matrix.
142
150
143
151
Note: it is recommended to use ``multiprocessing.set_start_method('spawn')`` when using the :class:`TarDataGenerator`.
144
152
Otherwise a lot of warnings about leaked memory objects may be thrown on exit.
You can’t perform that action at this time.
0 commit comments