SII-LWY commited on
Commit
5d8d8eb
·
verified ·
1 Parent(s): dba9965

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,3 +1,137 @@
1
- ---
2
- license: cc-by-4.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - en
5
+ pretty_name: SII Stellarator Configuration Dataset
6
+ tags:
7
+ - fusion
8
+ - stellarator
9
+ - quasi-isodynamic
10
+ - scientific-machine-learning
11
+ - tabular
12
+ ---
13
+
14
+ # SII Stellarator Configuration Dataset
15
+
16
+ **Wenyang Li**
17
+
18
+ [**Shanghai Innovation Institute**](http://www.sii.edu.cn) | PhD student
19
+
20
+ [AI-Driven Controlled Fusion Simulation, Control & Design Lab](https://github.com/SII-AI4Fusion)
21
+
22
+ - **Phone**: [+86-156-2003-5216](tel:+86-156-2003-5216)
23
+ - **Email**: [lwydsg@mail.nankai.edu.cn](mailto:lwydsg@mail.nankai.edu.cn)
24
+
25
+ ---
26
+
27
+ ## Overview
28
+
29
+ This directory hosts a **stellarator configuration dataset grouped by number
30
+ of field periods (nfp)**. Each sample keeps only three things:
31
+ **Fourier boundary coefficients, nfp, and 9 VMEC evaluation metrics** —
32
+ every field is guaranteed to be non-`None` / non-`NaN`.
33
+
34
+ Design goals:
35
+
36
+ 1. **Simplified content** — keep only the Fourier coefficients and the 9
37
+ VMEC metrics that configuration-design optimization actually needs; all
38
+ other construction parameters / diagnostics / multi-beta-branch
39
+ evaluations are stripped out.
40
+ 2. **Ready for future growth** — more QI (Quasi-Isodynamic) configurations
41
+ will be folded in later, so a unified, clean, schema-stable baseline
42
+ makes that painless.
43
+
44
+ ## Source
45
+
46
+ Derived from a local copy of
47
+ [proxima-fusion/constellaration](https://huggingface.co/datasets/proxima-fusion/constellaration),
48
+ covering `n_field_periods` (nfp) = 1–5. The upstream library has broad
49
+ coverage but not every row has complete VMEC evaluation results; this
50
+ dataset keeps **only rows where every field is fully valid**.
51
+
52
+ ## File layout
53
+
54
+ One file per nfp. The filename embeds the number of retained samples
55
+ `n{count}`:
56
+
57
+ | File | Samples | Note |
58
+ | --- | --- | --- |
59
+ | `nfp1_n14607.parquet` | 14,607 | nfp = 1 |
60
+ | `nfp2_n19945.parquet` | 19,945 | nfp = 2 |
61
+ | `nfp3_n68191.parquet` | 68,191 | nfp = 3 |
62
+ | `nfp4_n27798.parquet` | 27,798 | nfp = 4 |
63
+ | `nfp5_n28144.parquet` | 28,144 | nfp = 5 |
64
+ | **Total** | **158,685** | |
65
+
66
+ Parquet files use snappy compression with a flat column layout — they can
67
+ be loaded column-wise directly.
68
+
69
+ ## Fields
70
+
71
+ Each row (one sample) has three groups of fields:
72
+
73
+ ### 1. Field-period count `nfp`
74
+
75
+ - Column: `boundary.n_field_periods`
76
+ - Type: integer
77
+ - Meaning: number of toroidal field periods
78
+ - Values present in this dataset: 1, 2, 3, 4, 5
79
+
80
+ ### 2. Fourier boundary coefficients `boundary.r_cos` / `boundary.z_sin`
81
+
82
+ - Type: 5×9 float matrix (`list<list<double>>`)
83
+ - Meaning: Fourier expansion coefficients of the stellarator boundary
84
+ surface along the `(θ, φ)` periodic directions. `r_cos` is the cosine
85
+ component of R; `z_sin` is the sine component of Z (the configuration is
86
+ stellarator-symmetric, so only these two terms are retained).
87
+ - Shape convention: row index corresponds to the poloidal mode `m`
88
+ (0…4, 5 rows); column index corresponds to the toroidal mode `n`
89
+ (−4…+4, 9 columns).
90
+
91
+ ### 3. VMEC evaluation metrics `metrics.*`
92
+
93
+ | Column | Meaning |
94
+ | --- | --- |
95
+ | `metrics.aspect_ratio` | Aspect ratio |
96
+ | `metrics.edge_rotational_transform_over_n_field_periods` | Edge iota / nfp (**no abs applied** — original sign preserved) |
97
+ | `metrics.average_triangularity` | Average triangularity |
98
+ | `metrics.max_elongation` | Maximum elongation |
99
+ | `metrics.edge_magnetic_mirror_ratio` | Edge magnetic mirror ratio |
100
+ | `metrics.vacuum_well` | Vacuum magnetic well |
101
+ | `metrics.minimum_normalized_magnetic_gradient_scale_length` | Minimum normalized magnetic gradient scale length |
102
+ | `metrics.qi` | Quasi-isodynamic residual (**no log10 applied** — raw value) |
103
+ | `metrics.flux_compression_in_regions_of_bad_curvature` | Flux compression in regions of bad curvature |
104
+
105
+ > For generality, `iota` is not abs-ed and `qi` is not log10-transformed —
106
+ > raw values are stored; downstream code applies whatever transform it
107
+ > needs.
108
+
109
+ ## Full schema
110
+
111
+ Flat column names for straightforward column-wise access:
112
+
113
+ | Column | Type |
114
+ | --- | --- |
115
+ | `boundary.n_field_periods` | `int64` |
116
+ | `boundary.r_cos` | `list<list<double>>` (5×9) |
117
+ | `boundary.z_sin` | `list<list<double>>` (5×9) |
118
+ | `metrics.aspect_ratio` | `double` |
119
+ | `metrics.edge_rotational_transform_over_n_field_periods` | `double` |
120
+ | `metrics.average_triangularity` | `double` |
121
+ | `metrics.max_elongation` | `double` |
122
+ | `metrics.edge_magnetic_mirror_ratio` | `double` |
123
+ | `metrics.vacuum_well` | `double` |
124
+ | `metrics.minimum_normalized_magnetic_gradient_scale_length` | `double` |
125
+ | `metrics.qi` | `double` |
126
+ | `metrics.flux_compression_in_regions_of_bad_curvature` | `double` |
127
+
128
+ ## Data-quality guarantee
129
+
130
+ Every sample satisfies:
131
+
132
+ 1. `nfp` is neither `None` nor `NaN`;
133
+ 2. The entire 5×9 matrices of `boundary.r_cos` and `boundary.z_sin` contain
134
+ no `None` / `NaN`;
135
+ 3. All **9 VMEC metrics** above are non-`None` and non-`NaN`.
136
+
137
+ Any sample failing any of these conditions was removed before inclusion.
nfp1_n14607.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23f2fb02361c702d2403f33f845b42de6e9f19aac0de3ab72f9652ac317adb9f
3
+ size 8983226
nfp2_n19945.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09529f07408e67c342cad6f37d1bcc944f955d450a878ad2a7b6791c7c8d9040
3
+ size 13038020
nfp3_n68191.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19334b2cfb94bd1c9935883e9c866bdeeccbd19cfe01918ac1f16ff304346439
3
+ size 32037486
nfp4_n27798.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9cebb5a0558767fffa08e11898a0d262414bb71c2624828ab38b7cd78f9350d7
3
+ size 19820402
nfp5_n28144.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:050193538710dcb1fd2503452b04761b0443dfa6ec09029809cb964a9bbf2483
3
+ size 20599763