CoolFace
Datasetpublic

Stemson-AI/atomagined

Atomagined Dataset (WebDataset) Simulated atomic-resolution HAADF-STEM images from the atomagined dataset. Each image is a 256x256 simulation of a unique ICSD crystal structure prototype viewed along a specific crystallographic direction, with various post-processing distortion conditions applied. Dataset Description This is a WebDataset conversion of the atomagined proxy dataset (subset available via GitHub). The full dataset (~67,871 images) is hosted on the… See the full description on the dataset page: https://huggingface.co/datasets/Stemson-AI/atomagined.

sourceHugging Facecc-by-4.0updated 5mo agoView on Hugging Face
0likes15downloads
Dataset Card

Atomagined Dataset (WebDataset)

Simulated atomic-resolution HAADF-STEM images from the atomagined dataset. Each image is a 256x256 simulation of a unique ICSD crystal structure prototype viewed along a specific crystallographic direction, with various post-processing distortion conditions applied.

Dataset Description

This is a WebDataset conversion of the atomagined proxy dataset (subset available via GitHub). The full dataset (~67,871 images) is hosted on the Materials Data Facility. This version contains 299 samples from 61 unique structure/orientation combinations across three subsets: general simulations, retrieval targets, and retrieval choices.

Each h5 file in the original data contains multiple distortion variants of the same simulation. These have been flattened so that each (structure, distortion) pair is an individual sample.

Format

WebDataset format: 1 TAR shard, 76 MB total.

Each sample in the shard contains:

  • {idx:06d}.npy — 256x256 float32 HAADF-STEM image
  • {idx:06d}.json — metadata

Metadata Fields

FieldTypeDescription
ref_idstringReference ID: {ICSD_CollCode}.{uvw_encoding}
subsetstringDataset subset: general, targets, or choices
distortionstringDistortion condition (e.g., raw, stem00-clean, stem00-blur1, stem00-cnts2)
widthintImage width (256)
heightintImage height (256)
min_valuefloatMinimum pixel intensity
max_valuefloatMaximum pixel intensity
mean_valuefloatMean pixel intensity
std_valuefloatStandard deviation of pixel intensity
icsd_idstringICSD collection code
chemical_namestringSystematic chemical name
chemical_formulastringStructural chemical formula
structure_typestringCrystal structure type
space_groupstringSpace group name
space_group_numberstringInternational Tables space group number
uvw_orientstringViewing direction [u,v,w]
hkl_orientstringMiller indices of the viewing plane
n_atoms_projectedintNumber of atom columns in the projection

Distortion Conditions

CodeDescription
rawRaw simulation output
stem00-cleanClean (no distortion)
stem00-blur{1,2}Gaussian blur (two levels)
stem00-cnts{1,2}Count noise / Poisson noise
stem00-scan{1,2}Scan distortion
stem00-bkgd{1,2}Background noise
stem00-dfct{1,2}Structural defects
stem00-blbk{1,2}Blur + background combined
stem01-comb1Combined distortion level 1
stem02-comb2Combined distortion level 2

Usage

python
import webdataset as wds
import numpy as np
from torch.utils.data import DataLoader

url = "path/to/atomagined_wds/train-0000.tar"
dataset = wds.WebDataset(url).decode()
dataloader = DataLoader(dataset, batch_size=32, num_workers=2)

for sample in dataloader:
    image = sample[".npy"]      # 256x256 float32
    metadata = sample[".json"]  # dict with ICSD info, distortion type, etc.

Source

Original data from MaterialEyes/atomagined. Full dataset on Materials Data Facility.

Citation

Schwenker, E. et al. Image Matching for Computer Vision in Atomic-Resolution Electron Microscopy, 2020.

License

CC-BY-4.0