Dataset Viewer
The dataset viewer is not available for this split.
Cannot extract the features (columns) for the split 'train' of the config 'default' of the dataset.
Error code: FeaturesError
Exception: ArrowInvalid
Message: Schema at index 3 was different:
_placeholder: bool
technique: string
vs
schema_version: string
name: string
technique: string
description: string
data: struct<shape: list<item: int64>, dtype: string>
instrument: struct<microscope: string, detector: string>
processing: struct<source: string, method: string>
attribution: struct<contributor: string, license: string, date: timestamp[s]>
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 243, in compute_first_rows_from_streaming_response
iterable_dataset = iterable_dataset._resolve_features()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 3608, in _resolve_features
features = _infer_features_from_batch(self.with_format(None)._head())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2368, in _head
return next(iter(self.iter(batch_size=n)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2573, in iter
for key, example in iterator:
^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2060, in __iter__
for key, pa_table in self._iter_arrow():
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2082, in _iter_arrow
yield from self.ex_iterable._iter_arrow()
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 572, in _iter_arrow
yield new_key, pa.Table.from_batches(chunks_buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "pyarrow/table.pxi", line 5039, in pyarrow.lib.Table.from_batches
File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
pyarrow.lib.ArrowInvalid: Schema at index 3 was different:
_placeholder: bool
technique: string
vs
schema_version: string
name: string
technique: string
description: string
data: struct<shape: list<item: int64>, dtype: string>
instrument: struct<microscope: string, detector: string>
processing: struct<source: string, method: string>
attribution: struct<contributor: string, license: string, date: timestamp[s]>Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
quantem-data
Real electron microscopy datasets for quantem.widget and quantem.
Install
pip install quantem-data
Quick Start
from quantem.data import load
from quantem.widget import Show4DSTEM, Show2D
# 4D-STEM dataset (9 MB, cached locally)
Show4DSTEM(load("srtio3_lamella"), scan_shape=(32, 32))
# Bright-field image
Show2D(load("srtio3_bf"))
Folder Structure
| Folder | Data type | quantem.widget |
|---|---|---|
4dstem/ |
4D-STEM diffraction | Show4DSTEM, Show4D |
hrtem/ |
High-resolution TEM | Show2D, Mark2D |
eels/ |
Electron energy loss | Show1D |
tomo/ |
Tomography | Show3DVolume |
diffraction/ |
Diffraction patterns | Show2D |
image/ |
Virtual/derived images | Show2D, Mark2D |
complex/ |
Ptychography | ShowComplex2D |
raw/ |
Original instrument files | — |
Metadata
Every .npy file has a paired .json sidecar with structured metadata (schema, shape, attribution, calibration).
Contributing
Upload via Python API or CLI. See quantem.data docs.
- Downloads last month
- 19