Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: en
|
| 3 |
+
license: cc-by-4.0
|
| 4 |
+
tags:
|
| 5 |
+
- electron-microscopy
|
| 6 |
+
- 4d-stem
|
| 7 |
+
- materials-science
|
| 8 |
+
- quantem
|
| 9 |
+
pretty_name: quantem example datasets
|
| 10 |
+
size_categories:
|
| 11 |
+
- 1K<n<10K
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# quantem-data
|
| 15 |
+
|
| 16 |
+
Real electron microscopy datasets for [quantem](https://github.com/electronmicroscopy/quantem) widgets.
|
| 17 |
+
|
| 18 |
+
## Install
|
| 19 |
+
|
| 20 |
+
```bash
|
| 21 |
+
pip install quantem-data
|
| 22 |
+
```
|
| 23 |
+
|
| 24 |
+
## Quick start
|
| 25 |
+
|
| 26 |
+
```python
|
| 27 |
+
from quantem.data import load
|
| 28 |
+
from quantem.widget import Show4DSTEM, Show2D
|
| 29 |
+
|
| 30 |
+
# 4D-STEM dataset (9 MB, downloads once)
|
| 31 |
+
data = load("arina_32x32_48x48")
|
| 32 |
+
Show4DSTEM(data, scan_shape=(32, 32))
|
| 33 |
+
|
| 34 |
+
# Bright-field image (64 KB)
|
| 35 |
+
bf = load("arina_bf_128x128")
|
| 36 |
+
Show2D(bf)
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
## Available datasets
|
| 40 |
+
|
| 41 |
+
| Name | Technique | Shape | Size |
|
| 42 |
+
|------|-----------|-------|------|
|
| 43 |
+
| `arina_32x32_48x48` | 4D-STEM | (32,32,48,48) | 9 MB |
|
| 44 |
+
| `arina_64x64_96x96` | 4D-STEM | (64,64,96,96) | 144 MB |
|
| 45 |
+
| `arina_bf_128x128` | Image | (128,128) | 64 KB |
|
| 46 |
+
| `arina_mean_dp_96x96` | Diffraction | (96,96) | 36 KB |
|
| 47 |
+
|
| 48 |
+
## Technique folders
|
| 49 |
+
|
| 50 |
+
| Folder | Data type | Status |
|
| 51 |
+
|--------|-----------|--------|
|
| 52 |
+
| `4dstem/` | 4D-STEM diffraction | ✅ Data available |
|
| 53 |
+
| `hrtem/` | High-resolution TEM | 📭 Accepting contributions |
|
| 54 |
+
| `eels/` | Electron energy loss | 📭 Accepting contributions |
|
| 55 |
+
| `tomo/` | Tomography | 📭 Accepting contributions |
|
| 56 |
+
| `diffraction/` | Diffraction patterns | ✅ Data available |
|
| 57 |
+
| `image/` | Virtual/derived images | ✅ Data available |
|
| 58 |
+
| `complex/` | Ptychography | 📭 Accepting contributions |
|
| 59 |
+
| `raw/` | Original instrument files | 📭 Accepting contributions |
|
| 60 |
+
|
| 61 |
+
## Contributing data
|
| 62 |
+
|
| 63 |
+
```python
|
| 64 |
+
from quantem.data import upload
|
| 65 |
+
|
| 66 |
+
upload(
|
| 67 |
+
my_array,
|
| 68 |
+
name="mos2_monolayer",
|
| 69 |
+
technique="4dstem",
|
| 70 |
+
description="Monolayer MoS2, 80 keV, Medipix3",
|
| 71 |
+
contributor="Your Name",
|
| 72 |
+
)
|
| 73 |
+
```
|
| 74 |
+
|
| 75 |
+
**Naming convention**: `{material}_{descriptor}` — lowercase, underscores only. Material first (e.g. `silicon_110`, `graphene_pristine`). See the [quantem.data README](https://github.com/bobleesj/quantem.data) for full guidelines.
|
| 76 |
+
|
| 77 |
+
## License
|
| 78 |
+
|
| 79 |
+
All datasets are shared under [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/) unless otherwise noted in the dataset metadata.
|