-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path04_nanotube_supercell_rattle.toml
More file actions
51 lines (44 loc) · 1.12 KB
/
Copy path04_nanotube_supercell_rattle.toml
File metadata and controls
51 lines (44 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
# Example 04 — Nanotube supercell + rattle + aggressive diversity filtering
#
# Requires: pixi install -e science (or: pip install hiphive)
#
# Run from the repo root:
# pixi run -e science example-04
# Or activate the shell first:
# pixi shell -e science
# traincraft run examples/04_nanotube_supercell_rattle.toml
#
# What it does:
# 1. Builds an (8,0) CNT (1 unit cell).
# 2. Repeats it 3× along z to get a proper supercell for rattle.
# 3. Generates 20 rattled structures.
# 4. Keeps 10 most diverse (after physicality + dedup).
#
# Rattle is fast and well-suited for periodic systems like nanotubes.
[run]
name = "04_cnt_supercell_rattle"
outdir = "runs"
seed = 99
[geometry.builder]
type = "nanotube"
n = 8
m = 0
length = 1
vacuum = 6.0
[[geometry.transforms]]
type = "supercell"
repeat = [1, 1, 3] # triple along the tube axis
[calculator]
type = "emt"
[sampling]
type = "rattle"
method = "mc"
n_structures = 20
std = 0.08
min_distance = 1.2
[selection]
steps = ["physicality", "dedup", "diversity"]
budget = 10
min_distance = 0.8
[dataset]
path = "dataset"