File size: 1,523 Bytes
249107a
 
 
73117fd
 
 
 
 
9e9cf2c
350c678
73117fd
d194f5a
 
ee3bf4c
619b5f6
 
 
 
249107a
 
0c3265e
249107a
0c3265e
 
 
ddf0855
0c3265e
ddf0855
0c3265e
ddf0855
0c3265e
 
ddf0855
0c3265e
ddf0855
0c3265e
249107a
0c3265e
 
 
 
ddf0855
 
0c3265e
 
 
 
 
 
 
 
ddf0855
ee3bf4c
ddf0855
 
ee3bf4c
0c3265e
 
 
 
ee3bf4c
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
52
53
54
55
56
57
58
59
60
61
62
---
license: mit
tags:
  - electromagnetics
  - nanophotonics
  - jcmwave
  - optical-constants
  - parquet
configs:
- config_name: metadata
  default: true
  data_files:
  - split: train
    path: metadata/train-*
- config_name: validation
  data_files:
  - split: train
    path: validation/train-*
---

# squiggles (metadata-fix)

OC-map FEM rebuild at **35 pixels per wavelength**, with corrected geometries,
Helmholtz residuals, and the **resolved JCMsuite `.jcm` / `.jcmp` files** used
for each solve.

## Configs

### `metadata` (default)

One row per structure folder (`sample_XXXX`). Geometry comes from published
optical-constant maps (not the old nested-interface metadata).

### `validation`

One row per FEM incidence (`theta` in `{0, 45}`). Self-contained pixel map:

```text
pitch_nm = wavelength_nm / pixels_per_wavelength
x_nm = x0_nm + ix * pitch_nm
y_nm = y0_nm + iy * pitch_nm
```

Also includes nested OC/E arrays, Helmholtz scalar metrics (s-pol staggered FD),
and binary blobs of the generated project files:

- `layout` <- `layout.jcm`
- `materials` <- `materials.jcm`
- `sources` <- `sources.jcm`
- `project` <- `project.jcmp` (JCMsuite expanded project)
- `grid` <- `grid.jcm`

## Load

```python
from datasets import load_dataset
meta = load_dataset("als-rixs/latent-image-training", "metadata", split="train", revision="metadata-fix")
val = load_dataset("als-rixs/latent-image-training", "validation", split="train", revision="metadata-fix")
row = val[0]
layout_jcm = row["layout"]  # bytes
```