Skip to content

Commit 7aae775

Browse files
upd faq.md: how to provide custom weights
1 parent a547bf7 commit 7aae775

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/gracemaker/faq.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,12 @@ or
9191

9292
```bash
9393
export TF_CPP_MIN_LOG_LEVEL=3
94-
```
94+
```
95+
96+
## How to Provide Custom Weights
97+
98+
To assign custom weights to each structure, include the following columns in the DataFrame:
99+
100+
* `energy_weight`: A single value representing the weight for each structure.
101+
* `force_weight`: A per-atom array with a size equal to the number of atoms in the structure.
102+
* `virial_weight`: (optional): A six-component array representing the weight for virial terms.

0 commit comments

Comments
 (0)